Skip to content

Open-source status page, incident response and uptime monitoring

Feat/incidents (#174)

Maximilian Kaskec3671b1fac04
diff --git a/apps/web/package.json b/apps/web/package.json
index 0f6b6c2c2..94811d721 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -27,10 +27,12 @@
"@radix-ui/react-hover-card": "1.0.6",
"@radix-ui/react-label": "2.0.2",
"@radix-ui/react-popover": "1.0.6",
+ "@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-select": "1.2.2",
"@radix-ui/react-separator": "1.0.3",
"@radix-ui/react-slot": "1.0.2",
"@radix-ui/react-switch": "1.0.3",
+ "@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "1.1.4",
"@radix-ui/react-tooltip": "1.0.6",
"@t3-oss/env-nextjs": "0.4.1",
@@ -49,6 +51,7 @@
"contentlayer": "0.3.4",
"date-fns": "2.30.0",
"lucide-react": "0.244.0",
+ "luxon": "^3.3.0",
"micro": "10.0.1",
"nanoid": "4.0.2",
"next": "13.4.12",
@@ -72,6 +75,7 @@
},
"devDependencies": {
"@openstatus/eslint-config": "workspace:*",
+ "@types/luxon": "^3.3.1",
"@types/node": "20.3.1",
"@types/react": "18.2.12",
"@types/react-dom": "18.2.5",
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/action-button.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/action-button.tsx
new file mode 100644
index 000000000..d124a775c
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/action-button.tsx
@@ -0,0 +1,101 @@
+"use client";
+
+import * as React from "react";
+import Link from "next/link";
+import { useRouter } from "next/navigation";
+import { MoreVertical } from "lucide-react";
+import type * as z from "zod";
+
+import {
+ insertIncidentSchema,
+ // insertIncidentUpdateSchema,
+ insertMonitorSchema,
+} from "@openstatus/db/src/schema";
+
+import { LoadingAnimation } from "@/components/loading-animation";
+import {
+ AlertDialog,
+ AlertDialogAction,
+ AlertDialogCancel,
+ AlertDialogContent,
+ AlertDialogDescription,
+ AlertDialogFooter,
+ AlertDialogHeader,
+ AlertDialogTitle,
+ AlertDialogTrigger,
+} from "@/components/ui/alert-dialog";
+import { Button } from "@/components/ui/button";
+import {
+ DropdownMenu,
+ DropdownMenuContent,
+ DropdownMenuItem,
+ DropdownMenuTrigger,
+} from "@/components/ui/dropdown-menu";
+import { api } from "@/trpc/client";
+
+const temporary = insertIncidentSchema.pick({ id: true, workspaceSlug: true });
+
+type Schema = z.infer<typeof temporary>;
+
+export function ActionButton(props: Schema) {
+ const router = useRouter();
+ const [alertOpen, setAlertOpen] = React.useState(false);
+ const [isPending, startTransition] = React.useTransition();
+
+ async function deleteIncident() {
+ startTransition(async () => {
+ if (!props.id) return;
+ await api.incident.deleteIncident.mutate({ id: props.id });
+ router.refresh();
+ setAlertOpen(false);
+ });
+ }
+
+ return (
+ <AlertDialog open={alertOpen} onOpenChange={(value) => setAlertOpen(value)}>
+ <DropdownMenu>
+ <DropdownMenuTrigger asChild>
+ <Button
+ variant="ghost"
+ className="data-[state=open]:bg-accent h-8 w-8 p-0"
+ >
+ <span className="sr-only">Open menu</span>
+ <MoreVertical className="h-4 w-4" />
+ </Button>
+ </DropdownMenuTrigger>
+ <DropdownMenuContent align="end">
+ <Link href={`./incidents/edit?id=${props.id}`}>
+ <DropdownMenuItem>Edit</DropdownMenuItem>
+ </Link>
+ <AlertDialogTrigger asChild>
+ <DropdownMenuItem className="text-destructive focus:bg-destructive focus:text-background">
+ Delete
+ </DropdownMenuItem>
+ </AlertDialogTrigger>
+ </DropdownMenuContent>
+ </DropdownMenu>
+ <AlertDialogContent>
+ <AlertDialogHeader>
+ <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
+ <AlertDialogDescription>
+ This action cannot be undone. This will permanently delete the
+ incident.
+ </AlertDialogDescription>
+ </AlertDialogHeader>
+ <AlertDialogFooter>
+ <AlertDialogCancel>Cancel</AlertDialogCancel>
+ <AlertDialogAction
+ onClick={(e) => {
+ e.preventDefault();
+ deleteIncident();
+ }}
+ disabled={isPending}
+ className="bg-destructive text-destructive-foreground hover:bg-destructive/90"
+ >
+ {!isPending ? "Delete" : <LoadingAnimation />}
+ </AlertDialogAction>
+ </AlertDialogFooter>
+ </AlertDialogContent>
+ </AlertDialog>
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/delete-incident-update.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/delete-incident-update.tsx
new file mode 100644
index 000000000..92fc3abaa
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/delete-incident-update.tsx
@@ -0,0 +1,70 @@
+"use client";
+
+import * as React from "react";
+import { useRouter } from "next/navigation";
+
+import { Icons } from "@/components/icons";
+import { LoadingAnimation } from "@/components/loading-animation";
+import {
+ AlertDialog,
+ AlertDialogAction,
+ AlertDialogCancel,
+ AlertDialogContent,
+ AlertDialogDescription,
+ AlertDialogFooter,
+ AlertDialogHeader,
+ AlertDialogTitle,
+ AlertDialogTrigger,
+} from "@/components/ui/alert-dialog";
+import { Button } from "@/components/ui/button";
+import { api } from "@/trpc/client";
+
+export function DeleteIncidentUpdateButtonIcon({ id }: { id: number }) {
+ const router = useRouter();
+ const [alertOpen, setAlertOpen] = React.useState(false);
+ const [isPending, startTransition] = React.useTransition();
+
+ async function onDelete() {
+ startTransition(async () => {
+ await api.incident.deleteIncidentUpdate.mutate({ id });
+ router.refresh();
+ setAlertOpen(false);
+ });
+ }
+
+ return (
+ <AlertDialog open={alertOpen} onOpenChange={(value) => setAlertOpen(value)}>
+ <AlertDialogTrigger asChild>
+ <Button
+ size="icon"
+ variant="outline"
+ className="border-destructive/50 text-destructive/80 hover:text-destructive hover:bg-destructive/10 h-7 w-7 p-0"
+ >
+ <Icons.trash className="h-4 w-4" />
+ </Button>
+ </AlertDialogTrigger>
+ <AlertDialogContent>
+ <AlertDialogHeader>
+ <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
+ <AlertDialogDescription>
+ This action cannot be undone. This will permanently delete the
+ monitor.
+ </AlertDialogDescription>
+ </AlertDialogHeader>
+ <AlertDialogFooter>
+ <AlertDialogCancel>Cancel</AlertDialogCancel>
+ <AlertDialogAction
+ onClick={(e) => {
+ e.preventDefault();
+ onDelete();
+ }}
+ disabled={isPending}
+ className="bg-destructive text-destructive-foreground hover:bg-destructive/90"
+ >
+ {!isPending ? "Delete" : <LoadingAnimation />}
+ </AlertDialogAction>
+ </AlertDialogFooter>
+ </AlertDialogContent>
+ </AlertDialog>
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/empty-state.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/empty-state.tsx
new file mode 100644
index 000000000..cd637e976
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/_components/empty-state.tsx
@@ -0,0 +1,19 @@
+import Link from "next/link";
+
+import { EmptyState as DefaultEmptyState } from "@/components/dashboard/empty-state";
+import { Button } from "@/components/ui/button";
+
+export function EmptyState() {
+ return (
+ <DefaultEmptyState
+ icon="siren"
+ title="No incidents"
+ description="Create your first incident"
+ action={
+ <Button asChild>
+ <Link href="./incidents/edit">Create</Link>
+ </Button>
+ }
+ />
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/edit/loading.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/edit/loading.tsx
new file mode 100644
index 000000000..b4dafe86f
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/edit/loading.tsx
@@ -0,0 +1,18 @@
+import { Header } from "@/components/dashboard/header";
+import { SkeletonForm } from "@/components/forms/skeleton-form";
+import { Skeleton } from "@/components/ui/skeleton";
+
+export default function Loading() {
+ return (
+ <div className="grid gap-6 md:grid-cols-2 md:gap-8">
+ <div className="col-span-full flex w-full justify-between">
+ <Header.Skeleton>
+ <Skeleton className="h-9 w-20" />
+ </Header.Skeleton>
+ </div>
+ <div className="col-span-full">
+ <SkeletonForm />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/edit/page.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/edit/page.tsx
new file mode 100644
index 000000000..6c14ce24c
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/edit/page.tsx
@@ -0,0 +1,62 @@
+import { notFound } from "next/navigation";
+import * as z from "zod";
+
+import { Header } from "@/components/dashboard/header";
+import { IncidentForm } from "@/components/forms/incident-form";
+import { api } from "@/trpc/server";
+
+/**
+ * allowed URL search params
+ */
+const searchParamsSchema = z.object({
+ id: z.coerce.number().optional(),
+});
+
+export default async function EditPage({
+ params,
+ searchParams,
+}: {
+ params: { workspaceSlug: string };
+ searchParams: { [key: string]: string | string[] | undefined };
+}) {
+ const search = searchParamsSchema.safeParse(searchParams);
+
+ if (!search.success) {
+ return notFound();
+ }
+
+ const { id } = search.data;
+
+ const incident = id
+ ? await api.incident.getIncidentById.query({
+ id,
+ })
+ : undefined;
+
+ const monitors = await api.monitor.getMonitorsByWorkspace.query({
+ workspaceSlug: params.workspaceSlug,
+ });
+
+ return (
+ <div className="grid gap-6 md:grid-cols-2 md:gap-8">
+ <Header title="Incident" description="Upsert your incident." />
+ <div className="col-span-full">
+ <IncidentForm
+ workspaceSlug={params.workspaceSlug}
+ monitors={monitors}
+ defaultValues={
+ incident
+ ? {
+ ...incident,
+ workspaceSlug: params.workspaceSlug,
+ monitors: incident?.monitorsToIncidents.map(
+ ({ monitorId }) => monitorId,
+ ),
+ }
+ : undefined
+ }
+ />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/loading.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/loading.tsx
new file mode 100644
index 000000000..86c23b149
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/loading.tsx
@@ -0,0 +1,17 @@
+import { Header } from "@/components/dashboard/header";
+import { Skeleton } from "@/components/ui/skeleton";
+
+export default function Loading() {
+ return (
+ <div className="grid gap-6 md:grid-cols-1 md:gap-8">
+ <div className="col-span-full flex w-full justify-between">
+ <Header.Skeleton>
+ <Skeleton className="h-9 w-20" />
+ </Header.Skeleton>
+ </div>
+ <Skeleton className="h-4 w-24" />
+ <Skeleton className="h-48 w-full" />
+ <Skeleton className="h-48 w-full" />
+ </div>
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/page.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/page.tsx
index e293b95e4..225de7295 100644
--- a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/page.tsx
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/page.tsx
@@ -1,8 +1,20 @@
import * as React from "react";
+import Link from "next/link";
+import { formatDistance } from "date-fns";
import { Container } from "@/components/dashboard/container";
import { Header } from "@/components/dashboard/header";
+import { Icons } from "@/components/icons";
+import { AffectedMonitors } from "@/components/incidents/affected-monitors";
+import { Events } from "@/components/incidents/events";
+import { StatusBadge } from "@/components/incidents/status-badge";
+import { Badge } from "@/components/ui/badge";
+import { Button } from "@/components/ui/button";
+import { statusDict } from "@/data/incidents-dictionary";
+import { cn } from "@/lib/utils";
import { api } from "@/trpc/server";
+import { ActionButton } from "./_components/action-button";
+import { EmptyState } from "./_components/empty-state";
export default async function IncidentPage({
params,
@@ -13,8 +25,79 @@ export default async function IncidentPage({
workspaceSlug: params.workspaceSlug,
});
return (
- <div className="grid gap-6 md:grid-cols-2 md:gap-8">
- <Header title="Incidents" description="Overview of all your incidents." />
+ <div className="grid gap-6 md:grid-cols-1 md:gap-8">
+ <Header title="Incidents" description="Overview of all your incidents.">
+ <Button asChild>
+ <Link href="./incidents/edit">Create</Link>
+ </Button>
+ </Header>
+ {Boolean(incidents?.length) ? (
+ <div className="col-span-full grid sm:grid-cols-6">
+ <ul role="list" className="grid gap-4 sm:col-span-6">
+ {incidents?.map((incident, i) => {
+ const { label, icon } =
+ statusDict[incident.status as keyof typeof statusDict];
+ const Icon = Icons[icon];
+ return (
+ <li key={i} className="grid gap-2">
+ <time className="text-muted-foreground pl-3 text-xs">
+ {formatDistance(new Date(incident.createdAt!), new Date(), {
+ addSuffix: true,
+ })}
+ </time>
+ <Container
+ title={
+ <>
+ {incident.title}
+ <StatusBadge status={incident.status} />
+ </>
+ }
+ actions={[
+ <Button key="status-button" variant="outline" size="sm">
+ <Link
+ href={`./incidents/update/edit?incidentId=${incident.id}`}
+ >
+ New Update
+ </Link>
+ </Button>,
+ <ActionButton
+ key="action-button"
+ id={incident.id}
+ workspaceSlug={params.workspaceSlug}
+ />,
+ ]}
+ >
+ <div className="grid gap-4">
+ <div>
+ <p className="text-muted-foreground mb-1.5 text-xs">
+ Affected Monitors
+ </p>
+ <AffectedMonitors
+ monitors={incident.monitorsToIncidents.map(
+ ({ monitor }) => monitor,
+ )}
+ />
+ </div>
+ <div>
+ <p className="text-muted-foreground mb-1.5 text-xs">
+ Last Updates
+ </p>
+ {/* Make it ordered by desc and make it toggable if you want the whole history! */}
+ <Events
+ incidentUpdates={incident.incidentUpdates}
+ editable
+ />
+ </div>
+ </div>
+ </Container>
+ </li>
+ );
+ })}
+ </ul>
+ </div>
+ ) : (
+ <EmptyState />
+ )}
</div>
);
}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/update/edit/loading.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/update/edit/loading.tsx
new file mode 100644
index 000000000..b4dafe86f
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/update/edit/loading.tsx
@@ -0,0 +1,18 @@
+import { Header } from "@/components/dashboard/header";
+import { SkeletonForm } from "@/components/forms/skeleton-form";
+import { Skeleton } from "@/components/ui/skeleton";
+
+export default function Loading() {
+ return (
+ <div className="grid gap-6 md:grid-cols-2 md:gap-8">
+ <div className="col-span-full flex w-full justify-between">
+ <Header.Skeleton>
+ <Skeleton className="h-9 w-20" />
+ </Header.Skeleton>
+ </div>
+ <div className="col-span-full">
+ <SkeletonForm />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/update/edit/page.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/update/edit/page.tsx
new file mode 100644
index 000000000..e86942412
--- /dev/null
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/incidents/update/edit/page.tsx
@@ -0,0 +1,59 @@
+import { notFound } from "next/navigation";
+import * as z from "zod";
+
+import { Header } from "@/components/dashboard/header";
+import { IncidentUpdateForm } from "@/components/forms/incident-update-form";
+import { api } from "@/trpc/server";
+
+/**
+ * allowed URL search params
+ */
+const searchParamsSchema = z.object({
+ id: z.coerce.number().optional(),
+ incidentId: z.coerce.number(),
+});
+
+export default async function EditPage({
+ params,
+ searchParams,
+}: {
+ params: { workspaceSlug: string };
+ searchParams: { [key: string]: string | string[] | undefined };
+}) {
+ const search = searchParamsSchema.safeParse(searchParams);
+
+ if (!search.success) {
+ return notFound();
+ }
+
+ const { id, incidentId } = search.data;
+
+ const incidentUpdate = id
+ ? await api.incident.getIncidentUpdateById.query({
+ id,
+ })
+ : undefined;
+
+ return (
+ <div className="grid gap-6 md:grid-cols-2 md:gap-8">
+ <Header
+ title="Incident Update"
+ description="Upsert your incident update."
+ />
+ <div className="col-span-full">
+ <IncidentUpdateForm
+ workspaceSlug={params.workspaceSlug}
+ incidentId={incidentId}
+ defaultValues={
+ incidentUpdate
+ ? {
+ workspaceSlug: params.workspaceSlug,
+ ...incidentUpdate,
+ }
+ : undefined
+ }
+ />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/_components/action-button.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/_components/action-button.tsx
index 8d9b61ebd..beb800673 100644
--- a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/_components/action-button.tsx
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/_components/action-button.tsx
@@ -51,7 +51,7 @@ export function ActionButton(props: Schema & { workspaceSlug: string }) {
<DropdownMenuTrigger asChild>
<Button
variant="ghost"
- className="data-[state=open]:bg-accent absolute right-6 top-6 h-8 w-8 p-0"
+ className="data-[state=open]:bg-accent h-8 w-8 p-0"
>
<span className="sr-only">Open menu</span>
<MoreVertical className="h-4 w-4" />
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/page.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/page.tsx
index da687781e..58423cea8 100644
--- a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/page.tsx
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/monitors/page.tsx
@@ -39,8 +39,10 @@ export default async function MonitorPage({
key={index}
title={monitor.name}
description={monitor.description}
+ actions={
+ <ActionButton {...monitor} workspaceSlug={params.workspaceSlug} />
+ }
>
- <ActionButton {...monitor} workspaceSlug={params.workspaceSlug} />
<dl className="[&_dt]:text-muted-foreground grid gap-2 [&>*]:text-sm [&_dt]:font-light">
<div className="flex min-w-0 items-center justify-between gap-3">
<dt>Status</dt>
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/_components/action-button.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/_components/action-button.tsx
index d1cea281c..fcbfc5f9c 100644
--- a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/_components/action-button.tsx
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/_components/action-button.tsx
@@ -55,7 +55,7 @@ export function ActionButton({ page }: ActionButtonProps) {
<DropdownMenuTrigger asChild>
<Button
variant="ghost"
- className="data-[state=open]:bg-accent absolute right-6 top-6 h-8 w-8 p-0"
+ className="data-[state=open]:bg-accent h-8 w-8 p-0"
>
<span className="sr-only">Open menu</span>
<MoreVertical className="h-4 w-4" />
diff --git a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/page.tsx b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/page.tsx
index 70f70a969..ff8d098dc 100644
--- a/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/page.tsx
+++ b/apps/web/src/app/app/(dashboard)/[workspaceSlug]/status-pages/page.tsx
@@ -49,14 +49,18 @@ export default async function Page({
key={index}
title={page.title}
description={page.description}
+ actions={
+ <ActionButton
+ page={{
+ ...page,
+ workspaceSlug: params.workspaceSlug,
+ monitors: page.monitorsToPages.map(
+ ({ monitor }) => monitor.id,
+ ),
+ }}
+ />
+ }
>
- <ActionButton
- page={{
- ...page,
- workspaceSlug: params.workspaceSlug,
- monitors: page.monitorsToPages.map(({ monitor }) => monitor.id),
- }}
- />
<dl className="[&_dt]:text-muted-foreground grid gap-2 [&>*]:text-sm [&_dt]:font-light">
<div className="flex min-w-0 items-center justify-between gap-3">
<dt>Slug</dt>
diff --git a/apps/web/src/app/status-page/[domain]/loading.tsx b/apps/web/src/app/status-page/[domain]/loading.tsx
index fa099d16f..43d1e619b 100644
--- a/apps/web/src/app/status-page/[domain]/loading.tsx
+++ b/apps/web/src/app/status-page/[domain]/loading.tsx
@@ -11,6 +11,9 @@ export default function StatusPageLoading() {
<Container.Skeleton />
<Container.Skeleton />
</div>
+ <div className="grid gap-4">
+ <Container.Skeleton />
+ </div>
</div>
</Shell>
);
diff --git a/apps/web/src/app/status-page/[domain]/page.tsx b/apps/web/src/app/status-page/[domain]/page.tsx
index fc0980a91..c3a10c6a6 100644
--- a/apps/web/src/app/status-page/[domain]/page.tsx
+++ b/apps/web/src/app/status-page/[domain]/page.tsx
@@ -3,6 +3,7 @@ import { notFound } from "next/navigation";
import { Header } from "@/components/dashboard/header";
import { Shell } from "@/components/dashboard/shell";
+import { IncidentList } from "@/components/status-page/incident-list";
import { MonitorList } from "@/components/status-page/monitor-list";
import { api } from "@/trpc/server";
@@ -27,7 +28,9 @@ export default async function Page({ params }: Props) {
description={page.description}
className="mx-auto max-w-lg lg:mx-auto"
/>
+ {/* Think of having a tab to switch between monitors and incidents? */}
<MonitorList monitors={page.monitors} />
+ <IncidentList incidents={page.incidents} monitors={page.monitors} />
</div>
</Shell>
);
diff --git a/apps/web/src/components/dashboard/container.tsx b/apps/web/src/components/dashboard/container.tsx
index 8116704b7..9438cfdf2 100644
--- a/apps/web/src/components/dashboard/container.tsx
+++ b/apps/web/src/components/dashboard/container.tsx
@@ -9,21 +9,34 @@ import {
import { cn } from "@/lib/utils";
import { Skeleton } from "../ui/skeleton";
-interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
- title: string;
+interface CardProps
+ extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
+ title: React.ReactNode;
description?: string;
+ actions?: React.ReactNode | React.ReactNode[];
}
-function Container({ title, description, className, children }: CardProps) {
+function Container({
+ title,
+ description,
+ actions,
+ className,
+ children,
+}: CardProps) {
return (
<Card
className={cn("border-border/50 relative w-full shadow-none", className)}
>
- <CardHeader className="mr-12">
- <CardTitle className="text-lg font-medium tracking-normal">
- {title}
- </CardTitle>
- {description ? <CardDescription>{description}</CardDescription> : null}
+ <CardHeader className="flex flex-row items-start justify-between gap-4 space-y-0">
+ <div className="space-y-1.5">
+ <CardTitle className="text-lg font-medium tracking-normal">
+ {title}
+ </CardTitle>
+ {description ? (
+ <CardDescription>{description}</CardDescription>
+ ) : null}
+ </div>
+ {actions ? <div className="flex gap-2">{actions}</div> : null}
</CardHeader>
{/* potentially `asChild` */}
<CardContent>{children}</CardContent>
diff --git a/apps/web/src/components/forms/incident-form.tsx b/apps/web/src/components/forms/incident-form.tsx
new file mode 100644
index 000000000..4f1fd136e
--- /dev/null
+++ b/apps/web/src/components/forms/incident-form.tsx
@@ -0,0 +1,279 @@
+// move into @/components/forms/ later
+"use client";
+
+import * as React from "react";
+import { useRouter } from "next/navigation";
+import { zodResolver } from "@hookform/resolvers/zod";
+import { useForm } from "react-hook-form";
+import * as z from "zod";
+
+import type { allMonitorsSchema } from "@openstatus/db/src/schema";
+import {
+ availableStatus,
+ insertIncidentSchema,
+ StatusEnum,
+} from "@openstatus/db/src/schema";
+
+import { Icons } from "@/components/icons";
+import { LoadingAnimation } from "@/components/loading-animation";
+import { Button } from "@/components/ui/button";
+import { Checkbox } from "@/components/ui/checkbox";
+import { DateTimePicker } from "@/components/ui/date-time-picker";
+import {
+ Form,
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
+import { Textarea } from "@/components/ui/textarea";
+import { useToast } from "@/components/ui/use-toast";
+import { statusDict } from "@/data/incidents-dictionary";
+import { api } from "@/trpc/client";
+
+// include update on creation
+const insertSchema = insertIncidentSchema.extend({
+ message: z.string().optional(),
+ date: z.date().optional().default(new Date()),
+});
+
+type IncidentProps = z.infer<typeof insertSchema>;
+type MonitorsProps = z.infer<typeof allMonitorsSchema>;
+
+interface Props {
+ defaultValues?: IncidentProps;
+ monitors?: MonitorsProps;
+ workspaceSlug: string;
+}
+
+export function IncidentForm({
+ defaultValues,
+ monitors,
+ workspaceSlug,
+}: Props) {
+ const form = useForm<IncidentProps>({
+ resolver: zodResolver(insertSchema),
+ defaultValues: {
+ id: defaultValues?.id || 0,
+ title: defaultValues?.title || "",
+ status: defaultValues?.status || "investigating",
+ monitors: defaultValues?.monitors || [],
+ workspaceSlug,
+ // include update on creation
+ message: "",
+ date: defaultValues?.date || new Date(),
+ },
+ });
+ const router = useRouter();
+ const [isPending, startTransition] = React.useTransition();
+ const { toast } = useToast();
+
+ const onSubmit = ({ ...props }: IncidentProps) => {
+ startTransition(async () => {
+ try {
+ if (defaultValues) {
+ await api.incident.updateIncident.mutate({ ...props });
+ } else {
+ // or use createIncident to create automaticaaly an IncidentUpdate?
+ const { message, date, status, workspaceSlug, ...rest } = props;
+ const incident = await api.incident.createIncident.mutate({
+ workspaceSlug,
+ status,
+ ...rest,
+ });
+ // include update on creation
+ if (incident?.id) {
+ await api.incident.createIncidentUpdate.mutate({
+ message,
+ date,
+ status,
+ workspaceSlug,
+ incidentId: incident.id,
+ });
+ }
+ }
+ router.push("./");
+ router.refresh();
+ } catch {
+ toast({
+ title: "Something went wrong.",
+ description: "Please try again.",
+ });
+ }
+ });
+ };
+ return (
+ <Form {...form}>
+ <form
+ onSubmit={async (e) => {
+ e.preventDefault();
+ form.handleSubmit(onSubmit)(e);
+ }}
+ className="grid w-full grid-cols-1 items-center gap-6 sm:grid-cols-6"
+ >
+ <FormField
+ control={form.control}
+ name="title"
+ render={({ field }) => (
+ <FormItem className="sm:col-span-4">
+ <FormLabel>Title</FormLabel>
+ <FormControl>
+ <Input placeholder="" {...field} />
+ </FormControl>
+ <FormDescription>The title of your page.</FormDescription>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="status"
+ render={({ field }) => (
+ <FormItem className="col-span-full space-y-1">
+ <FormLabel>Status</FormLabel>
+ <FormDescription>Select the current status.</FormDescription>
+ <FormMessage />
+ <RadioGroup
+ onValueChange={(value) =>
+ field.onChange(StatusEnum.parse(value))
+ } // value is a string
+ defaultValue={field.value}
+ className="grid grid-cols-2 gap-4 sm:grid-cols-4 sm:gap-8"
+ >
+ {availableStatus.map((status) => {
+ const { value, label, icon } = statusDict[status];
+ const Icon = Icons[icon];
+ return (
+ <FormItem key={value}>
+ <FormLabel className="[&:has([data-state=checked])>div]:border-primary [&:has([data-state=checked])>div]:text-foreground">
+ <FormControl>
+ <RadioGroupItem value={value} className="sr-only" />
+ </FormControl>
+ <div className="border-border text-muted-foreground flex w-full items-center justify-center rounded-lg border p-2 px-6 py-3 text-center">
+ <Icon className="mr-2 h-4 w-4" />
+ {label}
+ </div>
+ </FormLabel>
+ </FormItem>
+ );
+ })}
+ </RadioGroup>
+ </FormItem>
+ )}
+ />
+ {/* include update on creation */}
+ {!defaultValues ? (
+ <div className="bg-accent/40 border-border col-span-full -m-3 grid gap-6 rounded-lg border p-3 sm:grid-cols-6">
+ <FormField
+ control={form.control}
+ name="message" // TODO: support markdown and add a `Tabs` switch between "Write" and "Preview"
+ render={({ field }) => (
+ <FormItem className="sm:col-span-4">
+ <FormLabel>Message</FormLabel>
+ <FormControl>
+ <Textarea
+ placeholder="We are encountering..."
+ className="w-full resize-none"
+ rows={7}
+ {...field}
+ />
+ </FormControl>
+ <FormDescription>
+ Tell your user what&apos;s happening.
+ </FormDescription>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="date"
+ render={({ field }) => (
+ <FormItem className="flex flex-col sm:col-span-full">
+ <FormLabel>Date</FormLabel>
+ <DateTimePicker
+ date={field.value ? new Date(field.value) : new Date()}
+ setDate={(date) => {
+ field.onChange(date);
+ }}
+ />
+ <FormDescription>
+ The date and time when the incident took place.
+ </FormDescription>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ </div>
+ ) : null}
+ <FormField
+ control={form.control}
+ name="monitors"
+ render={() => (
+ <FormItem className="sm:col-span-full">
+ <div className="mb-4">
+ <FormLabel>Monitors</FormLabel>
+ <FormDescription>
+ Select the monitors that you want to refer the incident to.
+ </FormDescription>
+ </div>
+ <div className="grid grid-cols-2 gap-4 sm:grid-cols-4">
+ {monitors?.map((item) => (
+ <FormField
+ key={item.id}
+ control={form.control}
+ name="monitors"
+ render={({ field }) => {
+ return (
+ <FormItem
+ key={item.id}
+ className="flex flex-row items-start space-x-3 space-y-0"
+ >
+ <FormControl>
+ <Checkbox
+ checked={field.value?.includes(item.id)}
+ onCheckedChange={(checked) => {
+ return checked
+ ? field.onChange([
+ ...(field.value || []),
+ item.id,
+ ])
+ : field.onChange(
+ field.value?.filter(
+ (value) => value !== item.id,
+ ),
+ );
+ }}
+ />
+ </FormControl>
+ <div className="grid gap-1.5 leading-none">
+ <FormLabel className="font-normal">
+ {item.name}
+ </FormLabel>
+ <p className="text-muted-foreground truncate text-sm">
+ {item.description}
+ </p>
+ </div>
+ </FormItem>
+ );
+ }}
+ />
+ ))}
+ </div>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <div className="sm:col-span-full">
+ <Button className="w-full sm:w-auto">
+ {!isPending ? "Confirm" : <LoadingAnimation />}
+ </Button>
+ </div>
+ </form>
+ </Form>
+ );
+}
diff --git a/apps/web/src/components/forms/incident-update-form.tsx b/apps/web/src/components/forms/incident-update-form.tsx
new file mode 100644
index 000000000..7a2872b45
--- /dev/null
+++ b/apps/web/src/components/forms/incident-update-form.tsx
@@ -0,0 +1,177 @@
+// move into @/components/forms/ later
+"use client";
+
+import * as React from "react";
+import { useRouter } from "next/navigation";
+import { zodResolver } from "@hookform/resolvers/zod";
+import { useForm } from "react-hook-form";
+import type * as z from "zod";
+
+import {
+ availableStatus,
+ insertIncidentUpdateSchema,
+ StatusEnum,
+} from "@openstatus/db/src/schema";
+
+import { Icons } from "@/components/icons";
+import { LoadingAnimation } from "@/components/loading-animation";
+import { Button } from "@/components/ui/button";
+import { DateTimePicker } from "@/components/ui/date-time-picker";
+import {
+ Form,
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
+import { Textarea } from "@/components/ui/textarea";
+import { useToast } from "@/components/ui/use-toast";
+import { statusDict } from "@/data/incidents-dictionary";
+import { api } from "@/trpc/client";
+
+// TODO: for UX, using the form inside of a Dialog feels more suitable
+
+type IncidentUpdateProps = z.infer<typeof insertIncidentUpdateSchema>;
+
+interface Props {
+ defaultValues?: IncidentUpdateProps;
+ workspaceSlug: string;
+ incidentId: number;
+}
+
+export function IncidentUpdateForm({
+ defaultValues,
+ workspaceSlug,
+ incidentId,
+}: Props) {
+ const form = useForm<IncidentUpdateProps>({
+ resolver: zodResolver(insertIncidentUpdateSchema),
+ defaultValues: {
+ id: defaultValues?.id || 0,
+ status: defaultValues?.status || "investigating",
+ message: defaultValues?.message || "",
+ date: defaultValues?.date || new Date(),
+ incidentId,
+ workspaceSlug,
+ },
+ });
+ const router = useRouter();
+ const [isPending, startTransition] = React.useTransition();
+ const { toast } = useToast();
+
+ const onSubmit = ({ ...props }: IncidentUpdateProps) => {
+ startTransition(async () => {
+ try {
+ if (defaultValues) {
+ await api.incident.updateIncidentUpdate.mutate({ ...props });
+ } else {
+ await api.incident.createIncidentUpdate.mutate({ ...props });
+ }
+ router.push("../");
+ router.refresh();
+ } catch {
+ toast({
+ title: "Something went wrong.",
+ description: "Please try again.",
+ });
+ }
+ });
+ };
+
+ return (
+ <Form {...form}>
+ <form
+ onSubmit={async (e) => {
+ e.preventDefault();
+ form.handleSubmit(onSubmit)(e);
+ }}
+ className="grid w-full grid-cols-1 items-center gap-6 sm:grid-cols-6"
+ >
+ <FormField
+ control={form.control}
+ name="status"
+ render={({ field }) => (
+ <FormItem className="col-span-full space-y-1">
+ <FormLabel>Status</FormLabel>
+ <FormDescription>Select the current status.</FormDescription>
+ <FormMessage />
+ <RadioGroup
+ onValueChange={(value) =>
+ field.onChange(StatusEnum.parse(value))
+ } // value is a string
+ defaultValue={field.value}
+ className="grid grid-cols-2 gap-4 sm:grid-cols-4 sm:gap-8"
+ >
+ {availableStatus.map((status) => {
+ const { value, label, icon } = statusDict[status];
+ const Icon = Icons[icon];
+ return (
+ <FormItem key={value}>
+ <FormLabel className="[&:has([data-state=checked])>div]:border-primary [&:has([data-state=checked])>div]:text-foreground">
+ <FormControl>
+ <RadioGroupItem value={value} className="sr-only" />
+ </FormControl>
+ <div className="border-border text-muted-foreground flex w-full items-center justify-center rounded-lg border p-2 px-6 py-3 text-center">
+ <Icon className="mr-2 h-4 w-4" />
+ {label}
+ </div>
+ </FormLabel>
+ </FormItem>
+ );
+ })}
+ </RadioGroup>
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="message" // TODO: support markdown and add a `Tabs` switch between "Write" and "Preview"
+ render={({ field }) => (
+ <FormItem className="sm:col-span-4">
+ <FormLabel>Message</FormLabel>
+ <FormControl>
+ <Textarea
+ placeholder="We are encountering..."
+ className="w-full resize-none"
+ rows={7}
+ {...field}
+ />
+ </FormControl>
+ <FormDescription>
+ Tell your user what&apos;s happening.
+ </FormDescription>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="date"
+ render={({ field }) => (
+ <FormItem className="flex flex-col sm:col-span-full">
+ <FormLabel>Date</FormLabel>
+ <DateTimePicker
+ date={new Date(field.value)}
+ setDate={(date) => {
+ field.onChange(date);
+ }}
+ />
+ <FormDescription>
+ The date and time when the incident took place.
+ </FormDescription>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <div className="sm:col-span-full">
+ <Button className="w-full sm:w-auto">
+ {!isPending ? "Confirm" : <LoadingAnimation />}
+ </Button>
+ </div>
+ </form>
+ </Form>
+ );
+}
diff --git a/apps/web/src/components/icons.tsx b/apps/web/src/components/icons.tsx
index 49b3f0d8e..84b1edf49 100644
--- a/apps/web/src/components/icons.tsx
+++ b/apps/web/src/components/icons.tsx
@@ -1,11 +1,19 @@
import {
Activity,
+ Calendar,
+ Fingerprint,
LayoutDashboard,
Link,
+ MessageCircle,
PanelTop,
+ Pencil,
+ Search,
+ SearchCheck,
Siren,
Table,
+ Tag,
ToyBrick,
+ Trash,
} from "lucide-react";
import type { Icon as LucideIcon, LucideProps } from "lucide-react";
@@ -20,6 +28,14 @@ export const Icons = {
"panel-top": PanelTop,
table: Table,
"toy-brick": ToyBrick,
+ search: Search,
+ "search-check": SearchCheck,
+ fingerprint: Fingerprint,
+ pencil: Pencil,
+ "message-circle": MessageCircle,
+ calendar: Calendar,
+ tag: Tag,
+ trash: Trash,
discord: ({ ...props }: LucideProps) => (
<svg viewBox="0 0 640 512" {...props}>
<path
diff --git a/apps/web/src/components/incidents/affected-monitors.tsx b/apps/web/src/components/incidents/affected-monitors.tsx
new file mode 100644
index 000000000..e388bab89
--- /dev/null
+++ b/apps/web/src/components/incidents/affected-monitors.tsx
@@ -0,0 +1,25 @@
+import type * as z from "zod";
+
+import type { selectMonitorSchema } from "@openstatus/db/src/schema";
+
+export function AffectedMonitors({
+ monitors,
+}: {
+ monitors: z.infer<typeof selectMonitorSchema>[];
+}) {
+ return (
+ <ul role="list">
+ {monitors.length > 0 ? (
+ monitors.map(({ name, url }, i) => (
+ <li key={i} className="text-xs">
+ <span className="text-sm font-medium">{name}</span>
+ <span className="text-muted-foreground/70 mx-1">&bull;</span>
+ <span className="text-muted-foreground font-mono">{url}</span>
+ </li>
+ ))
+ ) : (
+ <li className="text-muted-foreground text-sm">Monitor(s) missing</li>
+ )}
+ </ul>
+ );
+}
diff --git a/apps/web/src/components/incidents/events.tsx b/apps/web/src/components/incidents/events.tsx
new file mode 100644
index 000000000..ffd4f211f
--- /dev/null
+++ b/apps/web/src/components/incidents/events.tsx
@@ -0,0 +1,95 @@
+"use client";
+
+import * as React from "react";
+import { useRouter } from "next/navigation";
+import { format } from "date-fns";
+import type * as z from "zod";
+
+import type { selectIncidentUpdateSchema } from "@openstatus/db/src/schema";
+
+import { Icons } from "@/components/icons";
+import { Badge } from "@/components/ui/badge";
+import { Button } from "@/components/ui/button";
+import { statusDict } from "@/data/incidents-dictionary";
+import { cn } from "@/lib/utils";
+import { DeleteIncidentUpdateButtonIcon } from "../../app/app/(dashboard)/[workspaceSlug]/incidents/_components/delete-incident-update";
+
+type IncidentUpdateProps = z.infer<typeof selectIncidentUpdateSchema>;
+
+export function Events({
+ incidentUpdates,
+ editable = false,
+}: {
+ incidentUpdates: IncidentUpdateProps[];
+ editable?: boolean;
+}) {
+ const [open, toggle] = React.useReducer((open) => !open, false);
+ const router = useRouter();
+
+ // TODO: make it simpler..
+ const sortedArray = incidentUpdates.sort((a, b) => {
+ const orderA = statusDict[a.status].order;
+ const orderB = statusDict[b.status].order;
+ return orderB - orderA;
+ });
+ const slicedArray = open
+ ? sortedArray
+ : sortedArray.length > 0
+ ? [sortedArray[0]]
+ : [];
+ //
+
+ return (
+ <div className="grid gap-3">
+ {slicedArray?.map((update, i) => {
+ const { icon, label } = statusDict[update.status];
+ const StatusIcon = Icons[icon];
+ return (
+ <div
+ key={update.id}
+ className={cn(
+ "group relative -m-2 grid gap-2 border border-transparent p-2",
+ editable &&
+ "hover:bg-accent/40 hover:border-border hover:rounded-lg",
+ )}
+ >
+ {editable ? (
+ <div className="absolute right-2 top-2 hidden gap-2 group-hover:flex group-active:flex">
+ <Button
+ size="icon"
+ variant="outline"
+ className="h-7 w-7 p-0"
+ onClick={() => {
+ router.push(
+ `./incidents/update/edit?incidentId=${update.incidentId}&id=${update.id}`,
+ );
+ }}
+ >
+ <Icons.pencil className="h-4 w-4" />
+ </Button>
+ <DeleteIncidentUpdateButtonIcon id={update.id} />
+ </div>
+ ) : undefined}
+ <div className="text-muted-foreground flex items-center text-xs font-light">
+ {format(new Date(update.date), "LLL dd, y HH:mm")}
+ <span className="text-muted-foreground/70 mx-1">&bull;</span>
+ <Badge variant="secondary">
+ <StatusIcon className="mr-1 h-3 w-3" />
+ {label}
+ </Badge>
+ </div>
+ <p className="max-w-3xl text-sm">{update.message}</p>
+ </div>
+ );
+ })}
+
+ {incidentUpdates.length > 1 ? (
+ <div className="text-center">
+ <Button variant="ghost" onClick={toggle}>
+ {open ? "Close all" : "All updates"}
+ </Button>
+ </div>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/incidents/status-badge.tsx b/apps/web/src/components/incidents/status-badge.tsx
new file mode 100644
index 000000000..813757e78
--- /dev/null
+++ b/apps/web/src/components/incidents/status-badge.tsx
@@ -0,0 +1,24 @@
+import { statusDict } from "@/data/incidents-dictionary";
+import { cn } from "@/lib/utils";
+import { Icons } from "../icons";
+import { Badge } from "../ui/badge";
+
+export function StatusBadge({ status }: { status: keyof typeof statusDict }) {
+ const { label, icon } = statusDict[status];
+ const Icon = Icons[icon];
+ return (
+ <Badge
+ variant="outline"
+ className={cn("ml-2 font-normal", {
+ "border-red-600/20 bg-red-50 text-red-600": status === "investigating",
+ "border-yellow-600/20 bg-yellow-50 text-yellow-600":
+ status === "identified",
+ "border-blue-600/20 bg-blue-50 text-blue-600": status === "monitoring",
+ "border-green-600/20 bg-green-50 text-green-600": status === "resolved",
+ })}
+ >
+ <Icon className="mr-1 h-3 w-3" />
+ {label}
+ </Badge>
+ );
+}
diff --git a/apps/web/src/components/status-page/incident-list.tsx b/apps/web/src/components/status-page/incident-list.tsx
new file mode 100644
index 000000000..09de4d1a6
--- /dev/null
+++ b/apps/web/src/components/status-page/incident-list.tsx
@@ -0,0 +1,73 @@
+import type { z } from "zod";
+
+import type {
+ selectIncidentsPageSchema,
+ selectMonitorSchema,
+} from "@openstatus/db/src/schema";
+
+import { notEmpty } from "@/lib/utils";
+import { AffectedMonitors } from "../incidents/affected-monitors";
+import { Events } from "../incidents/events";
+import { StatusBadge } from "../incidents/status-badge";
+
+// TODO: change layout - it is too packed with data rn
+
+export const IncidentList = ({
+ incidents,
+ monitors,
+}: {
+ incidents: z.infer<typeof selectIncidentsPageSchema>;
+ monitors: z.infer<typeof selectMonitorSchema>[];
+}) => {
+ // TBD
+ // const currentIncidents = incidents.filter(
+ // ({ status }) => status !== "resolved",
+ // );
+
+ return (
+ <>
+ {incidents?.length > 0 ? (
+ <div className="grid gap-4">
+ <h2 className="text-muted-foreground text-lg font-light">
+ All Incidents
+ </h2>
+ {incidents.map((incident) => {
+ return (
+ <div key={incident.id} className="grid gap-4 text-left">
+ <div className="max-w-3xl font-semibold">
+ {incident.title}
+ <StatusBadge status={incident.status} />
+ </div>
+ <div>
+ <p className="text-muted-foreground mb-1 text-xs">
+ Affected Monitors
+ </p>
+ <AffectedMonitors
+ monitors={incident.monitorsToIncidents
+ .map(({ monitorId }) => {
+ const monitor = monitors.find(
+ ({ id }) => monitorId === id,
+ );
+ return monitor || undefined;
+ })
+ .filter(notEmpty)}
+ />
+ </div>
+ <div>
+ <p className="text-muted-foreground mb-1 text-xs">
+ Latest Updates
+ </p>
+ <Events incidentUpdates={incident.incidentUpdates} />
+ </div>
+ </div>
+ );
+ })}
+ </div>
+ ) : (
+ <h2 className="text-muted-foreground text-lg font-light">
+ No Incidents
+ </h2>
+ )}
+ </>
+ );
+};
diff --git a/apps/web/src/components/ui/date-time-picker.tsx b/apps/web/src/components/ui/date-time-picker.tsx
new file mode 100644
index 000000000..3c00a7c29
--- /dev/null
+++ b/apps/web/src/components/ui/date-time-picker.tsx
@@ -0,0 +1,90 @@
+// CREDITS: https://gist.github.com/fernandops26/da681c4b12e52191803b4fcb040cdebb
+"use client";
+
+import * as React from "react";
+import { Calendar as CalendarIcon } from "lucide-react";
+import { DateTime } from "luxon";
+import type { SelectSingleEventHandler } from "react-day-picker";
+
+import { Button } from "@/components/ui/button";
+import { Calendar } from "@/components/ui/calendar";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+import {
+ Popover,
+ PopoverContent,
+ PopoverTrigger,
+} from "@/components/ui/popover";
+import { cn } from "@/lib/utils";
+
+interface DateTimePickerProps {
+ date: Date;
+ setDate: (date: Date) => void;
+}
+
+export function DateTimePicker({ date, setDate }: DateTimePickerProps) {
+ const [selectedDateTime, setSelectedDateTime] = React.useState<DateTime>(
+ DateTime.fromJSDate(date),
+ );
+
+ const handleSelect: SelectSingleEventHandler = (day, selected) => {
+ const selectedDay = DateTime.fromJSDate(selected);
+ const modifiedDay = selectedDay.set({
+ hour: selectedDateTime.hour,
+ minute: selectedDateTime.minute,
+ });
+
+ setSelectedDateTime(modifiedDay);
+ setDate(modifiedDay.toJSDate());
+ };
+
+ const handleTimeChange: React.ChangeEventHandler<HTMLInputElement> = (e) => {
+ const { value } = e.target;
+ const hours = Number.parseInt(value.split(":")[0] || "00", 10);
+ const minutes = Number.parseInt(value.split(":")[1] || "00", 10);
+ const modifiedDay = selectedDateTime.set({ hour: hours, minute: minutes });
+
+ setSelectedDateTime(modifiedDay);
+ setDate(modifiedDay.toJSDate());
+ };
+
+ return (
+ <Popover>
+ <PopoverTrigger asChild className="z-10">
+ <Button
+ variant={"outline"}
+ className={cn(
+ "w-[280px] justify-start text-left font-normal",
+ !date && "text-muted-foreground",
+ )}
+ suppressHydrationWarning // because timestamp is not same, server and client
+ >
+ <CalendarIcon className="mr-2 h-4 w-4" />
+ {date ? (
+ selectedDateTime.toFormat("DDD HH:mm")
+ ) : (
+ <span>Pick a date</span>
+ )}
+ </Button>
+ </PopoverTrigger>
+ <PopoverContent className="w-auto p-0">
+ <Calendar
+ mode="single"
+ selected={selectedDateTime.toJSDate()}
+ onSelect={handleSelect}
+ initialFocus
+ />
+ <div className="px-4 pb-4 pt-0">
+ <Label>Time</Label>
+ {/* TODO: style it properly! */}
+ <Input
+ type="time"
+ onChange={handleTimeChange}
+ value={selectedDateTime.toFormat("HH:mm")}
+ />
+ </div>
+ {!selectedDateTime && <p>Please pick a day.</p>}
+ </PopoverContent>
+ </Popover>
+ );
+}
diff --git a/apps/web/src/components/ui/radio-group.tsx b/apps/web/src/components/ui/radio-group.tsx
new file mode 100644
index 000000000..1984dac5c
--- /dev/null
+++ b/apps/web/src/components/ui/radio-group.tsx
@@ -0,0 +1,44 @@
+"use client";
+
+import * as React from "react";
+import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
+import { Circle } from "lucide-react";
+
+import { cn } from "@/lib/utils";
+
+const RadioGroup = React.forwardRef<
+ React.ElementRef<typeof RadioGroupPrimitive.Root>,
+ React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>
+>(({ className, ...props }, ref) => {
+ return (
+ <RadioGroupPrimitive.Root
+ className={cn("grid gap-2", className)}
+ {...props}
+ ref={ref}
+ />
+ );
+});
+RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
+
+const RadioGroupItem = React.forwardRef<
+ React.ElementRef<typeof RadioGroupPrimitive.Item>,
+ React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>
+>(({ className, children, ...props }, ref) => {
+ return (
+ <RadioGroupPrimitive.Item
+ ref={ref}
+ className={cn(
+ "border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
+ className,
+ )}
+ {...props}
+ >
+ <RadioGroupPrimitive.Indicator className="flex items-center justify-center">
+ <Circle className="h-2.5 w-2.5 fill-current text-current" />
+ </RadioGroupPrimitive.Indicator>
+ </RadioGroupPrimitive.Item>
+ );
+});
+RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
+
+export { RadioGroup, RadioGroupItem };
diff --git a/apps/web/src/components/ui/tabs.tsx b/apps/web/src/components/ui/tabs.tsx
new file mode 100644
index 000000000..990017db1
--- /dev/null
+++ b/apps/web/src/components/ui/tabs.tsx
@@ -0,0 +1,55 @@
+"use client";
+
+import * as React from "react";
+import * as TabsPrimitive from "@radix-ui/react-tabs";
+
+import { cn } from "@/lib/utils";
+
+const Tabs = TabsPrimitive.Root;
+
+const TabsList = React.forwardRef<
+ React.ElementRef<typeof TabsPrimitive.List>,
+ React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>
+>(({ className, ...props }, ref) => (
+ <TabsPrimitive.List
+ ref={ref}
+ className={cn(
+ "bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1",
+ className,
+ )}
+ {...props}
+ />
+));
+TabsList.displayName = TabsPrimitive.List.displayName;
+
+const TabsTrigger = React.forwardRef<
+ React.ElementRef<typeof TabsPrimitive.Trigger>,
+ React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>
+>(({ className, ...props }, ref) => (
+ <TabsPrimitive.Trigger
+ ref={ref}
+ className={cn(
+ "ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm",
+ className,
+ )}
+ {...props}
+ />
+));
+TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
+
+const TabsContent = React.forwardRef<
+ React.ElementRef<typeof TabsPrimitive.Content>,
+ React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>
+>(({ className, ...props }, ref) => (
+ <TabsPrimitive.Content
+ ref={ref}
+ className={cn(
+ "ring-offset-background focus-visible:ring-ring mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
+ className,
+ )}
+ {...props}
+ />
+));
+TabsContent.displayName = TabsPrimitive.Content.displayName;
+
+export { Tabs, TabsList, TabsTrigger, TabsContent };
diff --git a/apps/web/src/components/ui/textarea.tsx b/apps/web/src/components/ui/textarea.tsx
new file mode 100644
index 000000000..4a8f56aa6
--- /dev/null
+++ b/apps/web/src/components/ui/textarea.tsx
@@ -0,0 +1,23 @@
+import * as React from "react";
+
+import { cn } from "@/lib/utils";
+
+export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
+
+const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
+ ({ className, ...props }, ref) => {
+ return (
+ <textarea
+ className={cn(
+ "border-input ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[80px] w-full rounded-md border bg-transparent px-3 py-2 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
+ className,
+ )}
+ ref={ref}
+ {...props}
+ />
+ );
+ },
+);
+Textarea.displayName = "Textarea";
+
+export { Textarea };
diff --git a/apps/web/src/config/pages.ts b/apps/web/src/config/pages.ts
index 896463bad..bd7711bcd 100644
--- a/apps/web/src/config/pages.ts
+++ b/apps/web/src/config/pages.ts
@@ -27,7 +27,6 @@ export const pagesConfig: Page[] = [
description: "War room where you handle the incidents.",
href: "/incidents",
icon: "siren",
- disabled: true,
},
// ...
];
diff --git a/apps/web/src/data/incidents-dictionary.ts b/apps/web/src/data/incidents-dictionary.ts
new file mode 100644
index 000000000..c6d3ceb0c
--- /dev/null
+++ b/apps/web/src/data/incidents-dictionary.ts
@@ -0,0 +1,26 @@
+export const statusDict = {
+ investigating: {
+ value: "investigating",
+ label: "Investigating",
+ icon: "search",
+ order: 1,
+ },
+ identified: {
+ value: "identified",
+ label: "Identified",
+ icon: "fingerprint",
+ order: 2,
+ },
+ monitoring: {
+ value: "monitoring",
+ label: "Monitoring",
+ icon: "activity",
+ order: 3,
+ },
+ resolved: {
+ value: "resolved",
+ label: "Resolved",
+ icon: "search-check",
+ order: 4,
+ },
+} as const;
diff --git a/apps/web/src/lib/utils.ts b/apps/web/src/lib/utils.ts
index c1fc72ef7..88e20cf55 100644
--- a/apps/web/src/lib/utils.ts
+++ b/apps/web/src/lib/utils.ts
@@ -14,3 +14,9 @@ export function wait(ms: number) {
export function formatDate(date: Date) {
return format(date, "LLL dd, y");
}
+
+export function notEmpty<TValue>(
+ value: TValue | null | undefined,
+): value is TValue {
+ return value !== null && value !== undefined;
+}
diff --git a/packages/api/src/router/incident.ts b/packages/api/src/router/incident.ts
index 8c2df3003..5eac805a9 100644
--- a/packages/api/src/router/incident.ts
+++ b/packages/api/src/router/incident.ts
@@ -1,12 +1,20 @@
import { z } from "zod";
-import { eq } from "@openstatus/db";
+import { and, eq, inArray } from "@openstatus/db";
import {
incident,
incidentUpdate,
insertIncidentSchema,
+ insertIncidentSchemaWithMonitors,
insertIncidentUpdateSchema,
- page,
+ monitor,
+ monitorsToIncidents,
+ selectIncidentSchema,
+ selectIncidentUpdateSchema,
+ selectMonitorSchema,
+ StatusEnum,
+ user,
+ usersToWorkspaces,
workspace,
} from "@openstatus/db/src/schema";
@@ -16,37 +24,320 @@ export const incidentRouter = createTRPCRouter({
createIncident: protectedProcedure
.input(insertIncidentSchema)
.mutation(async (opts) => {
- // FIXME: SECURE THIS
- return opts.ctx.db.insert(incident).values(opts.input).returning().get();
+ const currentWorkspace = await opts.ctx.db
+ .select()
+ .from(workspace)
+ .where(eq(workspace.slug, opts.input.workspaceSlug))
+ .get();
+ const currentUser = opts.ctx.db
+ .select()
+ .from(user)
+ .where(eq(user.tenantId, opts.ctx.auth.userId))
+ .as("currentUser");
+ const result = await opts.ctx.db
+ .select()
+ .from(usersToWorkspaces)
+ .where(eq(usersToWorkspaces.workspaceId, currentWorkspace.id))
+ .innerJoin(currentUser, eq(usersToWorkspaces.userId, currentUser.id))
+ .get();
+
+ if (!result) return;
+ const { id, workspaceSlug, monitors, date, ...incidentInput } =
+ opts.input;
+
+ const newIncident = await opts.ctx.db
+ .insert(incident)
+ .values({
+ workspaceId: currentWorkspace.id,
+ ...incidentInput,
+ })
+ .returning()
+ .get();
+
+ // if (monitors && monitors.length > 0) {
+ // // We should make sure the user has access to the monitors
+ // const allMonitors = await opts.ctx.db.query.monitor.findMany({
+ // where: inArray(monitor.id, monitors),
+ // });
+ // const values = allMonitors.map((monitor) => ({
+ // monitorId: monitor.id,
+ // incidentId: newIncident.id,
+ // }));
+ // await opts.ctx.db.insert(monitorsToIncidents).values(values).run();
+ // }
+
+ await opts.ctx.db
+ .insert(monitorsToIncidents)
+ .values(
+ monitors.map((monitor) => ({
+ monitorId: monitor,
+ incidentId: newIncident.id,
+ })),
+ )
+ .returning()
+ .get();
+
+ return newIncident;
}),
createIncidentUpdate: protectedProcedure
.input(insertIncidentUpdateSchema)
.mutation(async (opts) => {
- // FIXME: SECURE THIS
+ const currentWorkspace = await opts.ctx.db
+ .select()
+ .from(workspace)
+ .where(eq(workspace.slug, opts.input.workspaceSlug))
+ .get();
+ const currentUser = opts.ctx.db
+ .select()
+ .from(user)
+ .where(eq(user.tenantId, opts.ctx.auth.userId))
+ .as("currentUser");
+ const result = await opts.ctx.db
+ .select()
+ .from(usersToWorkspaces)
+ .where(eq(usersToWorkspaces.workspaceId, currentWorkspace.id))
+ .innerJoin(currentUser, eq(usersToWorkspaces.userId, currentUser.id))
+ .get();
+
+ if (!result) return;
+
+ // update parent incident with latest status
+ await opts.ctx.db
+ .update(incident)
+ .set({ status: opts.input.status })
+ .where(eq(incident.id, opts.input.incidentId))
+ .returning()
+ .get();
+
+ const { workspaceSlug, ...incidentUpdateInput } = opts.input;
return await opts.ctx.db
.insert(incidentUpdate)
- .values(opts.input)
+ .values(incidentUpdateInput)
.returning()
.get();
}),
updateIncident: protectedProcedure
- .input(
- z.object({
- incidentId: z.number(),
- status: insertIncidentSchema.pick({ status: true }),
- }),
- )
+ .input(insertIncidentSchemaWithMonitors)
.mutation(async (opts) => {
- return opts.ctx.db
+ const currentWorkspace = await opts.ctx.db
+ .select()
+ .from(workspace)
+ .where(eq(workspace.slug, opts.input.workspaceSlug))
+ .get();
+ const currentUser = opts.ctx.db
+ .select()
+ .from(user)
+ .where(eq(user.tenantId, opts.ctx.auth.userId))
+ .as("currentUser");
+ const result = await opts.ctx.db
+ .select()
+ .from(usersToWorkspaces)
+ .where(eq(usersToWorkspaces.workspaceId, currentWorkspace.id))
+ .innerJoin(currentUser, eq(usersToWorkspaces.userId, currentUser.id))
+ .get();
+
+ if (!result) return;
+
+ console.log(opts.input);
+ const { monitors, workspaceSlug, ...incidentInput } = opts.input;
+ console.log(incidentInput);
+
+ if (!incidentInput.id) return;
+
+ const { title, status } = incidentInput;
+
+ const currentIncident = await opts.ctx.db
.update(incident)
- .set(opts.input.status)
- .where(eq(incident.id, opts.input.incidentId))
+ .set({ title, status, updatedAt: new Date() })
+ .where(eq(incident.id, incidentInput.id))
.returning()
.get();
+
+ const currentMonitorToIncidents = await opts.ctx.db
+ .select()
+ .from(monitorsToIncidents)
+ .where(eq(monitorsToIncidents.incidentId, currentIncident.id))
+ .all();
+
+ const currentMonitorToIncidentsIds = currentMonitorToIncidents.map(
+ ({ monitorId }) => monitorId,
+ );
+
+ const removedMonitors = currentMonitorToIncidentsIds.filter(
+ (x) => !monitors?.includes(x),
+ );
+
+ const addedMonitors = monitors?.filter(
+ (x) => !currentMonitorToIncidentsIds?.includes(x),
+ );
+
+ if (addedMonitors && addedMonitors.length > 0) {
+ const values = addedMonitors.map((monitorId) => ({
+ monitorId: monitorId,
+ incidentId: currentIncident.id,
+ }));
+
+ await opts.ctx.db.insert(monitorsToIncidents).values(values).run();
+ }
+
+ if (removedMonitors && removedMonitors.length > 0) {
+ await opts.ctx.db
+ .delete(monitorsToIncidents)
+ .where(
+ and(
+ eq(monitorsToIncidents.incidentId, currentIncident.id),
+ inArray(monitorsToIncidents.monitorId, removedMonitors),
+ ),
+ )
+ .run();
+ }
+
+ return currentIncident;
}),
- // FIXME: SECURE THIS
+
+ updateIncidentUpdate: protectedProcedure
+ .input(insertIncidentUpdateSchema)
+ .mutation(async (opts) => {
+ const currentWorkspace = await opts.ctx.db
+ .select()
+ .from(workspace)
+ .where(eq(workspace.slug, opts.input.workspaceSlug))
+ .get();
+ const currentUser = opts.ctx.db
+ .select()
+ .from(user)
+ .where(eq(user.tenantId, opts.ctx.auth.userId))
+ .as("currentUser");
+ const result = await opts.ctx.db
+ .select()
+ .from(usersToWorkspaces)
+ .where(eq(usersToWorkspaces.workspaceId, currentWorkspace.id))
+ .innerJoin(currentUser, eq(usersToWorkspaces.userId, currentUser.id))
+ .get();
+
+ if (!result) return;
+
+ const { workspaceSlug, ...incidentUpdateInput } = opts.input;
+
+ if (!incidentUpdateInput.id) return;
+
+ const currentIncident = await opts.ctx.db
+ .update(incidentUpdate)
+ .set(incidentUpdateInput)
+ .where(eq(incidentUpdate.id, incidentUpdateInput.id))
+ .returning()
+ .get();
+
+ return currentIncident;
+ }),
+
+ deleteIncident: protectedProcedure
+ .input(z.object({ id: z.number() }))
+ .mutation(async (opts) => {
+ // TODO: this looks not very affective
+ const currentUser = await opts.ctx.db
+ .select()
+ .from(user)
+ .where(eq(user.tenantId, opts.ctx.auth.userId))
+ .get();
+
+ const result = await opts.ctx.db
+ .select()
+ .from(usersToWorkspaces)
+ .where(eq(usersToWorkspaces.userId, currentUser.id))
+ .all();
+
+ const workspaceIds = result.map((workspace) => workspace.workspaceId);
+
+ const incidentToDelete = await opts.ctx.db
+ .select()
+ .from(incident)
+ .where(
+ and(
+ eq(incident.id, opts.input.id),
+ inArray(incident.workspaceId, workspaceIds),
+ ),
+ )
+ .get();
+ if (!incidentToDelete) return;
+
+ await opts.ctx.db
+ .delete(incident)
+ .where(eq(incident.id, incidentToDelete.id))
+ .run();
+ }),
+
+ deleteIncidentUpdate: protectedProcedure
+ .input(z.object({ id: z.number() }))
+ .mutation(async (opts) => {
+ const currentUser = await opts.ctx.db
+ .select()
+ .from(user)
+ .where(eq(user.tenantId, opts.ctx.auth.userId))
+ .get();
+
+ const result = await opts.ctx.db
+ .select()
+ .from(usersToWorkspaces)
+ .where(eq(usersToWorkspaces.userId, currentUser.id))
+ .all();
+
+ const workspaceIds = result.map((workspace) => workspace.workspaceId);
+
+ const incidentUpdateToDelete = await opts.ctx.db
+ .select()
+ .from(incidentUpdate)
+ .where(and(eq(incidentUpdate.id, opts.input.id)))
+ // FIXME: check if incident related to workspaceId
+ // .innerJoin(incident, inArray(incident.workspaceId, workspaceIds))
+ .get();
+
+ if (!incidentUpdateToDelete) return;
+
+ await opts.ctx.db
+ .delete(incidentUpdate)
+ .where(eq(incidentUpdate.id, opts.input.id))
+ .run();
+ }),
+
+ getIncidentById: protectedProcedure
+ .input(z.object({ id: z.number() }))
+ .query(async (opts) => {
+ const selectIncidentSchemaWithRelation = selectIncidentSchema.extend({
+ status: StatusEnum.default("investigating"), // TODO: remove!
+ monitorsToIncidents: z
+ .array(z.object({ incidentId: z.number(), monitorId: z.number() }))
+ .default([]),
+ incidentUpdates: z.array(selectIncidentUpdateSchema),
+ date: z.date().default(new Date()),
+ });
+
+ const data = await opts.ctx.db.query.incident.findFirst({
+ where: eq(incident.id, opts.input.id),
+ with: {
+ monitorsToIncidents: true,
+ incidentUpdates: {
+ orderBy: (incidentUpdate, { desc }) => [
+ desc(incidentUpdate.createdAt),
+ ],
+ },
+ },
+ });
+
+ return selectIncidentSchemaWithRelation.parse(data);
+ }),
+
+ getIncidentUpdateById: protectedProcedure
+ .input(z.object({ id: z.number() }))
+ .query(async (opts) => {
+ const data = await opts.ctx.db.query.incidentUpdate.findFirst({
+ where: eq(incidentUpdate.id, opts.input.id),
+ });
+ return selectIncidentUpdateSchema.parse(data);
+ }),
+
getIncidentByWorkspace: protectedProcedure
.input(z.object({ workspaceSlug: z.string() }))
.query(async (opts) => {
@@ -55,15 +346,49 @@ export const incidentRouter = createTRPCRouter({
.from(workspace)
.where(eq(workspace.slug, opts.input.workspaceSlug))
.get();
- const pageQuery = opts.ctx.db
+
+ const currentUser = opts.ctx.db
.select()
- .from(page)
- .where(eq(page.workspaceId, currentWorkspace.id))
- .as("pageQuery");
- return opts.ctx.db
+ .from(user)
+ .where(eq(user.tenantId, opts.ctx.auth.userId))
+ .as("currentUser");
+
+ const result = await opts.ctx.db
.select()
- .from(incident)
- .innerJoin(pageQuery, eq(incident.pageId, pageQuery.id))
- .all();
+ .from(usersToWorkspaces)
+ .where(eq(usersToWorkspaces.workspaceId, currentWorkspace.id))
+ .innerJoin(currentUser, eq(usersToWorkspaces.userId, currentUser.id))
+ .get();
+
+ if (!result) return;
+
+ const selectIncidentSchemaWithRelation = selectIncidentSchema.extend({
+ status: StatusEnum.default("investigating"), // TODO: remove!
+ monitorsToIncidents: z
+ .array(
+ z.object({
+ incidentId: z.number(),
+ monitorId: z.number(),
+ monitor: selectMonitorSchema,
+ }),
+ )
+ .default([]),
+ incidentUpdates: z.array(selectIncidentUpdateSchema),
+ });
+
+ const data = await opts.ctx.db.query.incident.findMany({
+ where: eq(incident.workspaceId, currentWorkspace.id),
+ with: {
+ monitorsToIncidents: { with: { monitor: true } },
+ incidentUpdates: {
+ orderBy: (incidentUpdate, { desc }) => [
+ desc(incidentUpdate.createdAt),
+ ],
+ },
+ },
+ orderBy: (incident, { desc }) => [desc(incident.createdAt)],
+ });
+
+ return z.array(selectIncidentSchemaWithRelation).parse(data);
}),
});
diff --git a/packages/api/src/router/page.ts b/packages/api/src/router/page.ts
index 106931377..bc96d44eb 100644
--- a/packages/api/src/router/page.ts
+++ b/packages/api/src/router/page.ts
@@ -2,15 +2,20 @@ import { TRPCError } from "@trpc/server";
import { z } from "zod";
import { analytics, trackAnalytics } from "@openstatus/analytics";
-import { and, eq, inArray, sql } from "@openstatus/db";
+import { and, eq, inArray, not, sql } from "@openstatus/db";
import {
+ incident,
+ incidentUpdate,
insertPageSchemaWithMonitors,
monitor,
+ monitorsToIncidents,
monitorsToPages,
page,
selectIncidentSchema,
+ selectIncidentUpdateSchema,
selectMonitorSchema,
selectPageSchema,
+ selectPageSchemaWithRelation,
user,
usersToWorkspaces,
workspace,
@@ -109,7 +114,10 @@ export const pageRouter = createTRPCRouter({
eq(page.id, opts.input.id),
inArray(page.workspaceId, workspaceIds),
),
- with: { monitorsToPages: { with: { monitor: true } }, incidents: true },
+ with: {
+ monitorsToPages: { with: { monitor: true } },
+ // incidents: true
+ },
});
}),
updatePage: protectedProcedure
@@ -236,7 +244,7 @@ export const pageRouter = createTRPCRouter({
.query(async (opts) => {
const result = await opts.ctx.db.query.page.findFirst({
where: sql`lower(${page.slug}) = ${opts.input.slug}`,
- with: { incidents: true },
+ // with: { incidents: true },
});
if (!result) {
@@ -251,25 +259,43 @@ export const pageRouter = createTRPCRouter({
.all();
const monitorsId = monitorsToPagesResult.map(
- (monitor) => monitor.monitorId,
+ ({ monitorId }) => monitorId,
);
- const selectPageSchemaWithRelation = selectPageSchema.extend({
- monitors: z.array(selectMonitorSchema),
- incidents: z.array(selectIncidentSchema),
- });
-
- if (monitorsId.length === 0) {
- return selectPageSchemaWithRelation.parse({ ...result, monitors: [] });
- } // no monitors for that page
-
- const monitors = await opts.ctx.db
+ const monitorsToIncidentsResult = await opts.ctx.db
.select()
- .from(monitor)
- .where(and(inArray(monitor.id, monitorsId), eq(monitor.active, true))) // REMINDER: this is hardcoded
+ .from(monitorsToIncidents)
+ .where(inArray(monitorsToIncidents.monitorId, monitorsId))
.all();
- return selectPageSchemaWithRelation.parse({ ...result, monitors });
+ const incidentsId = monitorsToIncidentsResult.map(
+ ({ incidentId }) => incidentId,
+ );
+
+ const incidents =
+ incidentsId.length > 0
+ ? await opts.ctx.db.query.incident.findMany({
+ where: and(inArray(incident.id, incidentsId)),
+ with: { incidentUpdates: true, monitorsToIncidents: true },
+ })
+ : [];
+
+ const monitors =
+ monitorsId.length > 0
+ ? await opts.ctx.db
+ .select()
+ .from(monitor)
+ .where(
+ and(inArray(monitor.id, monitorsId), eq(monitor.active, true)), // REMINDER: this is hardcoded
+ )
+ .all()
+ : [];
+
+ return selectPageSchemaWithRelation.parse({
+ ...result,
+ monitors,
+ incidents,
+ });
}),
getSlugUniqueness: protectedProcedure
diff --git a/packages/db/drizzle/0003_glamorous_living_mummy.sql b/packages/db/drizzle/0003_glamorous_living_mummy.sql
new file mode 100644
index 000000000..d52fef951
--- /dev/null
+++ b/packages/db/drizzle/0003_glamorous_living_mummy.sql
@@ -0,0 +1,42 @@
+DROP INDEX IF EXISTS `incident_update_uuid_unique`;--> statement-breakpoint
+
+ALTER TABLE `incident` RENAME TO `incident_old`;--> statement-breakpoint
+ALTER TABLE `incident_update` RENAME TO `incident_update_old`;--> statement-breakpoint
+
+DROP TABLE `incident_old`;--> statement-breakpoint
+DROP TABLE `incident_update_old`;--> statement-breakpoint
+
+CREATE TABLE `incident` (
+ `id` integer PRIMARY KEY NOT NULL,
+ `status` text(4) NOT NULL,
+ `title` text(256) NOT NULL,
+ `created_at` integer DEFAULT (strftime('%s', 'now')),
+ `updated_at` integer DEFAULT (strftime('%s', 'now')),
+ `workspace_id` integer NOT NULL,
+ FOREIGN KEY (`workspace_id`) REFERENCES `workspace`(`id`) ON UPDATE no action ON DELETE cascade
+);
+--> statement-breakpoint
+
+CREATE TABLE `incident_update` (
+ `id` integer PRIMARY KEY NOT NULL,
+ `status` text(4) NOT NULL,
+ `date` integer NOT NULL,
+ `message` text NOT NULL,
+ `created_at` integer DEFAULT (strftime('%s', 'now')),
+ `updated_at` integer DEFAULT (strftime('%s', 'now')),
+ `incident_id` integer NOT NULL,
+ FOREIGN KEY (`incident_id`) REFERENCES `incident`(`id`) ON UPDATE no action ON DELETE cascade
+);
+--> statement-breakpoint
+
+DROP INDEX IF EXISTS `incident_update_uuid_unique`;
+--> statement-breakpoint
+
+CREATE TABLE `incidents_to_monitors` (
+ `monitor_id` integer NOT NULL,
+ `incident_id` integer NOT NULL,
+ PRIMARY KEY(`incident_id`, `monitor_id`),
+ FOREIGN KEY (`monitor_id`) REFERENCES `monitor`(`id`) ON UPDATE no action ON DELETE cascade,
+ FOREIGN KEY (`incident_id`) REFERENCES `incident`(`id`) ON UPDATE no action ON DELETE cascade
+);
+
diff --git a/packages/db/drizzle/meta/0003_snapshot.json b/packages/db/drizzle/meta/0003_snapshot.json
new file mode 100644
index 000000000..83fcc9f28
--- /dev/null
+++ b/packages/db/drizzle/meta/0003_snapshot.json
@@ -0,0 +1,604 @@
+{
+ "version": "5",
+ "dialect": "sqlite",
+ "id": "f68fee05-786b-45d6-9e08-f793e7591577",
+ "prevId": "84c77cb9-dca1-424b-8929-c31f24ad5144",
+ "tables": {
+ "incident": {
+ "name": "incident",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "integer",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "status": {
+ "name": "status",
+ "type": "text(4)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text(256)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "workspace_id": {
+ "name": "workspace_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "incident_workspace_id_workspace_id_fk": {
+ "name": "incident_workspace_id_workspace_id_fk",
+ "tableFrom": "incident",
+ "tableTo": "workspace",
+ "columnsFrom": ["workspace_id"],
+ "columnsTo": ["id"],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {}
+ },
+ "incident_update": {
+ "name": "incident_update",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "integer",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "status": {
+ "name": "status",
+ "type": "text(4)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "date": {
+ "name": "date",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "message": {
+ "name": "message",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "incident_id": {
+ "name": "incident_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "created_at": {
+ "name": "created_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "incident_update_incident_id_incident_id_fk": {
+ "name": "incident_update_incident_id_incident_id_fk",
+ "tableFrom": "incident_update",
+ "tableTo": "incident",
+ "columnsFrom": ["incident_id"],
+ "columnsTo": ["id"],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {}
+ },
+ "incidents_to_monitors": {
+ "name": "incidents_to_monitors",
+ "columns": {
+ "monitor_id": {
+ "name": "monitor_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "incident_id": {
+ "name": "incident_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "incidents_to_monitors_monitor_id_monitor_id_fk": {
+ "name": "incidents_to_monitors_monitor_id_monitor_id_fk",
+ "tableFrom": "incidents_to_monitors",
+ "tableTo": "monitor",
+ "columnsFrom": ["monitor_id"],
+ "columnsTo": ["id"],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "incidents_to_monitors_incident_id_incident_id_fk": {
+ "name": "incidents_to_monitors_incident_id_incident_id_fk",
+ "tableFrom": "incidents_to_monitors",
+ "tableTo": "incident",
+ "columnsFrom": ["incident_id"],
+ "columnsTo": ["id"],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {
+ "incidents_to_monitors_monitor_id_incident_id_pk": {
+ "columns": ["incident_id", "monitor_id"]
+ }
+ },
+ "uniqueConstraints": {}
+ },
+ "page": {
+ "name": "page",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "integer",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "workspace_id": {
+ "name": "workspace_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "title": {
+ "name": "title",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "icon": {
+ "name": "icon",
+ "type": "text(256)",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text(256)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "custom_domain": {
+ "name": "custom_domain",
+ "type": "text(256)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "published": {
+ "name": "published",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": false
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ }
+ },
+ "indexes": {
+ "page_slug_unique": {
+ "name": "page_slug_unique",
+ "columns": ["slug"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {
+ "page_workspace_id_workspace_id_fk": {
+ "name": "page_workspace_id_workspace_id_fk",
+ "tableFrom": "page",
+ "tableTo": "workspace",
+ "columnsFrom": ["workspace_id"],
+ "columnsTo": ["id"],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {}
+ },
+ "monitor": {
+ "name": "monitor",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "integer",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "job_type": {
+ "name": "job_type",
+ "type": "text(3)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "'other'"
+ },
+ "periodicity": {
+ "name": "periodicity",
+ "type": "text(6)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "'other'"
+ },
+ "status": {
+ "name": "status",
+ "type": "text(2)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "'inactive'"
+ },
+ "active": {
+ "name": "active",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": false
+ },
+ "regions": {
+ "name": "regions",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "''"
+ },
+ "url": {
+ "name": "url",
+ "type": "text(512)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "name": {
+ "name": "name",
+ "type": "text(256)",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "''"
+ },
+ "description": {
+ "name": "description",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false,
+ "default": "''"
+ },
+ "workspace_id": {
+ "name": "workspace_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "monitor_workspace_id_workspace_id_fk": {
+ "name": "monitor_workspace_id_workspace_id_fk",
+ "tableFrom": "monitor",
+ "tableTo": "workspace",
+ "columnsFrom": ["workspace_id"],
+ "columnsTo": ["id"],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {}
+ },
+ "monitors_to_pages": {
+ "name": "monitors_to_pages",
+ "columns": {
+ "monitor_id": {
+ "name": "monitor_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "page_id": {
+ "name": "page_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "monitors_to_pages_monitor_id_monitor_id_fk": {
+ "name": "monitors_to_pages_monitor_id_monitor_id_fk",
+ "tableFrom": "monitors_to_pages",
+ "tableTo": "monitor",
+ "columnsFrom": ["monitor_id"],
+ "columnsTo": ["id"],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ },
+ "monitors_to_pages_page_id_page_id_fk": {
+ "name": "monitors_to_pages_page_id_page_id_fk",
+ "tableFrom": "monitors_to_pages",
+ "tableTo": "page",
+ "columnsFrom": ["page_id"],
+ "columnsTo": ["id"],
+ "onDelete": "cascade",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {
+ "monitors_to_pages_monitor_id_page_id_pk": {
+ "columns": ["monitor_id", "page_id"]
+ }
+ },
+ "uniqueConstraints": {}
+ },
+ "user": {
+ "name": "user",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "integer",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "tenant_id": {
+ "name": "tenant_id",
+ "type": "text(256)",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "first_name": {
+ "name": "first_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "''"
+ },
+ "last_name": {
+ "name": "last_name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "''"
+ },
+ "email": {
+ "name": "email",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "''"
+ },
+ "photo_url": {
+ "name": "photo_url",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "''"
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ }
+ },
+ "indexes": {
+ "user_tenant_id_unique": {
+ "name": "user_tenant_id_unique",
+ "columns": ["tenant_id"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {}
+ },
+ "users_to_workspaces": {
+ "name": "users_to_workspaces",
+ "columns": {
+ "user_id": {
+ "name": "user_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "workspace_id": {
+ "name": "workspace_id",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ }
+ },
+ "indexes": {},
+ "foreignKeys": {
+ "users_to_workspaces_user_id_user_id_fk": {
+ "name": "users_to_workspaces_user_id_user_id_fk",
+ "tableFrom": "users_to_workspaces",
+ "tableTo": "user",
+ "columnsFrom": ["user_id"],
+ "columnsTo": ["id"],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ },
+ "users_to_workspaces_workspace_id_workspace_id_fk": {
+ "name": "users_to_workspaces_workspace_id_workspace_id_fk",
+ "tableFrom": "users_to_workspaces",
+ "tableTo": "workspace",
+ "columnsFrom": ["workspace_id"],
+ "columnsTo": ["id"],
+ "onDelete": "no action",
+ "onUpdate": "no action"
+ }
+ },
+ "compositePrimaryKeys": {
+ "users_to_workspaces_user_id_workspace_id_pk": {
+ "columns": ["user_id", "workspace_id"]
+ }
+ },
+ "uniqueConstraints": {}
+ },
+ "workspace": {
+ "name": "workspace",
+ "columns": {
+ "id": {
+ "name": "id",
+ "type": "integer",
+ "primaryKey": true,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "slug": {
+ "name": "slug",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": true,
+ "autoincrement": false
+ },
+ "stripe_id": {
+ "name": "stripe_id",
+ "type": "text(256)",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "name": {
+ "name": "name",
+ "type": "text",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false
+ },
+ "updated_at": {
+ "name": "updated_at",
+ "type": "integer",
+ "primaryKey": false,
+ "notNull": false,
+ "autoincrement": false,
+ "default": "(strftime('%s', 'now'))"
+ }
+ },
+ "indexes": {
+ "workspace_slug_unique": {
+ "name": "workspace_slug_unique",
+ "columns": ["slug"],
+ "isUnique": true
+ },
+ "workspace_stripe_id_unique": {
+ "name": "workspace_stripe_id_unique",
+ "columns": ["stripe_id"],
+ "isUnique": true
+ }
+ },
+ "foreignKeys": {},
+ "compositePrimaryKeys": {},
+ "uniqueConstraints": {}
+ }
+ },
+ "enums": {},
+ "_meta": {
+ "schemas": {},
+ "tables": {},
+ "columns": {}
+ }
+}
diff --git a/packages/db/drizzle/meta/_journal.json b/packages/db/drizzle/meta/_journal.json
index 3f53409b9..16f94f9a7 100644
--- a/packages/db/drizzle/meta/_journal.json
+++ b/packages/db/drizzle/meta/_journal.json
@@ -22,6 +22,13 @@
"when": 1691573899721,
"tag": "0002_luxuriant_ser_duncan",
"breakpoints": true
+ },
+ {
+ "idx": 3,
+ "version": "5",
+ "when": 1691614487733,
+ "tag": "0003_glamorous_living_mummy",
+ "breakpoints": true
}
]
}
\ No newline at end of file
diff --git a/packages/db/src/schema/incident.ts b/packages/db/src/schema/incident.ts
index 9f52680dc..baf0dbb51 100644
--- a/packages/db/src/schema/incident.ts
+++ b/packages/db/src/schema/incident.ts
@@ -1,37 +1,53 @@
import { relations, sql } from "drizzle-orm";
-import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
+import {
+ integer,
+ primaryKey,
+ sqliteTable,
+ text,
+} from "drizzle-orm/sqlite-core";
import { createInsertSchema, createSelectSchema } from "drizzle-zod";
+import * as z from "zod";
-import { page } from "./page";
+import { monitor } from "./monitor";
+import { workspace } from "./workspace";
+export const availableStatus = [
+ "investigating",
+ "identified",
+ "monitoring",
+ "resolved",
+] as const;
+
+export const StatusEnum = z.enum(availableStatus);
+
+// We should have a self relation. Such that we show the parent.
export const incident = sqliteTable("incident", {
id: integer("id").primaryKey(),
- status: text("status", ["resolved", "investigating"]).notNull(),
+ status: text("status", availableStatus).notNull(), // FIXME: delete from table!
+ title: text("title", { length: 256 }).notNull(),
- pageId: text("page_id")
- .notNull()
- .references(() => page.id, { onDelete: "cascade" }),
+ workspaceId: integer("workspace_id").references(() => workspace.id),
- createdAt: integer("updated_at", { mode: "timestamp" }).default(
+ createdAt: integer("created_at", { mode: "timestamp" }).default(
sql`(strftime('%s', 'now'))`,
),
updatedAt: integer("updated_at", { mode: "timestamp" }).default(
sql`(strftime('%s', 'now'))`,
),
+ // createdBy
});
export const incidentUpdate = sqliteTable("incident_update", {
id: integer("id").primaryKey(),
- uuid: text("uuid").notNull().unique(),
- date: integer("incident_date"),
- title: text("title", { length: 256 }), // title of the incident
- message: text("message"), // where we can write the incident message
+ status: text("status", availableStatus).notNull(),
+ date: integer("date", { mode: "timestamp" }).notNull(),
+ message: text("message").notNull(),
incidentId: integer("incident_id")
.references(() => incident.id, { onDelete: "cascade" })
.notNull(),
- createdAt: integer("updated_at", { mode: "timestamp" }).default(
+ createdAt: integer("created_at", { mode: "timestamp" }).default(
sql`(strftime('%s', 'now'))`,
),
updatedAt: integer("updated_at", { mode: "timestamp" }).default(
@@ -40,11 +56,12 @@ export const incidentUpdate = sqliteTable("incident_update", {
});
export const incidentRelations = relations(incident, ({ one, many }) => ({
- page: one(page, {
- fields: [incident.pageId],
- references: [page.id],
- }),
+ monitorsToIncidents: many(monitorsToIncidents),
incidentUpdates: many(incidentUpdate),
+ workspace: one(workspace, {
+ fields: [incident.workspaceId],
+ references: [workspace.id],
+ }),
}));
export const incidentUpdateRelations = relations(incidentUpdate, ({ one }) => ({
@@ -54,14 +71,71 @@ export const incidentUpdateRelations = relations(incidentUpdate, ({ one }) => ({
}),
}));
-// Schema for inserting a Incident - can be used to validate API requests
-export const insertIncidentSchema = createInsertSchema(incident);
+export const monitorsToIncidents = sqliteTable(
+ "incidents_to_monitors",
+ {
+ monitorId: integer("monitor_id")
+ .notNull()
+ .references(() => monitor.id, { onDelete: "cascade" }),
+ incidentId: integer("incident_id")
+ .notNull()
+ .references(() => incident.id, { onDelete: "cascade" }),
+ },
+ (t) => ({
+ pk: primaryKey(t.monitorId, t.incidentId),
+ }),
+);
+
+export const monitorsToIncidentsRelations = relations(
+ monitorsToIncidents,
+ ({ one }) => ({
+ monitor: one(monitor, {
+ fields: [monitorsToIncidents.monitorId],
+ references: [monitor.id],
+ }),
+ incident: one(incident, {
+ fields: [monitorsToIncidents.incidentId],
+ references: [incident.id],
+ }),
+ }),
+);
-// Schema for selecting a Incident - can be used to validate API responses
-export const selectIncidentSchema = createSelectSchema(incident);
+// Schema for inserting a Incident - can be used to validate API requests
+export const insertIncidentSchema = createInsertSchema(incident).extend({
+ title: z.string().default(""),
+ // message: z.string().optional().default(""),
+ status: StatusEnum,
+ date: z.date().optional().default(new Date()),
+ // date: z.number().optional().default(new Date().getTime()),
+ workspaceSlug: z.string(),
+ monitors: z.number().array().min(1),
+});
export const insertIncidentUpdateSchema = createInsertSchema(
incidentUpdate,
-).omit({ id: true });
+).extend({
+ status: StatusEnum,
+ message: z.string().optional().default(""),
+ // date: z.number().optional().default(new Date().getTime()),
+ workspaceSlug: z.string(),
+});
+
+export const insertIncidentSchemaWithIncidentUpdates =
+ insertIncidentSchema.extend({
+ incidentUpdates: insertIncidentUpdateSchema.array(),
+ });
+
+// TODO: remove!
+export const insertIncidentSchemaWithMonitors = insertIncidentSchema.extend({
+ monitors: z.number().array().min(1),
+});
-export const selectIncidentUpdateSchema = createSelectSchema(incidentUpdate);
+export const selectIncidentSchema = createSelectSchema(incident).extend({
+ status: StatusEnum,
+});
+
+export const selectIncidentUpdateSchema = createSelectSchema(
+ incidentUpdate,
+).extend({
+ status: StatusEnum,
+});
diff --git a/packages/db/src/schema/index.ts b/packages/db/src/schema/index.ts
index fe10f9a5a..b8416531a 100644
--- a/packages/db/src/schema/index.ts
+++ b/packages/db/src/schema/index.ts
@@ -3,3 +3,4 @@ export * from "./page";
export * from "./monitor";
export * from "./user";
export * from "./workspace";
+export * from "./shared";
diff --git a/packages/db/src/schema/monitor.ts b/packages/db/src/schema/monitor.ts
index 5b7508e34..67004ad91 100644
--- a/packages/db/src/schema/monitor.ts
+++ b/packages/db/src/schema/monitor.ts
@@ -8,6 +8,7 @@ import {
import { createInsertSchema, createSelectSchema } from "drizzle-zod";
import { z } from "zod";
+import { monitorsToIncidents } from "./incident";
import { page } from "./page";
import { workspace } from "./workspace";
@@ -65,6 +66,7 @@ export const monitor = sqliteTable("monitor", {
export const monitorRelation = relations(monitor, ({ one, many }) => ({
monitorsToPages: many(monitorsToPages),
+ monitorsToIncidents: many(monitorsToIncidents),
workspace: one(workspace, {
fields: [monitor.workspaceId],
references: [workspace.id],
diff --git a/packages/db/src/schema/page.ts b/packages/db/src/schema/page.ts
index 6eaba8a22..8dc6c1365 100644
--- a/packages/db/src/schema/page.ts
+++ b/packages/db/src/schema/page.ts
@@ -3,8 +3,12 @@ import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
import { createInsertSchema, createSelectSchema } from "drizzle-zod";
import { z } from "zod";
-import { incident } from "./incident";
-import { monitorsToPages } from "./monitor";
+import {
+ incident,
+ selectIncidentSchema,
+ selectIncidentUpdateSchema,
+} from "./incident";
+import { monitorsToPages, selectMonitorSchema } from "./monitor";
import { workspace } from "./workspace";
export const page = sqliteTable("page", {
@@ -31,7 +35,6 @@ export const page = sqliteTable("page", {
export const pageRelations = relations(page, ({ many, one }) => ({
monitorsToPages: many(monitorsToPages),
- incidents: many(incident),
workspace: one(workspace, {
fields: [page.workspaceId],
references: [workspace.id],
diff --git a/packages/db/src/schema/shared.ts b/packages/db/src/schema/shared.ts
new file mode 100644
index 000000000..5d2b5ac82
--- /dev/null
+++ b/packages/db/src/schema/shared.ts
@@ -0,0 +1,18 @@
+import { z } from "zod";
+
+import { selectIncidentSchema, selectIncidentUpdateSchema } from "./incident";
+import { selectMonitorSchema } from "./monitor";
+import { selectPageSchema } from "./page";
+
+export const selectIncidentsPageSchema = z.array(
+ selectIncidentSchema.extend({
+ incidentUpdates: z.array(selectIncidentUpdateSchema),
+ monitorsToIncidents: z.array(
+ z.object({ monitorId: z.number(), incidentId: z.number() }),
+ ),
+ }),
+);
+export const selectPageSchemaWithRelation = selectPageSchema.extend({
+ monitors: z.array(selectMonitorSchema),
+ incidents: selectIncidentsPageSchema,
+});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index bc9176f31..93024f30e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -49,7 +49,7 @@ importers:
version: 1.0.1
next:
specifier: ^13.4.12
+ version: 13.4.12(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected])
nextra:
specifier: 2.10.0
@@ -126,6 +126,9 @@ importers:
'@radix-ui/react-popover':
specifier: 1.0.6
+ '@radix-ui/react-radio-group':
+ specifier: ^1.1.3
'@radix-ui/react-select':
specifier: 1.2.2
@@ -138,6 +141,9 @@ importers:
'@radix-ui/react-switch':
specifier: 1.0.3
+ '@radix-ui/react-tabs':
+ specifier: ^1.0.4
'@radix-ui/react-toast':
specifier: 1.1.4
@@ -192,6 +198,9 @@ importers:
lucide-react:
specifier: 0.244.0
version: 0.244.0([email protected])
+ luxon:
+ specifier: ^3.3.0
+ version: 3.3.0
micro:
specifier: 10.0.1
version: 10.0.1
@@ -256,6 +265,9 @@ importers:
'@openstatus/eslint-config':
specifier: workspace:*
version: link:../../packages/config/eslint
+ '@types/luxon':
+ specifier: ^3.3.1
+ version: 3.3.1
'@types/node':
specifier: 20.3.1
version: 20.3.1
@@ -484,109 +496,6 @@ importers:
specifier: 5.1.6
version: 5.1.6
- packages/emails/.react-email:
- dependencies:
- '@radix-ui/colors':
- specifier: 0.1.8
- version: 0.1.8
- '@radix-ui/react-collapsible':
- specifier: 1.0.1
- '@radix-ui/react-popover':
- specifier: 1.0.2
- '@radix-ui/react-slot':
- specifier: 1.0.1
- version: 1.0.1([email protected])
- '@radix-ui/react-toggle-group':
- specifier: 1.0.1
- '@radix-ui/react-tooltip':
- specifier: 1.0.2
- '@react-email/button':
- specifier: 0.0.9
- version: 0.0.9
- '@react-email/components':
- specifier: 0.0.7
- version: 0.0.7
- '@react-email/head':
- specifier: 0.0.5
- version: 0.0.5
- '@react-email/html':
- specifier: 0.0.4
- version: 0.0.4
- '@react-email/render':
- specifier: 0.0.7
- version: 0.0.7
- '@react-email/tailwind':
- specifier: 0.0.8
- version: 0.0.8
- classnames:
- specifier: 2.3.2
- version: 2.3.2
- framer-motion:
- specifier: 8.4.6
- next:
- specifier: 13.2.4
- prism-react-renderer:
- specifier: 1.3.5
- version: 1.3.5([email protected])
- react:
- specifier: 18.2.0
- version: 18.2.0
- react-dom:
- specifier: 18.2.0
- version: 18.2.0([email protected])
- react-email:
- specifier: 1.9.4
- version: 1.9.4
- devDependencies:
- '@types/classnames':
- specifier: 2.3.1
- version: 2.3.1
- '@types/node':
- specifier: 18.11.9
- version: 18.11.9
- '@types/react':
- specifier: 18.0.25
- version: 18.0.25
- '@types/react-dom':
- specifier: 18.0.9
- version: 18.0.9
- autoprefixer:
- specifier: 10.4.13
- version: 10.4.13([email protected])
- eslint:
- specifier: 8.36.0
- version: 8.36.0
- eslint-config-next:
- specifier: 13.2.4
- eslint-config-prettier:
- specifier: 8.7.0
- version: 8.7.0([email protected])
- eslint-plugin-simple-import-sort:
- specifier: 10.0.0
- version: 10.0.0([email protected])
- eslint-plugin-unused-imports:
- specifier: 2.0.0
- version: 2.0.0([email protected])
- postcss:
- specifier: 8.4.19
- version: 8.4.19
- prettier:
- specifier: 2.8.4
- version: 2.8.4
- tailwindcss:
- specifier: 3.2.4
- version: 3.2.4([email protected])
- typescript:
- specifier: 4.9.3
- version: 4.9.3
-
packages/plans:
dependencies:
'@openstatus/db':
@@ -893,6 +802,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
regenerator-runtime: 0.13.11
+ dev: false
resolution: {integrity: sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==}
@@ -990,7 +900,7 @@ packages:
'@clerk/clerk-react': 4.23.1([email protected])
'@clerk/clerk-sdk-node': 4.12.1
'@clerk/types': 3.48.1
path-to-regexp: 6.2.1
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -1217,20 +1127,6 @@ packages:
resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==}
dev: false
- /@emotion/[email protected]:
- resolution: {integrity: sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==}
- requiresBuild: true
- dependencies:
- '@emotion/memoize': 0.7.4
- dev: false
- optional: true
-
- /@emotion/[email protected]:
- resolution: {integrity: sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==}
- requiresBuild: true
- dev: false
- optional: true
-
/@esbuild-kit/[email protected]:
resolution: {integrity: sha512-Uuk8RpCg/7fdHSceR1M6XbSZFSuMrxcePFuGgyvsBn+u339dk5OeL4jv2EojwTN2st/unJGsVm4qHWjWNmJ/tw==}
dependencies:
@@ -2051,16 +1947,6 @@ packages:
dev: false
optional: true
- /@eslint-community/[email protected]([email protected]):
- resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- peerDependencies:
- eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
- dependencies:
- eslint: 8.36.0
- eslint-visitor-keys: 3.4.2
- dev: true
-
resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -2100,11 +1986,6 @@ packages:
transitivePeerDependencies:
- supports-color
- /@eslint/[email protected]:
- resolution: {integrity: sha512-lxJ9R5ygVm8ZWgYdUweoq5ownDlJ4upvoWmO4eLxBYHdMo+vZ/Rx0EN6MbKWDJOSUGrqJy2Gt+Dyv/VKml0fjg==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- dev: true
-
resolution: {integrity: sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -2118,40 +1999,16 @@ packages:
resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==}
dev: false
- /@floating-ui/[email protected]:
- resolution: {integrity: sha512-buc8BXHmG9l82+OQXOFU3Kr2XQx9ys01U/Q9HMIrZ300iLc8HLMgh7dcCqgYzAzf4BkoQvDcXf5Y+CuEZ5JBYg==}
- dev: false
-
/@floating-ui/[email protected]:
resolution: {integrity: sha512-Bu+AMaXNjrpjh41znzHqaz3r2Nr8hHuHZT6V2LBKMhyMl0FgKA62PNYbqnfgmzOhoWZj70Zecisbo4H1rotP5g==}
dev: false
- /@floating-ui/[email protected]:
- resolution: {integrity: sha512-419BMceRLq0RrmTSDxn8hf9R3VCJv2K9PUfugh5JyEFmdjzDo+e8U5EdR8nzKq8Yj1htzLm3b6eQEEam3/rrtg==}
- dependencies:
- '@floating-ui/core': 0.7.3
- dev: false
-
/@floating-ui/[email protected]:
resolution: {integrity: sha512-96KnRWkRnuBSSFbj0sFGwwOUd8EkiecINVl0O9wiZlZ64EkpyAOG3Xc2vKKNJmru0Z7RqWNymA+6b8OZqjgyyw==}
dependencies:
'@floating-ui/core': 1.3.1
dev: false
- resolution: {integrity: sha512-1T0sJcpHgX/u4I1OzIEhlcrvkUN8ln39nz7fMoE/2HDHrPiMFoOGR7++GYyfUmIQHkkrTinaeQsO3XWubjSvGg==}
- peerDependencies:
- react: '>=16.8.0'
- react-dom: '>=16.8.0'
- dependencies:
- '@floating-ui/dom': 0.5.4
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- use-isomorphic-layout-effect: 1.1.2(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - '@types/react'
- dev: false
-
resolution: {integrity: sha512-rZtAmSht4Lry6gdhAJDrCp/6rKN7++JnL1/Anbr/DdeyYXQPxvg/ivrbYvJulbRf4vL8b212suwMM2lxbv+RQA==}
peerDependencies:
@@ -2406,53 +2263,6 @@ packages:
react: 18.2.0
dev: false
- /@motionone/[email protected]:
- resolution: {integrity: sha512-mZcJxLjHor+bhcPuIFErMDNyrdb2vJur8lSfMCsuCB4UyV8ILZLvK+t+pg56erv8ud9xQGK/1OGPt10agPrCyQ==}
- dependencies:
- '@motionone/easing': 10.15.1
- '@motionone/types': 10.15.1
- '@motionone/utils': 10.15.1
- tslib: 2.6.1
- dev: false
-
- /@motionone/[email protected]:
- resolution: {integrity: sha512-bnuHdNbge1FutZXv+k7xub9oPWcF0hsu8y1HTH/qg6av58YI0VufZ3ngfC7p2xhMJMnoh0LXFma2EGTgPeCkeg==}
- dependencies:
- '@motionone/animation': 10.15.1
- '@motionone/generators': 10.15.1
- '@motionone/types': 10.15.1
- '@motionone/utils': 10.15.1
- hey-listen: 1.0.8
- tslib: 2.6.1
- dev: false
-
- /@motionone/[email protected]:
- resolution: {integrity: sha512-6hIHBSV+ZVehf9dcKZLT7p5PEKHGhDwky2k8RKkmOvUoYP3S+dXsKupyZpqx5apjd9f+php4vXk4LuS+ADsrWw==}
- dependencies:
- '@motionone/utils': 10.15.1
- tslib: 2.6.1
- dev: false
-
- /@motionone/[email protected]:
- resolution: {integrity: sha512-67HLsvHJbw6cIbLA/o+gsm7h+6D4Sn7AUrB/GPxvujse1cGZ38F5H7DzoH7PhX+sjvtDnt2IhFYF2Zp1QTMKWQ==}
- dependencies:
- '@motionone/types': 10.15.1
- '@motionone/utils': 10.15.1
- tslib: 2.6.1
- dev: false
-
- /@motionone/[email protected]:
- resolution: {integrity: sha512-iIUd/EgUsRZGrvW0jqdst8st7zKTzS9EsKkP+6c6n4MPZoQHwiHuVtTQLD6Kp0bsBLhNzKIBlHXponn/SDT4hA==}
- dev: false
-
- /@motionone/[email protected]:
- resolution: {integrity: sha512-p0YncgU+iklvYr/Dq4NobTRdAPv9PveRDUXabPEeOjBLSO/1FNB2phNTZxOxpi1/GZwYpAoECEa0Wam+nsmhSw==}
- dependencies:
- '@motionone/types': 10.15.1
- hey-listen: 1.0.8
- tslib: 2.6.1
- dev: false
-
/@napi-rs/[email protected]:
resolution: {integrity: sha512-JJCejHBB1G6O8nxjQLT4quWCcvLpC3oRdJJ9G3MFYSCoYS8i1bWCWeU+K7Br+xT+D6s1t9q8kNJAwJv9Ygpi0g==}
engines: {node: '>= 10'}
@@ -2569,53 +2379,16 @@ packages:
'@napi-rs/simple-git-win32-x64-msvc': 0.1.8
dev: false
- resolution: {integrity: sha512-+Mq3TtpkeeKFZanPturjcXt+KHfKYnLlX6jMLyCrmpq6OOs4i1GqBOAauSkii9QeKCMTYzGppar21JU57b/GEA==}
- dev: false
-
resolution: {integrity: sha512-RmHanbV21saP/6OEPBJ7yJMuys68cIf8OBBWd7+uj40LdpmswVAwe1uzeuFyUsd6SfeITWT3XnQfn6wULeKwDQ==}
dev: false
- resolution: {integrity: sha512-ck1lI+7r1mMJpqLNa3LJ5pxCfOB1lfJncKmRJeJxcJqcngaFwylreLP7da6Rrjr6u2gVRTfmnkSkjc80IiQCwQ==}
- dependencies:
- glob: 7.1.7
- dev: true
-
resolution: {integrity: sha512-tVPS/2FKlA3ANCRCYZVT5jdbUKasBU8LG6bYqcNhyORDFTlDYa4cAWQJjZ7msIgLwMQIbL8CAsxrOL8maa/4Lg==}
dependencies:
glob: 7.1.7
dev: false
- resolution: {integrity: sha512-DWlalTSkLjDU11MY11jg17O1gGQzpRccM9Oes2yTqj2DpHndajrXHGxj9HGtJ+idq2k7ImUdJVWS2h2l/EDJOw==}
- engines: {node: '>= 10'}
- cpu: [arm]
- os: [android]
- requiresBuild: true
- dev: false
- optional: true
-
- resolution: {integrity: sha512-sRavmUImUCf332Gy+PjIfLkMhiRX1Ez4SI+3vFDRs1N5eXp+uNzjFUK/oLMMOzk6KFSkbiK/3Wt8+dHQR/flNg==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [android]
- requiresBuild: true
- dev: false
- optional: true
-
- resolution: {integrity: sha512-S6vBl+OrInP47TM3LlYx65betocKUUlTZDDKzTiRDbsRESeyIkBtZ6Qi5uT2zQs4imqllJznVjFd1bXLx3Aa6A==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [darwin]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-deUrbCXTMZ6ZhbOoloqecnUeNpUOupi8SE2tx4jPfNS9uyUR9zK4iXBvH65opVcA/9F5I/p8vDXSYbUlbmBjZg==}
engines: {node: '>= 10'}
@@ -2625,15 +2398,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-a6LBuoYGcFOPGd4o8TPo7wmv5FnMr+Prz+vYHopEDuhDoMSHOnC+v+Ab4D7F0NMZkvQjEJQdJS3rqgFhlZmKlw==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [darwin]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-WRvH7RxgRHlC1yb5oG0ZLx8F7uci9AivM5/HGGv9ZyG2Als8Ij64GC3d+mQ5sJhWjusyU6T6V1WKTUoTmOB0zQ==}
engines: {node: '>= 10'}
@@ -2643,33 +2407,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-kkbzKVZGPaXRBPisoAQkh3xh22r+TD+5HwoC5bOkALraJ0dsOQgSMAvzMXKsN3tMzJUPS0tjtRf1cTzrQ0I5vQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [freebsd]
- requiresBuild: true
- dev: false
- optional: true
-
- resolution: {integrity: sha512-7qA1++UY0fjprqtjBZaOA6cas/7GekpjVsZn/0uHvquuITFCdKGFCsKNBx3S0Rpxmx6WYo0GcmhNRM9ru08BGg==}
- engines: {node: '>= 10'}
- cpu: [arm]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
- resolution: {integrity: sha512-xzYZdAeq883MwXgcwc72hqo/F/dwUxCukpDOkx/j1HTq/J0wJthMGjinN9wH5bPR98Mfeh1MZJ91WWPnZOedOg==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-YEKracAWuxp54tKiAvvq73PUs9lok57cc8meYRibTWe/VdPB2vLgkTVWFcw31YDuRXdEhdX0fWS6Q+ESBhnEig==}
engines: {node: '>= 10'}
@@ -2679,15 +2416,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-8rXr3WfmqSiYkb71qzuDP6I6R2T2tpkmf83elDN8z783N9nvTJf2E7eLx86wu2OJCi4T05nuxCsh4IOU3LQ5xw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-LhJR7/RAjdHJ2Isl2pgc/JaoxNk0KtBgkVpiDJPVExVWA1c6gzY57+3zWuxuyWzTG+fhLZo2Y80pLXgIJv7g3g==}
engines: {node: '>= 10'}
@@ -2697,15 +2425,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-Ngxh51zGSlYJ4EfpKG4LI6WfquulNdtmHg1yuOYlaAr33KyPJp4HeN/tivBnAHcZkoNy0hh/SbwDyCnz5PFJQQ==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-1DWLL/B9nBNiQRng+1aqs3OaZcxC16Nf+mOnpcrZZSdyKHek3WQh6j/fkbukObgNGwmCoVevLUa/p3UFTTqgqg==}
engines: {node: '>= 10'}
@@ -2715,15 +2434,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-gOvwIYoSxd+j14LOcvJr+ekd9fwYT1RyMAHOp7znA10+l40wkFiMONPLWiZuHxfRk+Dy7YdNdDh3ImumvL6VwA==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-kEAJmgYFhp0VL+eRWmUkVxLVunn7oL9Mdue/FS8yzRBVj7Z0AnIrHpTIeIUl1bbdQq1VaoOztnKicAjfkLTRCQ==}
engines: {node: '>= 10'}
@@ -2733,15 +2443,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-q3NJzcfClgBm4HvdcnoEncmztxrA5GXqKeiZ/hADvC56pwNALt3ngDC6t6qr1YW9V/EPDxCYeaX4zYxHciW4Dw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-GMLuL/loR6yIIRTnPRY6UGbLL9MBdw2anxkOnANxvLvsml4F0HNIgvnU3Ej4BjbqMTNjD4hcPFdlEow4XHPdZA==}
engines: {node: '>= 10'}
@@ -2751,15 +2452,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-/eZ5ncmHUYtD2fc6EUmAIZlAJnVT2YmxDsKs1Ourx0ttTtvtma/WKlMV5NoUsyOez0f9ExLyOpeCoz5aj+MPXw==}
- engines: {node: '>= 10'}
- cpu: [ia32]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-PhgNqN2Vnkm7XaMdRmmX0ZSwZXQAtamBVSa9A/V1dfKQCV1rjIZeiy/dbBnVYGdj63ANfsOR/30XpxP71W0eww==}
engines: {node: '>= 10'}
@@ -2769,15 +2461,6 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-0MffFmyv7tBLlji01qc0IaPP/LVExzvj7/R5x1Jph1bTAIj4Vu81yFQWHHQAP6r4ff9Ukj1mBK6MDNVXm7Tcvw==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [win32]
- requiresBuild: true
- dev: false
- optional: true
-
resolution: {integrity: sha512-Z+56e/Ljt0bUs+T+jPjhFyxYBcdY2RIq9ELFU+qAMQMteHo7ymbV7CKmlcX59RI9C4YzN8PgMgLyAoi916b5HA==}
engines: {node: '>= 10'}
@@ -3141,6 +2824,7 @@ packages:
open: 9.1.0
picocolors: 1.0.0
tslib: 2.6.1
+ dev: false
/@popperjs/[email protected]:
resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
@@ -3189,10 +2873,6 @@ packages:
resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}
dev: false
- /@radix-ui/[email protected]:
- resolution: {integrity: sha512-jwRMXYwC0hUo0mv6wGpuw254Pd9p/R6Td5xsRpOmaWkUHlooNWqVcadgyzlRumMq3xfOTXwJReU0Jv+EIy4Jbw==}
- dev: false
-
/@radix-ui/[email protected]:
resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==}
dependencies:
@@ -3266,18 +2946,6 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-1yientwXqXcErDHEv8av9ZVNEBldH8L9scVR3is20lL+jOCfcJyMFZFEY5cgIrgexsq1qggSXqiEL/d/4f+QXA==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==}
peerDependencies:
@@ -3327,25 +2995,6 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-0maX4q91iYa4gjt3PsNf7dq/yqSR+HGAE8I5p54dQ6gnveS+ETWlMoijxrhmgV1k8svxpm34mQAtqIrJt4XZmA==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-id': 1.0.0([email protected])
- '@radix-ui/react-presence': 1.0.0([email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
- '@radix-ui/react-use-layout-effect': 1.0.0([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-UBmVDkmR6IvDsloHVN+3rtx4Mi5TFvylYXpluuv0f37dtaz3H99bp8No0LGXRigVpl3UAT4l9j6bIchh42S/Gg==}
peerDependencies:
@@ -3374,21 +3023,6 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-uuiFbs+YCKjn3X1DTSx9G7BHApu4GHbi3kgiwsnFUbOKCrwejAJv4eE4Vc8C0Oaxt9T0aV4ox0WCOdx+39Xo+g==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-slot': 1.0.1([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==}
peerDependencies:
@@ -3520,15 +3154,6 @@ packages:
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
dev: false
- resolution: {integrity: sha512-2HV05lGUgYcA6xgLQ4BKPDmtL+QbIZYH5fCOTAOOcJ5O0QbWS3i9lKaurLzliYUDhORI2Qr3pyjhJh44lKA3rQ==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- react: 18.2.0
- dev: false
-
resolution: {integrity: sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==}
peerDependencies:
@@ -3559,24 +3184,8 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-WjJzMrTWROozDqLB0uRWYvj4UuXsM/2L19EmQ3Au+IJWqwvwq9Bwd+P8ivo0Deg9JDPArR1I6MbWNi1CmXsskg==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- '@radix-ui/react-use-escape-keydown': 1.0.2([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
- resolution: {integrity: sha512-7UpBa/RKMoHJYjie1gkF1DlK8l1fdU/VKDpoS3rCCo8YBJR294GwcEHyxHw72yvphJ7ld0AXEcSLAzY2F/WyCg==}
+ resolution: {integrity: sha512-7UpBa/RKMoHJYjie1gkF1DlK8l1fdU/VKDpoS3rCCo8YBJR294GwcEHyxHw72yvphJ7ld0AXEcSLAzY2F/WyCg==}
peerDependencies:
'@types/react': '*'
'@types/react-dom': '*'
@@ -3664,20 +3273,6 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-Ej2MQTit8IWJiS2uuujGUmxXjF/y5xZptIIQnyd2JHLwtV0R2j9NRVoRj/1j/gJ7e3REdaBw4Hjf4a1ImhkZcQ==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-upXdPfqI4islj2CslyfUBNlaJCPybbqRHAi1KER7Isel9Q2AtSJ0zRBZv8mWQiFXD2nyAJ4BhC3yXgZ6kMBSrQ==}
peerDependencies:
@@ -3814,34 +3409,6 @@ packages:
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
dev: false
- resolution: {integrity: sha512-4tqZEl9w95R5mlZ/sFdgBnfhCBOEPepLIurBA5kt/qaAhldJ1tNQd0ngr0ET0AHbPotT4mwxMPr7a+MA/wbK0g==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-dismissable-layer': 1.0.2([email protected])([email protected])
- '@radix-ui/react-focus-guards': 1.0.0([email protected])
- '@radix-ui/react-focus-scope': 1.0.1([email protected])([email protected])
- '@radix-ui/react-id': 1.0.0([email protected])
- '@radix-ui/react-popper': 1.0.1(@types/[email protected])([email protected])([email protected])
- '@radix-ui/react-portal': 1.0.1([email protected])([email protected])
- '@radix-ui/react-presence': 1.0.0([email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-slot': 1.0.1([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
- aria-hidden: 1.2.3
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - '@types/react'
- dev: false
-
resolution: {integrity: sha512-cZ4defGpkZ0qTRtlIBzJLSzL6ht7ofhhW4i1+pkemjV1IKXm0wgCRnee154qlV6r9Ttunmh2TNZhMfV2bavUyA==}
peerDependencies:
@@ -3877,28 +3444,6 @@ packages:
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
dev: false
- resolution: {integrity: sha512-J4Vj7k3k+EHNWgcKrE+BLlQfpewxA7Zd76h5I0bIa+/EqaIZ3DuwrbPj49O3wqN+STnXsBuxiHLiF0iU3yfovw==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@floating-ui/react-dom': 0.7.2(@types/[email protected])([email protected])([email protected])
- '@radix-ui/react-arrow': 1.0.1([email protected])([email protected])
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.0.0([email protected])
- '@radix-ui/react-use-rect': 1.0.0([email protected])
- '@radix-ui/react-use-size': 1.0.0([email protected])
- '@radix-ui/rect': 1.0.0
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- transitivePeerDependencies:
- - '@types/react'
- dev: false
-
resolution: {integrity: sha512-1CnGGfFi/bbqtJZZ0P/NQY20xdG3E0LALJaLUEoKwPLwl6PPPfbeiCqMVQnhoFRAxjJj4RpBRJzDmUgsex2tSg==}
peerDependencies:
@@ -3941,18 +3486,6 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-NY2vUWI5WENgAT1nfC6JS7RU5xRYBfjZVLq0HmgEN1Ezy3rk/UruMV4+Rd0F40PEaFC5SrLS1ixYvcYIQrb4Ig==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA==}
peerDependencies:
@@ -4021,18 +3554,6 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-slot': 1.0.1([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==}
peerDependencies:
@@ -4054,22 +3575,32 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-TB76u5TIxKpqMpUAuYH2VqMhHYKa+4Vs1NHygo/llLvlffN6mLVsFhz0AnSFlSBAvTBYVHYAkHAyEt7x1gPJOA==}
+ resolution: {integrity: sha512-x+yELayyefNeKeTx4fjK6j99Fs6c4qKm3aY38G3swQVTN6xMpsrbigC0uHs2L//g8q4qR7qOcww8430jJmi2ag==}
peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
dependencies:
'@babel/runtime': 7.22.6
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-collection': 1.0.1([email protected])([email protected])
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-direction': 1.0.0([email protected])
- '@radix-ui/react-id': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
+ '@radix-ui/primitive': 1.0.1
+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-previous': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-size': 1.0.1(@types/[email protected])([email protected])
+ '@types/react': 18.2.12
+ '@types/react-dom': 18.2.5
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: false
@@ -4175,16 +3706,6 @@ packages:
react: 18.2.0
dev: false
- resolution: {integrity: sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- react: 18.2.0
- dev: false
-
resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==}
peerDependencies:
@@ -4227,8 +3748,8 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-wf+fc8DOywrpRK3jlPlWVe+ELYGHdKDaaARJZNuUTWyWYq7+ANCFLp4rTjZ/mcGkJJQ/vZ949Zis9xxEpfq9OA==}
+ resolution: {integrity: sha512-egZfYY/+wRNCflXNHx+dePvnz9FbmssDTJBtgRfDY7e8SE5oIo3Py2eCB1ckAbh1Q7cQ/6yJZThJ++sgbxibog==}
peerDependencies:
'@types/react': '*'
'@types/react-dom': '*'
@@ -4242,78 +3763,49 @@ packages:
dependencies:
'@babel/runtime': 7.22.6
'@radix-ui/primitive': 1.0.1
- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@types/react': 18.2.12
'@types/react-dom': 18.2.5
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-eye/gYvzy82xtoSSeu5Pwlzrh6N2rOcDIwAI7xMatu622Qjlg64LtwB0PSh3iWdmn6Wqy1Fjo5twNPQsp0guiw==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-direction': 1.0.0([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.0.1([email protected])([email protected])
- '@radix-ui/react-toggle': 1.0.1([email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
- resolution: {integrity: sha512-hZIp9ZKnw4NwVqeB4evWBLa91ryaSJhAO0Ed82wkzRPgg/I29ypcY6SuBb3AMZW+GsuBZpIVujpCq+33TdEcyg==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
- resolution: {integrity: sha512-11gUlok2rv5mu+KBtxniOKKNKjqC/uTbgFHWoQdbF46vMV+zjDaBvCtVDK9+MTddlpmlisGPGvvojX7Qm0yr+g==}
+ resolution: {integrity: sha512-wf+fc8DOywrpRK3jlPlWVe+ELYGHdKDaaARJZNuUTWyWYq7+ANCFLp4rTjZ/mcGkJJQ/vZ949Zis9xxEpfq9OA==}
peerDependencies:
+ '@types/react': '*'
+ '@types/react-dom': '*'
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
dependencies:
'@babel/runtime': 7.22.6
- '@radix-ui/primitive': 1.0.0
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- '@radix-ui/react-context': 1.0.0([email protected])
- '@radix-ui/react-dismissable-layer': 1.0.2([email protected])([email protected])
- '@radix-ui/react-id': 1.0.0([email protected])
- '@radix-ui/react-popper': 1.0.1(@types/[email protected])([email protected])([email protected])
- '@radix-ui/react-portal': 1.0.1([email protected])([email protected])
- '@radix-ui/react-presence': 1.0.0([email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- '@radix-ui/react-slot': 1.0.1([email protected])
- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
- '@radix-ui/react-visually-hidden': 1.0.1([email protected])([email protected])
+ '@radix-ui/primitive': 1.0.1
+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-portal': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@types/react': 18.2.12
+ '@types/react-dom': 18.2.5
react: 18.2.0
react-dom: 18.2.0([email protected])
- transitivePeerDependencies:
- - '@types/react'
dev: false
@@ -4406,16 +3898,6 @@ packages:
react: 18.2.0
dev: false
- resolution: {integrity: sha512-DXGim3x74WgUv+iMNCF+cAo8xUHHeqvjx8zs7trKf+FkQKPQXLk2sX7Gx1ysH7Q76xCpZuxIJE7HLPxRE+Q+GA==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- react: 18.2.0
- dev: false
-
resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}
peerDependencies:
@@ -4468,16 +3950,6 @@ packages:
react: 18.2.0
dev: false
- resolution: {integrity: sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/rect': 1.0.0
- react: 18.2.0
- dev: false
-
resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}
peerDependencies:
@@ -4493,16 +3965,6 @@ packages:
react: 18.2.0
dev: false
- resolution: {integrity: sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-use-layout-effect': 1.0.0([email protected])
- react: 18.2.0
- dev: false
-
resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}
peerDependencies:
@@ -4518,18 +3980,6 @@ packages:
react: 18.2.0
dev: false
- resolution: {integrity: sha512-K1hJcCMfWfiYUibRqf3V8r5Drpyf7rh44jnrwAbdvI5iCCijilBBeyQv9SKidYNZIopMdCyR9FnIjkHxHN0FcQ==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- react-dom: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.22.6
- '@radix-ui/react-primitive': 1.0.1([email protected])([email protected])
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==}
peerDependencies:
@@ -4551,12 +4001,6 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- /@radix-ui/[email protected]:
- resolution: {integrity: sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==}
- dependencies:
- '@babel/runtime': 7.22.6
- dev: false
-
/@radix-ui/[email protected]:
resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}
dependencies:
@@ -4723,6 +4167,7 @@ packages:
/@rushstack/[email protected]:
resolution: {integrity: sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==}
+ dev: false
/@selderee/[email protected]:
resolution: {integrity: sha512-gW69MEamZ4wk1OsOq1nG1jcyhXIQcnrsX5JwixVw/9xaiav8TCyjESAruu1Rz9yyInhgBXxkNwMeygKnN2uxNA==}
@@ -4735,12 +4180,6 @@ packages:
resolution: {integrity: sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==}
dev: false
- resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==}
- dependencies:
- tslib: 2.6.1
- dev: false
-
resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==}
dependencies:
@@ -4947,13 +4386,6 @@ packages:
'@types/node': 20.3.1
dev: false
- resolution: {integrity: sha512-zeOWb0JGBoVmlQoznvqXbE0tEC/HONsnoUNH19Hc96NFsTAwTXbTqb8FMYkru1F/iqp7a18Ws3nWJvtA1sHD1A==}
- deprecated: This is a stub types definition. classnames provides its own type definitions, so you do not need this installed.
- dependencies:
- classnames: 2.3.2
- dev: true
-
resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
dependencies:
@@ -5060,6 +4492,7 @@ packages:
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
+ dev: false
resolution: {integrity: sha512-+2FW2CcT0K3P+JMR8YG846bmDwplKUTsWgT2ENwdQ1UdVfRk3GQrh6Mi4sTopy30gI8Uau5CEqHTDZ6YvWIUPA==}
@@ -5077,6 +4510,10 @@ packages:
resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==}
dev: false
+ resolution: {integrity: sha512-XOS5nBcgEeP2PpcqJHjCWhUCAzGfXIU8ILOSLpx2FhxqMW9KdxgCGXNOEKGVBfveKtIpztHzKK5vSRVLyW/NqA==}
+ dev: true
+
resolution: {integrity: sha512-DT+iNIRNX884cx0/Q1ja7NyUPpZuv0KPyL5rGNxm1WC1OtHstl7n4Jb7nk+xacNShQMbczJjt8uFzznpp6kYBg==}
dependencies:
@@ -5127,10 +4564,6 @@ packages:
resolution: {integrity: sha512-juG3RWMBOqcOuXC643OAdSA525V44cVgGV6dUDuiFtss+8Fk5x1hI93Rsld43VeJVIeqlP9I7Fn9/qaVqoEAuQ==}
dev: true
- resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==}
- dev: true
-
resolution: {integrity: sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==}
@@ -5153,12 +4586,6 @@ packages:
resolution: {integrity: sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==}
dev: false
- resolution: {integrity: sha512-qnVvHxASt/H7i+XG1U1xMiY5t+IHcPGUK7TDMDzom08xa7e86eCeKOiLZezwCKVxJn6NEiiy2ekgX8aQssjIKg==}
- dependencies:
- '@types/react': 18.2.16
- dev: true
-
resolution: {integrity: sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==}
dependencies:
@@ -5170,13 +4597,6 @@ packages:
'@types/react': 18.2.16
dev: true
- resolution: {integrity: sha512-xD6c0KDT4m7n9uD4ZHi02lzskaiqcBxf4zi+tXZY98a04wvc0hi/TcCPC2FOESZi51Nd7tlUeOJY8RofL799/g==}
- dependencies:
- '@types/prop-types': 15.7.5
- '@types/scheduler': 0.16.3
- csstype: 3.1.2
-
resolution: {integrity: sha512-ndmBMLCgn38v3SntMeoJaIrO6tGHYKMEBohCUmw8HoLLQdRMOIGXfeYaBTLe2lsFaSB3MOK1VXscYFnmLtTSmw==}
dependencies:
@@ -5264,26 +4684,6 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- peerDependencies:
- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
- dependencies:
- '@typescript-eslint/scope-manager': 5.59.9
- '@typescript-eslint/types': 5.59.9
- '@typescript-eslint/typescript-estree': 5.59.9([email protected])
- debug: 4.3.4
- eslint: 8.36.0
- typescript: 4.9.3
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -5310,6 +4710,7 @@ packages:
dependencies:
'@typescript-eslint/types': 5.59.9
'@typescript-eslint/visitor-keys': 5.59.9
+ dev: false
resolution: {integrity: sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==}
@@ -5334,27 +4735,7 @@ packages:
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
-
- /@typescript-eslint/[email protected]([email protected]):
- resolution: {integrity: sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- peerDependencies:
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
- dependencies:
- '@typescript-eslint/types': 5.59.9
- '@typescript-eslint/visitor-keys': 5.59.9
- debug: 4.3.4
- globby: 11.1.0
- is-glob: 4.0.3
- semver: 7.5.4
- tsutils: 3.21.0([email protected])
- typescript: 4.9.3
- transitivePeerDependencies:
- - supports-color
- dev: true
+ dev: false
/@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==}
@@ -5403,6 +4784,7 @@ packages:
dependencies:
'@typescript-eslint/types': 5.59.9
eslint-visitor-keys: 3.4.1
+ dev: false
/@upstash/[email protected]:
resolution: {integrity: sha512-cpPSR0XJAJs4Ddz9nq3tINlPS5aLfWVCqhhtHnXt4p7qr5+/Znlt1Es736poB/9rnl1hAHrOsOvVj46NEXcVqA==}
@@ -5473,10 +4855,12 @@ packages:
acorn: 7.4.1
acorn-walk: 7.2.0
xtend: 4.0.2
+ dev: false
resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==}
engines: {node: '>=0.4.0'}
+ dev: false
resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==}
@@ -5487,6 +4871,7 @@ packages:
resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==}
engines: {node: '>=0.4.0'}
hasBin: true
+ dev: false
resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==}
@@ -5604,12 +4989,14 @@ packages:
resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}
dependencies:
dequal: 2.0.3
+ dev: false
resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==}
dependencies:
call-bind: 1.0.2
is-array-buffer: 3.0.2
+ dev: false
resolution: {integrity: sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==}
@@ -5620,6 +5007,7 @@ packages:
es-abstract: 1.22.1
get-intrinsic: 1.2.1
is-string: 1.0.7
+ dev: false
resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==}
@@ -5637,6 +5025,7 @@ packages:
define-properties: 1.2.0
es-abstract: 1.22.1
es-shim-unscopables: 1.0.0
+ dev: false
resolution: {integrity: sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==}
@@ -5646,6 +5035,7 @@ packages:
define-properties: 1.2.0
es-abstract: 1.22.1
es-shim-unscopables: 1.0.0
+ dev: false
resolution: {integrity: sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==}
@@ -5655,6 +5045,7 @@ packages:
es-abstract: 1.22.1
es-shim-unscopables: 1.0.0
get-intrinsic: 1.2.1
+ dev: false
resolution: {integrity: sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==}
@@ -5666,6 +5057,7 @@ packages:
get-intrinsic: 1.2.1
is-array-buffer: 3.0.2
is-shared-array-buffer: 1.0.2
+ dev: false
resolution: {integrity: sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==}
@@ -5678,6 +5070,7 @@ packages:
resolution: {integrity: sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==}
+ dev: false
resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==}
@@ -5688,22 +5081,6 @@ packages:
resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
dev: false
- resolution: {integrity: sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==}
- engines: {node: ^10 || ^12 || >=14}
- hasBin: true
- peerDependencies:
- postcss: ^8.1.0
- dependencies:
- browserslist: 4.21.9
- caniuse-lite: 1.0.30001519
- fraction.js: 4.2.0
- normalize-range: 0.1.2
- picocolors: 1.0.0
- postcss: 8.4.19
- postcss-value-parser: 4.2.0
- dev: true
-
resolution: {integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==}
engines: {node: ^10 || ^12 || >=14}
@@ -5723,10 +5100,12 @@ packages:
resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==}
engines: {node: '>= 0.4'}
+ dev: false
resolution: {integrity: sha512-zIURGIS1E1Q4pcrMjp+nnEh+16G56eG/MUllJH8yEvw7asDo7Ac9uhC9KIH5jzpITueEZolfYglnCGIuSBz39g==}
engines: {node: '>=4'}
+ dev: false
resolution: {integrity: sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==}
@@ -5742,6 +5121,7 @@ packages:
resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==}
dependencies:
dequal: 2.0.3
+ dev: false
resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==}
@@ -5767,6 +5147,7 @@ packages:
resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==}
engines: {node: '>=0.6'}
+ dev: false
resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
@@ -5801,6 +5182,7 @@ packages:
engines: {node: '>= 5.10.0'}
dependencies:
big-integer: 1.6.51
+ dev: false
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
@@ -5866,6 +5248,7 @@ packages:
engines: {node: '>=12'}
dependencies:
run-applescript: 5.0.0
+ dev: false
resolution: {integrity: sha512-9NQkRHlNdNpDBGmLpngF3EFDcwodhMUuLz9PaWYciVcQF9SE4LFjM2DB/xV1Li5JiuDMv7ZUWuC3rGbqR0MAXQ==}
@@ -5899,6 +5282,7 @@ packages:
dependencies:
function-bind: 1.1.1
get-intrinsic: 1.2.1
+ dev: false
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
@@ -5943,6 +5327,7 @@ packages:
resolution: {integrity: sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==}
+ dev: true
resolution: {integrity: sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg==}
@@ -6057,9 +5442,6 @@ packages:
typescript: 5.1.6
dev: false
- resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==}
-
resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==}
engines: {node: '>=6'}
@@ -6654,6 +6036,7 @@ packages:
resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}
+ dev: false
resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==}
@@ -6680,6 +6063,7 @@ packages:
optional: true
dependencies:
ms: 2.1.3
+ dev: false
resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}
@@ -6727,6 +6111,7 @@ packages:
dependencies:
bplist-parser: 0.2.0
untildify: 4.0.0
+ dev: false
resolution: {integrity: sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==}
@@ -6736,6 +6121,7 @@ packages:
default-browser-id: 3.0.0
execa: 7.2.0
titleize: 3.0.0
+ dev: false
resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==}
@@ -6745,6 +6131,7 @@ packages:
resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==}
engines: {node: '>=12'}
+ dev: false
resolution: {integrity: sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==}
@@ -6752,9 +6139,11 @@ packages:
dependencies:
has-property-descriptors: 1.0.0
object-keys: 1.1.1
+ dev: false
resolution: {integrity: sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==}
+ dev: false
resolution: {integrity: sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==}
@@ -6818,6 +6207,7 @@ packages:
acorn-node: 1.8.2
defined: 1.0.1
minimist: 1.2.8
+ dev: false
resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
@@ -6851,6 +6241,7 @@ packages:
engines: {node: '>=0.10.0'}
dependencies:
esutils: 2.0.3
+ dev: false
resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
@@ -7038,6 +6429,7 @@ packages:
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
+ dev: false
resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==}
@@ -7056,6 +6448,7 @@ packages:
dependencies:
graceful-fs: 4.2.11
tapable: 2.2.1
+ dev: false
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
@@ -7111,6 +6504,7 @@ packages:
typed-array-length: 1.0.4
unbox-primitive: 1.0.2
which-typed-array: 1.1.11
+ dev: false
resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==}
@@ -7119,11 +6513,13 @@ packages:
get-intrinsic: 1.2.1
has: 1.0.3
has-tostringtag: 1.0.0
+ dev: false
resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==}
dependencies:
has: 1.0.3
+ dev: false
resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==}
@@ -7132,6 +6528,7 @@ packages:
is-callable: 1.2.7
is-date-object: 1.0.5
is-symbol: 1.0.4
+ dev: false
resolution: {integrity: sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==}
@@ -7318,31 +6715,6 @@ packages:
resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-lunIBhsoeqw6/Lfkd6zPt25w1bn0znLA/JCL+au1HoEpSb4/PpsOYsYtgV/q+YPsoKIOzFyU5xnb04iZnXjUvg==}
- peerDependencies:
- eslint: ^7.23.0 || ^8.0.0
- typescript: '>=3.3.1'
- peerDependenciesMeta:
- typescript:
- optional: true
- dependencies:
- '@next/eslint-plugin-next': 13.2.4
- '@rushstack/eslint-patch': 1.3.2
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
- eslint: 8.36.0
- eslint-import-resolver-node: 0.3.7
- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])
- eslint-plugin-jsx-a11y: 6.7.1([email protected])
- eslint-plugin-react: 7.32.2([email protected])
- eslint-plugin-react-hooks: 4.6.0([email protected])
- typescript: 4.9.3
- transitivePeerDependencies:
- - eslint-import-resolver-webpack
- - supports-color
- dev: true
-
resolution: {integrity: sha512-ajuxjCkW1hvirr0EQZb3/B/bFH52Z7CT89uCtTcICFL9l30i5c8hN4p0LXvTjdOXNPV5fEDcxBgGHgXdzTj1/A==}
peerDependencies:
@@ -7368,15 +6740,6 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA==}
- hasBin: true
- peerDependencies:
- eslint: '>=7.0.0'
- dependencies:
- eslint: 8.36.0
- dev: true
-
resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==}
hasBin: true
@@ -7403,30 +6766,7 @@ packages:
resolve: 1.22.2
transitivePeerDependencies:
- supports-color
-
- resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==}
- engines: {node: ^14.18.0 || >=16.0.0}
- peerDependencies:
- eslint: '*'
- eslint-plugin-import: '*'
- dependencies:
- debug: 4.3.4
- enhanced-resolve: 5.15.0
- eslint: 8.36.0
- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])
- get-tsconfig: 4.6.2
- globby: 13.2.2
- is-core-module: 2.12.1
- is-glob: 4.0.3
- synckit: 0.8.5
- transitivePeerDependencies:
- - '@typescript-eslint/parser'
- - eslint-import-resolver-node
- - eslint-import-resolver-webpack
- - supports-color
- dev: true
+ dev: false
resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==}
@@ -7452,36 +6792,6 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
- engines: {node: '>=4'}
- peerDependencies:
- '@typescript-eslint/parser': '*'
- eslint: '*'
- eslint-import-resolver-node: '*'
- eslint-import-resolver-typescript: '*'
- eslint-import-resolver-webpack: '*'
- peerDependenciesMeta:
- '@typescript-eslint/parser':
- optional: true
- eslint:
- optional: true
- eslint-import-resolver-node:
- optional: true
- eslint-import-resolver-typescript:
- optional: true
- eslint-import-resolver-webpack:
- optional: true
- dependencies:
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
- debug: 3.2.7
- eslint: 8.36.0
- eslint-import-resolver-node: 0.3.7
- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
engines: {node: '>=4'}
@@ -7498,52 +6808,19 @@ packages:
optional: true
eslint-import-resolver-node:
optional: true
- eslint-import-resolver-typescript:
- optional: true
- eslint-import-resolver-webpack:
- optional: true
- dependencies:
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
- debug: 3.2.7
- eslint: 8.43.0
- eslint-import-resolver-node: 0.3.7
- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- transitivePeerDependencies:
- - supports-color
- dev: false
-
- resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
- engines: {node: '>=4'}
- peerDependencies:
- '@typescript-eslint/parser': '*'
- eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
- peerDependenciesMeta:
- '@typescript-eslint/parser':
+ eslint-import-resolver-typescript:
+ optional: true
+ eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
- array-includes: 3.1.6
- array.prototype.flat: 1.3.1
- array.prototype.flatmap: 1.3.1
+ '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
debug: 3.2.7
- doctrine: 2.1.0
- eslint: 8.36.0
+ eslint: 8.43.0
eslint-import-resolver-node: 0.3.7
- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- has: 1.0.3
- is-core-module: 2.12.1
- is-glob: 4.0.3
- minimatch: 3.1.2
- object.values: 1.1.6
- resolve: 1.22.2
- semver: 6.3.1
- tsconfig-paths: 3.14.2
+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
transitivePeerDependencies:
- - eslint-import-resolver-typescript
- - eslint-import-resolver-webpack
- supports-color
- dev: true
+ dev: false
resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
@@ -7578,31 +6855,6 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==}
- engines: {node: '>=4.0'}
- peerDependencies:
- eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
- dependencies:
- '@babel/runtime': 7.22.6
- aria-query: 5.3.0
- array-includes: 3.1.6
- array.prototype.flatmap: 1.3.1
- ast-types-flow: 0.0.7
- axe-core: 4.7.2
- axobject-query: 3.2.1
- damerau-levenshtein: 1.0.8
- emoji-regex: 9.2.2
- eslint: 8.36.0
- has: 1.0.3
- jsx-ast-utils: 3.3.4
- language-tags: 1.0.5
- minimatch: 3.1.2
- object.entries: 1.1.6
- object.fromentries: 2.0.6
- semver: 6.3.1
- dev: true
-
resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==}
engines: {node: '>=4.0'}
@@ -7628,15 +6880,6 @@ packages:
semver: 6.3.1
dev: false
- resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==}
- engines: {node: '>=10'}
- peerDependencies:
- eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
- dependencies:
- eslint: 8.36.0
- dev: true
-
resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==}
engines: {node: '>=10'}
@@ -7646,30 +6889,6 @@ packages:
eslint: 8.43.0
dev: false
- resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==}
- engines: {node: '>=4'}
- peerDependencies:
- eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
- dependencies:
- array-includes: 3.1.6
- array.prototype.flatmap: 1.3.1
- array.prototype.tosorted: 1.1.1
- doctrine: 2.1.0
- eslint: 8.36.0
- estraverse: 5.3.0
- jsx-ast-utils: 3.3.4
- minimatch: 3.1.2
- object.entries: 1.1.6
- object.fromentries: 2.0.6
- object.hasown: 1.1.2
- object.values: 1.1.6
- prop-types: 15.8.1
- resolve: 2.0.0-next.4
- semver: 6.3.1
- string.prototype.matchall: 4.0.8
- dev: true
-
resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==}
engines: {node: '>=4'}
@@ -7694,14 +6913,6 @@ packages:
string.prototype.matchall: 4.0.8
dev: false
- resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==}
- peerDependencies:
- eslint: '>=5.0.0'
- dependencies:
- eslint: 8.36.0
- dev: true
-
resolution: {integrity: sha512-bScQeG42PhVPzSeJgCTk79hRqN8jFYY6Io7fw2qyuOtlff4QkSuBTot+BBooxk4BL11gJglWZUJk2nqumLJGOA==}
peerDependencies:
@@ -7710,25 +6921,6 @@ packages:
eslint: 8.43.0
dev: false
- resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- peerDependencies:
- '@typescript-eslint/eslint-plugin': ^5.0.0
- eslint: ^8.0.0
- peerDependenciesMeta:
- '@typescript-eslint/eslint-plugin':
- optional: true
- dependencies:
- eslint: 8.36.0
- eslint-rule-composer: 0.3.0
- dev: true
-
- resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==}
- engines: {node: '>=4.0.0'}
- dev: true
-
resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
engines: {node: '>=8.0.0'}
@@ -7752,55 +6944,6 @@ packages:
resolution: {integrity: sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- resolution: {integrity: sha512-Y956lmS7vDqomxlaaQAHVmeb4tNMp2FWIvU/RnU5BD3IKMD/MJPr76xdyr68P8tV1iNMvN2mRK0yy3c+UjL+bw==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- hasBin: true
- dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected])
- '@eslint-community/regexpp': 4.6.1
- '@eslint/eslintrc': 2.1.0
- '@eslint/js': 8.36.0
- '@humanwhocodes/config-array': 0.11.10
- '@humanwhocodes/module-importer': 1.0.1
- '@nodelib/fs.walk': 1.2.8
- ajv: 6.12.6
- chalk: 4.1.2
- cross-spawn: 7.0.3
- debug: 4.3.4
- doctrine: 3.0.0
- escape-string-regexp: 4.0.0
- eslint-scope: 7.2.1
- eslint-visitor-keys: 3.4.2
- espree: 9.6.1
- esquery: 1.5.0
- esutils: 2.0.3
- fast-deep-equal: 3.1.3
- file-entry-cache: 6.0.1
- find-up: 5.0.0
- glob-parent: 6.0.2
- globals: 13.20.0
- grapheme-splitter: 1.0.4
- ignore: 5.2.4
- import-fresh: 3.3.0
- imurmurhash: 0.1.4
- is-glob: 4.0.3
- is-path-inside: 3.0.3
- js-sdsl: 4.4.2
- js-yaml: 4.1.0
- json-stable-stringify-without-jsonify: 1.0.1
- levn: 0.4.1
- lodash.merge: 4.6.2
- minimatch: 3.1.2
- natural-compare: 1.4.0
- optionator: 0.9.3
- strip-ansi: 6.0.1
- strip-json-comments: 3.1.1
- text-table: 0.2.0
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -8030,6 +7173,7 @@ packages:
onetime: 6.0.0
signal-exit: 3.0.7
strip-final-newline: 3.0.0
+ dev: false
resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==}
@@ -8181,6 +7325,7 @@ packages:
resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}
dependencies:
is-callable: 1.2.7
+ dev: false
resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==}
@@ -8216,21 +7361,6 @@ packages:
resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==}
dev: true
- resolution: {integrity: sha512-0GkpTQnhDysG5SiD2VbANtAs8yCXVQLasynVABDTZYI+Qcx1krWg+rfyveM8W78q7AX+8RTsiMz/LJ7YIRZvFw==}
- peerDependencies:
- react: ^18.0.0
- react-dom: ^18.0.0
- dependencies:
- '@motionone/dom': 10.16.2
- hey-listen: 1.0.8
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- tslib: 2.6.1
- optionalDependencies:
- '@emotion/is-prop-valid': 0.8.8
- dev: false
-
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
dev: false
@@ -8297,9 +7427,11 @@ packages:
define-properties: 1.2.0
es-abstract: 1.22.1
functions-have-names: 1.2.3
+ dev: false
resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
+ dev: false
resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
@@ -8317,6 +7449,7 @@ packages:
has: 1.0.3
has-proto: 1.0.1
has-symbols: 1.0.3
+ dev: false
resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}
@@ -8338,6 +7471,7 @@ packages:
dependencies:
call-bind: 1.0.2
get-intrinsic: 1.2.1
+ dev: false
resolution: {integrity: sha512-E5XrT4CbbXcXWy+1jChlZmrmCwd5KGx502kDCXJJ7y898TtWW9FwoG5HfOLVRKmlmDGkWN2HM9Ho+/Y8F0sJDg==}
@@ -8399,6 +7533,7 @@ packages:
minimatch: 3.1.2
once: 1.4.0
path-is-absolute: 1.0.1
+ dev: false
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
@@ -8446,6 +7581,7 @@ packages:
engines: {node: '>= 0.4'}
dependencies:
define-properties: 1.2.0
+ dev: false
resolution: {integrity: sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==}
@@ -8481,17 +7617,20 @@ packages:
ignore: 5.2.4
merge2: 1.4.1
slash: 4.0.0
+ dev: false
resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}
dependencies:
get-intrinsic: 1.2.1
+ dev: false
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==}
+ dev: false
resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
@@ -8528,6 +7667,7 @@ packages:
resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}
+ dev: false
resolution: {integrity: sha512-P+1n3MnwjR/Epg9BBo1KT8qbye2g2Ou4sFumihwt6I4tsUX7jnLcX4BTOSKg/B1ZrIYMN9FcEnG4x5a7NB8Eng==}
@@ -8551,20 +7691,24 @@ packages:
resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==}
dependencies:
get-intrinsic: 1.2.1
+ dev: false
resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==}
engines: {node: '>= 0.4'}
+ dev: false
resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}
engines: {node: '>= 0.4'}
+ dev: false
resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==}
engines: {node: '>= 0.4'}
dependencies:
has-symbols: 1.0.3
+ dev: false
resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==}
@@ -8749,10 +7893,6 @@ packages:
resolution: {integrity: sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==}
- resolution: {integrity: sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==}
- dev: false
-
resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
dev: false
@@ -8827,6 +7967,7 @@ packages:
resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==}
engines: {node: '>=14.18.0'}
+ dev: false
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
@@ -8936,6 +8077,7 @@ packages:
get-intrinsic: 1.2.1
has: 1.0.3
side-channel: 1.0.4
+ dev: false
resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==}
@@ -8978,6 +8120,7 @@ packages:
call-bind: 1.0.2
get-intrinsic: 1.2.1
is-typed-array: 1.1.12
+ dev: false
resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
@@ -8987,6 +8130,7 @@ packages:
resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==}
dependencies:
has-bigints: 1.0.2
+ dev: false
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
@@ -9000,6 +8144,7 @@ packages:
dependencies:
call-bind: 1.0.2
has-tostringtag: 1.0.0
+ dev: false
resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
@@ -9012,6 +8157,7 @@ packages:
resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
engines: {node: '>= 0.4'}
+ dev: false
resolution: {integrity: sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==}
@@ -9023,6 +8169,7 @@ packages:
engines: {node: '>= 0.4'}
dependencies:
has-tostringtag: 1.0.0
+ dev: false
resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}
@@ -9032,11 +8179,13 @@ packages:
resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==}
engines: {node: '>=8'}
hasBin: true
+ dev: false
resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
hasBin: true
+ dev: false
resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==}
@@ -9067,6 +8216,7 @@ packages:
hasBin: true
dependencies:
is-docker: 3.0.0
+ dev: false
resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==}
@@ -9081,12 +8231,14 @@ packages:
resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==}
engines: {node: '>= 0.4'}
+ dev: false
resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==}
engines: {node: '>= 0.4'}
dependencies:
has-tostringtag: 1.0.0
+ dev: false
resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
@@ -9136,11 +8288,13 @@ packages:
dependencies:
call-bind: 1.0.2
has-tostringtag: 1.0.0
+ dev: false
resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==}
dependencies:
call-bind: 1.0.2
+ dev: false
resolution: {integrity: sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==}
@@ -9160,24 +8314,28 @@ packages:
resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+ dev: false
resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}
engines: {node: '>= 0.4'}
dependencies:
has-tostringtag: 1.0.0
+ dev: false
resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==}
engines: {node: '>= 0.4'}
dependencies:
has-symbols: 1.0.3
+ dev: false
resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==}
engines: {node: '>= 0.4'}
dependencies:
which-typed-array: 1.1.11
+ dev: false
resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==}
@@ -9193,6 +8351,7 @@ packages:
resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==}
dependencies:
call-bind: 1.0.2
+ dev: false
resolution: {integrity: sha512-uKua1wfy3Yt+YqsD6mTUEa2zSi3G1oPlqTflgaPJ7z63vUGN5pxFpnQfeSLMFnJDEsdvOtkp1rUWkYjB4YfhgA==}
@@ -9209,6 +8368,7 @@ packages:
engines: {node: '>=8'}
dependencies:
is-docker: 2.2.1
+ dev: false
resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}
@@ -9216,6 +8376,7 @@ packages:
resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
+ dev: false
resolution: {integrity: sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==}
@@ -9267,10 +8428,6 @@ packages:
engines: {node: '>=12'}
dev: false
- resolution: {integrity: sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w==}
- dev: true
-
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
@@ -9321,6 +8478,7 @@ packages:
hasBin: true
dependencies:
minimist: 1.2.8
+ dev: false
resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
@@ -9352,6 +8510,7 @@ packages:
array.prototype.flat: 1.3.1
object.assign: 4.1.4
object.values: 1.1.6
+ dev: false
resolution: {integrity: sha512-ftuDnJbcbOckGY11OO+zg3OofESlbR5DRl2cmN8HeWeeFIV7wTXvAOx8kEjZjobhA+9wh2fbKeO6cdcA9Mnovg==}
@@ -9382,11 +8541,13 @@ packages:
resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==}
+ dev: false
resolution: {integrity: sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==}
dependencies:
language-subtag-registry: 0.3.22
+ dev: false
resolution: {integrity: sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==}
@@ -9541,6 +8702,11 @@ packages:
react: 18.2.0
dev: false
+ resolution: {integrity: sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg==}
+ engines: {node: '>=12'}
+ dev: false
+
resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}
dev: true
@@ -10193,6 +9359,7 @@ packages:
resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==}
engines: {node: '>=12'}
+ dev: false
resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}
@@ -10253,6 +9420,7 @@ packages:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+ dev: false
resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==}
@@ -10348,119 +9516,28 @@ packages:
react: '>=16.0.0'
react-dom: '>=16.0.0'
dependencies:
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
- resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}
- peerDependencies:
- next: '*'
- react: '*'
- react-dom: '*'
- dependencies:
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
- resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
- dev: true
-
- resolution: {integrity: sha512-g1I30317cThkEpvzfXujf0O4wtaQHtDCLhlivwlTJ885Ld+eOgcz7r3TGQzeU+cSRoNHtD8tsJgzxVdYojFssw==}
- engines: {node: '>=14.6.0'}
- hasBin: true
- peerDependencies:
- '@opentelemetry/api': ^1.4.0
- fibers: '>= 3.1.0'
- node-sass: ^6.0.0 || ^7.0.0
- react: ^18.2.0
- react-dom: ^18.2.0
- sass: ^1.3.0
- peerDependenciesMeta:
- '@opentelemetry/api':
- optional: true
- fibers:
- optional: true
- node-sass:
- optional: true
- sass:
- optional: true
- dependencies:
- '@next/env': 13.2.4
- '@swc/helpers': 0.4.14
- caniuse-lite: 1.0.30001519
- postcss: 8.4.14
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- styled-jsx: 5.1.1(@babel/[email protected])([email protected])
- optionalDependencies:
- '@next/swc-android-arm-eabi': 13.2.4
- '@next/swc-android-arm64': 13.2.4
- '@next/swc-darwin-arm64': 13.2.4
- '@next/swc-darwin-x64': 13.2.4
- '@next/swc-freebsd-x64': 13.2.4
- '@next/swc-linux-arm-gnueabihf': 13.2.4
- '@next/swc-linux-arm64-gnu': 13.2.4
- '@next/swc-linux-arm64-musl': 13.2.4
- '@next/swc-linux-x64-gnu': 13.2.4
- '@next/swc-linux-x64-musl': 13.2.4
- '@next/swc-win32-arm64-msvc': 13.2.4
- '@next/swc-win32-ia32-msvc': 13.2.4
- '@next/swc-win32-x64-msvc': 13.2.4
- transitivePeerDependencies:
- - '@babel/core'
- - babel-plugin-macros
- dev: false
-
- resolution: {integrity: sha512-eHfnru9x6NRmTMcjQp6Nz0J4XH9OubmzOa7CkWL+AUrUxpibub3vWwttjduu9No16dug1kq04hiUUpo7J3m3Xw==}
- engines: {node: '>=16.8.0'}
- hasBin: true
- peerDependencies:
- '@opentelemetry/api': ^1.1.0
- fibers: '>= 3.1.0'
- react: ^18.2.0
- react-dom: ^18.2.0
- sass: ^1.3.0
- peerDependenciesMeta:
- '@opentelemetry/api':
- optional: true
- fibers:
- optional: true
- sass:
- optional: true
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ dev: false
+
+ resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}
+ peerDependencies:
+ next: '*'
+ react: '*'
+ react-dom: '*'
dependencies:
- '@next/env': 13.4.12
- '@opentelemetry/api': 1.4.1
- '@swc/helpers': 0.5.1
- busboy: 1.6.0
- caniuse-lite: 1.0.30001517
- postcss: 8.4.14
react: 18.2.0
react-dom: 18.2.0([email protected])
- styled-jsx: 5.1.1(@babel/[email protected])([email protected])
- watchpack: 2.4.0
- zod: 3.21.4
- optionalDependencies:
- '@next/swc-darwin-arm64': 13.4.12
- '@next/swc-darwin-x64': 13.4.12
- '@next/swc-linux-arm64-gnu': 13.4.12
- '@next/swc-linux-arm64-musl': 13.4.12
- '@next/swc-linux-x64-gnu': 13.4.12
- '@next/swc-linux-x64-musl': 13.4.12
- '@next/swc-win32-arm64-msvc': 13.4.12
- '@next/swc-win32-ia32-msvc': 13.4.12
- '@next/swc-win32-x64-msvc': 13.4.12
- transitivePeerDependencies:
- - '@babel/core'
- - babel-plugin-macros
dev: false
+ resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
+ dev: true
+
resolution: {integrity: sha512-eHfnru9x6NRmTMcjQp6Nz0J4XH9OubmzOa7CkWL+AUrUxpibub3vWwttjduu9No16dug1kq04hiUUpo7J3m3Xw==}
engines: {node: '>=16.8.0'}
hasBin: true
@@ -10479,6 +9556,7 @@ packages:
optional: true
dependencies:
'@next/env': 13.4.12
+ '@opentelemetry/api': 1.4.1
'@swc/helpers': 0.5.1
busboy: 1.6.0
caniuse-lite: 1.0.30001519
@@ -10519,7 +9597,7 @@ packages:
git-url-parse: 13.1.0
intersection-observer: 0.12.2
match-sorter: 6.3.1
@@ -10549,7 +9627,7 @@ packages:
gray-matter: 4.0.3
katex: 0.16.8
lodash.get: 4.4.2
next-mdx-remote: 4.4.1([email protected])([email protected])
p-limit: 3.1.0
react: 18.2.0
@@ -10692,6 +9770,7 @@ packages:
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dependencies:
path-key: 4.0.0
+ dev: false
resolution: {integrity: sha512-/IbjiJ7vqbxfxJxAZ+QI9CCRjnIbvGxn5KQcSY9xHh0lMKc/Sgqmm7yp7KPmd6TiTZX5/KiSBKlkGHo59ucZbg==}
@@ -10708,10 +9787,12 @@ packages:
resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==}
+ dev: false
resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
engines: {node: '>= 0.4'}
+ dev: false
resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==}
@@ -10721,6 +9802,7 @@ packages:
define-properties: 1.2.0
has-symbols: 1.0.3
object-keys: 1.1.1
+ dev: false
resolution: {integrity: sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==}
@@ -10729,6 +9811,7 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
es-abstract: 1.22.1
+ dev: false
resolution: {integrity: sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==}
@@ -10737,12 +9820,14 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
es-abstract: 1.22.1
+ dev: false
resolution: {integrity: sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==}
dependencies:
define-properties: 1.2.0
es-abstract: 1.22.1
+ dev: false
resolution: {integrity: sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==}
@@ -10751,6 +9836,7 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
es-abstract: 1.22.1
+ dev: false
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
@@ -10768,6 +9854,7 @@ packages:
engines: {node: '>=12'}
dependencies:
mimic-fn: 4.0.0
+ dev: false
resolution: {integrity: sha512-5QKNfCtTeW5rcdKbd0owoZFzMxJ7oJl9I+FycBJ0/i8UVJYcZOKctN9TA82unIRgf/BrSaa0X3Nw0RJuiAnMfQ==}
@@ -10782,6 +9869,7 @@ packages:
define-lazy-prop: 3.0.0
is-inside-container: 1.0.0
is-wsl: 2.2.0
+ dev: false
resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==}
@@ -10964,6 +10052,7 @@ packages:
resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}
engines: {node: '>=12'}
+ dev: false
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
@@ -11019,18 +10108,6 @@ packages:
postcss: 8.4.21
dev: false
- resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- postcss: ^8.0.0
- dependencies:
- postcss: 8.4.19
- postcss-value-parser: 4.2.0
- read-cache: 1.0.0
- resolve: 1.22.2
- dev: true
-
resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==}
engines: {node: '>=10.0.0'}
@@ -11054,16 +10131,6 @@ packages:
read-cache: 1.0.0
resolve: 1.22.2
- resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}
- engines: {node: ^12 || ^14 || >= 16}
- peerDependencies:
- postcss: ^8.4.21
- dependencies:
- camelcase-css: 2.0.1
- postcss: 8.4.19
- dev: true
-
resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}
engines: {node: ^12 || ^14 || >= 16}
@@ -11083,23 +10150,6 @@ packages:
camelcase-css: 2.0.1
postcss: 8.4.24
- resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==}
- engines: {node: '>= 10'}
- peerDependencies:
- postcss: '>=8.0.9'
- ts-node: '>=9.0.0'
- peerDependenciesMeta:
- postcss:
- optional: true
- ts-node:
- optional: true
- dependencies:
- lilconfig: 2.1.0
- postcss: 8.4.19
- yaml: 1.10.2
- dev: true
-
resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==}
engines: {node: '>= 10'}
@@ -11133,16 +10183,6 @@ packages:
postcss: 8.4.24
yaml: 2.3.1
- resolution: {integrity: sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==}
- engines: {node: '>=12.0'}
- peerDependencies:
- postcss: ^8.2.14
- dependencies:
- postcss: 8.4.19
- postcss-selector-parser: 6.0.13
- dev: true
-
resolution: {integrity: sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==}
engines: {node: '>=12.0'}
@@ -11189,15 +10229,6 @@ packages:
source-map-js: 1.0.2
dev: false
- resolution: {integrity: sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==}
- engines: {node: ^10 || ^12 || >=14}
- dependencies:
- nanoid: 3.3.6
- picocolors: 1.0.0
- source-map-js: 1.0.2
- dev: true
-
resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==}
engines: {node: ^10 || ^12 || >=14}
@@ -11294,12 +10325,6 @@ packages:
prettier: 3.0.0
dev: true
- resolution: {integrity: sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==}
- engines: {node: '>=10.13.0'}
- hasBin: true
- dev: true
-
resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==}
engines: {node: '>=14'}
@@ -11320,14 +10345,6 @@ packages:
js-beautify: 1.14.9
dev: false
- resolution: {integrity: sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==}
- peerDependencies:
- react: '>=0.14.9'
- dependencies:
- react: 18.2.0
- dev: false
-
resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}
dev: false
@@ -11338,6 +10355,7 @@ packages:
loose-envify: 1.4.0
object-assign: 4.1.1
react-is: 16.13.1
+ dev: false
resolution: {integrity: sha512-kma4U7AFCTwpqq5twzC1YVIDXSqg6qQK6JN0smOw8fgRy1OkMi0CYSzFmsy6dnqSenamAtj0CyXMUJ1Mf6oROg==}
@@ -11415,6 +10433,7 @@ packages:
resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}
engines: {node: '>=10'}
+ dev: false
resolution: {integrity: sha512-8cyzxOIDeLFvwSPTgCItMXHGT5ZPkjhuFKUTww06Xg1dNMXuGxIKlARvS7upk6JXIm41ZKXmtlKR1iCRWklKmg==}
@@ -11495,27 +10514,12 @@ packages:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
+ dev: false
resolution: {integrity: sha512-kzmNjIgU32mO4mmH5+iUyrqlpFQhF8K2k7eZ4fdLSOPFrD1XgEuSBv9LDEgxRXTMBqMd8ppT0x6TIzqE5pdGdw==}
dev: false
- resolution: {integrity: sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@types/react': 18.0.25
- react: 18.2.0
- react-style-singleton: 2.2.1(@types/[email protected])([email protected])
- tslib: 2.6.1
- dev: false
-
resolution: {integrity: sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==}
engines: {node: '>=10'}
@@ -11551,25 +10555,6 @@ packages:
use-sidecar: 1.1.2(@types/[email protected])([email protected])
dev: false
- resolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@types/react': 18.0.25
- react: 18.2.0
- react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])
- react-style-singleton: 2.2.1(@types/[email protected])([email protected])
- tslib: 2.6.1
- use-callback-ref: 1.3.0(@types/[email protected])([email protected])
- use-sidecar: 1.1.2(@types/[email protected])([email protected])
- dev: false
-
resolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==}
engines: {node: '>=10'}
@@ -11597,23 +10582,6 @@ packages:
react: 18.2.0
dev: false
- resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@types/react': 18.0.25
- get-nonce: 1.0.1
- invariant: 2.2.4
- react: 18.2.0
- tslib: 2.6.1
- dev: false
-
resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==}
engines: {node: '>=10'}
@@ -11723,6 +10691,7 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
functions-have-names: 1.2.3
+ dev: false
resolution: {integrity: sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==}
@@ -11934,6 +10903,7 @@ packages:
is-core-module: 2.12.1
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0
+ dev: false
resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==}
@@ -11976,6 +10946,7 @@ packages:
engines: {node: '>=12'}
dependencies:
execa: 5.1.1
+ dev: false
resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}
@@ -12018,6 +10989,7 @@ packages:
get-intrinsic: 1.2.1
has-symbols: 1.0.3
isarray: 2.0.5
+ dev: false
resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
@@ -12032,6 +11004,7 @@ packages:
call-bind: 1.0.2
get-intrinsic: 1.2.1
is-regex: 1.1.4
+ dev: false
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
@@ -12140,6 +11113,7 @@ packages:
call-bind: 1.0.2
get-intrinsic: 1.2.1
object-inspect: 1.12.3
+ dev: false
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
@@ -12167,6 +11141,7 @@ packages:
resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==}
engines: {node: '>=12'}
+ dev: false
resolution: {integrity: sha512-FMR5YoPFwOLuh4rRz92dywJjyKYZNLpMn1R5ujVpIYkbA9p01fq8RMg0FkO4M+Yobt4MjHeLTJVm5xFFBHSV2Q==}
@@ -12290,6 +11265,7 @@ packages:
internal-slot: 1.0.5
regexp.prototype.flags: 1.5.0
side-channel: 1.0.4
+ dev: false
resolution: {integrity: sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==}
@@ -12298,6 +11274,7 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
es-abstract: 1.22.1
+ dev: false
resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==}
@@ -12305,6 +11282,7 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
es-abstract: 1.22.1
+ dev: false
resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==}
@@ -12312,6 +11290,7 @@ packages:
call-bind: 1.0.2
define-properties: 1.2.0
es-abstract: 1.22.1
+ dev: false
resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}
@@ -12345,6 +11324,7 @@ packages:
resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
engines: {node: '>=4'}
+ dev: false
resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==}
@@ -12358,6 +11338,7 @@ packages:
resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==}
engines: {node: '>=12'}
+ dev: false
resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==}
@@ -12501,6 +11482,7 @@ packages:
dependencies:
'@pkgr/utils': 2.4.2
tslib: 2.6.1
+ dev: false
resolution: {integrity: sha512-R2/nULkdg1VR/EL4RXg4dEohdoxNUJGLMnWIQnPKL+O9Twu7Cn3Rxi4dlXkDzZrEGtR+G+psSXFouWlpTyLhCQ==}
@@ -12514,40 +11496,6 @@ packages:
tailwindcss: 3.3.2
dev: false
- resolution: {integrity: sha512-AhwtHCKMtR71JgeYDaswmZXhPcW9iuI9Sp2LvZPo9upDZ7231ZJ7eA9RaURbhpXGVlrjX4cFNlB4ieTetEb7hQ==}
- engines: {node: '>=12.13.0'}
- hasBin: true
- peerDependencies:
- postcss: ^8.0.9
- dependencies:
- arg: 5.0.2
- chokidar: 3.5.3
- color-name: 1.1.4
- detective: 5.2.1
- didyoumean: 1.2.2
- dlv: 1.1.3
- fast-glob: 3.3.1
- glob-parent: 6.0.2
- is-glob: 4.0.3
- lilconfig: 2.1.0
- micromatch: 4.0.5
- normalize-path: 3.0.0
- object-hash: 3.0.0
- picocolors: 1.0.0
- postcss: 8.4.19
- postcss-import: 14.1.0([email protected])
- postcss-js: 4.0.1([email protected])
- postcss-load-config: 3.1.4([email protected])
- postcss-nested: 6.0.0([email protected])
- postcss-selector-parser: 6.0.13
- postcss-value-parser: 4.2.0
- quick-lru: 5.1.1
- resolve: 1.22.2
- transitivePeerDependencies:
- - ts-node
- dev: true
-
resolution: {integrity: sha512-B6DLqJzc21x7wntlH/GsZwEXTBttVSl1FtCzC8WP4oBc/NKef7kaax5jeihkkCEWc831/5NDJ9gRNDK6NEioQQ==}
engines: {node: '>=12.13.0'}
@@ -12616,6 +11564,7 @@ packages:
resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==}
engines: {node: '>=6'}
+ dev: false
resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==}
@@ -12687,6 +11636,7 @@ packages:
resolution: {integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==}
engines: {node: '>=12'}
+ dev: false
resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==}
@@ -12815,6 +11765,7 @@ packages:
json5: 1.0.2
minimist: 1.2.8
strip-bom: 3.0.0
+ dev: false
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
@@ -12862,16 +11813,6 @@ packages:
- ts-node
dev: true
- resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
- engines: {node: '>= 6'}
- peerDependencies:
- typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
- dependencies:
- tslib: 1.14.1
- typescript: 4.9.3
- dev: true
-
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
engines: {node: '>= 6'}
@@ -13014,6 +11955,7 @@ packages:
call-bind: 1.0.2
get-intrinsic: 1.2.1
is-typed-array: 1.1.12
+ dev: false
resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==}
@@ -13023,6 +11965,7 @@ packages:
for-each: 0.3.3
has-proto: 1.0.1
is-typed-array: 1.1.12
+ dev: false
resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==}
@@ -13033,6 +11976,7 @@ packages:
for-each: 0.3.3
has-proto: 1.0.1
is-typed-array: 1.1.12
+ dev: false
resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==}
@@ -13040,12 +11984,7 @@ packages:
call-bind: 1.0.2
for-each: 0.3.3
is-typed-array: 1.1.12
-
- resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==}
- engines: {node: '>=4.2.0'}
- hasBin: true
- dev: true
+ dev: false
resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==}
@@ -13067,6 +12006,7 @@ packages:
has-bigints: 1.0.2
has-symbols: 1.0.3
which-boxed-primitive: 1.0.2
+ dev: false
resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==}
@@ -13197,6 +12137,7 @@ packages:
resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==}
engines: {node: '>=8'}
+ dev: false
resolution: {integrity: sha512-ti4wZj+0bQTiX2KmKWuwj7lhV+2n//uXEotUmGuQqrbVZSEGFMbI68+c6JCQ8aAmUWYvtHEz2A8K6wXvueR/6g==}
@@ -13252,21 +12193,6 @@ packages:
requires-port: 1.0.0
dev: false
- resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@types/react': 18.0.25
- react: 18.2.0
- tslib: 2.6.1
- dev: false
-
resolution: {integrity: sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w==}
engines: {node: '>=10'}
@@ -13282,35 +12208,6 @@ packages:
tslib: 2.6.1
dev: false
- resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@types/react': 18.0.25
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==}
- engines: {node: '>=10'}
- peerDependencies:
- '@types/react': ^16.9.0 || ^17.0.0 || ^18.0.0
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@types/react': 18.0.25
- detect-node-es: 1.1.0
- react: 18.2.0
- tslib: 2.6.1
- dev: false
-
resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==}
engines: {node: '>=10'}
@@ -13491,6 +12388,7 @@ packages:
is-number-object: 1.0.7
is-string: 1.0.7
is-symbol: 1.0.4
+ dev: false
resolution: {integrity: sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==}
@@ -13501,6 +12399,7 @@ packages:
for-each: 0.3.3
gopd: 1.0.1
has-tostringtag: 1.0.0
+ dev: false
resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==}
@@ -13550,6 +12449,7 @@ packages:
resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}
engines: {node: '>=0.4'}
+ dev: false
resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
@@ -13569,6 +12469,7 @@ packages:
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
engines: {node: '>= 6'}
+ dev: false
resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==}