Skip to content

Open-source status page, incident response and uptime monitoring

refactor(api): improve api and error handling (#848)

Maximilian Kaske33b051ff7325
diff --git a/apps/docs/api-reference/errors/code/BAD_REQUEST.mdx b/apps/docs/api-reference/errors/code/BAD_REQUEST.mdx
new file mode 100644
index 000000000..eea071f9a
--- /dev/null
+++ b/apps/docs/api-reference/errors/code/BAD_REQUEST.mdx
@@ -0,0 +1,14 @@
+---
+title: BAD_REQUEST
+openapi-schema: ErrBadRequest
+---
+
+## Problem
+
+The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
+
+## Solution
+
+Check the request response and making sure it's correct.
+
+If that doesn't help, ask for help on [Discord](https://openstatus.dev/discord).
\ No newline at end of file
diff --git a/apps/docs/api-reference/errors/code/CONFLICT.mdx b/apps/docs/api-reference/errors/code/CONFLICT.mdx
new file mode 100644
index 000000000..1b0e022e1
--- /dev/null
+++ b/apps/docs/api-reference/errors/code/CONFLICT.mdx
@@ -0,0 +1,14 @@
+---
+title: CONFLICT
+openapi-schema: ErrConflict
+---
+
+## Problem
+
+The request could not be completed due to a conflict most likely due to unique constraints like subdomain slugs.
+
+## Solution
+
+Make sure to send a unique value for the conflicting field.
+
+If that doesn't help, ask for help on [Discord](https://openstatus.dev/discord).
diff --git a/apps/docs/api-reference/errors/code/FORBIDDEN.mdx b/apps/docs/api-reference/errors/code/FORBIDDEN.mdx
new file mode 100644
index 000000000..0dfac7c7a
--- /dev/null
+++ b/apps/docs/api-reference/errors/code/FORBIDDEN.mdx
@@ -0,0 +1,14 @@
+---
+title: FORBIDDEN
+openapi-schema: ErrForbidden
+---
+
+## Problem
+
+The server understood the request, but is refusing to fulfill it. Authorization will not help. That most likely indicates your account doesn't have the necessary permissions to execute the request.
+
+## Solution
+
+Make sure you have the necessary permissions to execute the request. You might want to upgrade your workspace plan.
+
+If that doesn't help, ask for help on [Discord](https://openstatus.dev/discord).
\ No newline at end of file
diff --git a/apps/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR.mdx b/apps/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR.mdx
new file mode 100644
index 000000000..4cd5ee035
--- /dev/null
+++ b/apps/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR.mdx
@@ -0,0 +1,14 @@
+---
+title: INTERNAL_SERVER_ERROR
+openapi-schema: ErrInternalServerError
+---
+
+## Problem
+
+The server encountered an unexpected condition that prevented it from fulfilling the request.
+
+## Solution
+
+Please try again.
+
+If that doesn't help, ask for help on [Discord](https://openstatus.dev/discord).
\ No newline at end of file
diff --git a/apps/docs/api-reference/errors/code/NOT_FOUND.mdx b/apps/docs/api-reference/errors/code/NOT_FOUND.mdx
new file mode 100644
index 000000000..2515ba6d2
--- /dev/null
+++ b/apps/docs/api-reference/errors/code/NOT_FOUND.mdx
@@ -0,0 +1,14 @@
+---
+title: NOT_FOUND
+openapi-schema: ErrNotFound
+---
+
+## Problem
+
+The requested resource could not be found. You might not be eligible to access the resource or the resource might not exist.
+
+## Solution
+
+Make sure you're sending the correct request to the correct endpoint.
+
+If that doesn't help, ask for help on [Discord](https://openstatus.dev/discord).
\ No newline at end of file
diff --git a/apps/docs/api-reference/errors/code/UNAUTHORIZED.mdx b/apps/docs/api-reference/errors/code/UNAUTHORIZED.mdx
new file mode 100644
index 000000000..38b62a868
--- /dev/null
+++ b/apps/docs/api-reference/errors/code/UNAUTHORIZED.mdx
@@ -0,0 +1,14 @@
+---
+title: UNAUTHORIZED
+openapi-schema: ErrUnauthorized
+---
+
+## Problem
+
+The request has not been applied because it lacks valid authentication credentials for the target resource.
+
+## Solution
+
+Make sure you're sending the correct authentication credentials with your request.
+
+If that doesn't help, ask for help on [Discord](https://openstatus.dev/discord).
\ No newline at end of file
diff --git a/apps/docs/api-reference/status_report/post-status_report-id/update.mdx b/apps/docs/api-reference/status_report/post-status_report-id/update.mdx
index 4fe269947..fd97ff5db 100644
--- a/apps/docs/api-reference/status_report/post-status_report-id/update.mdx
+++ b/apps/docs/api-reference/status_report/post-status_report-id/update.mdx
@@ -2,3 +2,5 @@
title: Create Status Report Update
openapi: post /status_report/:id/update
---
+
+That endpoint is `@deprecated` in favor of [`/status_report_update`](/api-reference/status_report_update/post-status_report_update/) **POST** request.
\ No newline at end of file
diff --git a/apps/docs/mint.json b/apps/docs/mint.json
index 83e74af2b..ad0e8a0d8 100644
--- a/apps/docs/mint.json
+++ b/apps/docs/mint.json
@@ -133,14 +133,6 @@
"icon": "code",
"pages": [
"api-reference/auth",
- {
- "group": "Incident",
- "pages": [
- "api-reference/incident/get-incident-id",
- "api-reference/incident/get-incident",
- "api-reference/incident/put-incident-id"
- ]
- },
{
"group": "Monitor",
"pages": [
@@ -151,14 +143,6 @@
"api-reference/monitor/put-monitor-id"
]
},
- {
- "group": "Notification",
- "pages": [
- "api-reference/notification/get-notification",
- "api-reference/notification/get-notification-id",
- "api-reference/notification/post-notification"
- ]
- },
{
"group": "Status Page",
"pages": [
@@ -180,12 +164,39 @@
]
},
{
- "group": "Status Report Udpate",
+ "group": "Status Report Update",
"pages": [
"api-reference/status_report_update/get-status_report_update-id",
"api-reference/status_report_update/post-status_report_update"
]
},
+ {
+ "group": "Notification",
+ "pages": [
+ "api-reference/notification/get-notification",
+ "api-reference/notification/get-notification-id",
+ "api-reference/notification/post-notification"
+ ]
+ },
+ {
+ "group": "Incident",
+ "pages": [
+ "api-reference/incident/get-incident-id",
+ "api-reference/incident/get-incident",
+ "api-reference/incident/put-incident-id"
+ ]
+ },
+ {
+ "group": "Errors",
+ "pages": [
+ "api-reference/errors/code/BAD_REQUEST",
+ "api-reference/errors/code/UNAUTHORIZED",
+ "api-reference/errors/code/FORBIDDEN",
+ "api-reference/errors/code/NOT_FOUND",
+ "api-reference/errors/code/CONFLICT",
+ "api-reference/errors/code/INTERNAL_SERVER_ERROR"
+ ]
+ },
"api-reference/checker"
]
}
diff --git a/apps/server/package.json b/apps/server/package.json
index fb3f094e6..3626cab77 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -16,6 +16,7 @@
"@openstatus/analytics": "workspace:^",
"@openstatus/db": "workspace:*",
"@openstatus/emails": "workspace:*",
+ "@openstatus/error": "workspace:*",
"@openstatus/notification-discord": "workspace:*",
"@openstatus/notification-emails": "workspace:*",
"@openstatus/notification-slack": "workspace:*",
diff --git a/apps/server/src/index.ts b/apps/server/src/index.ts
index fdcefbd50..8e9b669c9 100644
--- a/apps/server/src/index.ts
+++ b/apps/server/src/index.ts
@@ -7,9 +7,11 @@ import { checkerRoute } from "./checker";
import { env } from "./env";
import { publicRoute } from "./public";
import { api } from "./v1";
+import { handleError } from "./libs/errors";
const app = new Hono({ strict: false });
app.use("*", sentry({ dsn: process.env.SENTRY_DSN }));
+app.onError(handleError);
/**
* Public Routes
diff --git a/apps/server/src/libs/errors/index.ts b/apps/server/src/libs/errors/index.ts
new file mode 100644
index 000000000..178cd64f8
--- /dev/null
+++ b/apps/server/src/libs/errors/index.ts
@@ -0,0 +1 @@
+export * from "./utils";
diff --git a/apps/server/src/libs/errors/openapi-error-responses.ts b/apps/server/src/libs/errors/openapi-error-responses.ts
new file mode 100644
index 000000000..bcc3342ea
--- /dev/null
+++ b/apps/server/src/libs/errors/openapi-error-responses.ts
@@ -0,0 +1,59 @@
+import { createErrorSchema } from "./utils";
+
+export const openApiErrorResponses = {
+ 400: {
+ description:
+ "The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).",
+ content: {
+ "application/json": {
+ schema: createErrorSchema("BAD_REQUEST").openapi("ErrBadRequest"),
+ },
+ },
+ },
+ 401: {
+ description:
+ "The client must authenticate itself to get the requested response.",
+ content: {
+ "application/json": {
+ schema: createErrorSchema("UNAUTHORIZED").openapi("ErrUnauthorized"),
+ },
+ },
+ },
+ 403: {
+ description:
+ "The client does not have the necessary permissions to access the resource.",
+ content: {
+ "application/json": {
+ schema: createErrorSchema("FORBIDDEN").openapi("ErrForbidden"),
+ },
+ },
+ },
+ 404: {
+ description: "The server can't find the requested resource.",
+ content: {
+ "application/json": {
+ schema: createErrorSchema("NOT_FOUND").openapi("ErrNotFound"),
+ },
+ },
+ },
+ 409: {
+ description:
+ "The request could not be completed due to a conflict mainly due to unique constraints.",
+ content: {
+ "application/json": {
+ schema: createErrorSchema("CONFLICT").openapi("ErrConflict"),
+ },
+ },
+ },
+ 500: {
+ description:
+ "The server has encountered a situation it doesn't know how to handle.",
+ content: {
+ "application/json": {
+ schema: createErrorSchema("INTERNAL_SERVER_ERROR").openapi(
+ "ErrInternalServerError"
+ ),
+ },
+ },
+ },
+};
diff --git a/apps/server/src/libs/errors/utils.ts b/apps/server/src/libs/errors/utils.ts
new file mode 100644
index 000000000..a5375b189
--- /dev/null
+++ b/apps/server/src/libs/errors/utils.ts
@@ -0,0 +1,88 @@
+import type { Context } from "hono";
+import { HTTPException } from "hono/http-exception";
+
+import {
+ type ErrorCode,
+ ErrorCodeEnum,
+ SchemaError,
+ statusToCode,
+} from "@openstatus/error";
+
+import { ZodError, z } from "zod";
+
+export function handleError(err: Error, c: Context): Response {
+ if (err instanceof ZodError) {
+ const error = SchemaError.fromZod(err, c);
+ return c.json<ErrorSchema>(
+ {
+ code: "BAD_REQUEST",
+ message: error.message,
+ docs: "https://docs.openstatus.dev/api-references/errors/code/BAD_REQUEST",
+ },
+ { status: 400 }
+ );
+ }
+ if (err instanceof HTTPException) {
+ const code = statusToCode(err.status);
+ return c.json<ErrorSchema>(
+ {
+ code: code,
+ message: err.message,
+ docs: `https://docs.openstatus.dev/api-references/errors/code/${code}`,
+ },
+ { status: err.status }
+ );
+ }
+ return c.json<ErrorSchema>(
+ {
+ code: "INTERNAL_SERVER_ERROR",
+ message: err.message ?? "Something went wrong",
+ docs: "https://docs.openstatus.dev/api-references/errors/code/INTERNAL_SERVER_ERROR",
+ },
+
+ { status: 500 }
+ );
+}
+
+export function handleZodError(
+ result:
+ | {
+ success: true;
+ data: unknown;
+ }
+ | {
+ success: false;
+ error: ZodError;
+ },
+ c: Context
+) {
+ if (!result.success) {
+ const error = SchemaError.fromZod(result.error, c);
+ return c.json<z.infer<ReturnType<typeof createErrorSchema>>>(
+ {
+ code: "BAD_REQUEST",
+ docs: "https://docs.openstatus.dev/api-references/errors/code/BAD_REQUEST",
+ message: error.message,
+ },
+ { status: 400 }
+ );
+ }
+}
+export type ErrorSchema = z.infer<ReturnType<typeof createErrorSchema>>;
+
+export function createErrorSchema(code: ErrorCode) {
+ return z.object({
+ code: ErrorCodeEnum.openapi({
+ example: code,
+ description: "The error code related to the status code.",
+ }),
+ message: z.string().openapi({
+ description: "A human readable message describing the issue.",
+ example: "Missing required field 'name'.",
+ }),
+ docs: z.string().openapi({
+ description: "A link to the documentation for the error.",
+ example: `https://docs.openstatus.dev/api-references/errors/code/${code}`,
+ }),
+ });
+}
diff --git a/apps/server/src/v1/incidents.ts b/apps/server/src/v1/incidents.ts
deleted file mode 100644
index bd0b76659..000000000
--- a/apps/server/src/v1/incidents.ts
+++ /dev/null
@@ -1,239 +0,0 @@
-import { OpenAPIHono, createRoute, z } from "@hono/zod-openapi";
-
-import { and, db, eq } from "@openstatus/db";
-import { incidentTable } from "@openstatus/db/src/schema/incidents";
-
-import type { Variables } from "./index";
-import { ErrorSchema } from "./shared";
-import { isoDate } from "./utils";
-
-const incidentsApi = new OpenAPIHono<{ Variables: Variables }>();
-
-const ParamsSchema = z.object({
- id: z
- .string()
- .min(1)
- .openapi({
- param: {
- name: "id",
- in: "path",
- },
- description: "The id of the Incident",
- example: "1",
- }),
-});
-
-const IncidentSchema = z.object({
- id: z.number().openapi({
- description: "The id of the incident",
- example: 1,
- }),
- startedAt: isoDate.openapi({
- description: "The date the incident started",
- }),
-
- monitorId: z
- .number()
- .openapi({
- description: "The id of the monitor associated with the incident",
- example: 1,
- })
- .nullable(),
-
- acknowledgedAt: isoDate
- .openapi({
- description: "The date the incident was acknowledged",
- })
- .optional()
- .nullable(),
-
- acknowledgedBy: z
- .number()
- .openapi({
- description: "The user who acknowledged the incident",
- })
- .nullable(),
-
- resolvedAt: isoDate
- .openapi({
- description: "The date the incident was resolved",
- })
- .optional()
- .nullable(),
- resolvedBy: z
- .number()
- .openapi({
- description: "The user who resolved the incident",
- })
- .nullable(),
-});
-
-const getAllRoute = createRoute({
- method: "get",
- tags: ["incident"],
- description: "Get all incidents",
- path: "/",
- request: {},
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.array(IncidentSchema),
- },
- },
- description: "Get all incidents",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-incidentsApi.openapi(getAllRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const result = await db
- .select()
- .from(incidentTable)
- .where(eq(incidentTable.workspaceId, workspaceId))
- .all();
-
- if (!result) return c.json({ code: 404, message: "Not Found" }, 404);
-
- const data = z.array(IncidentSchema).parse(result);
- return c.json(data);
-});
-
-const getRoute = createRoute({
- method: "get",
- tags: ["incident"],
- description: "Get an incident",
- path: "/:id",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: IncidentSchema,
- },
- },
- description: "Get an incident",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-incidentsApi.openapi(getRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const incidentId = Number(id);
- const result = await db
- .select()
- .from(incidentTable)
- .where(
- and(
- eq(incidentTable.workspaceId, workspaceId),
- eq(incidentTable.id, incidentId),
- ),
- )
- .get();
-
- if (!result) return c.json({ code: 404, message: "Not Found" }, 404);
- const data = IncidentSchema.parse(result);
-
- return c.json(data);
-});
-
-const incidentInputSchema = z
- .object({
- acknowledgedAt: z.coerce.date().optional(),
- resolvedAt: z.coerce.date().optional(),
- })
- .openapi({ description: "The incident to create" });
-const putRoute = createRoute({
- method: "put",
- tags: ["incident"],
- description: "Update an incident",
- path: "/:id",
- request: {
- params: ParamsSchema,
- body: {
- description: "The incident to update",
- content: {
- "application/json": {
- schema: incidentInputSchema,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: IncidentSchema,
- },
- },
- description: "Update a monitor",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-incidentsApi.openapi(putRoute, async (c) => {
- const input = c.req.valid("json");
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
- if (!id) return c.json({ code: 400, message: "Bad Request" }, 400);
-
- const _incident = await db
- .select()
- .from(incidentTable)
- .where(
- and(
- eq(incidentTable.id, Number(id)),
- eq(incidentTable.workspaceId, workspaceId),
- ),
- )
- .get();
-
- if (!_incident) return c.json({ code: 404, message: "Not Found" }, 404);
-
- if (workspaceId !== _incident.workspaceId)
- return c.json({ code: 401, message: "Unauthorized" }, 401);
-
- const _newIncident = await db
- .update(incidentTable)
- .set({
- ...input,
- })
- .where(eq(incidentTable.id, Number(id)))
- .returning()
- .get();
-
- const data = IncidentSchema.parse(_newIncident);
-
- return c.json(data);
-});
-
-export { incidentsApi };
diff --git a/apps/server/src/v1/incidents/get.ts b/apps/server/src/v1/incidents/get.ts
new file mode 100644
index 000000000..eba1952b1
--- /dev/null
+++ b/apps/server/src/v1/incidents/get.ts
@@ -0,0 +1,56 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, db, eq } from "@openstatus/db";
+import { incidentTable } from "@openstatus/db/src/schema/incidents";
+
+import { IncidentSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { incidentsApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const getRoute = createRoute({
+ method: "get",
+ tags: ["incident"],
+ description: "Get an incident",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: IncidentSchema,
+ },
+ },
+ description: "Get an incident",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetIncident(app: typeof incidentsApi) {
+ return app.openapi(getRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _incident = await db
+ .select()
+ .from(incidentTable)
+ .where(
+ and(
+ eq(incidentTable.workspaceId, Number(workspaceId)),
+ eq(incidentTable.id, Number(id)),
+ ),
+ )
+ .get();
+
+ if (!_incident) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = IncidentSchema.parse(_incident);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/incidents/get_all.ts b/apps/server/src/v1/incidents/get_all.ts
new file mode 100644
index 000000000..bc4e50117
--- /dev/null
+++ b/apps/server/src/v1/incidents/get_all.ts
@@ -0,0 +1,47 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { db, eq } from "@openstatus/db";
+import { incidentTable } from "@openstatus/db/src/schema/incidents";
+
+import { IncidentSchema } from "./schema";
+import type { incidentsApi } from "./index";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const getAllRoute = createRoute({
+ method: "get",
+ tags: ["incident"],
+ description: "Get all incidents",
+ path: "/",
+ request: {},
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.array(IncidentSchema),
+ },
+ },
+ description: "Get all incidents",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetAllIncidents(app: typeof incidentsApi) {
+ app.openapi(getAllRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+
+ const _incidents = await db
+ .select()
+ .from(incidentTable)
+ .where(eq(incidentTable.workspaceId, Number(workspaceId)))
+ .all();
+
+ if (!_incidents) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const returnValues = z.array(IncidentSchema).parse(_incidents); // TODO: think of using safeParse with SchemaError.fromZod
+ return c.json(returnValues);
+ });
+}
diff --git a/apps/server/src/v1/incidents.test.ts b/apps/server/src/v1/incidents/incidents.test.ts
similarity index 85%
rename from apps/server/src/v1/incidents.test.ts
rename to apps/server/src/v1/incidents/incidents.test.ts
index f8e518769..a1b42ee15 100644
--- a/apps/server/src/v1/incidents.test.ts
+++ b/apps/server/src/v1/incidents/incidents.test.ts
@@ -1,7 +1,9 @@
import { expect, test } from "bun:test";
-import { api } from ".";
-import { iso8601Regex } from "./test-utils";
+import { api } from "../index";
+import { iso8601Regex } from "../test-utils";
+
+import type { IncidentSchema } from "./schema";
test("GET one Incident", async () => {
const res = await api.request("/incident/2", {
@@ -21,7 +23,7 @@ test("GET one Incident", async () => {
});
});
-test("Update an incident ", async () => {
+test("Update an incident", async () => {
const res = await api.request("/incident/2", {
method: "PUT",
headers: {
@@ -32,8 +34,9 @@ test("Update an incident ", async () => {
acknowledgedAt: "2023-11-08T21:03:13.000Z",
}),
});
+ const json = await res.json();
expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
+ expect(json).toMatchObject({
acknowledgedAt: expect.stringMatching(iso8601Regex),
monitorId: 1,
id: 2,
@@ -56,11 +59,8 @@ test("Update an incident not in db should return 404", async () => {
acknowledgedAt: "2023-11-08T21:03:13.000Z",
}),
});
+
expect(res.status).toBe(404);
- expect(await res.json()).toMatchObject({
- code: 404,
- message: "Not Found",
- });
});
test("Update an incident without auth key should return 401", async () => {
@@ -90,13 +90,6 @@ test("Update an incident with invalid data should return 403", async () => {
}),
});
expect(res.status).toBe(400);
- expect(await res.json()).toMatchObject({
- error: {
- issues: expect.any(Array),
- name: "ZodError",
- },
- success: false,
- });
});
test("Get all Incidents", async () => {
@@ -106,8 +99,11 @@ test("Get all Incidents", async () => {
"x-openstatus-key": "1",
},
});
+
+ const body = (await res.json()) as IncidentSchema[];
+
expect(res.status).toBe(200);
- expect((await res.json())[0]).toMatchObject({
+ expect(body[0]).toMatchObject({
acknowledgedAt: null,
monitorId: 1,
id: 1,
diff --git a/apps/server/src/v1/incidents/index.ts b/apps/server/src/v1/incidents/index.ts
new file mode 100644
index 000000000..ccce567e5
--- /dev/null
+++ b/apps/server/src/v1/incidents/index.ts
@@ -0,0 +1,17 @@
+import { OpenAPIHono } from "@hono/zod-openapi";
+
+import type { Variables } from "../index";
+import { registerGetAllIncidents } from "./get_all";
+import { registerGetIncident } from "./get";
+import { registerPutIncident } from "./put";
+import { handleZodError } from "../../libs/errors";
+
+const incidentsApi = new OpenAPIHono<{ Variables: Variables }>({
+ defaultHook: handleZodError,
+});
+
+registerGetAllIncidents(incidentsApi);
+registerGetIncident(incidentsApi);
+registerPutIncident(incidentsApi);
+
+export { incidentsApi };
diff --git a/apps/server/src/v1/incidents/put.ts b/apps/server/src/v1/incidents/put.ts
new file mode 100644
index 000000000..473aa2e91
--- /dev/null
+++ b/apps/server/src/v1/incidents/put.ts
@@ -0,0 +1,86 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, db, eq } from "@openstatus/db";
+import { incidentTable } from "@openstatus/db/src/schema/incidents";
+
+import { IncidentSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { incidentsApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const putRoute = createRoute({
+ method: "put",
+ tags: ["incident"],
+ description: "Update an incident",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ body: {
+ description: "The incident to update",
+ content: {
+ "application/json": {
+ schema: IncidentSchema.pick({
+ acknowledgedAt: true,
+ resolvedAt: true,
+ })
+ .extend({
+ acknowledgedAt: z.coerce.date().optional(),
+ resolvedAt: z.coerce.date().optional(),
+ })
+ .openapi({
+ description: "The incident to update",
+ }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: IncidentSchema,
+ },
+ },
+ description: "Update a monitor",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPutIncident(app: typeof incidentsApi) {
+ return app.openapi(putRoute, async (c) => {
+ const inputValues = c.req.valid("json");
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _incident = await db
+ .select()
+ .from(incidentTable)
+ .where(
+ and(
+ eq(incidentTable.id, Number(id)),
+ eq(incidentTable.workspaceId, Number(workspaceId))
+ )
+ )
+ .get();
+
+ if (!_incident) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ if (Number(workspaceId) !== _incident.workspaceId) {
+ throw new HTTPException(401, { message: "Unauthorized" });
+ }
+
+ const _newIncident = await db
+ .update(incidentTable)
+ .set({ ...inputValues })
+ .where(eq(incidentTable.id, Number(id)))
+ .returning()
+ .get();
+
+ const data = IncidentSchema.parse(_newIncident);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/incidents/schema.ts b/apps/server/src/v1/incidents/schema.ts
new file mode 100644
index 000000000..7ceaa0f85
--- /dev/null
+++ b/apps/server/src/v1/incidents/schema.ts
@@ -0,0 +1,60 @@
+import { z } from "@hono/zod-openapi";
+
+import { isoDate } from "../utils";
+
+export const ParamsSchema = z.object({
+ id: z
+ .string()
+ .min(1)
+ .openapi({
+ param: {
+ name: "id",
+ in: "path",
+ },
+ description: "The id of the Incident",
+ example: "1",
+ }),
+});
+
+export const IncidentSchema = z.object({
+ id: z.number().openapi({
+ description: "The id of the incident",
+ example: 1,
+ }),
+ startedAt: isoDate.openapi({
+ description: "The date the incident started",
+ }),
+ monitorId: z
+ .number()
+ .openapi({
+ description: "The id of the monitor associated with the incident",
+ example: 1,
+ })
+ .nullable(),
+ acknowledgedAt: isoDate
+ .openapi({
+ description: "The date the incident was acknowledged",
+ })
+ .optional()
+ .nullable(),
+ acknowledgedBy: z
+ .number()
+ .openapi({
+ description: "The user who acknowledged the incident",
+ })
+ .nullable(),
+ resolvedAt: isoDate
+ .openapi({
+ description: "The date the incident was resolved",
+ })
+ .optional()
+ .nullable(),
+ resolvedBy: z
+ .number()
+ .openapi({
+ description: "The user who resolved the incident",
+ })
+ .nullable(),
+});
+
+export type IncidentSchema = z.infer<typeof IncidentSchema>;
diff --git a/apps/server/src/v1/index.ts b/apps/server/src/v1/index.ts
index d639e0543..6dce816cb 100644
--- a/apps/server/src/v1/index.ts
+++ b/apps/server/src/v1/index.ts
@@ -6,23 +6,29 @@ import type { Limits } from "@openstatus/plans/src/types";
import { incidentsApi } from "./incidents";
import { middleware } from "./middleware";
-import { monitorApi } from "./monitor";
-import { notificationApi } from "./notification";
-import { pageApi } from "./page";
-import { statusReportApi } from "./statusReport";
-import { statusReportUpdateApi } from "./statusReportUpdate";
+import { monitorsApi } from "./monitors";
+import { notificationsApi } from "./notifications";
+import { pagesApi } from "./pages";
+import { pageSubscribersApi } from "./pageSubscribers";
+import { statusReportsApi } from "./statusReports";
+import { statusReportUpdatesApi } from "./statusReportUpdates";
+import { handleError, handleZodError } from "../libs/errors";
export type Variables = {
workspaceId: string;
workspacePlan: {
- title: string;
+ title: "Hobby" | "Starter" | "Growth" | "Pro";
description: string;
price: number;
limits: Limits;
};
};
-export const api = new OpenAPIHono<{ Variables: Variables }>();
+export const api = new OpenAPIHono<{ Variables: Variables }>({
+ defaultHook: handleZodError,
+});
+
+api.onError(handleError);
api.use("/openapi", cors());
@@ -39,10 +45,14 @@ api.doc("/openapi", {
*/
api.use("/*", middleware);
api.use("/*", logger());
-api.route("/incident", incidentsApi);
-api.route("/monitor", monitorApi);
-api.route("/notification", notificationApi);
-api.route("/page", pageApi);
-api.route("/status_report", statusReportApi);
-api.route("/status_report_update", statusReportUpdateApi);
+/**
+ * Routes
+ */
+api.route("/incident", incidentsApi);
+api.route("/monitor", monitorsApi);
+api.route("/notification", notificationsApi);
+api.route("/page", pagesApi);
+api.route("/page_subscriber", pageSubscribersApi);
+api.route("/status_report", statusReportsApi);
+api.route("/status_report_update", statusReportUpdatesApi);
diff --git a/apps/server/src/v1/middleware.ts b/apps/server/src/v1/middleware.ts
index d70343012..9a78547ee 100644
--- a/apps/server/src/v1/middleware.ts
+++ b/apps/server/src/v1/middleware.ts
@@ -2,35 +2,46 @@ import { verifyKey } from "@unkey/api";
import type { Context, Next } from "hono";
import type { Variables } from "./index";
-import { getLimitByWorkspaceId } from "./utils";
+import { workspace } from "@openstatus/db/src/schema";
+import { db, eq } from "@openstatus/db";
+import { getPlanConfig } from "@openstatus/plans";
export async function middleware(
c: Context<{ Variables: Variables }, "/*">,
- next: Next,
+ next: Next
) {
const key = c.req.header("x-openstatus-key");
if (!key) return c.text("Unauthorized", 401);
- if (process.env.NODE_ENV === "production") {
- const { error, result } = await verifyKey(key);
- if (error) return c.text("Internal Server Error", 500);
+ const { error, result } =
+ process.env.NODE_ENV === "production"
+ ? await verifyKey(key)
+ : { result: { valid: true, ownerId: "1" }, error: null };
- if (!result.valid) return c.text("Unauthorized", 401);
+ if (error) return c.text("Internal Server Error", 500);
+ if (!result.valid) return c.text("Unauthorized", 401);
+ if (!result.ownerId) return c.text("Unauthorized", 401);
- if (!result.ownerId) return c.text("Unauthorized", 401);
+ const _workspace = await db
+ .select()
+ .from(workspace)
+ .where(eq(workspace.id, Number.parseInt(result.ownerId)))
+ .get();
- const plan = await getLimitByWorkspaceId(Number.parseInt(result.ownerId));
-
- c.set("workspacePlan", plan);
- c.set("workspaceId", `${result.ownerId}`);
- } else {
- // REMINDER: localhost only
- const ownerId = 1;
+ if (!_workspace) {
+ console.error("Workspace not found");
+ return c.text("Unauthorized", 401);
+ }
- const plan = await getLimitByWorkspaceId(ownerId);
+ c.set("workspacePlan", getPlanConfig(_workspace.plan));
+ c.set("workspaceId", `${result.ownerId}`);
- c.set("workspacePlan", plan);
- c.set("workspaceId", `${ownerId}`);
- }
await next();
}
+
+/**
+ * TODO: move the plan limit into the Unkey `{ meta }` to avoid an additional db call.
+ * When an API Key is created, we need to include the `{ meta: { plan: "free" } }` to the key.
+ * Then, we can just read the plan from the key and use it in the middleware.
+ * Don't forget to update the key whenever a user changes their plan. (via `stripeRoute` webhook)
+ */
diff --git a/apps/server/src/v1/monitor.ts b/apps/server/src/v1/monitor.ts
deleted file mode 100644
index 3effda9be..000000000
--- a/apps/server/src/v1/monitor.ts
+++ /dev/null
@@ -1,592 +0,0 @@
-import { OpenAPIHono, createRoute, z } from "@hono/zod-openapi";
-
-import { trackAnalytics } from "@openstatus/analytics";
-import { and, db, eq, isNull, sql } from "@openstatus/db";
-import {
- flyRegions,
- monitor,
- monitorMethods,
- monitorPeriodicity,
-} from "@openstatus/db/src/schema";
-import { OSTinybird } from "@openstatus/tinybird";
-import { Redis } from "@openstatus/upstash";
-
-import { env } from "../env";
-import type { Variables } from "./index";
-import { ErrorSchema } from "./shared";
-import { isoDate } from "./utils";
-
-const tb = new OSTinybird({ token: env.TINY_BIRD_API_KEY });
-const redis = Redis.fromEnv();
-
-const ParamsSchema = z.object({
- id: z
- .string()
- .min(1)
- .openapi({
- param: {
- name: "id",
- in: "path",
- },
- description: "The id of the monitor",
- example: "1",
- }),
-});
-
-export const periodicityEnum = z.enum(monitorPeriodicity);
-
-const regionInput = z.array(z.enum(flyRegions)).transform((val) => String(val));
-
-const MonitorSchema = z
- .object({
- id: z.number().openapi({
- example: 123,
- description: "The id of the monitor",
- }),
- periodicity: periodicityEnum.openapi({
- example: "1m",
- description: "How often the monitor should run",
- }),
- url: z.string().url().openapi({
- example: "https://www.documenso.co",
- description: "The url to monitor",
- }),
- regions: z
- .preprocess(
- (val) => {
- if (String(val).length > 0) {
- return String(val).split(",");
- }
- return [];
- },
- z.array(z.enum(flyRegions)),
- )
- .default([])
- .openapi({
- example: ["ams"],
- description: "Where we should monitor it",
- }),
- name: z
- .string()
- .openapi({
- example: "Documenso",
- description: "The name of the monitor",
- })
- .nullable(),
- description: z
- .string()
- .openapi({
- example: "Documenso website",
- description: "The description of your monitor",
- })
- .nullish(),
- method: z.enum(monitorMethods).default("GET").openapi({ example: "GET" }),
- body: z
- .preprocess((val) => {
- return String(val);
- }, z.string())
- .nullish()
- .default("")
- .openapi({
- example: "Hello World",
- description: "The body",
- }),
- headers: z
- .preprocess(
- (val) => {
- if (String(val).length > 0) {
- return JSON.parse(String(val));
- }
- return [];
- },
- z.array(z.object({ key: z.string(), value: z.string() })).default([]),
- )
- .nullish()
- .openapi({
- description: "The headers of your request",
- example: [{ key: "x-apikey", value: "supersecrettoken" }],
- }),
- active: z
- .boolean()
- .default(false)
- .openapi({ description: "If the monitor is active" }),
- public: z
- .boolean()
- .default(false)
- .openapi({ description: "If the monitor is public" }),
- })
- .openapi({
- description: "The monitor",
- required: ["periodicity", "url", "regions", "method"],
- });
-
-const monitorInput = z
- .object({
- periodicity: periodicityEnum.openapi({
- example: "1m",
- description: "How often the monitor should run",
- }),
- url: z.string().url().openapi({
- example: "https://www.documenso.co",
- description: "The url to monitor",
- }),
- regions: regionInput.openapi({
- example: "ams",
- description: "The regions where we should monitor your endpoint",
- }),
- name: z.string().openapi({
- example: "Documenso",
- description: "The name of the monitor",
- }),
- description: z.string().openapi({
- example: "Documenso website",
- description: "The description of your monitor",
- }),
- method: z.enum(monitorMethods).default("GET").openapi({ example: "GET" }),
- body: z.string().openapi({
- example: "Hello World",
- description: "The body of your request",
- }),
- active: z.boolean().default(false).openapi({
- description: "If the monitor is active",
- }),
- public: z.boolean().default(false).openapi({
- description: "If the monitor is public",
- }),
- headers: z
- .preprocess(
- (val) => {
- if (val) {
- return val;
- }
- return [];
- },
- z.array(z.object({ key: z.string(), value: z.string() })).default([]),
- )
- .openapi({
- description: "The headers of your request",
- example: [{ key: "x-apikey", value: "supersecrettoken" }],
- }),
- })
- .openapi({
- required: ["periodicity", "url", "regions", "method"],
- });
-
-const monitorApi = new OpenAPIHono<{ Variables: Variables }>();
-
-const getAllRoute = createRoute({
- method: "get",
- tags: ["monitor"],
- description: "Get all monitors",
- path: "/",
- request: {},
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.array(MonitorSchema),
- },
- },
- description: "All the monitors",
- },
- 404: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Not found",
- },
- 401: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-monitorApi.openapi(getAllRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
-
- const _monitor = await db
- .select()
- .from(monitor)
- .where(eq(monitor.workspaceId, workspaceId))
- .all();
-
- if (!_monitor) return c.json({ code: 404, message: "Not Found" }, 404);
-
- const data = z.array(MonitorSchema).parse(_monitor);
-
- return c.json(data);
-});
-
-const getRoute = createRoute({
- method: "get",
- tags: ["monitor"],
- description: "Get a monitor",
- path: "/:id",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: MonitorSchema,
- },
- },
- description: "The monitor",
- },
- 401: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- 404: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-monitorApi.openapi(getRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const monitorId = Number(id);
- const _monitor = await db
- .select()
- .from(monitor)
- .where(eq(monitor.id, monitorId))
- .get();
-
- if (!_monitor) return c.json({ code: 404, message: "Not Found" }, 404);
-
- if (workspaceId !== _monitor.workspaceId)
- return c.json({ code: 401, message: "Unauthorized" }, 401);
-
- const data = MonitorSchema.parse(_monitor);
-
- return c.json(data);
-});
-
-const postRoute = createRoute({
- method: "post",
- tags: ["monitor"],
- description: "Create a monitor",
- path: "/",
- request: {
- body: {
- description: "The monitor to create",
- content: {
- "application/json": {
- schema: monitorInput,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: MonitorSchema,
- },
- },
- description: "Create a monitor",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- 403: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-monitorApi.openapi(postRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const workspacePlan = c.get("workspacePlan");
- const input = c.req.valid("json");
-
- const count = (
- await db
- .select({ count: sql<number>`count(*)` })
- .from(monitor)
- .where(
- and(
- eq(monitor.workspaceId, Number(workspaceId)),
- isNull(monitor.deletedAt),
- ),
- )
- .all()
- )[0].count;
-
- if (count >= workspacePlan.limits.monitors)
- return c.json({ code: 403, message: "Forbidden" }, 403);
- if (!workspacePlan.limits.periodicity.includes(input.periodicity))
- return c.json({ code: 403, message: "Forbidden" }, 403);
-
- const { headers, ...rest } = input;
- const _newMonitor = await db
- .insert(monitor)
- .values({
- ...rest,
- workspaceId: workspaceId,
- headers: input.headers ? JSON.stringify(input.headers) : undefined,
- })
- .returning()
- .get();
-
- const data = MonitorSchema.parse(_newMonitor);
-
- if (env.JITSU_WRITE_KEY) {
- trackAnalytics({
- event: "Monitor Created",
- url: input.url,
- periodicity: input.periodicity,
- api: true,
- workspaceId: String(workspaceId),
- });
- }
- return c.json(data);
-});
-
-const putRoute = createRoute({
- method: "put",
- tags: ["monitor"],
- description: "Update a monitor",
- path: "/:id",
- request: {
- params: ParamsSchema,
- body: {
- description: "The monitor to update",
- content: {
- "application/json": {
- schema: monitorInput,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: MonitorSchema,
- },
- },
- description: "Update a monitor",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-monitorApi.openapi(putRoute, async (c) => {
- const input = c.req.valid("json");
- const workspaceId = Number(c.get("workspaceId"));
- const workspacePlan = c.get("workspacePlan");
- const { id } = c.req.valid("param");
-
- if (!id) return c.json({ code: 400, message: "Bad Request" }, 400);
-
- if (!workspacePlan.limits.periodicity.includes(input.periodicity))
- return c.json({ code: 403, message: "Forbidden" }, 403);
-
- const _monitor = await db
- .select()
- .from(monitor)
- .where(eq(monitor.id, Number(id)))
- .get();
-
- if (!_monitor) return c.json({ code: 404, message: "Not Found" }, 404);
-
- if (workspaceId !== _monitor.workspaceId)
- return c.json({ code: 401, message: "Unauthorized" }, 401);
-
- const { headers, ...rest } = input;
- const _newMonitor = await db
- .update(monitor)
- .set({
- ...rest,
- headers: input.headers ? JSON.stringify(input.headers) : undefined,
- })
- .returning()
- .get();
-
- const data = MonitorSchema.parse(_newMonitor);
-
- return c.json(data);
-});
-
-const deleteRoute = createRoute({
- method: "delete",
- tags: ["monitor"],
- description: "Delete a monitor",
- path: "/:id",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.object({
- message: z.string().openapi({
- example: "Deleted",
- }),
- }),
- },
- },
- description: "Delete the monitor",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-monitorApi.openapi(deleteRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const monitorId = Number(id);
- const _monitor = await db
- .select()
- .from(monitor)
- .where(eq(monitor.id, monitorId))
- .get();
-
- if (!_monitor) return c.json({ code: 404, message: "Not Found" }, 404);
-
- if (workspaceId !== _monitor.workspaceId)
- return c.json({ code: 401, message: "Unauthorized" }, 401);
-
- await db
- .update(monitor)
- .set({ active: false, deletedAt: new Date() })
- .where(eq(monitor.id, monitorId))
- .run();
- return c.json({ message: "Deleted" });
-});
-
-const dailyStatsSchema = z.object({
- ok: z.number().int().openapi({
- description: "The number of ok responses",
- }),
- count: z
- .number()
- .int()
- .openapi({ description: "The total number of request" }),
- day: isoDate,
-});
-
-const dailyStatsSchemaArray = z
- .array(dailyStatsSchema)
- .openapi({ description: "The daily stats" });
-
-const getMonitorStats = createRoute({
- method: "get",
- tags: ["monitor"],
- description: "Get monitor daily summary",
- path: "/:id/summary",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.object({
- data: dailyStatsSchemaArray,
- }),
- },
- },
- description: "All the historical metrics",
- },
- 404: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Not found",
- },
- 401: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-monitorApi.openapi(getMonitorStats, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const monitorId = Number(id);
- const _monitor = await db
- .select()
- .from(monitor)
- .where(eq(monitor.id, monitorId))
- .get();
-
- if (!_monitor) return c.json({ code: 404, message: "Not Found" }, 404);
-
- if (workspaceId !== _monitor.workspaceId)
- return c.json({ code: 401, message: "Unauthorized" }, 401);
-
- const cache = await redis.get<z.infer<typeof dailyStatsSchemaArray>>(
- `${monitorId}-daily-stats`,
- );
- if (cache) {
- console.log("fetching from cache");
- return c.json({
- data: cache,
- });
- }
-
- // FIXME: we should use the OSTinybird client
- console.log("fetching from tinybird");
- const res = await tb.endpointStatusPeriod("45d")({
- monitorId: String(monitorId),
- });
-
- await redis.set(`${monitorId}-daily-stats`, res, { ex: 600 });
-
- return c.json({ data: res });
-});
-
-export { monitorApi };
diff --git a/apps/server/src/v1/monitors/delete.ts b/apps/server/src/v1/monitors/delete.ts
new file mode 100644
index 000000000..21feb562e
--- /dev/null
+++ b/apps/server/src/v1/monitors/delete.ts
@@ -0,0 +1,61 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { db, eq } from "@openstatus/db";
+import { monitor } from "@openstatus/db/src/schema";
+
+import { ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { monitorsApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const deleteRoute = createRoute({
+ method: "delete",
+ tags: ["monitor"],
+ description: "Delete a monitor",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.object({}),
+ },
+ },
+ description: "Delete the monitor",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerDeleteMonitor(app: typeof monitorsApi) {
+ return app.openapi(deleteRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _monitor = await db
+ .select()
+ .from(monitor)
+ .where(eq(monitor.id, Number(id)))
+ .get();
+
+ if (!_monitor) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ if (Number(workspaceId) !== _monitor.workspaceId) {
+ throw new HTTPException(401, { message: "Unauthorized" });
+ }
+
+ await db
+ .update(monitor)
+ .set({ active: false, deletedAt: new Date() })
+ .where(eq(monitor.id, Number(id)))
+ .run();
+
+ // FIXME: Remove all relations of the monitor from all notifications, pages,....
+
+ return c.json({});
+ });
+}
diff --git a/apps/server/src/v1/monitors/get.ts b/apps/server/src/v1/monitors/get.ts
new file mode 100644
index 000000000..7b58e1167
--- /dev/null
+++ b/apps/server/src/v1/monitors/get.ts
@@ -0,0 +1,57 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, db, eq, isNull } from "@openstatus/db";
+import { monitor } from "@openstatus/db/src/schema";
+
+import type { monitorsApi } from "./index";
+import { MonitorSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const getRoute = createRoute({
+ method: "get",
+ tags: ["monitor"],
+ description: "Get a monitor",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: MonitorSchema,
+ },
+ },
+ description: "The monitor",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetMonitor(api: typeof monitorsApi) {
+ return api.openapi(getRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _monitor = await db
+ .select()
+ .from(monitor)
+ .where(
+ and(
+ eq(monitor.id, Number(id)),
+ eq(monitor.workspaceId, Number(workspaceId)),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .get();
+
+ if (!_monitor) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = MonitorSchema.parse(_monitor);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/monitors/get_all.ts b/apps/server/src/v1/monitors/get_all.ts
new file mode 100644
index 000000000..283933fc0
--- /dev/null
+++ b/apps/server/src/v1/monitors/get_all.ts
@@ -0,0 +1,53 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, db, eq, isNull } from "@openstatus/db";
+import { monitor } from "@openstatus/db/src/schema";
+
+import type { monitorsApi } from "./index";
+import { MonitorSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const getAllRoute = createRoute({
+ method: "get",
+ tags: ["monitor"],
+ description: "Get all monitors",
+ path: "/",
+ request: {},
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.array(MonitorSchema),
+ },
+ },
+ description: "All the monitors",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetAllMonitors(app: typeof monitorsApi) {
+ return app.openapi(getAllRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+
+ const _monitors = await db
+ .select()
+ .from(monitor)
+ .where(
+ and(
+ eq(monitor.workspaceId, Number(workspaceId)),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .all();
+
+ if (!_monitors) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = z.array(MonitorSchema).parse(_monitors);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/monitors/index.ts b/apps/server/src/v1/monitors/index.ts
new file mode 100644
index 000000000..1ad342c96
--- /dev/null
+++ b/apps/server/src/v1/monitors/index.ts
@@ -0,0 +1,23 @@
+import { OpenAPIHono } from "@hono/zod-openapi";
+
+import type { Variables } from "../index";
+import { registerGetAllMonitors } from "./get_all";
+import { registerGetMonitor } from "./get";
+import { registerPutMonitor } from "./put";
+import { registerDeleteMonitor } from "./delete";
+import { registerGetMonitorSummary } from "./summary/get";
+import { registerPostMonitor } from "./post";
+import { handleZodError } from "../../libs/errors";
+
+const monitorsApi = new OpenAPIHono<{ Variables: Variables }>({
+ defaultHook: handleZodError,
+});
+
+registerGetAllMonitors(monitorsApi);
+registerGetMonitor(monitorsApi);
+registerPutMonitor(monitorsApi);
+registerDeleteMonitor(monitorsApi);
+registerGetMonitorSummary(monitorsApi);
+registerPostMonitor(monitorsApi);
+
+export { monitorsApi };
diff --git a/apps/server/src/v1/monitor.test.ts b/apps/server/src/v1/monitors/monitors.test.ts
similarity index 88%
rename from apps/server/src/v1/monitor.test.ts
rename to apps/server/src/v1/monitors/monitors.test.ts
index b0220a892..dfed05084 100644
--- a/apps/server/src/v1/monitor.test.ts
+++ b/apps/server/src/v1/monitors/monitors.test.ts
@@ -1,6 +1,7 @@
import { expect, test } from "bun:test";
-import { api } from ".";
+import { api } from "../index";
+import type { MonitorSchema } from "./schema";
test("GET one monitor", async () => {
const res = await api.request("/monitor/1", {
@@ -8,9 +9,10 @@ test("GET one monitor", async () => {
"x-openstatus-key": "1",
},
});
- expect(res.status).toBe(200);
+ const json = await res.json();
- expect(await res.json()).toMatchObject({
+ expect(res.status).toBe(200);
+ expect(json).toMatchObject({
id: 1,
periodicity: "1m",
url: "https://www.openstatus.dev",
@@ -31,8 +33,10 @@ test("GET all monitor", async () => {
"x-openstatus-key": "1",
},
});
+ const json = (await res.json()) as MonitorSchema[];
+
expect(res.status).toBe(200);
- expect((await res.json())[0]).toMatchObject({
+ expect(json[0]).toMatchObject({
id: 1,
periodicity: "1m",
url: "https://www.openstatus.dev",
@@ -60,6 +64,7 @@ test("Create a monitor", async () => {
active: true,
public: true,
};
+
const res = await api.request("/monitor", {
method: "POST",
headers: {
@@ -68,20 +73,12 @@ test("Create a monitor", async () => {
},
body: JSON.stringify(data),
});
+
expect(res.status).toBe(200);
expect(await res.json()).toMatchObject({
id: expect.any(Number),
- periodicity: "10m",
- url: "https://www.openstatus.dev",
- regions: ["ams", "gru"],
- name: "OpenStatus",
- description: "OpenStatus website",
- method: "POST",
- body: '{"hello":"world"}',
- headers: [{ key: "key", value: "value" }],
- active: true,
- public: true,
+ ...data,
});
});
@@ -129,14 +126,8 @@ test("Create a monitor with invalid data should return 403", async () => {
},
body: JSON.stringify(data),
});
+
expect(res.status).toBe(400);
- expect(await res.json()).toMatchObject({
- error: {
- issues: expect.any(Array),
- name: "ZodError",
- },
- success: false,
- });
});
test("Update a Monitor ", async () => {
@@ -202,11 +193,6 @@ test("Update a monitor not in db should return 404", async () => {
body: JSON.stringify(data),
});
expect(res.status).toBe(404);
-
- expect(await res.json()).toMatchObject({
- code: 404,
- message: "Not Found",
- });
});
test("Update a monitor without auth key should return 401", async () => {
@@ -252,14 +238,8 @@ test("Update a monitor with invalid data should return 403", async () => {
},
body: JSON.stringify(data),
});
+
expect(res.status).toBe(400);
- expect(await res.json()).toMatchObject({
- error: {
- issues: expect.any(Array),
- name: "ZodError",
- },
- success: false,
- });
});
test("Delete one monitor", async () => {
@@ -271,9 +251,7 @@ test("Delete one monitor", async () => {
});
expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
- message: "Deleted",
- });
+ expect(await res.json()).toMatchObject({});
});
test.todo("Get monitor daily Summary");
diff --git a/apps/server/src/v1/monitors/post.ts b/apps/server/src/v1/monitors/post.ts
new file mode 100644
index 000000000..e0be1a8ee
--- /dev/null
+++ b/apps/server/src/v1/monitors/post.ts
@@ -0,0 +1,96 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { trackAnalytics } from "@openstatus/analytics";
+import { and, db, eq, isNull, sql } from "@openstatus/db";
+import { monitor } from "@openstatus/db/src/schema";
+
+import type { monitorsApi } from "./index";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { MonitorSchema } from "./schema";
+import { env } from "../../env";
+import { HTTPException } from "hono/http-exception";
+
+const postRoute = createRoute({
+ method: "post",
+ tags: ["monitor"],
+ description: "Create a monitor",
+ path: "/",
+ request: {
+ body: {
+ description: "The monitor to create",
+ content: {
+ "application/json": {
+ schema: MonitorSchema.omit({ id: true }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: MonitorSchema,
+ },
+ },
+ description: "Create a monitor",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPostMonitor(api: typeof monitorsApi) {
+ return api.openapi(postRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+ const input = c.req.valid("json");
+
+ const count = (
+ await db
+ .select({ count: sql<number>`count(*)` })
+ .from(monitor)
+ .where(
+ and(
+ eq(monitor.workspaceId, Number(workspaceId)),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .all()
+ )[0].count;
+
+ if (count >= workspacePlan.limits.monitors) {
+ throw new HTTPException(403, {
+ message: "Upgrade for more monitors",
+ });
+ }
+
+ if (!workspacePlan.limits.periodicity.includes(input.periodicity)) {
+ throw new HTTPException(403, { message: "Forbidden" });
+ }
+
+ const { headers, regions, ...rest } = input;
+ const _newMonitor = await db
+ .insert(monitor)
+ .values({
+ ...rest,
+ workspaceId: Number(workspaceId),
+ regions: regions ? regions.join(",") : undefined,
+ headers: input.headers ? JSON.stringify(input.headers) : undefined,
+ })
+ .returning()
+ .get();
+
+ if (env.JITSU_WRITE_KEY) {
+ trackAnalytics({
+ event: "Monitor Created",
+ url: input.url,
+ periodicity: input.periodicity,
+ api: true,
+ workspaceId: String(workspaceId),
+ });
+ }
+
+ const data = MonitorSchema.parse(_newMonitor);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/monitors/put.ts b/apps/server/src/v1/monitors/put.ts
new file mode 100644
index 000000000..6af2be5e8
--- /dev/null
+++ b/apps/server/src/v1/monitors/put.ts
@@ -0,0 +1,81 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { db, eq } from "@openstatus/db";
+import { monitor } from "@openstatus/db/src/schema";
+
+import { MonitorSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { monitorsApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const putRoute = createRoute({
+ method: "put",
+ tags: ["monitor"],
+ description: "Update a monitor",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ body: {
+ description: "The monitor to update",
+ content: {
+ "application/json": {
+ schema: MonitorSchema.omit({ id: true }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: MonitorSchema,
+ },
+ },
+ description: "Update a monitor",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPutMonitor(api: typeof monitorsApi) {
+ return api.openapi(putRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+ const { id } = c.req.valid("param");
+ const input = c.req.valid("json");
+
+ if (!workspacePlan.limits.periodicity.includes(input.periodicity)) {
+ throw new HTTPException(403, { message: "Forbidden" });
+ }
+
+ const _monitor = await db
+ .select()
+ .from(monitor)
+ .where(eq(monitor.id, Number(id)))
+ .get();
+
+ if (!_monitor) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ if (Number(workspaceId) !== _monitor.workspaceId) {
+ throw new HTTPException(401, { message: "Unauthorized" });
+ }
+
+ const { headers, regions, ...rest } = input;
+
+ const _newMonitor = await db
+ .update(monitor)
+ .set({
+ ...rest,
+ regions: regions ? regions.join(",") : undefined,
+ headers: input.headers ? JSON.stringify(input.headers) : undefined,
+ })
+ .returning()
+ .get();
+
+ const data = MonitorSchema.parse(_newMonitor);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/monitors/schema.ts b/apps/server/src/v1/monitors/schema.ts
new file mode 100644
index 000000000..3b1b66df8
--- /dev/null
+++ b/apps/server/src/v1/monitors/schema.ts
@@ -0,0 +1,120 @@
+import { z } from "@hono/zod-openapi";
+
+import {
+ flyRegions,
+ monitorMethods,
+ monitorPeriodicitySchema,
+} from "@openstatus/db/src/schema";
+import { ZodError } from "zod";
+
+export const ParamsSchema = z.object({
+ id: z
+ .string()
+ .min(1)
+ .openapi({
+ param: {
+ name: "id",
+ in: "path",
+ },
+ description: "The id of the monitor",
+ example: "1",
+ }),
+});
+
+export const MonitorSchema = z
+ .object({
+ id: z.number().openapi({
+ example: 123,
+ description: "The id of the monitor",
+ }),
+ periodicity: monitorPeriodicitySchema.openapi({
+ example: "1m",
+ description: "How often the monitor should run",
+ }),
+ url: z.string().url().openapi({
+ example: "https://www.documenso.co",
+ description: "The url to monitor",
+ }),
+ regions: z
+ .preprocess((val) => {
+ try {
+ if (Array.isArray(val)) return val;
+ if (String(val).length > 0) {
+ return String(val).split(",");
+ }
+ return [];
+ } catch (e) {
+ throw new ZodError([
+ {
+ code: "custom",
+ path: ["headers"],
+ message: e instanceof Error ? e.message : "Invalid value",
+ },
+ ]);
+ }
+ }, z.array(z.enum(flyRegions)))
+ .default([])
+ .openapi({
+ example: ["ams"],
+ description: "Where we should monitor it",
+ }),
+ name: z.string().openapi({
+ example: "Documenso",
+ description: "The name of the monitor",
+ }),
+ description: z
+ .string()
+ .openapi({
+ example: "Documenso website",
+ description: "The description of your monitor",
+ })
+ .optional(),
+ method: z.enum(monitorMethods).default("GET").openapi({ example: "GET" }),
+ body: z
+ .preprocess((val) => {
+ return String(val);
+ }, z.string())
+ .nullish()
+ .default("")
+ .openapi({
+ example: "Hello World",
+ description: "The body",
+ }),
+ headers: z
+ .preprocess((val) => {
+ try {
+ if (Array.isArray(val)) return val;
+ if (String(val).length > 0) {
+ return JSON.parse(String(val));
+ }
+ return [];
+ } catch (e) {
+ throw new ZodError([
+ {
+ code: "custom",
+ path: ["headers"],
+ message: e instanceof Error ? e.message : "Invalid value",
+ },
+ ]);
+ }
+ }, z.array(z.object({ key: z.string(), value: z.string() })).default([]))
+ .nullish()
+ .openapi({
+ description: "The headers of your request",
+ example: [{ key: "x-apikey", value: "supersecrettoken" }],
+ }),
+ active: z
+ .boolean()
+ .default(false)
+ .openapi({ description: "If the monitor is active" }),
+ public: z
+ .boolean()
+ .default(false)
+ .openapi({ description: "If the monitor is public" }),
+ })
+ .openapi({
+ description: "The monitor",
+ required: ["periodicity", "url", "regions", "method"],
+ });
+
+export type MonitorSchema = z.infer<typeof MonitorSchema>;
diff --git a/apps/server/src/v1/monitors/summary/get.ts b/apps/server/src/v1/monitors/summary/get.ts
new file mode 100644
index 000000000..9110b98ac
--- /dev/null
+++ b/apps/server/src/v1/monitors/summary/get.ts
@@ -0,0 +1,97 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, db, eq, isNull } from "@openstatus/db";
+import { monitor } from "@openstatus/db/src/schema";
+import { OSTinybird } from "@openstatus/tinybird";
+import { Redis } from "@openstatus/upstash";
+
+import { isoDate } from "../../utils";
+import { env } from "../../../env";
+import { ParamsSchema } from "../schema";
+import { openApiErrorResponses } from "../../../libs/errors/openapi-error-responses";
+import type { monitorsApi } from "../index";
+import { HTTPException } from "hono/http-exception";
+
+const tb = new OSTinybird({ token: env.TINY_BIRD_API_KEY });
+const redis = Redis.fromEnv();
+
+const dailyStatsSchema = z.object({
+ ok: z.number().int().openapi({
+ description: "The number of ok responses",
+ }),
+ count: z
+ .number()
+ .int()
+ .openapi({ description: "The total number of request" }),
+ day: isoDate,
+});
+
+const dailyStatsSchemaArray = z
+ .array(dailyStatsSchema)
+ .openapi({ description: "The daily stats" });
+
+const getMonitorStats = createRoute({
+ method: "get",
+ tags: ["monitor"],
+ description: "Get monitor daily summary",
+ path: "/:id/summary",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.object({
+ data: dailyStatsSchemaArray,
+ }),
+ },
+ },
+ description: "All the historical metrics",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetMonitorSummary(api: typeof monitorsApi) {
+ return api.openapi(getMonitorStats, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _monitor = await db
+ .select()
+ .from(monitor)
+ .where(
+ and(
+ eq(monitor.id, Number(id)),
+ eq(monitor.workspaceId, Number(workspaceId)),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .get();
+
+ if (!_monitor) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const cache = await redis.get<z.infer<typeof dailyStatsSchemaArray>>(
+ `${id}-daily-stats`
+ );
+ if (cache) {
+ console.log("fetching from cache");
+ return c.json({
+ data: cache,
+ });
+ }
+
+ // FIXME: we should use the OSTinybird client
+ console.log("fetching from tinybird");
+ const res = await tb.endpointStatusPeriod("45d")({
+ monitorId: id,
+ });
+
+ await redis.set(`${id}-daily-stats`, res, { ex: 600 });
+
+ return c.json({ data: res });
+ });
+}
diff --git a/apps/server/src/v1/notification.ts b/apps/server/src/v1/notification.ts
deleted file mode 100644
index acac5ec8e..000000000
--- a/apps/server/src/v1/notification.ts
+++ /dev/null
@@ -1,289 +0,0 @@
-import { OpenAPIHono, createRoute, z } from "@hono/zod-openapi";
-import isEmail from "validator/lib/isEmail";
-import isMobilePhone from "validator/lib/isMobilePhone";
-
-import { and, db, eq, inArray } from "@openstatus/db";
-import {
- NotificationDataSchema,
- monitor,
- notification,
- notificationProvider,
- notificationsToMonitors,
- page,
- selectNotificationSchema,
-} from "@openstatus/db/src/schema";
-
-import type { Variables } from ".";
-import { ErrorSchema } from "./shared";
-
-const notificationApi = new OpenAPIHono<{ Variables: Variables }>();
-
-const ParamsSchema = z.object({
- id: z
- .string()
- .min(1)
- .openapi({
- param: {
- name: "id",
- in: "path",
- },
- description: "The id of the notification",
- example: "1",
- }),
-});
-
-const NotificationSchema = z.object({
- id: z
- .number()
- .openapi({ description: "The id of the notification", example: 1 }),
- name: z.string().openapi({
- description: "The name of the notification",
- example: "OpenStatus Discord",
- }),
- provider: z.enum(notificationProvider).openapi({
- description: "The provider of the notification",
- example: "discord",
- }),
- payload: NotificationDataSchema.openapi({
- description: "The data of the notification",
- }),
- monitors: z
- .array(z.number())
- .openapi({
- description: "The monitors that the notification is linked to",
- example: [1, 2],
- })
- .nullish(),
-});
-
-const CreateNotificationSchema = z.object({
- name: z.string().openapi({
- description: "The name of the notification",
- example: "OpenStatus Discord",
- }),
- provider: z.enum(notificationProvider).openapi({
- description: "The provider of the notification",
- example: "discord",
- }),
- payload: NotificationDataSchema.openapi({
- description: "The data of the notification",
- }),
- monitors: z
- .array(z.number())
- .openapi({
- description: "The monitors that the notification is linked to",
- example: [1, 2],
- })
- .nullish(),
-});
-
-const getAllRoute = createRoute({
- method: "get",
- tags: ["notification"],
- description: "Get a notification",
- path: "/",
-
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.array(NotificationSchema),
- },
- },
- description: "Get all your workspace notification",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-notificationApi.openapi(getAllRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
-
- const result = await db
- .select()
- .from(notification)
- .where(and(eq(page.workspaceId, workspaceId)))
- .all();
-
- if (!result) return c.json({ code: 404, message: "Not Found" }, 404);
- const data = [];
-
- for (const r of result) {
- const linkedMonitors = await db
- .select()
- .from(notificationsToMonitors)
- .where(eq(notificationsToMonitors.notificationId, r.id))
- .all();
-
- const monitorsId = linkedMonitors.map((m) => m.monitorId);
-
- const p = NotificationSchema.parse({
- ...result,
- payload: JSON.parse(r.data || "{}"),
- monitors: monitorsId,
- });
- data.push(p);
- }
-
- return c.json(data);
-});
-
-const getRoute = createRoute({
- method: "get",
- tags: ["notification"],
- description: "Get a notification",
- path: "/:id",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: NotificationSchema,
- },
- },
- description: "Get an Status page",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-notificationApi.openapi(getRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const notificationId = Number(id);
- const result = await db
- .select()
- .from(notification)
- .where(
- and(
- eq(page.workspaceId, workspaceId),
- eq(notification.id, notificationId),
- ),
- )
- .get();
-
- if (!result) return c.json({ code: 404, message: "Not Found" }, 404);
- const linkedMonitors = await db
- .select()
- .from(notificationsToMonitors)
- .where(eq(notificationsToMonitors.notificationId, notificationId))
- .all();
-
- const monitorsId = linkedMonitors.map((m) => m.monitorId);
-
- const data = NotificationSchema.parse({
- ...result,
- payload: JSON.parse(result.data || "{}"),
- monitors: monitorsId,
- });
-
- return c.json(data);
-});
-
-const postRoute = createRoute({
- method: "post",
- tags: ["page"],
- description: "Create a notification",
- path: "/",
- request: {
- body: {
- description: "The notification to create",
- content: {
- "application/json": {
- schema: CreateNotificationSchema,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: NotificationSchema,
- },
- },
- description: "Return the created notification",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-notificationApi.openapi(postRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const workspacePlan = c.get("workspacePlan");
- const input = c.req.valid("json");
- if (input.provider === "sms" && workspacePlan.title === "free") {
- return c.json({ code: 403, message: "Forbidden" }, 403);
- }
-
- const { payload, monitors, ...rest } = input;
- if (monitors) {
- const monitorsData = await db
- .select()
- .from(monitor)
- .where(
- and(
- inArray(monitor.id, monitors),
- eq(monitor.workspaceId, workspaceId),
- ),
- )
- .all();
- if (monitorsData.length !== monitors.length)
- return c.json({ code: 400, message: "Monitor not found" }, 400);
- }
-
- const newNotif = await db
- .insert(notification)
- .values({
- workspaceId,
- ...rest,
- data: JSON.stringify(payload),
- })
- .returning()
- .get();
-
- console.log(newNotif);
- if (monitors) {
- for (const monitorId of monitors) {
- await db
- .insert(notificationsToMonitors)
- .values({ notificationId: newNotif.id, monitorId })
- .run();
- }
- }
- const d = selectNotificationSchema.parse(newNotif);
-
- const p = NotificationDataSchema.parse(JSON.parse(d.data));
- const data = NotificationSchema.parse({
- ...newNotif,
- monitors: monitors,
- payload: p,
- });
- return c.json(data);
-});
-
-export { notificationApi };
diff --git a/apps/server/src/v1/notifications/get.ts b/apps/server/src/v1/notifications/get.ts
new file mode 100644
index 000000000..5d0a339b7
--- /dev/null
+++ b/apps/server/src/v1/notifications/get.ts
@@ -0,0 +1,71 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, db, eq } from "@openstatus/db";
+import {
+ notification,
+ notificationsToMonitors,
+ page,
+} from "@openstatus/db/src/schema";
+import { NotificationSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { notificationsApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const getRoute = createRoute({
+ method: "get",
+ tags: ["notification"],
+ description: "Get a notification",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: NotificationSchema,
+ },
+ },
+ description: "Get an Status page",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetNotification(api: typeof notificationsApi) {
+ return api.openapi(getRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _notification = await db
+ .select()
+ .from(notification)
+ .where(
+ and(
+ eq(page.workspaceId, Number(workspaceId)),
+ eq(notification.id, Number(id)),
+ ),
+ )
+ .get();
+
+ if (!_notification) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const linkedMonitors = await db
+ .select()
+ .from(notificationsToMonitors)
+ .where(eq(notificationsToMonitors.notificationId, Number(id)))
+ .all();
+
+ const monitors = linkedMonitors.map((m) => m.monitorId);
+
+ const data = NotificationSchema.parse({
+ ..._notification,
+ payload: JSON.parse(_notification.data || "{}"),
+ monitors,
+ });
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/notifications/get_all.ts b/apps/server/src/v1/notifications/get_all.ts
new file mode 100644
index 000000000..7316dea7c
--- /dev/null
+++ b/apps/server/src/v1/notifications/get_all.ts
@@ -0,0 +1,69 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, db, eq } from "@openstatus/db";
+import {
+ notification,
+ notificationsToMonitors,
+ page,
+} from "@openstatus/db/src/schema";
+import { NotificationSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { notificationsApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const getAllRoute = createRoute({
+ method: "get",
+ tags: ["notification"],
+ description: "Get a notification",
+ path: "/",
+
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.array(NotificationSchema),
+ },
+ },
+ description: "Get all your workspace notification",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetAllNotifications(app: typeof notificationsApi) {
+ return app.openapi(getAllRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+
+ const _incidents = await db
+ .select()
+ .from(notification)
+ .where(and(eq(page.workspaceId, Number(workspaceId))))
+ .all();
+
+ if (!_incidents) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = [];
+
+ for (const _incident of _incidents) {
+ const linkedMonitors = await db
+ .select()
+ .from(notificationsToMonitors)
+ .where(eq(notificationsToMonitors.notificationId, _incident.id))
+ .all();
+
+ const monitors = linkedMonitors.map((m) => m.monitorId);
+
+ const p = NotificationSchema.parse({
+ ..._incidents,
+ payload: JSON.parse(_incident.data || "{}"),
+ monitors,
+ });
+
+ data.push(p);
+ }
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/notifications/index.ts b/apps/server/src/v1/notifications/index.ts
new file mode 100644
index 000000000..4ca08dd2f
--- /dev/null
+++ b/apps/server/src/v1/notifications/index.ts
@@ -0,0 +1,15 @@
+import { OpenAPIHono } from "@hono/zod-openapi";
+
+import type { Variables } from "../index";
+import { registerGetAllNotifications } from "./get_all";
+import { registerGetNotification } from "./get";
+import { registerPostNotification } from "./post";
+import { handleZodError } from "../../libs/errors";
+
+export const notificationsApi = new OpenAPIHono<{ Variables: Variables }>({
+ defaultHook: handleZodError,
+});
+
+registerGetAllNotifications(notificationsApi);
+registerGetNotification(notificationsApi);
+registerPostNotification(notificationsApi);
diff --git a/apps/server/src/v1/notification.test.ts b/apps/server/src/v1/notifications/notifications.test.ts
similarity index 82%
rename from apps/server/src/v1/notification.test.ts
rename to apps/server/src/v1/notifications/notifications.test.ts
index b55b655e3..0d6387749 100644
--- a/apps/server/src/v1/notification.test.ts
+++ b/apps/server/src/v1/notifications/notifications.test.ts
@@ -1,7 +1,6 @@
import { expect, test } from "bun:test";
-import { api } from ".";
-import { iso8601Regex } from "./test-utils";
+import { api } from "../index";
test("Create a notification", async () => {
const data = {
@@ -17,9 +16,12 @@ test("Create a notification", async () => {
},
body: JSON.stringify(data),
});
+
+ const json = await res.json();
+
expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
+ expect(json).toMatchObject({
id: expect.any(Number),
provider: "email",
payload: { email: "[email protected]" },
diff --git a/apps/server/src/v1/notifications/post.ts b/apps/server/src/v1/notifications/post.ts
new file mode 100644
index 000000000..cba2a6935
--- /dev/null
+++ b/apps/server/src/v1/notifications/post.ts
@@ -0,0 +1,118 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, db, eq, inArray, isNull, sql } from "@openstatus/db";
+import {
+ NotificationDataSchema,
+ monitor,
+ notification,
+ notificationsToMonitors,
+ selectNotificationSchema,
+} from "@openstatus/db/src/schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { NotificationSchema } from "./schema";
+import type { notificationsApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const postRoute = createRoute({
+ method: "post",
+ tags: ["notification"],
+ description: "Create a notification",
+ path: "/",
+ request: {
+ body: {
+ description: "The notification to create",
+ content: {
+ "application/json": {
+ schema: NotificationSchema.omit({ id: true }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: NotificationSchema,
+ },
+ },
+ description: "Return the created notification",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPostNotification(api: typeof notificationsApi) {
+ return api.openapi(postRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+ const input = c.req.valid("json");
+
+ if (input.provider === "sms" && workspacePlan.title === "Hobby") {
+ throw new HTTPException(403, { message: "Upgrade for SMS" });
+ }
+
+ const count = (
+ await db
+ .select({ count: sql<number>`count(*)` })
+ .from(notification)
+ .where(eq(notification.workspaceId, Number(workspaceId)))
+ .all()
+ )[0].count;
+
+ if (count >= workspacePlan.limits["notification-channels"]) {
+ throw new HTTPException(403, {
+ message: "Upgrade for more notification channels",
+ });
+ }
+
+ const { payload, monitors, ...rest } = input;
+
+ if (monitors?.length) {
+ const _monitors = await db
+ .select()
+ .from(monitor)
+ .where(
+ and(
+ inArray(monitor.id, monitors),
+ eq(monitor.workspaceId, Number(workspaceId)),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .all();
+
+ if (_monitors.length !== monitors.length) {
+ throw new HTTPException(400, { message: "Monitor not found" });
+ }
+ }
+
+ const _notification = await db
+ .insert(notification)
+ .values({
+ ...rest,
+ workspaceId: Number(workspaceId),
+ data: JSON.stringify(payload),
+ })
+ .returning()
+ .get();
+
+ if (monitors?.length) {
+ for (const monitorId of monitors) {
+ await db
+ .insert(notificationsToMonitors)
+ .values({ notificationId: _notification.id, monitorId })
+ .run();
+ }
+ }
+
+ // FIXME: too complex
+ const d = selectNotificationSchema.parse(_notification);
+
+ const _payload = NotificationDataSchema.parse(JSON.parse(d.data));
+ const data = NotificationSchema.parse({
+ ..._notification,
+ monitors,
+ payload: _payload,
+ });
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/notifications/schema.ts b/apps/server/src/v1/notifications/schema.ts
new file mode 100644
index 000000000..64ba1e295
--- /dev/null
+++ b/apps/server/src/v1/notifications/schema.ts
@@ -0,0 +1,45 @@
+import { z } from "@hono/zod-openapi";
+import {
+ NotificationDataSchema,
+ notificationProviderSchema,
+} from "@openstatus/db/src/schema";
+
+export const ParamsSchema = z.object({
+ id: z
+ .string()
+ .min(1)
+ .openapi({
+ param: {
+ name: "id",
+ in: "path",
+ },
+ description: "The id of the notification",
+ example: "1",
+ }),
+});
+
+export const NotificationSchema = z.object({
+ id: z
+ .number()
+ .openapi({ description: "The id of the notification", example: 1 }),
+ name: z.string().openapi({
+ description: "The name of the notification",
+ example: "OpenStatus Discord",
+ }),
+ provider: notificationProviderSchema.openapi({
+ description: "The provider of the notification",
+ example: "discord",
+ }),
+ payload: NotificationDataSchema.openapi({
+ description: "The data of the notification",
+ }),
+ monitors: z
+ .array(z.number())
+ .openapi({
+ description: "The monitors that the notification is linked to",
+ example: [1, 2],
+ })
+ .nullish(),
+});
+
+export type NotificationSchema = z.infer<typeof NotificationSchema>;
diff --git a/apps/server/src/v1/page.ts b/apps/server/src/v1/page.ts
deleted file mode 100644
index fa24be78f..000000000
--- a/apps/server/src/v1/page.ts
+++ /dev/null
@@ -1,696 +0,0 @@
-import { OpenAPIHono, createRoute, z } from "@hono/zod-openapi";
-
-import { and, eq, inArray, sql } from "@openstatus/db";
-import { db } from "@openstatus/db/src/db";
-import {
- monitor,
- monitorsToPages,
- page,
- pageSubscriber,
-} from "@openstatus/db/src/schema";
-import { SubscribeEmail } from "@openstatus/emails";
-import { sendEmail } from "@openstatus/emails/emails/send";
-
-import type { Variables } from ".";
-import { ErrorSchema } from "./shared";
-import { isNumberArray } from "./utils";
-
-const pageApi = new OpenAPIHono<{ Variables: Variables }>();
-
-const ParamsSchema = z.object({
- id: z
- .string()
- .min(1)
- .openapi({
- param: {
- name: "id",
- in: "path",
- },
- description: "The id of the page",
- example: "1",
- }),
-});
-
-const PageSchema = z.object({
- id: z.number().openapi({
- description: "The id of the page",
- example: 1,
- }),
- title: z.string().openapi({
- description: "The title of the page",
- example: "My Page",
- }),
- description: z.string().openapi({
- description: "The description of the page",
- example: "My awesome status page",
- }),
- slug: z.string().openapi({
- description: "The slug of the page",
- example: "my-page",
- }),
- customDomain: z
- .string()
- .openapi({
- description: "The custom domain of the page",
- example: "my-page.com",
- })
- .transform((val) => (val ? val : undefined))
- .nullish(),
-
- icon: z
- .string()
- .openapi({
- description: "The icon of the page",
- example: "https://example.com/icon.png",
- })
- .url()
- .or(z.literal(""))
- .transform((val) => (val ? val : undefined))
- .nullish(),
-
- passwordProtected: z
- .boolean()
- .openapi({
- description:
- "Make the page password protected. Used with the 'passwordProtected' property.",
- example: true,
- })
- .default(false)
- .optional(),
-
- password: z
- .string()
- .openapi({
- description: "Your password to protect the page from the publi",
- example: "hidden-password",
- })
- .optional()
- .nullish(),
-
- monitors: z
- .array(z.number())
- .openapi({
- description: "The monitors of the page as an array of ids",
- example: [1, 2],
- })
- .or(
- z.array(z.object({ monitorId: z.number(), order: z.number() })).openapi({
- description: "The monitor as object allowing to pass id and order",
- example: [
- { monitorId: 1, order: 0 },
- { monitorId: 2, order: 1 },
- ],
- })
- )
- .optional(),
-});
-
-const CreatePageSchema = z.object({
- title: z.string().openapi({
- description: "The title of the page",
- example: "My Page",
- }),
- description: z.string().openapi({
- description: "The description of the page",
- example: "My awesome status page",
- }),
- icon: z
- .string()
- .url()
- .openapi({
- description: "The icon of the page",
- example: "https://example.com/icon.png",
- })
- .optional(),
- slug: z.string().openapi({
- description: "The slug of the page",
- example: "my-page",
- }),
- customDomain: z
- .string()
- .openapi({
- description: "The custom domain of the page",
- example: "my-page.com",
- })
- .optional()
- .default(""),
- monitors: z
- .array(z.number())
- .openapi({
- description: "The monitors of the page as an array of ids",
- example: [1, 2],
- })
- .or(
- z.array(z.object({ monitorId: z.number(), order: z.number() })).openapi({
- description: "The monitor as object allowing to pass id and order",
- example: [
- { monitorId: 1, order: 0 },
- { monitorId: 2, order: 1 },
- ],
- })
- )
- .nullish(),
-
- passwordProtected: z
- .boolean()
- .openapi({
- description: "Make the page password protected",
- example: true,
- })
- .default(false)
- .optional(),
-
- password: z
- .string()
- .openapi({
- description: "Your password to protect the page from the publi",
- example: "hidden-password",
- })
- .optional()
- .nullish(),
-});
-
-const UpdatePageSchema = z.object({
- title: z
- .string()
- .openapi({
- description: "The title of the page",
- example: "My Page",
- })
- .optional(),
- description: z
- .string()
- .openapi({
- description: "The description of the page",
- example: "My awesome status page",
- })
- .optional(),
- icon: z
- .string()
- .url()
- .openapi({
- description: "The icon of the page",
- example: "https://example.com/icon.png",
- })
- .optional(),
- slug: z
- .string()
- .openapi({
- description: "The slug of the page",
- example: "my-page",
- })
- .optional(),
- customDomain: z
- .string()
- .openapi({
- description: "The custom domain of the page",
- example: "my-page.com",
- })
- .optional()
- .default(""),
- monitors: z
- .array(z.number())
- .openapi({
- description: "The monitors of the page as an array of ids",
- example: [1, 2],
- })
- .or(
- z.array(z.object({ monitorId: z.number(), order: z.number() })).openapi({
- description: "The monitor as object allowing to pass id and order",
- example: [
- { monitorId: 1, order: 0 },
- { monitorId: 2, order: 1 },
- ],
- })
- )
- .nullish(),
-
- passwordProtected: z
- .boolean()
- .openapi({
- description: "Make the page password protected",
- example: true,
- })
- .default(false)
- .optional(),
-
- password: z
- .string()
- .openapi({
- description: "Your password to protect the page from the publi",
- example: "hidden-password",
- })
- .optional()
- .nullish(),
-});
-
-const pageSubscriberSchema = z.object({
- email: z.string().email().openapi({
- description: "The email of the subscriber",
- }),
-});
-
-const postRouteSubscriber = createRoute({
- method: "post",
- tags: ["page"],
- path: "/:id/update",
- description: "Add a subscriber to a status page",
- request: {
- params: ParamsSchema,
- body: {
- description: "the subscriber payload",
- content: {
- "application/json": {
- schema: z.object({
- email: z
- .string()
- .email()
- .openapi({ description: "The email of the subscriber" }),
- }),
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: pageSubscriberSchema,
- },
- },
- description: "The user",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-pageApi.openapi(postRouteSubscriber, async (c) => {
- const input = c.req.valid("json");
- const { id } = c.req.valid("param");
- const workspaceId = Number(c.get("workspaceId"));
-
- const pageId = Number(id);
- const _page = await db
- .select()
- .from(page)
- .where(and(eq(page.id, pageId), eq(page.workspaceId, workspaceId)))
- .get();
-
- if (!_page) return c.json({ code: 401, message: "Not authorized" }, 401);
-
- const alreadySubscribed = await db
- .select()
- .from(pageSubscriber)
- .where(
- and(
- eq(pageSubscriber.email, input.email),
- eq(pageSubscriber.pageId, pageId)
- )
- )
- .get();
- if (alreadySubscribed)
- return c.json({ code: 401, message: "Already subscribed" }, 401);
-
- // TODO: send email for verification
- const token = (Math.random() + 1).toString(36).substring(10);
-
- await sendEmail({
- react: SubscribeEmail({
- domain: _page.slug,
- token: token,
- page: page.title,
- }),
- from: "OpenStatus <[email protected]>",
- to: [input.email],
- subject: "Verify your subscription",
- });
- const _statusReportSubscriberUpdate = await db
- .insert(pageSubscriber)
- .values({
- pageId: _page.id,
- email: input.email,
- token,
- expiresAt: new Date(Date.now() + 1000 * 60 * 60 * 24 * 7),
- })
- .returning()
- .get();
-
- const data = pageSubscriberSchema.parse(_statusReportSubscriberUpdate);
-
- return c.json({
- ...data,
- });
-});
-
-const getRoute = createRoute({
- method: "get",
- tags: ["page"],
- description: "Get a status page",
- path: "/:id",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: PageSchema,
- },
- },
- description: "Get an Status page",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-pageApi.openapi(getRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const pageId = Number(id);
- const result = await db
- .select()
- .from(page)
- .where(and(eq(page.workspaceId, workspaceId), eq(page.id, pageId)))
- .get();
-
- if (!result) return c.json({ code: 404, message: "Not Found" }, 404);
- const data = PageSchema.parse(result);
-
- return c.json(data);
-});
-
-const getAllRoute = createRoute({
- method: "get",
- tags: ["page"],
- description: "Get all your status page",
- path: "/",
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.array(PageSchema),
- },
- },
- description: "Get an Status page",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-pageApi.openapi(getAllRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
-
- const result = await db
- .select()
- .from(page)
- .where(and(eq(page.workspaceId, workspaceId)));
-
- if (!result) return c.json({ code: 404, message: "Not Found" }, 404);
- const data = z.array(PageSchema).parse(result);
-
- return c.json(data);
-});
-
-const postRoute = createRoute({
- method: "post",
- tags: ["page"],
- description: "Create a status page",
- path: "/",
- request: {
- body: {
- description: "The status page to create",
- content: {
- "application/json": {
- schema: CreatePageSchema,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: PageSchema,
- },
- },
- description: "Get an Status page",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-pageApi.openapi(postRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
-
- // Check if the user has reached the limit of pages
- const count = (
- await db
- .select({ count: sql<number>`count(*)` })
- .from(page)
- .where(eq(page.workspaceId, workspaceId))
- .all()
- )[0].count;
-
- const workspacePlan = c.get("workspacePlan");
-
- if (count >= workspacePlan.limits["status-pages"])
- return c.json({ code: 403, message: "Forbidden" }, 403);
-
- const input = c.req.valid("json");
-
- if (
- workspacePlan.limits["password-protection"] === false &&
- input?.passwordProtected === true
- ) {
- return c.json({ code: 403, message: "Forbidden" }, 403);
- }
-
- const countSlug = (
- await db
- .select({ count: sql<number>`count(*)` })
- .from(page)
- .where(eq(page.slug, input.slug))
- .all()
- )[0].count;
-
- if (countSlug > 0)
- return c.json({ code: 400, message: "Slug already taken" }, 400);
-
- const { monitors, ...rest } = input;
-
- if (monitors?.length) {
- const monitorIds = isNumberArray(monitors)
- ? monitors
- : monitors.map((m) => m.monitorId);
-
- const monitorsData = await db
- .select()
- .from(monitor)
- .where(
- and(
- inArray(monitor.id, monitorIds),
- eq(monitor.workspaceId, workspaceId)
- )
- )
- .all();
- if (monitorsData.length !== monitors.length)
- return c.json({ code: 400, message: "Monitor not found" }, 400);
- }
-
- const newPage = await db
- .insert(page)
- .values({ workspaceId, ...rest })
- .returning()
- .get();
-
- if (monitors) {
- for (const monitor of monitors) {
- const values =
- typeof monitor === "number" ? { monitorId: monitor } : monitor;
-
- await db
- .insert(monitorsToPages)
- .values({ pageId: newPage.id, ...values })
- .run();
- }
- }
- const data = PageSchema.parse(newPage);
- return c.json(data);
-});
-
-const putRoute = createRoute({
- method: "put",
- tags: ["page"],
- description: "Update a status page",
- path: "/:id",
- request: {
- params: ParamsSchema,
- body: {
- description: "The monitor to update",
- content: {
- "application/json": {
- schema: UpdatePageSchema,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: PageSchema,
- },
- },
- description: "Get an Status page",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-pageApi.openapi(putRoute, async (c) => {
- const input = c.req.valid("json");
-
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- if (!id) return c.json({ code: 400, message: "Bad Request" }, 400);
-
- const workspacePlan = c.get("workspacePlan");
-
- if (
- workspacePlan.limits["password-protection"] === false &&
- input?.passwordProtected === true
- ) {
- return c.json({ code: 403, message: "Forbidden" }, 403);
- }
-
- const _page = await db
- .select()
- .from(page)
- .where(eq(page.id, Number(id)))
- .get();
-
- if (!_page) return c.json({ code: 404, message: "Not Found" }, 404);
-
- if (workspaceId !== _page.workspaceId)
- return c.json({ code: 401, message: "Unauthorized" }, 401);
-
- if (input.slug) {
- const countSlug = (
- await db
- .select({ count: sql<number>`count(*)` })
- .from(page)
- .where(eq(page.slug, input.slug))
- .all()
- )[0].count;
-
- if (countSlug > 0)
- return c.json({ code: 400, message: "Slug already taken" }, 400);
- }
- const { monitors, ...rest } = input;
-
- const monitorIds = monitors
- ? isNumberArray(monitors)
- ? monitors
- : monitors.map((m) => m.monitorId)
- : [];
-
- if (monitors?.length) {
- const monitorsData = await db
- .select()
- .from(monitor)
- .where(
- and(
- inArray(monitor.id, monitorIds),
- eq(monitor.workspaceId, workspaceId)
- )
- )
- .all();
- if (monitorsData.length !== monitors.length)
- return c.json({ code: 400, message: "Monitor not found" }, 400);
- }
-
- const newPage = await db
- .update(page)
- .set({ ...rest })
- .where(eq(page.id, _page.id))
- .returning()
- .get();
-
- const data = PageSchema.parse(newPage);
-
- const currentMonitorsToPages = await db
- .select()
- .from(monitorsToPages)
- .where(eq(monitorsToPages.pageId, _page.id));
-
- const removedMonitors = currentMonitorsToPages
- .map(({ monitorId }) => monitorId)
- .filter((x) => !monitorIds?.includes(x));
-
- if (removedMonitors.length) {
- await db
- .delete(monitorsToPages)
- .where(
- and(
- inArray(monitorsToPages.monitorId, removedMonitors),
- eq(monitorsToPages.pageId, newPage.id)
- )
- );
- }
-
- if (monitors) {
- for (const monitor of monitors) {
- const values =
- typeof monitor === "number" ? { monitorId: monitor } : monitor;
-
- await db
- .insert(monitorsToPages)
- .values({ pageId: newPage.id, ...values })
- .onConflictDoUpdate({
- target: [monitorsToPages.monitorId, monitorsToPages.pageId],
- set: { order: sql.raw("excluded.`order`") },
- });
- }
- }
-
- return c.json(data);
-});
-
-export { pageApi };
diff --git a/apps/server/src/v1/pageSubscribers/index.ts b/apps/server/src/v1/pageSubscribers/index.ts
new file mode 100644
index 000000000..35920aab7
--- /dev/null
+++ b/apps/server/src/v1/pageSubscribers/index.ts
@@ -0,0 +1,11 @@
+import { OpenAPIHono } from "@hono/zod-openapi";
+
+import type { Variables } from "../index";
+import { registerPostPageSubscriber } from "./post";
+import { handleZodError } from "../../libs/errors";
+
+export const pageSubscribersApi = new OpenAPIHono<{ Variables: Variables }>({
+ defaultHook: handleZodError,
+});
+
+registerPostPageSubscriber(pageSubscribersApi);
diff --git a/apps/server/src/v1/pageSubscribers/post.ts b/apps/server/src/v1/pageSubscribers/post.ts
new file mode 100644
index 000000000..d9aec3f6d
--- /dev/null
+++ b/apps/server/src/v1/pageSubscribers/post.ts
@@ -0,0 +1,106 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, eq } from "@openstatus/db";
+import { db } from "@openstatus/db/src/db";
+import { page, pageSubscriber } from "@openstatus/db/src/schema";
+import { SubscribeEmail } from "@openstatus/emails";
+import { sendEmail } from "@openstatus/emails/emails/send";
+import { PageSubscriberSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { pageSubscribersApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const postRouteSubscriber = createRoute({
+ method: "post",
+ tags: ["page"],
+ path: "/:id/update",
+ description: "Add a subscriber to a status page",
+ request: {
+ params: ParamsSchema,
+ body: {
+ description: "the subscriber payload",
+ content: {
+ "application/json": {
+ schema: PageSubscriberSchema,
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: PageSubscriberSchema,
+ },
+ },
+ description: "The user",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPostPageSubscriber(api: typeof pageSubscribersApi) {
+ return api.openapi(postRouteSubscriber, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const input = c.req.valid("json");
+ const { id } = c.req.valid("param");
+
+ const _page = await db
+ .select()
+ .from(page)
+ .where(
+ and(eq(page.id, Number(id)), eq(page.workspaceId, Number(workspaceId)))
+ )
+ .get();
+
+ if (!_page) {
+ throw new HTTPException(401, { message: "Unauthorized" });
+ }
+
+ const alreadySubscribed = await db
+ .select()
+ .from(pageSubscriber)
+ .where(
+ and(
+ eq(pageSubscriber.email, input.email),
+ eq(pageSubscriber.pageId, Number(id))
+ )
+ )
+ .get();
+
+ if (alreadySubscribed) {
+ throw new HTTPException(400, {
+ message: "Bad request - Already subscribed",
+ });
+ }
+
+ const token = (Math.random() + 1).toString(36).substring(10);
+ const expiresAt = new Date(Date.now() + 1000 * 60 * 60 * 24 * 7);
+
+ await sendEmail({
+ react: SubscribeEmail({
+ domain: _page.slug,
+ token,
+ page: _page.title,
+ }),
+ from: "OpenStatus <[email protected]>",
+ to: [input.email],
+ subject: "Verify your subscription",
+ });
+
+ const _statusReportSubscriberUpdate = await db
+ .insert(pageSubscriber)
+ .values({
+ pageId: _page.id,
+ email: input.email,
+ token,
+ expiresAt,
+ })
+ .returning()
+ .get();
+
+ const data = PageSubscriberSchema.parse(_statusReportSubscriberUpdate);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/pageSubscribers/schema.ts b/apps/server/src/v1/pageSubscribers/schema.ts
new file mode 100644
index 000000000..4cb456b00
--- /dev/null
+++ b/apps/server/src/v1/pageSubscribers/schema.ts
@@ -0,0 +1,22 @@
+import { z } from "@hono/zod-openapi";
+
+export const ParamsSchema = z.object({
+ id: z
+ .string()
+ .min(1)
+ .openapi({
+ param: {
+ name: "id",
+ in: "path",
+ },
+ description: "The id of the page",
+ example: "1",
+ }),
+});
+export const PageSubscriberSchema = z.object({
+ email: z.string().email().openapi({
+ description: "The email of the subscriber",
+ }),
+});
+
+export type PageSubscriberSchema = z.infer<typeof PageSubscriberSchema>;
diff --git a/apps/server/src/v1/pages/get.ts b/apps/server/src/v1/pages/get.ts
new file mode 100644
index 000000000..5979876d4
--- /dev/null
+++ b/apps/server/src/v1/pages/get.ts
@@ -0,0 +1,53 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, eq } from "@openstatus/db";
+import { db } from "@openstatus/db/src/db";
+import { page } from "@openstatus/db/src/schema";
+import { PageSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { pagesApi } from "./index";
+import { HTTPException } from "hono/http-exception";
+
+const getRoute = createRoute({
+ method: "get",
+ tags: ["page"],
+ description: "Get a status page",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: PageSchema,
+ },
+ },
+ description: "Get an Status page",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetPage(api: typeof pagesApi) {
+ return api.openapi(getRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _page = await db
+ .select()
+ .from(page)
+ .where(
+ and(eq(page.workspaceId, Number(workspaceId)), eq(page.id, Number(id))),
+ )
+ .get();
+
+ if (!_page) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = PageSchema.parse(_page);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/pages/get_all.ts b/apps/server/src/v1/pages/get_all.ts
new file mode 100644
index 000000000..aec44c469
--- /dev/null
+++ b/apps/server/src/v1/pages/get_all.ts
@@ -0,0 +1,45 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import type { pagesApi } from "./index";
+import { PageSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { db, eq } from "@openstatus/db";
+import { page } from "@openstatus/db/src/schema";
+import { HTTPException } from "hono/http-exception";
+
+const getAllRoute = createRoute({
+ method: "get",
+ tags: ["page"],
+ description: "Get all your status page",
+ path: "/",
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.array(PageSchema),
+ },
+ },
+ description: "Get an Status page",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetAllPages(api: typeof pagesApi) {
+ return api.openapi(getAllRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+
+ const _pages = await db
+ .select()
+ .from(page)
+ .where(eq(page.workspaceId, Number(workspaceId)));
+
+ if (!_pages) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = z.array(PageSchema).parse(_pages);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/pages/index.ts b/apps/server/src/v1/pages/index.ts
new file mode 100644
index 000000000..3af40d50b
--- /dev/null
+++ b/apps/server/src/v1/pages/index.ts
@@ -0,0 +1,17 @@
+import { OpenAPIHono } from "@hono/zod-openapi";
+
+import type { Variables } from "../index";
+import { registerGetPage } from "./get";
+import { registerGetAllPages } from "./get_all";
+import { registerPutPage } from "./put";
+import { registerPostPage } from "./post";
+import { handleZodError } from "../../libs/errors";
+
+export const pagesApi = new OpenAPIHono<{ Variables: Variables }>({
+ defaultHook: handleZodError,
+});
+
+registerGetPage(pagesApi);
+registerGetAllPages(pagesApi);
+registerPutPage(pagesApi);
+registerPostPage(pagesApi);
diff --git a/apps/server/src/v1/page.test.ts b/apps/server/src/v1/pages/pages.test.ts
similarity index 90%
rename from apps/server/src/v1/page.test.ts
rename to apps/server/src/v1/pages/pages.test.ts
index d5b223f8d..ada0b7c22 100644
--- a/apps/server/src/v1/page.test.ts
+++ b/apps/server/src/v1/pages/pages.test.ts
@@ -1,6 +1,6 @@
import { expect, test } from "bun:test";
-import { api } from ".";
+import { api } from "../index";
test("Create a page", async () => {
const data = {
@@ -41,9 +41,12 @@ test("Create a page with monitors", async () => {
},
body: JSON.stringify(data),
});
+
+ const json = await res.json();
+
expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
+ expect(json).toMatchObject({
id: expect.any(Number),
title: "OpenStatus",
description: "OpenStatus website",
@@ -67,9 +70,11 @@ test("Update a page with monitors as object including order", async () => {
body: JSON.stringify(data),
});
+ const json = await res.json();
+
expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
+ expect(json).toMatchObject({
id: 3,
});
});
@@ -104,11 +109,4 @@ test("Create a page with invalid data should return 403", async () => {
body: JSON.stringify(data),
});
expect(res.status).toBe(400);
- expect(await res.json()).toMatchObject({
- error: {
- issues: expect.any(Array),
- name: "ZodError",
- },
- success: false,
- });
});
diff --git a/apps/server/src/v1/pages/post.ts b/apps/server/src/v1/pages/post.ts
new file mode 100644
index 000000000..8318cc239
--- /dev/null
+++ b/apps/server/src/v1/pages/post.ts
@@ -0,0 +1,133 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, eq, inArray, isNull, sql } from "@openstatus/db";
+import { db } from "@openstatus/db/src/db";
+import { monitor, monitorsToPages, page } from "@openstatus/db/src/schema";
+
+import type { pagesApi } from "./index";
+import { isNumberArray } from "../utils";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { PageSchema } from "./schema";
+import { HTTPException } from "hono/http-exception";
+
+const postRoute = createRoute({
+ method: "post",
+ tags: ["page"],
+ description: "Create a status page",
+ path: "/",
+ request: {
+ body: {
+ description: "The status page to create",
+ content: {
+ "application/json": {
+ schema: PageSchema.omit({ id: true }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: PageSchema,
+ },
+ },
+ description: "Get an Status page",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPostPage(api: typeof pagesApi) {
+ return api.openapi(postRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+ const input = c.req.valid("json");
+
+ const count = (
+ await db
+ .select({ count: sql<number>`count(*)` })
+ .from(page)
+ .where(eq(page.workspaceId, Number(workspaceId)))
+ .all()
+ )[0].count;
+
+ if (count >= workspacePlan.limits["status-pages"]) {
+ throw new HTTPException(403, {
+ message: "Upgrade for more status pages",
+ });
+ }
+
+ if (
+ workspacePlan.limits["password-protection"] === false &&
+ input?.passwordProtected === true
+ ) {
+ throw new HTTPException(403, {
+ message: "Upgrade for password protection",
+ });
+ }
+
+ const countSlug = (
+ await db
+ .select({ count: sql<number>`count(*)` })
+ .from(page)
+ .where(eq(page.slug, input.slug))
+ .all()
+ )[0].count;
+
+ if (countSlug > 0) {
+ throw new HTTPException(409, {
+ message: "Slug has to be unique and has already been taken",
+ });
+ }
+
+ const { monitors, ...rest } = input;
+
+ if (monitors?.length) {
+ const monitorIds = isNumberArray(monitors)
+ ? monitors
+ : monitors.map((m) => m.monitorId);
+
+ const _monitors = await db
+ .select()
+ .from(monitor)
+ .where(
+ and(
+ inArray(monitor.id, monitorIds),
+ eq(monitor.workspaceId, Number(workspaceId)),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .all();
+
+ if (_monitors.length !== monitors.length) {
+ throw new HTTPException(400, { message: "Monitor not found" });
+ }
+ }
+
+ const _page = await db
+ .insert(page)
+ .values({
+ ...rest,
+ workspaceId: Number(workspaceId),
+ customDomain: rest.customDomain ?? "", // TODO: make database migration to allow null
+ })
+ .returning()
+ .get();
+
+ // TODO: missing order
+ if (monitors?.length) {
+ for (const monitor of monitors) {
+ const values =
+ typeof monitor === "number" ? { monitorId: monitor } : monitor;
+
+ await db
+ .insert(monitorsToPages)
+ .values({ pageId: _page.id, ...values })
+ .run();
+ }
+ }
+ const data = PageSchema.parse(_page);
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/pages/put.ts b/apps/server/src/v1/pages/put.ts
new file mode 100644
index 000000000..eee4da97e
--- /dev/null
+++ b/apps/server/src/v1/pages/put.ts
@@ -0,0 +1,159 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, eq, inArray, isNull, sql } from "@openstatus/db";
+import { db } from "@openstatus/db/src/db";
+import { monitor, monitorsToPages, page } from "@openstatus/db/src/schema";
+import { PageSchema, ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import type { pagesApi } from "./index";
+import { isNumberArray } from "../utils";
+import { HTTPException } from "hono/http-exception";
+
+const putRoute = createRoute({
+ method: "put",
+ tags: ["page"],
+ description: "Update a status page",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ body: {
+ description: "The monitor to update",
+ content: {
+ "application/json": {
+ // REMINDER: allow only partial updates
+ schema: PageSchema.omit({ id: true }).partial(),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: PageSchema,
+ },
+ },
+ description: "Get an Status page",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPutPage(api: typeof pagesApi) {
+ return api.openapi(putRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+ const { id } = c.req.valid("param");
+ const input = c.req.valid("json");
+
+ if (
+ workspacePlan.limits["password-protection"] === false &&
+ input?.passwordProtected === true
+ ) {
+ throw new HTTPException(403, {
+ message: "Forbidden - Upgrade for password protection",
+ });
+ }
+
+ const _page = await db
+ .select()
+ .from(page)
+ .where(
+ and(eq(page.id, Number(id)), eq(page.workspaceId, Number(workspaceId)))
+ )
+ .get();
+
+ if (!_page) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ if (input.slug && _page.slug !== input.slug) {
+ const countSlug = (
+ await db
+ .select({ count: sql<number>`count(*)` })
+ .from(page)
+ .where(eq(page.slug, input.slug))
+ .all()
+ )[0].count;
+
+ if (countSlug > 0) {
+ throw new HTTPException(400, {
+ message: "Forbidden - Slug already taken",
+ });
+ }
+ }
+ const { monitors, ...rest } = input;
+
+ const monitorIds = monitors
+ ? isNumberArray(monitors)
+ ? monitors
+ : monitors.map((m) => m.monitorId)
+ : [];
+
+ if (monitors?.length) {
+ const monitorsData = await db
+ .select()
+ .from(monitor)
+ .where(
+ and(
+ inArray(monitor.id, monitorIds),
+ eq(monitor.workspaceId, Number(workspaceId)),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .all();
+
+ if (monitorsData.length !== monitors.length) {
+ throw new HTTPException(400, {
+ message: "Not Found - Wrong monitor configuration",
+ });
+ }
+ }
+
+ const newPage = await db
+ .update(page)
+ .set({ ...rest, customDomain: input.customDomain ?? "" })
+ .where(eq(page.id, _page.id))
+ .returning()
+ .get();
+
+ const currentMonitorsToPages = await db
+ .select()
+ .from(monitorsToPages)
+ .where(eq(monitorsToPages.pageId, _page.id));
+
+ const removedMonitors = currentMonitorsToPages
+ .map(({ monitorId }) => monitorId)
+ .filter((x) => !monitorIds?.includes(x));
+
+ if (removedMonitors.length) {
+ await db
+ .delete(monitorsToPages)
+ .where(
+ and(
+ inArray(monitorsToPages.monitorId, removedMonitors),
+ eq(monitorsToPages.pageId, newPage.id)
+ )
+ );
+ }
+
+ if (monitors) {
+ for (const monitor of monitors) {
+ const values =
+ typeof monitor === "number" ? { monitorId: monitor } : monitor;
+
+ await db
+ .insert(monitorsToPages)
+ .values({ pageId: newPage.id, ...values })
+ .onConflictDoUpdate({
+ target: [monitorsToPages.monitorId, monitorsToPages.pageId],
+ set: { order: sql.raw("excluded.`order`") },
+ });
+ }
+ }
+
+ const data = PageSchema.parse(newPage);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/pages/schema.ts b/apps/server/src/v1/pages/schema.ts
new file mode 100644
index 000000000..fab4e9b98
--- /dev/null
+++ b/apps/server/src/v1/pages/schema.ts
@@ -0,0 +1,89 @@
+import { z } from "@hono/zod-openapi";
+
+export const ParamsSchema = z.object({
+ id: z
+ .string()
+ .min(1)
+ .openapi({
+ param: {
+ name: "id",
+ in: "path",
+ },
+ description: "The id of the page",
+ example: "1",
+ }),
+});
+
+export const PageSchema = z.object({
+ id: z.number().openapi({
+ description: "The id of the page",
+ example: 1,
+ }),
+ title: z.string().openapi({
+ description: "The title of the page",
+ example: "My Page",
+ }),
+ description: z.string().openapi({
+ description: "The description of the page",
+ example: "My awesome status page",
+ }),
+ slug: z.string().openapi({
+ description: "The slug of the page",
+ example: "my-page",
+ }),
+ // REMINDER: needs to be configured on Dashboard UI
+ customDomain: z
+ .string()
+ .openapi({
+ description:
+ "The custom domain of the page. To be configured within the dashboard.",
+ example: "status.acme.com",
+ })
+ .transform((val) => (val ? val : undefined))
+ .nullish(),
+ icon: z
+ .string()
+ .openapi({
+ description: "The icon of the page",
+ example: "https://example.com/icon.png",
+ })
+ .url()
+ .or(z.literal(""))
+ .transform((val) => (val ? val : undefined))
+ .nullish(),
+ passwordProtected: z
+ .boolean()
+ .openapi({
+ description:
+ "Make the page password protected. Used with the 'passwordProtected' property.",
+ example: true,
+ })
+ .default(false)
+ .optional(),
+ password: z
+ .string()
+ .openapi({
+ description: "Your password to protect the page from the publi",
+ example: "hidden-password",
+ })
+ .optional()
+ .nullish(),
+ monitors: z
+ .array(z.number())
+ .openapi({
+ description: "The monitors of the page as an array of ids",
+ example: [1, 2],
+ })
+ .or(
+ z.array(z.object({ monitorId: z.number(), order: z.number() })).openapi({
+ description: "The monitor as object allowing to pass id and order",
+ example: [
+ { monitorId: 1, order: 0 },
+ { monitorId: 2, order: 1 },
+ ],
+ })
+ )
+ .optional(),
+});
+
+export type PageSchema = z.infer<typeof PageSchema>;
diff --git a/apps/server/src/v1/shared.ts b/apps/server/src/v1/shared.ts
deleted file mode 100644
index 2177d559e..000000000
--- a/apps/server/src/v1/shared.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { z } from "@hono/zod-openapi";
-
-export const ErrorSchema = z.object({
- code: z.number().openapi({
- example: 400,
- }),
- message: z.string().openapi({
- example: "Bad Request",
- }),
-});
diff --git a/apps/server/src/v1/statusReport.test.ts b/apps/server/src/v1/statusReport.test.ts
deleted file mode 100644
index d0532523c..000000000
--- a/apps/server/src/v1/statusReport.test.ts
+++ /dev/null
@@ -1,194 +0,0 @@
-import { expect, test } from "bun:test";
-
-import { api } from ".";
-import { iso8601Regex } from "./test-utils";
-
-test("GET one status report", async () => {
- const res = await api.request("/status_report/1", {
- headers: {
- "x-openstatus-key": "1",
- },
- });
- expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
- id: 1,
- // TODO: discuss if we should return `updates` instead of `status_report_updates`
- status_report_updates: expect.any(Array),
- });
-});
-
-test("create one status report", async () => {
- const res = await api.request("/status_report", {
- method: "POST",
- headers: {
- "x-openstatus-key": "1",
- "content-type": "application/json",
- },
- body: JSON.stringify({
- status: "investigating",
- title: "Test Status Report",
- }),
- });
- expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
- id: expect.any(Number),
- status_report_updates: expect.any(Array),
- });
-});
-
-test("Create one status report without auth key should return 401", async () => {
- const res = await api.request("/status_report", {
- method: "POST",
- headers: {
- "content-type": "application/json",
- },
- body: JSON.stringify({
- status: "investigating",
- title: "Test Status Report",
- }),
- });
- expect(res.status).toBe(401); //unauthenticated
-});
-
-test("Create one status report with invalid data should return 403", async () => {
- const res = await api.request("/status_report", {
- method: "POST",
- headers: {
- "x-openstatus-key": "1",
- "content-type": "application/json",
- },
- body: JSON.stringify({
- //passing incompelete body
- title: "Test Status Report",
- }),
- });
- expect(res.status).toBe(400);
- expect(await res.json()).toMatchObject({
- error: {
- issues: expect.any(Array),
- name: "ZodError",
- },
- success: false,
- });
-});
-
-test("Get all status report", async () => {
- const res = await api.request("/status_report", {
- headers: {
- "x-openstatus-key": "1",
- },
- });
- expect(res.status).toBe(200);
- expect((await res.json())[0]).toMatchObject({
- id: expect.any(Number),
- status_report_updates: expect.any(Array),
- });
-});
-
-test("Delete a status report", async () => {
- const res = await api.request("/status_report/2", {
- method: "DELETE",
- headers: {
- "x-openstatus-key": "1",
- },
- });
- expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
- message: "Deleted",
- });
-});
-
-test("create a status report update", async () => {
- const res = await api.request("/status_report/1/update", {
- method: "POST",
- headers: {
- "x-openstatus-key": "1",
- "content-type": "application/json",
- },
- body: JSON.stringify({
- status: "investigating",
- date: "2023-11-08T21:03:13.000Z",
- message: "Test Status Report",
- }),
- });
- expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
- status: "investigating",
- id: expect.any(String),
- date: expect.stringMatching(iso8601Regex),
- message: "Test Status Report",
- });
-});
-
-test("Get Status Report should return current status of report", async () => {
- const res = await api.request("/status_report/1", {
- headers: {
- "x-openstatus-key": "1",
- },
- });
- expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
- id: 1,
- status: "investigating",
- status_report_updates: expect.any(Array),
- });
-});
-
-test("Create a status report update not in db should return 404", async () => {
- const res = await api.request("/status_report/404/update", {
- method: "POST",
- headers: {
- "x-openstatus-key": "1",
- "content-type": "application/json",
- },
- body: JSON.stringify({
- status: "investigating",
- date: "2023-11-08T21:03:13.000Z",
- message: "Test Status Report",
- }),
- });
- expect(res.status).toBe(404);
- expect(await res.json()).toMatchObject({
- code: 404,
- message: "Not Found",
- });
-});
-
-test("Create a status report update without auth key should return 401", async () => {
- const res = await api.request("/status_report/1/update", {
- method: "POST",
- headers: {
- //not having the key returns unauthorized
- "content-type": "application/json",
- },
- body: JSON.stringify({
- status: "investigating",
- date: "2023-11-08T21:03:13.000Z",
- message: "Test Status Report",
- }),
- });
- expect(res.status).toBe(401);
-});
-
-test("Create a status report update with invalid data should return 403", async () => {
- const res = await api.request("/status_report/1/update", {
- method: "POST",
- headers: {
- "x-openstatus-key": "1",
- "content-type": "application/json",
- },
- body: JSON.stringify({
- //passing in incompelete body
- date: "2023-11-08T21:03:13.000Z",
- message: "Test Status Report",
- }),
- });
- expect(res.status).toBe(400);
- expect(await res.json()).toMatchObject({
- error: {
- issues: expect.any(Array),
- name: "ZodError",
- },
- success: false,
- });
-});
diff --git a/apps/server/src/v1/statusReport.ts b/apps/server/src/v1/statusReport.ts
deleted file mode 100644
index a3ccf44c6..000000000
--- a/apps/server/src/v1/statusReport.ts
+++ /dev/null
@@ -1,406 +0,0 @@
-import { OpenAPIHono, createRoute, z } from "@hono/zod-openapi";
-
-import { and, db, eq, isNotNull } from "@openstatus/db";
-import {
- page,
- pageSubscriber,
- pagesToStatusReports,
- statusReport,
- statusReportStatus,
- statusReportUpdate,
-} from "@openstatus/db/src/schema";
-import { sendEmailHtml } from "@openstatus/emails/emails/send";
-import { allPlans } from "@openstatus/plans";
-
-import type { Variables } from "./index";
-import { ErrorSchema } from "./shared";
-import { statusUpdateSchema } from "./statusReportUpdate";
-import { isoDate } from "./utils";
-
-const statusReportApi = new OpenAPIHono<{ Variables: Variables }>();
-
-const ParamsSchema = z.object({
- id: z
- .string()
- .min(1)
- .openapi({
- param: {
- name: "id",
- in: "path",
- },
- description: "The id of the status report",
- example: "1",
- }),
-});
-
-const createStatusReportUpdateSchema = z.object({
- status: z.enum(statusReportStatus).openapi({
- description: "The status of the update",
- }),
- date: isoDate.openapi({
- description: "The date of the update in ISO8601 format",
- }),
- message: z.string().openapi({
- description: "The message of the update",
- }),
-});
-
-const statusSchema = z.object({
- title: z.string().openapi({
- example: "Documenso",
- description: "The title of the status report",
- }),
- status: z.enum(statusReportStatus).openapi({
- description: "The current status of the report",
- }),
-});
-
-const statusReportExtendedSchema = statusSchema.extend({
- id: z.number().openapi({ description: "The id of the status report" }),
- status_report_updates: z
- .array(z.number())
- .openapi({
- description: "The ids of the status report updates",
- })
- .default([]),
-});
-
-const getAllRoute = createRoute({
- method: "get",
- tags: ["status_report"],
- description: "Get all status reports",
- path: "/",
- request: {},
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.array(statusReportExtendedSchema),
- },
- },
- description: "Get all status reports",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-statusReportApi.openapi(getAllRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const _statusReports = await db.query.statusReport.findMany({
- with: {
- statusReportUpdates: true,
- },
- where: eq(statusReport.workspaceId, workspaceId),
- });
-
- if (!_statusReports) return c.json({ code: 404, message: "Not Found" }, 404);
-
- const data = z.array(statusReportExtendedSchema).parse(
- _statusReports.map((statusReport) => ({
- ...statusReport,
- status_report_updates: statusReport.statusReportUpdates.map(
- (statusReportUpdate) => {
- return statusReportUpdate.id;
- },
- ),
- })),
- );
-
- return c.json(data);
-});
-
-const getRoute = createRoute({
- method: "get",
- tags: ["status_report"],
- description: "Get an status report",
- path: "/:id",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: statusReportExtendedSchema,
- },
- },
- description: "Get all status reports",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-statusReportApi.openapi(getRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const statusUpdateId = Number(id);
- const _statusUpdate = await db.query.statusReport.findFirst({
- with: {
- statusReportUpdates: true,
- },
- where: and(
- eq(statusReport.workspaceId, workspaceId),
- eq(statusReport.id, statusUpdateId),
- ),
- });
-
- if (!_statusUpdate) return c.json({ code: 404, message: "Not Found" }, 404);
- const data = statusReportExtendedSchema.parse({
- ..._statusUpdate,
- status_report_updates: _statusUpdate.statusReportUpdates.map(
- (update) => update.id,
- ),
- });
-
- return c.json(data);
-});
-
-const postRoute = createRoute({
- method: "post",
- tags: ["status_report"],
- description: "Create an status report",
- path: "/",
- request: {
- body: {
- description: "The status report to create",
- content: {
- "application/json": {
- schema: statusSchema,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: statusReportExtendedSchema,
- },
- },
- description: "Status report created",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-statusReportApi.openapi(postRoute, async (c) => {
- const input = c.req.valid("json");
- const workspaceId = Number(c.get("workspaceId"));
-
- const _newStatusReport = await db
- .insert(statusReport)
- .values({
- ...input,
- workspaceId: workspaceId,
- })
- .returning()
- .get();
-
- const _statusReportHistory = await db
- .insert(statusReportUpdate)
- .values({
- status: input.status,
- date: new Date(),
- message: "",
- statusReportId: _newStatusReport.id,
- })
- .returning()
- .get();
-
- const data = statusReportExtendedSchema.parse({
- ..._newStatusReport,
- status_report_updates: [_statusReportHistory.id],
- });
-
- return c.json(data);
-});
-
-const deleteRoute = createRoute({
- method: "delete",
- tags: ["status_report"],
- description: "Delete an status report",
- path: "/:id",
- request: {
- params: ParamsSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: z.object({
- message: z.string().openapi({
- example: "Deleted",
- }),
- }),
- },
- },
- description: "Status report deleted",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-statusReportApi.openapi(deleteRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const statusReportId = Number(id);
- const _statusReport = await db
- .select()
- .from(statusReport)
- .where(eq(statusReport.id, statusReportId))
- .get();
-
- if (!_statusReport) return c.json({ code: 404, message: "Not Found" }, 404);
-
- if (workspaceId !== _statusReport.workspaceId)
- return c.json({ code: 401, message: "Unauthorized" }, 401);
-
- await db
- .delete(statusReport)
- .where(eq(statusReport.id, statusReportId))
- .run();
- return c.json({ message: "Deleted" });
-});
-
-const postRouteUpdate = createRoute({
- method: "post",
- tags: ["status_report"],
- path: "/:id/update",
- description: "Create an status report update",
- request: {
- params: ParamsSchema,
- body: {
- description: "the status report update",
- content: {
- "application/json": {
- schema: createStatusReportUpdateSchema,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: statusUpdateSchema,
- },
- },
- description: "Status report updated",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-statusReportApi.openapi(postRouteUpdate, async (c) => {
- const input = c.req.valid("json");
- const { id } = c.req.valid("param");
- const workspaceId = Number(c.get("workspaceId"));
-
- const statusReportId = Number(id);
-
- const _updatedStatusReport = await db
- .update(statusReport)
- .set({ status: input.status })
- .where(
- and(
- eq(statusReport.id, statusReportId),
- eq(statusReport.workspaceId, workspaceId),
- ),
- )
- .returning()
- .get();
-
- if (!_updatedStatusReport)
- return c.json({ code: 404, message: "Not Found" }, 404);
-
- const _statusReportUpdate = await db
- .insert(statusReportUpdate)
- .values({
- ...input,
- date: new Date(input.date),
- statusReportId: Number(id),
- })
- .returning()
- .get();
- // send email
- const workspacePlan = c.get("workspacePlan");
- if (workspacePlan !== allPlans.free) {
- const allPages = await db
- .select()
- .from(pagesToStatusReports)
- .where(eq(pagesToStatusReports.statusReportId, statusReportId))
- .all();
- for (const currentPage of allPages) {
- const subscribers = await db
- .select()
- .from(pageSubscriber)
- .where(
- and(
- eq(pageSubscriber.pageId, currentPage.pageId),
- isNotNull(pageSubscriber.acceptedAt),
- ),
- )
- .all();
- const pageInfo = await db
- .select()
- .from(page)
- .where(eq(page.id, currentPage.pageId))
- .get();
- if (!pageInfo) continue;
- const subscribersEmails = subscribers.map(
- (subscriber) => subscriber.email,
- );
- await sendEmailHtml({
- to: subscribersEmails,
- subject: `New status update for ${pageInfo.title}`,
- html: `<p>Hi,</p><p>${pageInfo.title} just posted an update on their status page:</p><p>New Status : ${statusReportUpdate.status}</p><p>${statusReportUpdate.message}</p></p><p></p><p>Powered by OpenStatus</p><p></p><p></p><p></p><p></p><p></p>
- `,
- from: "Notification OpenStatus <[email protected]>",
- });
- }
- }
- const data = statusUpdateSchema.parse(_statusReportUpdate);
-
- return c.json({
- ...data,
- });
-});
-
-export { statusReportApi };
diff --git a/apps/server/src/v1/statusReportUpdate.ts b/apps/server/src/v1/statusReportUpdate.ts
deleted file mode 100644
index b55afc80d..000000000
--- a/apps/server/src/v1/statusReportUpdate.ts
+++ /dev/null
@@ -1,221 +0,0 @@
-import { OpenAPIHono, createRoute, z } from "@hono/zod-openapi";
-
-import { and, db, eq, isNotNull } from "@openstatus/db";
-import {
- page,
- pageSubscriber,
- pagesToStatusReports,
- statusReport,
- statusReportStatus,
- statusReportUpdate,
-} from "@openstatus/db/src/schema";
-import { sendEmailHtml } from "@openstatus/emails";
-import { allPlans } from "@openstatus/plans";
-
-import type { Variables } from ".";
-import { ErrorSchema } from "./shared";
-import { isoDate } from "./utils";
-
-const statusReportUpdateApi = new OpenAPIHono<{ Variables: Variables }>();
-
-const ParamsSelectSchema = z.object({
- id: z
- .string()
- .min(1)
- .openapi({
- param: {
- name: "id",
- in: "path",
- },
- description: "The id of the update",
- example: "1",
- }),
-});
-
-export const statusUpdateSchema = z.object({
- status: z.enum(statusReportStatus).openapi({
- description: "The status of the update",
- }),
- id: z.coerce.string().openapi({ description: "The id of the update" }),
- date: isoDate.openapi({
- description: "The date of the update in ISO8601 format",
- }),
- message: z.string().openapi({
- description: "The message of the update",
- }),
-});
-
-const createStatusReportUpdateSchema = z.object({
- status_report_id: z.number().openapi({
- description: "The id of the status report",
- }),
- status: z.enum(statusReportStatus).openapi({
- description: "The status of the update",
- }),
- date: isoDate.openapi({
- description: "The date of the update in ISO8601 format",
- }),
- message: z.string().openapi({
- description: "The message of the update",
- }),
-});
-const getUpdateRoute = createRoute({
- method: "get",
- tags: ["status_report_update"],
- path: "/:id",
- request: {
- params: ParamsSelectSchema,
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: statusUpdateSchema,
- },
- },
- description: "Get all status report updates",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-statusReportUpdateApi.openapi(getUpdateRoute, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const { id } = c.req.valid("param");
-
- const update = await db
- .select()
- .from(statusReportUpdate)
- .where(eq(statusReportUpdate.id, Number(id)))
- .get();
-
- if (!update) return c.json({ code: 404, message: "Not Found" }, 404);
-
- const currentStatusReport = await db
- .select()
- .from(statusReport)
- .where(
- and(
- eq(statusReport.id, update.statusReportId),
- eq(statusReport.workspaceId, workspaceId),
- ),
- )
- .get();
- if (!currentStatusReport)
- return c.json({ code: 401, message: "Not Authorized" }, 401);
-
- const data = statusUpdateSchema.parse(update);
-
- return c.json(data);
-});
-
-const createStatusUpdate = createRoute({
- method: "post",
- tags: ["status_report_update"],
- path: "/",
- request: {
- body: {
- description: "the status report update",
- content: {
- "application/json": {
- schema: createStatusReportUpdateSchema,
- },
- },
- },
- },
- responses: {
- 200: {
- content: {
- "application/json": {
- schema: statusUpdateSchema,
- },
- },
- description: "Get all status report updates",
- },
- 400: {
- content: {
- "application/json": {
- schema: ErrorSchema,
- },
- },
- description: "Returns an error",
- },
- },
-});
-
-statusReportUpdateApi.openapi(createStatusUpdate, async (c) => {
- const workspaceId = Number(c.get("workspaceId"));
- const input = c.req.valid("json");
-
- const _currentStatusReport = await db
- .select()
- .from(statusReport)
- .where(
- and(
- eq(statusReport.id, input.status_report_id),
- eq(statusReport.workspaceId, workspaceId),
- ),
- )
- .get();
- if (!_currentStatusReport)
- return c.json({ code: 401, message: "Not Authorized" }, 401);
-
- const res = await db
- .insert(statusReportUpdate)
- .values({
- ...input,
- date: new Date(input.date),
- statusReportId: input.status_report_id,
- })
- .returning()
- .get();
- // send email
- const workspacePlan = c.get("workspacePlan");
-
- if (workspacePlan !== allPlans.free) {
- const allPages = await db
- .select()
- .from(pagesToStatusReports)
- .where(eq(pagesToStatusReports.statusReportId, input.status_report_id))
- .all();
- for (const currentPage of allPages) {
- const subscribers = await db
- .select()
- .from(pageSubscriber)
- .where(
- and(
- eq(pageSubscriber.pageId, currentPage.pageId),
- isNotNull(pageSubscriber.acceptedAt),
- ),
- )
- .all();
- const pageInfo = await db
- .select()
- .from(page)
- .where(eq(page.id, currentPage.pageId))
- .get();
- if (!pageInfo) continue;
- const subscribersEmails = subscribers.map(
- (subscriber) => subscriber.email,
- );
- await sendEmailHtml({
- to: subscribersEmails,
- subject: `New status update for ${pageInfo.title}`,
- html: `<p>Hi,</p><p>${pageInfo.title} just posted an update on their status page:</p><p>New Status : ${statusReportUpdate.status}</p><p>${statusReportUpdate.message}</p></p><p></p><p>Powered by OpenStatus</p><p></p><p></p><p></p><p></p><p></p>
- `,
- from: "Notification OpenStatus <[email protected]>",
- });
- }
- }
- const data = statusUpdateSchema.parse(res);
- return c.json(data);
-});
-
-export { statusReportUpdateApi };
diff --git a/apps/server/src/v1/statusReportUpdates/get.ts b/apps/server/src/v1/statusReportUpdates/get.ts
new file mode 100644
index 000000000..4d5f61b14
--- /dev/null
+++ b/apps/server/src/v1/statusReportUpdates/get.ts
@@ -0,0 +1,61 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, db, eq } from "@openstatus/db";
+import { statusReport, statusReportUpdate } from "@openstatus/db/src/schema";
+
+import type { statusReportUpdatesApi } from "./index";
+import { ParamsSchema, StatusReportUpdateSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const getRoute = createRoute({
+ method: "get",
+ tags: ["status_report_update"],
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: StatusReportUpdateSchema,
+ },
+ },
+ description: "Get all status report updates",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetStatusReportUpdate(
+ api: typeof statusReportUpdatesApi
+) {
+ return api.openapi(getRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _statusReportJoin = await db
+ .select()
+ .from(statusReportUpdate)
+ .innerJoin(
+ statusReport,
+ and(
+ eq(statusReport.id, statusReportUpdate.statusReportId),
+ eq(statusReport.workspaceId, Number(workspaceId))
+ )
+ )
+ .where(eq(statusReportUpdate.id, Number(id)))
+ .get();
+
+ if (!_statusReportJoin) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = StatusReportUpdateSchema.parse(
+ _statusReportJoin.status_report_update
+ );
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/statusReportUpdates/index.ts b/apps/server/src/v1/statusReportUpdates/index.ts
new file mode 100644
index 000000000..d5bd671ae
--- /dev/null
+++ b/apps/server/src/v1/statusReportUpdates/index.ts
@@ -0,0 +1,15 @@
+import { OpenAPIHono } from "@hono/zod-openapi";
+
+import type { Variables } from "../index";
+import { registerGetStatusReportUpdate } from "./get";
+import { registerPostStatusReportUpdate } from "./post";
+import { handleZodError } from "../../libs/errors";
+
+export const statusReportUpdatesApi = new OpenAPIHono<{
+ Variables: Variables;
+}>({
+ defaultHook: handleZodError,
+});
+
+registerGetStatusReportUpdate(statusReportUpdatesApi);
+registerPostStatusReportUpdate(statusReportUpdatesApi);
diff --git a/apps/server/src/v1/statusReportUpdates/post.ts b/apps/server/src/v1/statusReportUpdates/post.ts
new file mode 100644
index 000000000..3498515a7
--- /dev/null
+++ b/apps/server/src/v1/statusReportUpdates/post.ts
@@ -0,0 +1,127 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, db, eq, isNotNull } from "@openstatus/db";
+import {
+ page,
+ pageSubscriber,
+ pagesToStatusReports,
+ statusReport,
+ statusReportUpdate,
+} from "@openstatus/db/src/schema";
+import { sendEmailHtml } from "@openstatus/emails";
+
+import type { statusReportUpdatesApi } from "./index";
+import { StatusReportUpdateSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const createStatusUpdate = createRoute({
+ method: "post",
+ tags: ["status_report_update"],
+ path: "/",
+ request: {
+ body: {
+ description: "the status report update",
+ content: {
+ "application/json": {
+ schema: StatusReportUpdateSchema.omit({ id: true }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: StatusReportUpdateSchema,
+ },
+ },
+ description: "Get all status report updates",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPostStatusReportUpdate(
+ api: typeof statusReportUpdatesApi
+) {
+ return api.openapi(createStatusUpdate, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+ const input = c.req.valid("json");
+
+ const _statusReport = await db
+ .select()
+ .from(statusReport)
+ .where(
+ and(
+ eq(statusReport.id, input.statusReportId),
+ eq(statusReport.workspaceId, Number(workspaceId))
+ )
+ )
+ .get();
+
+ if (!_statusReport) {
+ throw new HTTPException(404, {
+ message:
+ "Not Found - Status report id does not exist within your workspace",
+ });
+ }
+
+ const _statusReportUpdate = await db
+ .insert(statusReportUpdate)
+ .values({
+ ...input,
+ date: new Date(input.date),
+ statusReportId: _statusReport.id,
+ })
+ .returning()
+ .get();
+
+ // send email
+
+ if (workspacePlan.title !== "Hobby") {
+ const allPages = await db
+ .select()
+ .from(pagesToStatusReports)
+ .where(eq(pagesToStatusReports.statusReportId, _statusReport.id))
+ .all();
+
+ for (const currentPage of allPages) {
+ const subscribers = await db
+ .select()
+ .from(pageSubscriber)
+ .where(
+ and(
+ eq(pageSubscriber.pageId, currentPage.pageId),
+ isNotNull(pageSubscriber.acceptedAt)
+ )
+ )
+ .all();
+
+ const pageInfo = await db
+ .select()
+ .from(page)
+ .where(eq(page.id, currentPage.pageId))
+ .get();
+ if (!pageInfo) continue;
+ const subscribersEmails = subscribers.map(
+ (subscriber) => subscriber.email
+ );
+
+ // TODO: verify if we leak any email data here
+ await sendEmailHtml({
+ to: subscribersEmails,
+ subject: `New status update for ${pageInfo.title}`,
+ html: `<p>Hi,</p><p>${pageInfo.title} just posted an update on their status page:</p><p>New Status : ${statusReportUpdate.status}</p><p>${statusReportUpdate.message}</p></p><p></p><p>Powered by OpenStatus</p><p></p><p></p><p></p><p></p><p></p>
+ `,
+ from: "Notification OpenStatus <[email protected]>",
+ });
+ }
+ }
+
+ const data = StatusReportUpdateSchema.parse(_statusReportUpdate);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/statusReportUpdates/schema.ts b/apps/server/src/v1/statusReportUpdates/schema.ts
new file mode 100644
index 000000000..eede4aa84
--- /dev/null
+++ b/apps/server/src/v1/statusReportUpdates/schema.ts
@@ -0,0 +1,37 @@
+import { z } from "@hono/zod-openapi";
+
+import { statusReportStatus } from "@openstatus/db/src/schema";
+
+import { isoDate } from "../utils";
+
+export const ParamsSchema = z.object({
+ id: z
+ .string()
+ .min(1)
+ .openapi({
+ param: {
+ name: "id",
+ in: "path",
+ },
+ description: "The id of the update",
+ example: "1",
+ }),
+});
+
+export const StatusReportUpdateSchema = z.object({
+ id: z.coerce.string().openapi({ description: "The id of the update" }),
+ status: z.enum(statusReportStatus).openapi({
+ description: "The status of the update",
+ }),
+ date: isoDate.openapi({
+ description: "The date of the update in ISO8601 format",
+ }),
+ message: z.string().openapi({
+ description: "The message of the update",
+ }),
+ statusReportId: z.number().openapi({
+ description: "The id of the status report",
+ }),
+});
+
+export type StatusReportUpdateSchema = z.infer<typeof StatusReportUpdateSchema>;
diff --git a/apps/server/src/v1/statusReportUpdate.test.ts b/apps/server/src/v1/statusReportUpdates/statusReportUpdates.test.ts
similarity index 83%
rename from apps/server/src/v1/statusReportUpdate.test.ts
rename to apps/server/src/v1/statusReportUpdates/statusReportUpdates.test.ts
index c2c0659fa..758ea317e 100644
--- a/apps/server/src/v1/statusReportUpdate.test.ts
+++ b/apps/server/src/v1/statusReportUpdates/statusReportUpdates.test.ts
@@ -1,7 +1,7 @@
import { expect, test } from "bun:test";
-import { api } from ".";
-import { iso8601Regex } from "./test-utils";
+import { api } from "../index";
+import { iso8601Regex } from "../test-utils";
test("GET one status report update ", async () => {
const res = await api.request("/status_report_update/1", {
@@ -9,10 +9,12 @@ test("GET one status report update ", async () => {
"x-openstatus-key": "1",
},
});
+ const json = await res.json();
+
expect(res.status).toBe(200);
- expect(await res.json()).toMatchObject({
+ expect(json).toMatchObject({
status: "investigating",
- message: "",
+ message: "Message",
date: expect.stringMatching(iso8601Regex),
});
});
@@ -28,7 +30,7 @@ test("create one status report update ", async () => {
status: "investigating",
date: "2023-11-08T21:03:13.000Z",
message: "test",
- status_report_id: 1,
+ statusReportId: 1,
}),
});
expect(res.status).toBe(200);
@@ -49,7 +51,7 @@ test("create one status report update without auth key should return 401", async
status: "investigating",
date: expect.stringMatching(iso8601Regex),
message: "test",
- status_report_id: 1,
+ statusReportId: 1,
}),
});
expect(res.status).toBe(401);
@@ -68,12 +70,6 @@ test("create one status report update with invalid data should return 403", asyn
date: "2023-11-08T21:03:13.000Z",
}),
});
+
expect(res.status).toBe(400);
- expect(await res.json()).toMatchObject({
- error: {
- issues: expect.any(Array),
- name: "ZodError",
- },
- success: false,
- });
});
diff --git a/apps/server/src/v1/statusReports/delete.ts b/apps/server/src/v1/statusReports/delete.ts
new file mode 100644
index 000000000..93ebb59ca
--- /dev/null
+++ b/apps/server/src/v1/statusReports/delete.ts
@@ -0,0 +1,59 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, db, eq } from "@openstatus/db";
+import { statusReport } from "@openstatus/db/src/schema";
+
+import type { statusReportsApi } from "./index";
+import { ParamsSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const deleteRoute = createRoute({
+ method: "delete",
+ tags: ["status_report"],
+ description: "Delete an status report",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.object({}),
+ },
+ },
+ description: "Status report deleted",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerDeleteStatusReport(api: typeof statusReportsApi) {
+ return api.openapi(deleteRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _statusReport = await db
+ .select()
+ .from(statusReport)
+ .where(
+ and(
+ eq(statusReport.id, Number(id)),
+ eq(statusReport.workspaceId, Number(workspaceId))
+ )
+ )
+ .get();
+
+ if (!_statusReport) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ await db
+ .delete(statusReport)
+ .where(eq(statusReport.id, Number(id)))
+ .run();
+
+ return c.json({});
+ });
+}
diff --git a/apps/server/src/v1/statusReports/get.ts b/apps/server/src/v1/statusReports/get.ts
new file mode 100644
index 000000000..e0ace02fe
--- /dev/null
+++ b/apps/server/src/v1/statusReports/get.ts
@@ -0,0 +1,78 @@
+import { createRoute } from "@hono/zod-openapi";
+
+import { and, db, eq } from "@openstatus/db";
+import { statusReport } from "@openstatus/db/src/schema";
+
+import type { statusReportsApi } from "./index";
+import { ParamsSchema, StatusReportSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const getRoute = createRoute({
+ method: "get",
+ tags: ["status_report"],
+ description: "Get an status report",
+ path: "/:id",
+ request: {
+ params: ParamsSchema,
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: StatusReportSchema,
+ },
+ },
+ description: "Get all status reports",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function regsiterGetStatusReport(api: typeof statusReportsApi) {
+ return api.openapi(getRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+ const { id } = c.req.valid("param");
+
+ const _statusUpdate = await db.query.statusReport.findFirst({
+ with: {
+ statusReportUpdates: true,
+ monitorsToStatusReports: true,
+ pagesToStatusReports: true,
+ },
+ where: and(
+ eq(statusReport.workspaceId, Number(workspaceId)),
+ eq(statusReport.id, Number(id))
+ ),
+ });
+
+ if (!_statusUpdate) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const {
+ statusReportUpdates,
+ monitorsToStatusReports,
+ pagesToStatusReports,
+ } = _statusUpdate;
+
+ // most recent report information
+ const { message, date } =
+ statusReportUpdates[statusReportUpdates.length - 1];
+
+ const data = StatusReportSchema.parse({
+ ..._statusUpdate,
+ message,
+ date,
+ monitorIds: monitorsToStatusReports.length
+ ? monitorsToStatusReports.map((monitor) => monitor.monitorId)
+ : null,
+ pageIds: pagesToStatusReports.length
+ ? pagesToStatusReports.map((page) => page.pageId)
+ : null,
+ statusReportUpdateIds: statusReportUpdates.map((update) => update.id),
+ });
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/statusReports/get_all.ts b/apps/server/src/v1/statusReports/get_all.ts
new file mode 100644
index 000000000..0b8159ecc
--- /dev/null
+++ b/apps/server/src/v1/statusReports/get_all.ts
@@ -0,0 +1,58 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { db, eq } from "@openstatus/db";
+import { statusReport } from "@openstatus/db/src/schema";
+
+import type { statusReportsApi } from "./index";
+import { StatusReportSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+
+const getAllRoute = createRoute({
+ method: "get",
+ tags: ["status_report"],
+ description: "Get all status reports",
+ path: "/",
+ request: {},
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: z.array(StatusReportSchema),
+ },
+ },
+ description: "Get all status reports",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerGetAllStatusReports(api: typeof statusReportsApi) {
+ return api.openapi(getAllRoute, async (c) => {
+ const workspaceId = c.get("workspaceId");
+
+ const _statusReports = await db.query.statusReport.findMany({
+ with: {
+ statusReportUpdates: true,
+ monitorsToStatusReports: true,
+ pagesToStatusReports: true,
+ },
+ where: eq(statusReport.workspaceId, Number(workspaceId)),
+ });
+
+ if (!_statusReports) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const data = z.array(StatusReportSchema).parse(
+ _statusReports.map((r) => ({
+ ...r,
+ statusReportUpdateIds: r.statusReportUpdates.map((u) => u.id),
+ pageIds: r.pagesToStatusReports.map((p) => p.pageId),
+ monitorIds: r.monitorsToStatusReports.map((m) => m.monitorId),
+ }))
+ );
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/statusReports/index.ts b/apps/server/src/v1/statusReports/index.ts
new file mode 100644
index 000000000..00c6f1cf2
--- /dev/null
+++ b/apps/server/src/v1/statusReports/index.ts
@@ -0,0 +1,23 @@
+import { OpenAPIHono } from "@hono/zod-openapi";
+
+import type { Variables } from "../index";
+import { registerGetAllStatusReports } from "./get_all";
+import { registerDeleteStatusReport } from "./delete";
+import { regsiterGetStatusReport } from "./get";
+import { registerPostStatusReport } from "./post";
+import { handleZodError } from "../../libs/errors";
+import { registerStatusReportUpdateRoutes } from "./update/post";
+
+export const statusReportsApi = new OpenAPIHono<{ Variables: Variables }>({
+ defaultHook: handleZodError,
+});
+
+registerGetAllStatusReports(statusReportsApi);
+registerDeleteStatusReport(statusReportsApi);
+regsiterGetStatusReport(statusReportsApi);
+registerPostStatusReport(statusReportsApi);
+
+/**
+ * @deprecated in favor of `/status_report_updates`
+ */
+registerStatusReportUpdateRoutes(statusReportsApi);
diff --git a/apps/server/src/v1/statusReports/post.ts b/apps/server/src/v1/statusReports/post.ts
new file mode 100644
index 000000000..42327fae5
--- /dev/null
+++ b/apps/server/src/v1/statusReports/post.ts
@@ -0,0 +1,196 @@
+import { createRoute, z } from "@hono/zod-openapi";
+
+import { and, asc, db, eq, inArray, isNotNull, isNull } from "@openstatus/db";
+import {
+ monitor,
+ monitorsToStatusReport,
+ page,
+ pageSubscriber,
+ pagesToStatusReports,
+ statusReport,
+ statusReportUpdate,
+} from "@openstatus/db/src/schema";
+
+import type { statusReportsApi } from "./index";
+import { StatusReportSchema } from "./schema";
+import { openApiErrorResponses } from "../../libs/errors/openapi-error-responses";
+import { HTTPException } from "hono/http-exception";
+import { isoDate } from "../utils";
+import { sendEmailHtml } from "@openstatus/emails";
+
+const postRoute = createRoute({
+ method: "post",
+ tags: ["status_report"],
+ description: "Create an status report",
+ path: "/",
+ request: {
+ body: {
+ description: "The status report to create",
+ content: {
+ "application/json": {
+ schema: StatusReportSchema.omit({
+ id: true,
+ statusReportUpdateIds: true,
+ }).extend({
+ date: isoDate.optional().openapi({
+ description: "The date of the report in ISO8601 format",
+ }),
+ message: z.string().openapi({
+ description: "The message of the current status of incident",
+ }),
+ }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: StatusReportSchema,
+ },
+ },
+ description: "Status report created",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerPostStatusReport(api: typeof statusReportsApi) {
+ return api.openapi(postRoute, async (c) => {
+ const input = c.req.valid("json");
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+
+ const { pageIds, monitorIds, date, ...rest } = input;
+
+ if (monitorIds?.length) {
+ const _monitors = await db
+ .select()
+ .from(monitor)
+ .where(
+ and(
+ eq(monitor.workspaceId, Number(workspaceId)),
+ inArray(monitor.id, monitorIds),
+ isNull(monitor.deletedAt)
+ )
+ )
+ .all();
+
+ if (_monitors.length !== monitorIds.length) {
+ throw new HTTPException(400, { message: "Monitor not found" });
+ }
+ }
+
+ if (pageIds?.length) {
+ const _pages = await db
+ .select()
+ .from(page)
+ .where(
+ and(
+ eq(page.workspaceId, Number(workspaceId)),
+ inArray(page.id, pageIds)
+ )
+ )
+ .all();
+
+ if (_pages.length !== pageIds.length) {
+ throw new HTTPException(400, { message: "Page not found" });
+ }
+ }
+
+ const _newStatusReport = await db
+ .insert(statusReport)
+ .values({
+ ...rest,
+ workspaceId: Number(workspaceId),
+ })
+ .returning()
+ .get();
+
+ const _newStatusReportUpdate = await db
+ .insert(statusReportUpdate)
+ .values({
+ ...input,
+ date: date ? new Date(date) : new Date(),
+ statusReportId: _newStatusReport.id,
+ })
+ .returning()
+ .get();
+
+ if (pageIds?.length) {
+ await db
+ .insert(pagesToStatusReports)
+ .values(
+ pageIds.map((id) => {
+ return {
+ pageId: id,
+ statusReportId: _newStatusReport.id,
+ };
+ })
+ )
+ .returning();
+ }
+
+ if (monitorIds?.length) {
+ await db
+ .insert(monitorsToStatusReport)
+ .values(
+ monitorIds.map((id) => {
+ return {
+ monitorId: id,
+ statusReportId: _newStatusReport.id,
+ };
+ })
+ )
+ .returning();
+ }
+
+ if (workspacePlan.title !== "Hobby") {
+ const allPages = await db
+ .select()
+ .from(pagesToStatusReports)
+ .where(
+ eq(pagesToStatusReports.statusReportId, Number(_newStatusReport.id))
+ )
+ .all();
+ for (const currentPage of allPages) {
+ const subscribers = await db
+ .select()
+ .from(pageSubscriber)
+ .where(
+ and(
+ eq(pageSubscriber.pageId, currentPage.pageId),
+ isNotNull(pageSubscriber.acceptedAt)
+ )
+ )
+ .all();
+ const pageInfo = await db
+ .select()
+ .from(page)
+ .where(eq(page.id, currentPage.pageId))
+ .get();
+ if (!pageInfo) continue;
+ const subscribersEmails = subscribers.map(
+ (subscriber) => subscriber.email
+ );
+ await sendEmailHtml({
+ to: subscribersEmails,
+ subject: `New status update for ${pageInfo.title}`,
+ html: `<p>Hi,</p><p>${pageInfo.title} just posted an update on their status page:</p><p>New Status : ${statusReportUpdate.status}</p><p>${statusReportUpdate.message}</p></p><p></p><p>Powered by OpenStatus</p><p></p><p></p><p></p><p></p><p></p>
+ `,
+ from: "Notification OpenStatus <[email protected]>",
+ });
+ }
+ }
+
+ const data = StatusReportSchema.parse({
+ ..._newStatusReport,
+ monitorIds,
+ pageIds,
+ statusReportUpdateIds: [_newStatusReportUpdate.id],
+ });
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/statusReports/schema.ts b/apps/server/src/v1/statusReports/schema.ts
new file mode 100644
index 000000000..ebf9225e1
--- /dev/null
+++ b/apps/server/src/v1/statusReports/schema.ts
@@ -0,0 +1,63 @@
+import { z } from "@hono/zod-openapi";
+
+import { statusReportStatusSchema } from "@openstatus/db/src/schema";
+
+export const ParamsSchema = z.object({
+ id: z
+ .string()
+ .min(1)
+ .openapi({
+ param: {
+ name: "id",
+ in: "path",
+ },
+ description: "The id of the status report",
+ example: "1",
+ }),
+});
+
+export const StatusReportSchema = z.object({
+ id: z.number().openapi({ description: "The id of the status report" }),
+ title: z.string().openapi({
+ example: "Documenso",
+ description: "The title of the status report",
+ }),
+ status: statusReportStatusSchema.openapi({
+ description: "The current status of the report",
+ }),
+ // REMINDER: extended only on POST requests
+ // date: isoDate.openapi({
+ // description: "The date of the report in ISO8601 format",
+ // }),
+ // message: z.string().openapi({
+ // description: "The message of the current status of incident",
+ // }),
+ statusReportUpdateIds: z
+ .array(z.number())
+ .optional()
+ .nullable()
+ .default([])
+ .openapi({
+ description: "The ids of the status report updates",
+ }),
+ monitorIds: z
+ .array(z.number())
+ .optional()
+ .nullable()
+ .default([])
+ .openapi({
+ description: "id of monitors this report needs to refer",
+ })
+ .nullable(),
+ pageIds: z
+ .array(z.number())
+ .optional()
+ .nullable()
+ .default([])
+ .openapi({
+ description: "id of status pages this report needs to refer",
+ })
+ .nullable(),
+});
+
+export type StatusReportSchema = z.infer<typeof StatusReportSchema>;
diff --git a/apps/server/src/v1/statusReports/statusReports.test.ts b/apps/server/src/v1/statusReports/statusReports.test.ts
new file mode 100644
index 000000000..691423241
--- /dev/null
+++ b/apps/server/src/v1/statusReports/statusReports.test.ts
@@ -0,0 +1,156 @@
+import { expect, test } from "bun:test";
+
+import { api } from "../index";
+
+test("GET one status report", async () => {
+ const res = await api.request("/status_report/1", {
+ headers: {
+ "x-openstatus-key": "1",
+ },
+ });
+ expect(res.status).toBe(200);
+ expect(await res.json()).toMatchObject({
+ id: 1,
+ title: "Test Status Report",
+ status: "monitoring",
+ statusReportUpdateIds: expect.arrayContaining([1, 3]), // depending on the order of the updates
+ monitorIds: null,
+ pageIds: [1],
+ });
+});
+
+test("Get all status report", async () => {
+ const res = await api.request("/status_report", {
+ headers: {
+ "x-openstatus-key": "1",
+ },
+ });
+ expect(res.status).toBe(200);
+ expect({ data: await res.json() }).toMatchObject({
+ data: [
+ {
+ id: 1,
+ title: "Test Status Report",
+ status: "monitoring",
+ statusReportUpdateIds: expect.arrayContaining([1, 3]), // depending on the order of the updates
+ monitorIds: [],
+ pageIds: [1],
+ },
+ {
+ id: 2,
+ title: "Test Status Report",
+ status: "investigating",
+ statusReportUpdateIds: expect.arrayContaining([2]), // depending on the order of the updates
+ monitorIds: [1, 2],
+ pageIds: [1],
+ },
+ ],
+ });
+});
+
+test("Create one status report including passing optional fields", async () => {
+ const res = await api.request("/status_report", {
+ method: "POST",
+ headers: {
+ "x-openstatus-key": "1",
+ "content-type": "application/json",
+ },
+ body: JSON.stringify({
+ status: "investigating",
+ title: "New Status Report",
+ message: "Message",
+ monitorIds: [1],
+ pageIds: [1],
+ }),
+ });
+ const json = await res.json();
+
+ expect(res.status).toBe(200);
+
+ expect(json).toMatchObject({
+ id: expect.any(Number),
+ title: "New Status Report",
+ status: "investigating",
+ statusReportUpdateIds: [expect.any(Number)],
+ monitorIds: [1],
+ pageIds: [1],
+ });
+});
+
+test("Create one status report without auth key should return 401", async () => {
+ const res = await api.request("/status_report", {
+ method: "POST",
+ headers: {
+ "content-type": "application/json",
+ },
+ body: JSON.stringify({
+ status: "investigating",
+ title: "Test Status Report",
+ }),
+ });
+ expect(res.status).toBe(401); //unauthenticated
+});
+
+test("Create one status report with invalid data should return 403", async () => {
+ const res = await api.request("/status_report", {
+ method: "POST",
+ headers: {
+ "x-openstatus-key": "1",
+ "content-type": "application/json",
+ },
+ body: JSON.stringify({
+ //passing incompelete body
+ title: "Test Status Report",
+ }),
+ });
+ expect(res.status).toBe(400);
+});
+
+test("Create status report with non existing monitor ids should return 400", async () => {
+ const res = await api.request("/status_report", {
+ method: "POST",
+ headers: {
+ "x-openstatus-key": "1",
+ "content-type": "application/json",
+ },
+ body: JSON.stringify({
+ status: "investigating",
+ title: "New Status Report",
+ message: "Message",
+ monitorIds: [100],
+ pageIds: [1],
+ }),
+ });
+
+ expect(res.status).toBe(400);
+});
+
+test("Create status report with non existing page ids should return 400", async () => {
+ const res = await api.request("/status_report", {
+ method: "POST",
+ headers: {
+ "x-openstatus-key": "1",
+ "content-type": "application/json",
+ },
+ body: JSON.stringify({
+ status: "investigating",
+ title: "New Status Report",
+ message: "Message",
+ monitorIds: [1],
+ pageIds: [100],
+ }),
+ });
+
+ expect(res.status).toBe(400);
+});
+
+test("Delete a status report", async () => {
+ const res = await api.request("/status_report/3", {
+ method: "DELETE",
+ headers: {
+ "x-openstatus-key": "1",
+ },
+ });
+ expect(res.status).toBe(200);
+ expect(await res.json()).toMatchObject({});
+});
diff --git a/apps/server/src/v1/statusReports/update/post.ts b/apps/server/src/v1/statusReports/update/post.ts
new file mode 100644
index 000000000..62a8ebe18
--- /dev/null
+++ b/apps/server/src/v1/statusReports/update/post.ts
@@ -0,0 +1,120 @@
+import { createRoute } from "@hono/zod-openapi";
+import { ParamsSchema, StatusReportSchema } from "../schema";
+import { StatusReportUpdateSchema } from "../../statusReportUpdates/schema";
+import { openApiErrorResponses } from "../../../libs/errors/openapi-error-responses";
+import type { statusReportsApi } from "../index";
+import {
+ page,
+ pageSubscriber,
+ pagesToStatusReports,
+ statusReport,
+ statusReportUpdate,
+} from "@openstatus/db/src/schema";
+import { and, db, eq, isNotNull } from "@openstatus/db";
+import { sendEmailHtml } from "@openstatus/emails";
+import { HTTPException } from "hono/http-exception";
+
+const postRouteUpdate = createRoute({
+ method: "post",
+ tags: ["status_report"],
+ path: "/:id/update",
+ description:
+ "Create an status report update. Deprecated, please use /status-report-updates instead.",
+ request: {
+ params: ParamsSchema,
+ body: {
+ description: "the status report update",
+ content: {
+ "application/json": {
+ schema: StatusReportUpdateSchema.omit({ id: true }),
+ },
+ },
+ },
+ },
+ responses: {
+ 200: {
+ content: {
+ "application/json": {
+ schema: StatusReportSchema,
+ },
+ },
+ description: "Status report updated",
+ },
+ ...openApiErrorResponses,
+ },
+});
+
+export function registerStatusReportUpdateRoutes(api: typeof statusReportsApi) {
+ return api.openapi(postRouteUpdate, async (c) => {
+ const input = c.req.valid("json");
+ const { id } = c.req.valid("param");
+ const workspaceId = c.get("workspaceId");
+ const workspacePlan = c.get("workspacePlan");
+
+ const _statusReport = await db
+ .update(statusReport)
+ .set({ status: input.status })
+ .where(
+ and(
+ eq(statusReport.id, Number(id)),
+ eq(statusReport.workspaceId, Number(workspaceId))
+ )
+ )
+ .returning()
+ .get();
+
+ if (!_statusReport) {
+ throw new HTTPException(404, { message: "Not Found" });
+ }
+
+ const _statusReportUpdate = await db
+ .insert(statusReportUpdate)
+ .values({
+ ...input,
+ date: new Date(input.date),
+ statusReportId: Number(id),
+ })
+ .returning()
+ .get();
+
+ if (workspacePlan.title !== "Hobby") {
+ const allPages = await db
+ .select()
+ .from(pagesToStatusReports)
+ .where(eq(pagesToStatusReports.statusReportId, Number(id)))
+ .all();
+ for (const currentPage of allPages) {
+ const subscribers = await db
+ .select()
+ .from(pageSubscriber)
+ .where(
+ and(
+ eq(pageSubscriber.pageId, currentPage.pageId),
+ isNotNull(pageSubscriber.acceptedAt)
+ )
+ )
+ .all();
+ const pageInfo = await db
+ .select()
+ .from(page)
+ .where(eq(page.id, currentPage.pageId))
+ .get();
+ if (!pageInfo) continue;
+ const subscribersEmails = subscribers.map(
+ (subscriber) => subscriber.email
+ );
+ await sendEmailHtml({
+ to: subscribersEmails,
+ subject: `New status update for ${pageInfo.title}`,
+ html: `<p>Hi,</p><p>${pageInfo.title} just posted an update on their status page:</p><p>New Status : ${statusReportUpdate.status}</p><p>${statusReportUpdate.message}</p></p><p></p><p>Powered by OpenStatus</p><p></p><p></p><p></p><p></p><p></p>
+ `,
+ from: "Notification OpenStatus <[email protected]>",
+ });
+ }
+ }
+
+ const data = StatusReportUpdateSchema.parse(_statusReportUpdate);
+
+ return c.json(data);
+ });
+}
diff --git a/apps/server/src/v1/utils.ts b/apps/server/src/v1/utils.ts
index 27c22e796..7298c6f7c 100644
--- a/apps/server/src/v1/utils.ts
+++ b/apps/server/src/v1/utils.ts
@@ -1,18 +1,5 @@
import { z } from "@hono/zod-openapi";
-import { db, eq } from "@openstatus/db";
-import { selectWorkspaceSchema, workspace } from "@openstatus/db/src/schema";
-import { allPlans } from "@openstatus/plans";
-
-/**
- * TODO: move the plan limit into the Unkey `{ meta }` to avoid an additional db call.
- * When an API Key is created, we need to include the `{ meta: { plan: "free" } }` to the key.
- * Then, we can just read the plan from the key and use it in the middleware.
- * Don't forget to update the key whenever a user changes their plan. (via `stripeRoute` webhook)
- *
- * That remindes me we need to downgrade the frequency/periodicity of monitors to 10m if the user downgrades their plan.
- */
-
export const isoDate = z.preprocess((val) => {
if (val) {
return new Date(String(val)).toISOString();
@@ -20,23 +7,8 @@ export const isoDate = z.preprocess((val) => {
return new Date().toISOString();
}, z.string());
-export async function getWorkspace(id: number) {
- const _workspace = await db
- .select()
- .from(workspace)
- .where(eq(workspace.id, id))
- .get();
-
- return selectWorkspaceSchema.parse(_workspace);
-}
-
-export async function getLimitByWorkspaceId(id: number) {
- const { plan } = await getWorkspace(id);
- return allPlans[plan];
-}
-
export function isNumberArray<T>(
- monitors: number[] | T[],
+ monitors: number[] | T[]
): monitors is number[] {
return (
Array.isArray(monitors) &&
diff --git a/apps/web/package.json b/apps/web/package.json
index b019cc3ab..de96843d8 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -21,6 +21,7 @@
"@openstatus/assertions": "workspace:*",
"@openstatus/db": "workspace:*",
"@openstatus/emails": "workspace:*",
+ "@openstatus/error": "workspace:*",
"@openstatus/header-analysis": "workspace:*",
"@openstatus/next-monitoring": "0.0.4",
"@openstatus/notification-discord": "workspace:*",
diff --git a/apps/web/src/app/status-page/[domain]/_components/actions.ts b/apps/web/src/app/status-page/[domain]/_components/actions.ts
index 7db41d6f0..25e957871 100644
--- a/apps/web/src/app/status-page/[domain]/_components/actions.ts
+++ b/apps/web/src/app/status-page/[domain]/_components/actions.ts
@@ -37,7 +37,7 @@ export async function handleSubscribe(formData: FormData) {
.from(page)
.where(
// REMINDER: customDomain for pro users
- sql`lower(${page.slug}) = ${slug} OR lower(${page.customDomain}) = ${slug}`
+ sql`lower(${page.slug}) = ${slug} OR lower(${page.customDomain}) = ${slug}`,
)
.get();
@@ -53,8 +53,8 @@ export async function handleSubscribe(formData: FormData) {
.where(
and(
eq(pageSubscriber.email, validatedFields.data.email),
- eq(pageSubscriber.pageId, pageData.id)
- )
+ eq(pageSubscriber.pageId, pageData.id),
+ ),
)
.get();
@@ -118,7 +118,7 @@ export async function handleValidatePassword(formData: FormData) {
.from(page)
.where(
// REMINDER: customDomain for pro users
- sql`lower(${page.slug}) = ${slug} OR lower(${page.customDomain}) = ${slug}`
+ sql`lower(${page.slug}) = ${slug} OR lower(${page.customDomain}) = ${slug}`,
)
.get();
diff --git a/apps/web/src/components/forms/monitor/form.tsx b/apps/web/src/components/forms/monitor/form.tsx
index 75924e999..7a717e40d 100644
--- a/apps/web/src/components/forms/monitor/form.tsx
+++ b/apps/web/src/components/forms/monitor/form.tsx
@@ -91,22 +91,26 @@ export function MonitorForm({
});
const router = useRouter();
const pathname = usePathname();
- const [isPending, startTransition] = React.useTransition();
+ const [isPending, setPending] = React.useState(false);
const [pingFailed, setPingFailed] = React.useState(false);
const handleDataUpdateOrInsertion = async (props: InsertMonitor) => {
+ if (defaultValues) {
+ await api.monitor.update.mutate(props);
+ } else {
+ await api.monitor.create.mutate(props);
+ }
+ if (nextUrl) {
+ router.push(nextUrl);
+ }
+ // to reset the `isDirty` state of them form while keeping the values for optimistic UI
+ form.reset(undefined, { keepValues: true });
+ router.refresh();
+ };
+
+ const handleForceDataUpdateOrInsertion = async (props: InsertMonitor) => {
try {
- if (defaultValues) {
- await api.monitor.update.mutate(props);
- } else {
- await api.monitor.create.mutate(props);
- }
- if (nextUrl) {
- router.push(nextUrl);
- }
- // to reset the `isDirty` state of them form while keeping the values for optimistic UI
- form.reset(undefined, { keepValues: true });
- router.refresh();
+ handleDataUpdateOrInsertion(props);
toastAction("saved");
} catch (_error) {
toastAction("error");
@@ -114,19 +118,28 @@ export function MonitorForm({
};
const onSubmit = ({ ...props }: InsertMonitor) => {
- startTransition(async () => {
- try {
+ toast.promise(
+ async () => {
+ setPending(true);
const { error } = await pingEndpoint();
if (error) {
setPingFailed(true);
- toast.error(error);
- return;
+ throw new Error(error);
}
await handleDataUpdateOrInsertion(props);
- } catch {
- toastAction("error");
- }
- });
+ },
+ {
+ loading: "Checking the endpoint before saving...",
+ success: () => "Endpoint is working fine. Saved!",
+ error: (error: Error) => {
+ if (error instanceof Error) return error.message;
+ return "Endpoint is not working.";
+ },
+ finally: () => {
+ setPending(false);
+ },
+ },
+ );
};
const validateJSON = (value?: string) => {
@@ -307,7 +320,7 @@ export function MonitorForm({
<FailedPingAlertConfirmation
monitor={form.getValues()}
{...{ pingFailed, setPingFailed }}
- onConfirm={handleDataUpdateOrInsertion}
+ onConfirm={handleForceDataUpdateOrInsertion}
/>
</>
);
diff --git a/apps/web/src/components/forms/notification/config.ts b/apps/web/src/components/forms/notification/config.ts
index 231feaacb..0c251052b 100644
--- a/apps/web/src/components/forms/notification/config.ts
+++ b/apps/web/src/components/forms/notification/config.ts
@@ -4,6 +4,7 @@ import type {
} from "@openstatus/db/src/schema";
import { sendTestDiscordMessage } from "@openstatus/notification-discord";
import { sendTestSlackMessage } from "@openstatus/notification-slack";
+import { allPlans, plans } from "@openstatus/plans";
export function getDefaultProviderData(defaultValues?: InsertNotification) {
if (!defaultValues?.provider) return ""; // FIXME: input can empty - needs to be undefined
@@ -18,47 +19,52 @@ export function getProviderMetaData(provider: NotificationProvider) {
switch (provider) {
case "email":
return {
+ label: "Email",
dataType: "email",
placeholder: "[email protected]",
setupDocLink: null,
sendTest: null,
- plans: ["free", "starter", "pro", "team"],
+ plans: plans,
};
case "slack":
return {
+ label: "Slack",
dataType: "url",
placeholder: "https://hooks.slack.com/services/xxx...",
setupDocLink:
"https://api.slack.com/messaging/webhooks#getting_started",
sendTest: sendTestSlackMessage,
- plans: ["free", "starter", "pro", "team"],
+ plans: plans,
};
case "discord":
return {
+ label: "Discord",
dataType: "url",
placeholder: "https://discord.com/api/webhooks/{channelId}/xxx...",
setupDocLink: "https://support.discord.com/hc/en-us/articles/228383668",
sendTest: sendTestDiscordMessage,
- plans: ["free", "starter", "pro", "team"],
+ plans: plans,
};
case "sms":
return {
+ label: "SMS",
dataType: "tel",
placeholder: "+123456789",
setupDocLink: null,
sendTest: null,
- plans: ["pro", "team"],
+ plans: plans.filter((plan) => allPlans[plan].limits.sms),
};
default:
return {
+ label: "Webhook",
dataType: "url",
placeholder: "xxxx",
setupDocLink: `https://docs.openstatus.dev/integrations/${provider}`,
send: null,
- plans: ["free", "starter", "pro", "team"],
+ plans: plans,
};
}
}
diff --git a/apps/web/src/components/forms/notification/form.tsx b/apps/web/src/components/forms/notification/form.tsx
index 34c56ce18..c06987cf6 100644
--- a/apps/web/src/components/forms/notification/form.tsx
+++ b/apps/web/src/components/forms/notification/form.tsx
@@ -13,7 +13,7 @@ import { insertNotificationSchema } from "@openstatus/db/src/schema";
import { Button, Form } from "@openstatus/ui";
import { LoadingAnimation } from "@/components/loading-animation";
-import { toastAction } from "@/lib/toast";
+import { toast, toastAction } from "@/lib/toast";
import { api } from "@/trpc/client";
import { SaveButton } from "../shared/save-button";
import {
@@ -22,6 +22,9 @@ import {
setProviderData,
} from "./config";
import { General } from "./general";
+import { TRPCClientError } from "@trpc/client";
+import { ZodError, type ZodIssue } from "zod";
+import { SchemaError } from "@openstatus/error";
interface Props {
defaultValues?: InsertNotification;
@@ -79,8 +82,9 @@ export function NotificationForm({
}
router.refresh();
toastAction("saved");
- } catch {
- toastAction("error");
+ } catch (e) {
+ if (e instanceof TRPCClientError) toast.error(e.message);
+ else toastAction("error");
} finally {
onExternalSubmit?.();
}
diff --git a/apps/web/src/components/forms/notification/general.tsx b/apps/web/src/components/forms/notification/general.tsx
index 37e78e83c..5dd3017df 100644
--- a/apps/web/src/components/forms/notification/general.tsx
+++ b/apps/web/src/components/forms/notification/general.tsx
@@ -26,7 +26,6 @@ import {
SelectValue,
} from "@openstatus/ui";
-import { toCapitalize } from "@/lib/utils";
import { SectionHeader } from "../shared/section-header";
import { getProviderMetaData } from "./config";
@@ -68,16 +67,17 @@ export function General({ form, plan }: Props) {
</FormControl>
<SelectContent>
{notificationProvider.map((provider) => {
- const isIncluded =
- getProviderMetaData(provider).plans?.includes(plan);
+ const providerData = getProviderMetaData(provider);
+ const enabled = providerData.plans?.includes(plan);
+
return (
<SelectItem
key={provider}
value={provider}
className="capitalize"
- disabled={!isIncluded}
+ disabled={!enabled}
>
- {provider}
+ {providerData.label}
</SelectItem>
);
})}
@@ -110,10 +110,7 @@ export function General({ form, plan }: Props) {
name="data"
render={({ field }) => (
<FormItem className="sm:col-span-full">
- {/* make the first letter capital */}
- <div className="flex items-center justify-between">
- <FormLabel>{toCapitalize(watchProvider)}</FormLabel>
- </div>
+ <FormLabel>{providerMetaData.label}</FormLabel>
<FormControl>
<Input
type={providerMetaData.dataType}
@@ -123,7 +120,7 @@ export function General({ form, plan }: Props) {
/>
</FormControl>
<FormDescription className="flex items-center justify-between">
- The data required.
+ The data is required.
{providerMetaData.setupDocLink && (
<a
href={providerMetaData.setupDocLink}
@@ -131,7 +128,7 @@ export function General({ form, plan }: Props) {
className="underline hover:no-underline"
rel="noreferrer"
>
- How to setup your {toCapitalize(watchProvider)} webhook
+ How to setup your {providerMetaData.label} webhook
</a>
)}
</FormDescription>
diff --git a/packages/api/package.json b/packages/api/package.json
index e6ef07c2b..36d5e96ad 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -11,6 +11,7 @@
"@openstatus/assertions": "workspace:*",
"@openstatus/db": "workspace:*",
"@openstatus/emails": "workspace:*",
+ "@openstatus/error": "workspace:*",
"@openstatus/plans": "workspace:*",
"@openstatus/tinybird": "workspace:*",
"@t3-oss/env-core": "0.7.0",
diff --git a/packages/api/src/router/notification.ts b/packages/api/src/router/notification.ts
index dd195361e..93c988f3e 100644
--- a/packages/api/src/router/notification.ts
+++ b/packages/api/src/router/notification.ts
@@ -3,6 +3,7 @@ import { z } from "zod";
import { and, eq } from "@openstatus/db";
import {
+ NotificationDataSchema,
insertNotificationSchema,
notification,
selectNotificationSchema,
@@ -11,12 +12,13 @@ import { getLimit } from "@openstatus/plans";
import { trackNewNotification } from "../analytics";
import { createTRPCRouter, protectedProcedure } from "../trpc";
+import { SchemaError } from "@openstatus/error";
export const notificationRouter = createTRPCRouter({
create: protectedProcedure
.input(insertNotificationSchema)
.mutation(async (opts) => {
- const { ...data } = opts.input;
+ const { ...props } = opts.input;
const notificationLimit = getLimit(
opts.ctx.workspace.plan,
@@ -37,9 +39,18 @@ export const notificationRouter = createTRPCRouter({
});
}
+ const _data = NotificationDataSchema.safeParse(JSON.parse(props.data));
+
+ if (!_data.success) {
+ throw new TRPCError({
+ code: "BAD_REQUEST",
+ message: SchemaError.fromZod(_data.error, props).message,
+ });
+ }
+
const _notification = await opts.ctx.db
.insert(notification)
- .values({ ...data, workspaceId: opts.ctx.workspace.id })
+ .values({ ...props, workspaceId: opts.ctx.workspace.id })
.returning()
.get();
@@ -55,10 +66,20 @@ export const notificationRouter = createTRPCRouter({
.mutation(async (opts) => {
if (!opts.input.id) return;
- const { ...data } = opts.input;
+ const { ...props } = opts.input;
+
+ const _data = NotificationDataSchema.safeParse(JSON.parse(props.data));
+
+ if (!_data.success) {
+ throw new TRPCError({
+ code: "BAD_REQUEST",
+ message: SchemaError.fromZod(_data.error, props).message,
+ });
+ }
+
return await opts.ctx.db
.update(notification)
- .set({ ...data, updatedAt: new Date() })
+ .set({ ...props, updatedAt: new Date() })
.where(
and(
eq(notification.id, opts.input.id),
diff --git a/packages/api/src/router/page.ts b/packages/api/src/router/page.ts
index 6dda52f16..aae002dfa 100644
--- a/packages/api/src/router/page.ts
+++ b/packages/api/src/router/page.ts
@@ -65,7 +65,7 @@ export const pageRouter = createTRPCRouter({
where: and(
inArray(monitor.id, monitorIds),
eq(monitor.workspaceId, opts.ctx.workspace.id),
- isNull(monitor.deletedAt)
+ isNull(monitor.deletedAt),
),
});
@@ -95,7 +95,7 @@ export const pageRouter = createTRPCRouter({
const firstPage = await opts.ctx.db.query.page.findFirst({
where: and(
eq(page.id, opts.input.id),
- eq(page.workspaceId, opts.ctx.workspace.id)
+ eq(page.workspaceId, opts.ctx.workspace.id),
),
with: {
monitorsToPages: {
@@ -132,8 +132,8 @@ export const pageRouter = createTRPCRouter({
.where(
and(
eq(page.id, pageInput.id),
- eq(page.workspaceId, opts.ctx.workspace.id)
- )
+ eq(page.workspaceId, opts.ctx.workspace.id),
+ ),
)
.returning()
.get();
@@ -144,7 +144,7 @@ export const pageRouter = createTRPCRouter({
where: and(
inArray(monitor.id, monitorIds),
eq(monitor.workspaceId, opts.ctx.workspace.id),
- isNull(monitor.deletedAt)
+ isNull(monitor.deletedAt),
),
});
@@ -173,8 +173,8 @@ export const pageRouter = createTRPCRouter({
.where(
and(
inArray(monitorsToPages.monitorId, removedMonitors),
- eq(monitorsToPages.pageId, currentPage.id)
- )
+ eq(monitorsToPages.pageId, currentPage.id),
+ ),
);
}
@@ -202,8 +202,8 @@ export const pageRouter = createTRPCRouter({
.where(
and(
eq(page.id, opts.input.id),
- eq(page.workspaceId, opts.ctx.workspace.id)
- )
+ eq(page.workspaceId, opts.ctx.workspace.id),
+ ),
)
.run();
}),
@@ -245,12 +245,12 @@ export const pageRouter = createTRPCRouter({
.leftJoin(monitor, eq(monitorsToPages.monitorId, monitor.id))
.where(
// make sur only active monitors are returned!
- and(eq(monitorsToPages.pageId, result.id), eq(monitor.active, true))
+ and(eq(monitorsToPages.pageId, result.id), eq(monitor.active, true)),
)
.all();
const monitorsId = monitorsToPagesResult.map(
- ({ monitors_to_pages }) => monitors_to_pages.monitorId
+ ({ monitors_to_pages }) => monitors_to_pages.monitorId,
);
const monitorsToStatusReportResult =
@@ -269,15 +269,15 @@ export const pageRouter = createTRPCRouter({
.all();
const monitorStatusReportIds = monitorsToStatusReportResult.map(
- ({ statusReportId }) => statusReportId
+ ({ statusReportId }) => statusReportId,
);
const pageStatusReportIds = statusReportsToPagesResult.map(
- ({ statusReportId }) => statusReportId
+ ({ statusReportId }) => statusReportId,
);
const statusReportIds = Array.from(
- new Set([...monitorStatusReportIds, ...pageStatusReportIds])
+ new Set([...monitorStatusReportIds, ...pageStatusReportIds]),
);
const statusReports =
@@ -304,8 +304,8 @@ export const pageRouter = createTRPCRouter({
and(
inArray(monitor.id, monitorsId),
eq(monitor.active, true),
- isNull(monitor.deletedAt)
- ) // REMINDER: this is hardcoded
+ isNull(monitor.deletedAt),
+ ), // REMINDER: this is hardcoded
)
.all()
: [];
@@ -318,8 +318,8 @@ export const pageRouter = createTRPCRouter({
.where(
inArray(
incidentTable.monitorId,
- monitors.map((m) => m.id)
- )
+ monitors.map((m) => m.id),
+ ),
)
.all()
: [];
@@ -348,7 +348,7 @@ export const pageRouter = createTRPCRouter({
// had filter on some words we want to keep for us
if (
["api", "app", "www", "docs", "checker", "time", "help"].includes(
- opts.input.slug
+ opts.input.slug,
)
) {
return false;
@@ -361,7 +361,7 @@ export const pageRouter = createTRPCRouter({
addCustomDomain: protectedProcedure
.input(
- z.object({ customDomain: z.string().toLowerCase(), pageId: z.number() })
+ z.object({ customDomain: z.string().toLowerCase(), pageId: z.number() }),
)
.mutation(async (opts) => {
// TODO Add some check ?
diff --git a/packages/db/package.json b/packages/db/package.json
index f79b57c47..aa9c92f3e 100644
--- a/packages/db/package.json
+++ b/packages/db/package.json
@@ -33,5 +33,5 @@
"typescript": "5.4.5",
"utf-8-validate": "6.0.3"
},
- "author": ""
+ "author": "OpenStatus"
}
diff --git a/packages/db/src/schema/notifications/validation.ts b/packages/db/src/schema/notifications/validation.ts
index 1362a1df9..c7facf39c 100644
--- a/packages/db/src/schema/notifications/validation.ts
+++ b/packages/db/src/schema/notifications/validation.ts
@@ -27,17 +27,17 @@ export type InsertNotification = z.infer<typeof insertNotificationSchema>;
export type Notification = z.infer<typeof selectNotificationSchema>;
export type NotificationProvider = z.infer<typeof notificationProviderSchema>;
+const phoneRegex = new RegExp(
+ /^([+]?[\s0-9]+)?(\d{3}|[(]?[0-9]+[)])?([-]?[\s]?[0-9])+$/,
+);
+
+export const phoneSchema = z.string().regex(phoneRegex, "Invalid Number!");
+export const emailSchema = z.string().email();
+export const urlSchema = z.string().url();
+
export const NotificationDataSchema = z.union([
- z.object({
- sms: z.string(),
- }),
- z.object({
- email: z.string().email(),
- }),
- z.object({
- slack: z.string(),
- }),
- z.object({
- discord: z.string(),
- }),
+ z.object({ sms: phoneSchema }),
+ z.object({ email: emailSchema }),
+ z.object({ slack: urlSchema }),
+ z.object({ discord: urlSchema }),
]);
diff --git a/packages/db/src/seed.mts b/packages/db/src/seed.mts
index f906028c2..5cb03940d 100644
--- a/packages/db/src/seed.mts
+++ b/packages/db/src/seed.mts
@@ -9,9 +9,11 @@ import {
incidentTable,
monitor,
monitorsToPages,
+ monitorsToStatusReport,
notification,
notificationsToMonitors,
page,
+ pagesToStatusReports,
statusReport,
statusReportUpdate,
user,
@@ -155,7 +157,7 @@ async function main() {
id: 1,
statusReportId: 1,
status: "investigating",
- message: "",
+ message: "Message",
date: new Date(),
})
.run();
@@ -177,11 +179,33 @@ async function main() {
id: 2,
statusReportId: 2,
status: "investigating",
- message: "",
+ message: "Message",
date: new Date(),
})
.run();
+ await db.insert(monitorsToStatusReport).values([
+ {
+ monitorId: 1,
+ statusReportId: 2,
+ },
+ {
+ monitorId: 2,
+ statusReportId: 2,
+ },
+ ]);
+
+ await db.insert(pagesToStatusReports).values([
+ {
+ pageId: 1,
+ statusReportId: 2,
+ },
+ {
+ pageId: 1,
+ statusReportId: 1,
+ },
+ ]);
+
await db
.insert(incidentTable)
.values({
diff --git a/packages/emails/emails/send.ts b/packages/emails/emails/send.ts
index 39e949eee..7f92a7098 100644
--- a/packages/emails/emails/send.ts
+++ b/packages/emails/emails/send.ts
@@ -1,3 +1,4 @@
+import type React from "react";
import { Resend } from "resend";
import { env } from "../env";
@@ -5,7 +6,7 @@ import { env } from "../env";
export const resend = new Resend(env.RESEND_API_KEY);
export interface Emails {
- react: JSX.Element;
+ react: React.JSX.Element;
subject: string;
to: string[];
from: string;
diff --git a/packages/error/index.ts b/packages/error/index.ts
new file mode 100644
index 000000000..df5687869
--- /dev/null
+++ b/packages/error/index.ts
@@ -0,0 +1,5 @@
+export * from "./src/base-error";
+export * from "./src/error-code";
+export * from "./src/http-error";
+export * from "./src/schema-error";
+export * from "./src/utils";
diff --git a/packages/error/package.json b/packages/error/package.json
new file mode 100644
index 000000000..67a80f1d1
--- /dev/null
+++ b/packages/error/package.json
@@ -0,0 +1,17 @@
+{
+ "name": "@openstatus/error",
+ "version": "0.0.0",
+ "description": "",
+ "main": "index.ts",
+ "scripts": {},
+ "dependencies": {
+ "zod": "3.22.4"
+ },
+ "devDependencies": {
+ "@openstatus/tsconfig": "workspace:*",
+ "typescript": "5.4.5"
+ },
+ "keywords": [],
+ "author": "",
+ "license": "ISC"
+}
diff --git a/packages/error/src/base-error.ts b/packages/error/src/base-error.ts
new file mode 100644
index 000000000..0f22f9b95
--- /dev/null
+++ b/packages/error/src/base-error.ts
@@ -0,0 +1,46 @@
+import type { ErrorCode } from "./error-code";
+
+type ErrorContext = Record<string, unknown>;
+
+export abstract class BaseError<
+ TContext extends ErrorContext = ErrorContext
+> extends Error {
+ public abstract readonly name: string;
+ /**
+ * A distinct code for the error type used to differentiate between different types of errors.
+ * Used to build the URL for the error documentation.
+ * @example 'UNAUTHENTICATED' | 'INTERNAL_SERVER_ERROR'
+ */
+ public abstract readonly code?: ErrorCode;
+ public readonly cause?: BaseError;
+ /**
+ * Additional context to help understand the error.
+ * @example { url: 'https://example.com/api', method: 'GET', statusCode: 401 }
+ */
+ public readonly context?: TContext;
+
+ constructor(opts: {
+ message: string;
+ cause?: BaseError;
+ context?: TContext;
+ }) {
+ super(opts.message);
+ this.cause = opts.cause;
+ this.context = opts.context;
+
+ // TODO: add logger here!
+ }
+
+ public toString(): string {
+ return `${this.name}(${this.code}): ${
+ this.message
+ } - caused by ${this.cause?.toString()} - with context ${JSON.stringify(
+ this.context
+ )}`;
+ }
+
+ // get docs(): string {
+ // if (!this.code) return "https://example.com/docs/errors"
+ // return `https://example.com/docs/errors/${this.code}`;
+ // }
+}
diff --git a/packages/error/src/error-code.ts b/packages/error/src/error-code.ts
new file mode 100644
index 000000000..7c405f0a0
--- /dev/null
+++ b/packages/error/src/error-code.ts
@@ -0,0 +1,17 @@
+import { z } from "zod";
+
+export const ErrorCodeEnum = z.enum([
+ "BAD_REQUEST",
+ "FORBIDDEN",
+ "INTERNAL_SERVER_ERROR",
+ "USAGE_EXCEEDED",
+ "DISABLED",
+ "CONFLICT",
+ "NOT_FOUND",
+ "NOT_UNIQUE",
+ "UNAUTHORIZED",
+ "METHOD_NOT_ALLOWED",
+ "UNPROCESSABLE_ENTITY",
+]);
+
+export type ErrorCode = z.infer<typeof ErrorCodeEnum>;
diff --git a/packages/error/src/http-error.ts b/packages/error/src/http-error.ts
new file mode 100644
index 000000000..7e28c8a95
--- /dev/null
+++ b/packages/error/src/http-error.ts
@@ -0,0 +1,36 @@
+import { BaseError } from "./base-error";
+import type { ErrorCode } from "./error-code";
+import { statusToCode } from "./utils";
+
+type Context = {
+ url?: string;
+ method?: string;
+ statusCode?: number;
+};
+
+export class HttpError extends BaseError<Context> {
+ public readonly name = HttpError.name;
+ public readonly code: ErrorCode;
+
+ constructor(opts: {
+ code: ErrorCode;
+ message: string;
+ cause?: BaseError;
+ context?: Context;
+ }) {
+ super(opts);
+ this.code = opts.code;
+ }
+
+ public static fromRequest(request: Request, response: Response) {
+ return new HttpError({
+ code: statusToCode(response.status),
+ message: response.statusText, // can be overriden with { ...res, statusText: 'Custom message' }
+ context: {
+ url: request.url,
+ method: request.method,
+ statusCode: response.status,
+ },
+ });
+ }
+}
diff --git a/packages/error/src/schema-error.ts b/packages/error/src/schema-error.ts
new file mode 100644
index 000000000..8f5e1c351
--- /dev/null
+++ b/packages/error/src/schema-error.ts
@@ -0,0 +1,30 @@
+import type { ZodError } from "zod";
+
+import { BaseError } from "./base-error";
+import type { ErrorCode } from "./error-code";
+import { parseZodErrorIssues } from "./utils";
+
+type Context = { raw: unknown };
+
+export class SchemaError extends BaseError<Context> {
+ public readonly name = SchemaError.name;
+ public readonly code: ErrorCode;
+
+ constructor(opts: {
+ code: ErrorCode;
+ message: string;
+ cause?: BaseError;
+ context?: Context;
+ }) {
+ super(opts);
+ this.code = opts.code;
+ }
+
+ static fromZod<T>(e: ZodError<T>, raw: unknown): SchemaError {
+ return new SchemaError({
+ code: "UNPROCESSABLE_ENTITY",
+ message: parseZodErrorIssues(e.issues),
+ context: { raw: JSON.stringify(raw) },
+ });
+ }
+}
diff --git a/packages/error/src/utils.ts b/packages/error/src/utils.ts
new file mode 100644
index 000000000..e62342ba3
--- /dev/null
+++ b/packages/error/src/utils.ts
@@ -0,0 +1,67 @@
+import type { ZodIssue } from "zod";
+
+import type { ErrorCode } from "./error-code";
+
+export function statusToCode(status: number): ErrorCode {
+ switch (status) {
+ case 400:
+ return "BAD_REQUEST";
+ case 401:
+ return "UNAUTHORIZED";
+ case 403:
+ return "FORBIDDEN";
+ case 404:
+ return "NOT_FOUND";
+ case 405:
+ return "METHOD_NOT_ALLOWED";
+ case 409:
+ return "METHOD_NOT_ALLOWED";
+ case 422:
+ return "UNPROCESSABLE_ENTITY";
+ case 500:
+ return "INTERNAL_SERVER_ERROR";
+ default:
+ return "INTERNAL_SERVER_ERROR";
+ }
+}
+
+export function codeToStatus(code: ErrorCode): number {
+ switch (code) {
+ case "BAD_REQUEST":
+ return 400;
+ case "UNAUTHORIZED":
+ return 401;
+ case "FORBIDDEN":
+ return 403;
+ case "NOT_FOUND":
+ return 404;
+ case "METHOD_NOT_ALLOWED":
+ return 405;
+ case "CONFLICT":
+ return 409;
+ case "UNPROCESSABLE_ENTITY":
+ return 422;
+ case "INTERNAL_SERVER_ERROR":
+ return 500;
+ default:
+ return 500;
+ }
+}
+
+// Props to cal.com: https://github.com/calcom/cal.com/blob/5d325495a9c30c5a9d89fc2adfa620b8fde9346e/packages/lib/server/getServerErrorFromUnknown.ts#L17
+export function parseZodErrorIssues(issues: ZodIssue[]): string {
+ return issues
+ .map((i) =>
+ i.code === "invalid_union"
+ ? i.unionErrors.map((ue) => parseZodErrorIssues(ue.issues)).join("; ")
+ : i.code === "unrecognized_keys"
+ ? i.message
+ : `${i.path.length ? `${i.code} in '${i.path}': ` : ""}${i.message}`
+ )
+ .join("; ");
+}
+
+export function redactError<TError extends Error | unknown>(err: TError) {
+ if (!(err instanceof Error)) return err;
+ console.error(`Type of Error: ${err.constructor}`);
+}
diff --git a/packages/error/tsconfig.json b/packages/error/tsconfig.json
new file mode 100644
index 000000000..aed15c74a
--- /dev/null
+++ b/packages/error/tsconfig.json
@@ -0,0 +1,4 @@
+{
+ "extends": "@openstatus/tsconfig/base.json",
+ "include": ["src", "*.ts"]
+}
diff --git a/packages/plans/src/config.ts b/packages/plans/src/config.ts
index aa67cfb82..ea914e74a 100644
--- a/packages/plans/src/config.ts
+++ b/packages/plans/src/config.ts
@@ -6,7 +6,7 @@ import type { Limits } from "./types";
export const allPlans: Record<
WorkspacePlan,
{
- title: string;
+ title: "Hobby" | "Starter" | "Growth" | "Pro";
description: string;
price: number;
limits: Limits;
diff --git a/packages/plans/src/utils.ts b/packages/plans/src/utils.ts
index d6f057ae3..00f46d337 100644
--- a/packages/plans/src/utils.ts
+++ b/packages/plans/src/utils.ts
@@ -6,11 +6,15 @@ import type { Limits } from "./types";
// TODO: use getLimit utils function
export function getLimit<T extends keyof Limits>(
plan: WorkspacePlan,
- limit: T,
+ limit: T
) {
return allPlans[plan].limits[limit];
}
-export function getLimits(plan: WorkspacePlan) {
- return allPlans[plan].limits;
+export function getLimits(plan: WorkspacePlan | null) {
+ return allPlans[plan || "free"].limits;
+}
+
+export function getPlanConfig(plan: WorkspacePlan | null) {
+ return allPlans[plan || "free"];
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4d505c490..0b2391c87 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -39,7 +39,7 @@ importers:
version: 5.3.0
drizzle-orm:
specifier: 0.30.10
hono:
specifier: 4.3.9
version: 4.3.9
@@ -58,7 +58,7 @@ importers:
version: 5.4.5
wrangler:
specifier: 3.57.0
apps/screenshot-service:
dependencies:
@@ -70,7 +70,7 @@ importers:
'@libsql/client':
specifier: 0.6.0
'@openstatus/db':
specifier: workspace:*
version: link:../../packages/db
@@ -85,7 +85,7 @@ importers:
version: 2.1.8
drizzle-orm:
specifier: 0.30.7
hono:
specifier: 4.2.2
version: 4.2.2
@@ -110,13 +110,13 @@ importers:
'@libsql/client':
specifier: 0.6.0
'@openstatus/db':
specifier: workspace:*
version: link:../../packages/db
drizzle-orm:
specifier: 0.30.7
hono:
specifier: 4.2.2
version: 4.2.2
@@ -138,7 +138,7 @@ importers:
version: 5.4.4
wrangler:
specifier: 3.47.0
apps/server:
dependencies:
@@ -160,6 +160,9 @@ importers:
'@openstatus/emails':
specifier: workspace:*
version: link:../../packages/emails
+ '@openstatus/error':
+ specifier: workspace:*
+ version: link:../../packages/error
'@openstatus/notification-discord':
specifier: workspace:*
version: link:../../packages/notifications/discord
@@ -241,7 +244,7 @@ importers:
'@libsql/client':
specifier: 0.6.0
'@openstatus/analytics':
specifier: workspace:*
version: link:../../packages/analytics
@@ -257,6 +260,9 @@ importers:
'@openstatus/emails':
specifier: workspace:*
version: link:../../packages/emails
+ '@openstatus/error':
+ specifier: workspace:*
+ version: link:../../packages/error
'@openstatus/header-analysis':
specifier: workspace:*
version: link:../../packages/header-analysis
@@ -310,10 +316,10 @@ importers:
'@tailwindcss/container-queries':
specifier: 0.1.1
'@tailwindcss/typography':
specifier: 0.5.10
'@tanstack/react-table':
specifier: 8.10.3
@@ -322,16 +328,16 @@ importers:
version: 4.2.3
'@tremor/react':
specifier: 3.13.3
'@trpc/client':
specifier: 10.45.1
version: 10.45.1(@trpc/[email protected])
'@trpc/next':
specifier: 10.45.1
'@trpc/react-query':
specifier: 10.45.1
'@trpc/server':
specifier: 10.45.1
version: 10.45.1
@@ -346,7 +352,7 @@ importers:
version: 1.22.1([email protected])
'@vercel/blob':
specifier: 0.13.0
class-variance-authority:
specifier: 0.7.0
version: 0.7.0
@@ -361,7 +367,7 @@ importers:
version: 0.6.3
contentlayer:
specifier: 0.3.4
- version: 0.3.4([email protected])
+ version: 0.3.4([email protected])
date-fns:
specifier: 2.30.0
version: 2.30.0
@@ -382,7 +388,7 @@ importers:
next-contentlayer:
specifier: 0.3.4
next-plausible:
specifier: 3.12.0
@@ -451,14 +457,14 @@ importers:
version: 1.14.0
tailwindcss-animate:
specifier: 1.0.7
zod:
specifier: 3.22.4
version: 3.22.4
devDependencies:
'@headlessui/tailwindcss':
specifier: 0.2.0
'@openstatus/tsconfig':
specifier: workspace:*
version: link:../../packages/tsconfig
@@ -491,7 +497,7 @@ importers:
version: 3.0.1
tailwindcss:
specifier: 3.4.3
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -535,6 +541,9 @@ importers:
'@openstatus/emails':
specifier: workspace:*
version: link:../emails
+ '@openstatus/error':
+ specifier: workspace:*
+ version: link:../error
'@openstatus/plans':
specifier: workspace:*
version: link:../plans
@@ -558,7 +567,7 @@ importers:
version: 5.0.0-beta.1
next:
specifier: 14.2.3
random-word-slugs:
specifier: 0.1.7
version: 0.1.7
@@ -613,10 +622,10 @@ importers:
version: 16.3.1
drizzle-orm:
specifier: 0.30.10
drizzle-zod:
specifier: 0.5.1
zod:
specifier: 3.22.4
version: 3.22.4
@@ -644,7 +653,7 @@ importers:
version: 0.1.13
next-auth:
specifier: 5.0.0-beta.17
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -659,7 +668,7 @@ importers:
version: 0.0.10
'@react-email/components':
specifier: 0.0.7
'@react-email/head':
specifier: 0.0.5
version: 0.0.5
@@ -668,7 +677,7 @@ importers:
version: 0.0.4
'@react-email/tailwind':
specifier: 0.0.9
'@t3-oss/env-core':
specifier: 0.7.0
@@ -698,6 +707,131 @@ importers:
specifier: 5.4.5
version: 5.4.5
+ 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.10
+ version: 0.0.10
+ '@react-email/components':
+ specifier: 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.9
+ '@t3-oss/env-core':
+ specifier: 0.7.0
+ 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.10.0
+ version: 1.10.0([email protected])
+ resend:
+ specifier: 2.0.0
+ version: 2.0.0
+ zod:
+ specifier: 3.22.4
+ version: 3.22.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
+ typescript:
+ specifier: 4.9.3
+ version: 4.9.3
+
+ packages/error:
+ dependencies:
+ zod:
+ specifier: 3.22.4
+ version: 3.22.4
+ devDependencies:
+ '@openstatus/tsconfig':
+ specifier: workspace:*
+ version: link:../tsconfig
+ typescript:
+ specifier: 5.4.5
+ version: 5.4.5
+
packages/header-analysis:
devDependencies:
'@openstatus/tsconfig':
@@ -727,7 +861,7 @@ importers:
version: 18.2.21
next:
specifier: 14.2.3
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -745,7 +879,7 @@ importers:
version: link:../../tinybird
'@react-email/components':
specifier: 0.0.7
+ version: 0.0.7
'@react-email/render':
specifier: 0.0.7
version: 0.0.7
@@ -773,7 +907,7 @@ importers:
version: 18.2.21
next:
specifier: 14.2.3
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -798,7 +932,7 @@ importers:
version: 18.2.21
next:
specifier: 14.2.3
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -835,7 +969,7 @@ importers:
version: 18.2.21
next:
specifier: 14.2.3
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -873,10 +1007,10 @@ importers:
version: 18.2.64
tailwindcss:
specifier: 3.4.3
tsup:
specifier: 7.2.0
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -941,13 +1075,13 @@ importers:
dependencies:
'@dnd-kit/core':
specifier: 6.1.0
'@dnd-kit/modifiers':
specifier: 7.0.0
'@dnd-kit/sortable':
specifier: 8.0.0
'@dnd-kit/utilities':
specifier: 3.2.2
version: 3.2.2([email protected])
@@ -956,64 +1090,64 @@ importers:
'@radix-ui/react-accordion':
specifier: 1.1.2
'@radix-ui/react-alert-dialog':
specifier: 1.0.5
'@radix-ui/react-avatar':
specifier: 1.0.4
'@radix-ui/react-checkbox':
specifier: 1.0.4
'@radix-ui/react-collapsible':
specifier: 1.0.3
'@radix-ui/react-context-menu':
specifier: 2.1.5
'@radix-ui/react-dialog':
specifier: 1.0.4
'@radix-ui/react-dropdown-menu':
specifier: 2.0.6
'@radix-ui/react-hover-card':
specifier: 1.0.7
'@radix-ui/react-label':
specifier: 2.0.2
'@radix-ui/react-popover':
specifier: 1.0.7
'@radix-ui/react-progress':
specifier: 1.0.3
'@radix-ui/react-radio-group':
specifier: 1.1.3
'@radix-ui/react-select':
specifier: 2.0.0
'@radix-ui/react-separator':
specifier: 1.0.3
'@radix-ui/react-slot':
specifier: 1.0.2
version: 1.0.2(@types/[email protected])([email protected])
'@radix-ui/react-switch':
specifier: 1.0.3
'@radix-ui/react-tabs':
specifier: 1.0.4
'@radix-ui/react-toggle':
specifier: 1.0.3
'@radix-ui/react-tooltip':
specifier: 1.0.7
class-variance-authority:
specifier: 0.7.0
version: 0.7.0
@@ -1022,7 +1156,7 @@ importers:
version: 2.0.0
cmdk:
specifier: 0.2.0
date-fns:
specifier: 2.30.0
version: 2.30.0
@@ -1034,7 +1168,7 @@ importers:
version: 3.3.0
next-themes:
specifier: 0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -1046,13 +1180,13 @@ importers:
version: 7.47.0([email protected])
sonner:
specifier: 1.3.1
tailwind-merge:
specifier: 1.14.0
version: 1.14.0
tailwindcss-animate:
specifier: 1.0.7
zod:
specifier: 3.22.4
version: 3.22.4
@@ -1102,7 +1236,7 @@ importers:
version: 20.8.0
tsup:
specifier: 7.2.0
typescript:
specifier: 5.4.5
version: 5.4.5
@@ -1591,6 +1725,12 @@ packages:
'@effect-ts/[email protected]':
resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==}
+ '@emotion/[email protected]':
+ resolution: {integrity: sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==}
+
+ '@emotion/[email protected]':
+ resolution: {integrity: sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==}
+
'@ericcornelissen/[email protected]':
resolution: {integrity: sha512-4pIMTa1nEFfMXitv7oaNEWOdM+zpOZavesa5GaiWTgda6Zk32CFGxjUp/iIaN0PwgUW1yTq/fztSjbpE8SLGZQ==}
engines: {node: '>=4'}
@@ -1622,6 +1762,12 @@ packages:
cpu: [ppc64]
os: [aix]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-yTgnwQpFVYfvvo4SvRFB0SwrW8YjOxEoT7wfMT7Ol5v7v5LDNvSGo67aExmxOb87nQNeWPVvaGBNfQ7BXcrZ9w==}
+ engines: {node: '>=12'}
+ cpu: [ppc64]
+ os: [aix]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-VPuTzXFm/m2fcGfN6CiwZTlLzxrKsWbPkG7ArRFpuxyaHUm/XFHQPD4xNwZT6uUmpIHhnSjcaCmcla8COzmZ5Q==}
engines: {node: '>=12'}
@@ -1646,6 +1792,12 @@ packages:
cpu: [arm64]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-c+ty9necz3zB1Y+d/N+mC6KVVkGUUOcm4ZmT5i/Fk5arOaY3i6CA3P5wo/7+XzV8cb4GrI/Zjp8NuOQ9Lfsosw==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-rZzb7r22m20S1S7ufIc6DC6W659yxoOrl7sKP1nCYhuvUlnCFHVSbATG4keGUtV8rDz11sRRDbWkvQZpzPaHiw==}
engines: {node: '>=12'}
@@ -1670,6 +1822,12 @@ packages:
cpu: [arm]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-bviJOLMgurLJtF1/mAoJLxDZDL6oU5/ztMHnJQRejbJrSc9FFu0QoUoFhvi6qSKJEw9y5oGyvr9fuDtzJ30rNQ==}
+ engines: {node: '>=12'}
+ cpu: [arm]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-MW+B2O++BkcOfMWmuHXB15/l1i7wXhJFqbJhp82IBOais8RBEQv2vQz/jHrDEHaY2X0QY7Wfw86SBL2PbVOr0g==}
engines: {node: '>=12'}
@@ -1694,6 +1852,12 @@ packages:
cpu: [x64]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-JReHfYCRK3FVX4Ra+y5EBH1b9e16TV2OxrPAvzMsGeES0X2Ndm9ImQRI4Ket757vhc5XBOuGperw63upesclRw==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-a28X1O//aOfxwJVZVs7ZfM8Tyih2Za4nKJrBwW5Wm4yKsnwBy9aiS/xwpxiiTRttw3EaTg4Srerhcm6z0bu9Wg==}
engines: {node: '>=12'}
@@ -1718,6 +1882,12 @@ packages:
cpu: [arm64]
os: [darwin]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-U3fuQ0xNiAkXOmQ6w5dKpEvXQRSpHOnbw7gEfHCRXPeTKW9sBzVck6C5Yneb8LfJm0l6le4NQfkNPnWMSlTFUQ==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [darwin]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-e3doCr6Ecfwd7VzlaQqEPrnbvvPjE9uoTpxG5pyLzr2rI2NMjDHmvY1E5EO81O/e9TUOLLkXA5m6T8lfjK9yAA==}
engines: {node: '>=12'}
@@ -1742,6 +1912,12 @@ packages:
cpu: [x64]
os: [darwin]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-3m1CEB7F07s19wmaMNI2KANLcnaqryJxO1fXHUV5j1rWn+wMxdUYoPyO2TnAbfRZdi7ADRwJClmOwgT13qlP3Q==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [darwin]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-Oup3G/QxBgvvqnXWrBed7xxkFNwAwJVHZcklWyQt7YCAL5bfUkaa6FVWnR78rNQiM8MqqLiT6ZTZSdUFuVIg1w==}
engines: {node: '>=12'}
@@ -1766,6 +1942,12 @@ packages:
cpu: [arm64]
os: [freebsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-fsNAAl5pU6wmKHq91cHWQT0Fz0vtyE1JauMzKotrwqIKAswwP5cpHUCxZNSTuA/JlqtScq20/5KZ+TxQdovU/g==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [freebsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-vAP+eYOxlN/Bpo/TZmzEQapNS8W1njECrqkTpNgvXskkkJC2AwOXwZWai/Kc2vEFZUXQttx6UJbj9grqjD/+9Q==}
engines: {node: '>=12'}
@@ -1790,6 +1972,12 @@ packages:
cpu: [x64]
os: [freebsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-tci+UJ4zP5EGF4rp8XlZIdq1q1a/1h9XuronfxTMCNBslpCtmk97Q/5qqy1Mu4zIc0yswN/yP/BLX+NTUC1bXA==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [freebsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-2zXoBhv4r5pZiyjBKrOdFP4CXOChxXiYD50LRUU+65DkdS5niPFHbboKZd/c81l0ezpw7AQnHeoCy5hFrzzs4g==}
engines: {node: '>=12'}
@@ -1814,6 +2002,12 @@ packages:
cpu: [arm64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-vvG6R5g5ieB4eCJBQevyDMb31LMHthLpXTc2IGkFnPWS/GzIFDnaYFp558O+XybTmYrVjxnryru7QRleJvmZ6Q==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-A47ZmtpIPyERxkSvIv+zLd6kNIOtJH03XA0Hy7jaceRDdQaQVGSDt4mZqpWqJYgDk9rg96aglbF6kCRvPGDSUA==}
engines: {node: '>=12'}
@@ -1838,6 +2032,12 @@ packages:
cpu: [arm]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-f6kz2QpSuyHHg01cDawj0vkyMwuIvN62UAguQfnNVzbge2uWLhA7TCXOn83DT0ZvyJmBI943MItgTovUob36SQ==}
+ engines: {node: '>=12'}
+ cpu: [arm]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-uxdSrpe9wFhz4yBwt2kl2TxS/NWEINYBUFIxQtaEVtglm1eECvsj1vEKI0KX2k2wCe17zDdQ3v+jVxfwVfvvjw==}
engines: {node: '>=12'}
@@ -1862,6 +2062,12 @@ packages:
cpu: [ia32]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-HjCWhH7K96Na+66TacDLJmOI9R8iDWDDiqe17C7znGvvE4sW1ECt9ly0AJ3dJH62jHyVqW9xpxZEU1jKdt+29A==}
+ engines: {node: '>=12'}
+ cpu: [ia32]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-peDrrUuxbZ9Jw+DwLCh/9xmZAk0p0K1iY5d2IcwmnN+B87xw7kujOkig6ZRcZqgrXgeRGurRHn0ENMAjjD5DEg==}
engines: {node: '>=12'}
@@ -1886,6 +2092,12 @@ packages:
cpu: [loong64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-BGpimEccmHBZRcAhdlRIxMp7x9PyJxUtj7apL2IuoG9VxvU/l/v1z015nFs7Si7tXUwEsvjc1rOJdZCn4QTU+Q==}
+ engines: {node: '>=12'}
+ cpu: [loong64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-sD9EEUoGtVhFjjsauWjflZklTNr57KdQ6xfloO4yH1u7vNQlOfAlhEzbyBKfgbJlW7rwXYBdl5/NcZ+Mg2XhQA==}
engines: {node: '>=12'}
@@ -1910,6 +2122,12 @@ packages:
cpu: [mips64el]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-5rMOWkp7FQGtAH3QJddP4w3s47iT20hwftqdm7b+loe95o8JU8ro3qZbhgMRy0VuFU0DizymF1pBKkn3YHWtsw==}
+ engines: {node: '>=12'}
+ cpu: [mips64el]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-X1HSqHUX9D+d0l6/nIh4ZZJ94eQky8d8z6yxAptpZE3FxCWYWvTDd9X9ST84MGZEJx04VYUD/AGgciddwO0b8g==}
engines: {node: '>=12'}
@@ -1934,6 +2152,12 @@ packages:
cpu: [ppc64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-h0zj1ldel89V5sjPLo5H1SyMzp4VrgN1tPkN29TmjvO1/r0MuMRwJxL8QY05SmfsZRs6TF0c/IDH3u7XYYmbAg==}
+ engines: {node: '>=12'}
+ cpu: [ppc64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-97ANpzyNp0GTXCt6SRdIx1ngwncpkV/z453ZuxbnBROCJ5p/55UjhbaG23UdHj88fGWLKPFtMoU4CBacz4j9FA==}
engines: {node: '>=12'}
@@ -1958,6 +2182,12 @@ packages:
cpu: [riscv64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-dkAKcTsTJ+CRX6bnO17qDJbLoW37npd5gSNtSzjYQr0svghLJYGYB0NF1SNcU1vDcjXLYS5pO4qOW4YbFama4A==}
+ engines: {node: '>=12'}
+ cpu: [riscv64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-pUvPQLPmbEeJRPjP0DYTC1vjHyhrnCklQmCGYbipkep+oyfTn7GTBJXoPodR7ZS5upmEyc8lzAkn2o29wD786A==}
engines: {node: '>=12'}
@@ -1982,6 +2212,12 @@ packages:
cpu: [s390x]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-vnD1YUkovEdnZWEuMmy2X2JmzsHQqPpZElXx6dxENcIwTu+Cu5ERax6+Ke1QsE814Zf3c6rxCfwQdCTQ7tPuXA==}
+ engines: {node: '>=12'}
+ cpu: [s390x]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-N55Q0mJs3Sl8+utPRPBrL6NLYZKBCLLx0bme/+RbjvMforTGGzFvsRl4xLTZMUBFC1poDzBEPTEu5nxizQ9Nlw==}
engines: {node: '>=12'}
@@ -2006,6 +2242,12 @@ packages:
cpu: [x64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-IOXOIm9WaK7plL2gMhsWJd+l2bfrhfilv0uPTptoRoSb2p09RghhQQp9YY6ZJhk/kqmeRt6siRdMSLLwzuT0KQ==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-LHSJLit8jCObEQNYkgsDYBh2JrJT53oJO2HVdkSYLa6+zuLJh0lAr06brXIkljrlI+N7NNW1IAXGn/6IZPi3YQ==}
engines: {node: '>=12'}
@@ -2030,6 +2272,12 @@ packages:
cpu: [x64]
os: [netbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-uTgCwsvQ5+vCQnqM//EfDSuomo2LhdWhFPS8VL8xKf+PKTCrcT/2kPPoWMTs22aB63MLdGMJiE3f1PHvCDmUOw==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [netbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-nLgdc6tWEhcCFg/WVFaUxHcPK3AP/bh+KEwKtl69Ay5IBqUwKDaq/6Xk0E+fh/FGjnLwqFSsarsbPHeKM8t8Sw==}
engines: {node: '>=12'}
@@ -2054,6 +2302,12 @@ packages:
cpu: [x64]
os: [openbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-vNAkR17Ub2MgEud2Wag/OE4HTSI6zlb291UYzHez/psiKarp0J8PKGDnAhMBcHFoOHMXHfExzmjMojJNbAStrQ==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [openbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-08SluG24GjPO3tXKk95/85n9kpyZtXCVwURR2i4myhrOfi3jspClV0xQQ0W0PYWHioJj+LejFMt41q+PG3mlAQ==}
engines: {node: '>=12'}
@@ -2078,6 +2332,12 @@ packages:
cpu: [x64]
os: [sunos]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-W8H9jlGiSBomkgmouaRoTXo49j4w4Kfbl6I1bIdO/vT0+0u4f20ko3ELzV3hPI6XV6JNBVX+8BC+ajHkvffIJA==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [sunos]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-yYiRDQcqLYQSvNQcBKN7XogbrSvBE45FEQdH8fuXPl7cngzkCvpsG2H9Uey39IjQ6gqqc+Q4VXYHsQcKW0OMjQ==}
engines: {node: '>=12'}
@@ -2102,6 +2362,12 @@ packages:
cpu: [arm64]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-EjEomwyLSCg8Ag3LDILIqYCZAq/y3diJ04PnqGRgq8/4O3VNlXyMd54j/saShaN4h5o5mivOjAzmU6C3X4v0xw==}
+ engines: {node: '>=12'}
+ cpu: [arm64]
+ os: [win32]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-5rabnGIqexekYkh9zXG5waotq8mrdlRoBqAktjx2W3kb0zsI83mdCwrcAeKYirnUaTGztR5TxXcXmQrEzny83w==}
engines: {node: '>=12'}
@@ -2126,6 +2392,12 @@ packages:
cpu: [ia32]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-WGiE/GgbsEwR33++5rzjiYsKyHywE8QSZPF7Rfx9EBfK3Qn3xyR6IjyCr5Uk38Kg8fG4/2phN7sXp4NPWd3fcw==}
+ engines: {node: '>=12'}
+ cpu: [ia32]
+ os: [win32]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-sN/I8FMPtmtT2Yw+Dly8Ur5vQ5a/RmC8hW7jO9PtPSQUPkowxWpcUZnqOggU7VwyT3Xkj6vcXWd3V/qTXwultQ==}
engines: {node: '>=12'}
@@ -2150,6 +2422,30 @@ packages:
cpu: [x64]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-xRxC0jaJWDLYvcUvjQmHCJSfMrgmUuvsoXgDeU/wTorQ1ngDdUBuFtgY3W1Pc5sprGAvZBtWdJX7RPg/iZZUqA==}
+ engines: {node: '>=12'}
+ cpu: [x64]
+ os: [win32]
+
+ '@eslint-community/[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
+
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==}
+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-lxJ9R5ygVm8ZWgYdUweoq5ownDlJ4upvoWmO4eLxBYHdMo+vZ/Rx0EN6MbKWDJOSUGrqJy2Gt+Dyv/VKml0fjg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
'@fal-works/[email protected]':
resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==}
@@ -2157,12 +2453,24 @@ packages:
resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==}
engines: {node: '>=14'}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-buc8BXHmG9l82+OQXOFU3Kr2XQx9ys01U/Q9HMIrZ300iLc8HLMgh7dcCqgYzAzf4BkoQvDcXf5Y+CuEZ5JBYg==}
+
'@floating-ui/[email protected]':
resolution: {integrity: sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-419BMceRLq0RrmTSDxn8hf9R3VCJv2K9PUfugh5JyEFmdjzDo+e8U5EdR8nzKq8Yj1htzLm3b6eQEEam3/rrtg==}
+
'@floating-ui/[email protected]':
resolution: {integrity: sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-1T0sJcpHgX/u4I1OzIEhlcrvkUN8ln39nz7fMoE/2HDHrPiMFoOGR7++GYyfUmIQHkkrTinaeQsO3XWubjSvGg==}
+ peerDependencies:
+ react: '>=16.8.0'
+ react-dom: '>=16.8.0'
+
'@floating-ui/[email protected]':
resolution: {integrity: sha512-htwHm67Ji5E/pROEAr7f8IKFShuiCKHwUC/UY4vC3I5jiSvGFAYnSYiZO5MlGmads+QqvUkR9ANHEguGrDv72g==}
peerDependencies:
@@ -2245,6 +2553,17 @@ packages:
peerDependencies:
react-hook-form: ^7.0.0
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}
+ engines: {node: '>=10.10.0'}
+
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
+ engines: {node: '>=12.22'}
+
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==}
+
'@isaacs/[email protected]':
resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
engines: {node: '>=12'}
@@ -2363,60 +2682,162 @@ packages:
'@mdx-js/[email protected]':
resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==}
+ '@motionone/[email protected]':
+ resolution: {integrity: sha512-ANfIN9+iq1kGgsZxs+Nz96uiNcPLGTXwfNo2Xz/fcJXniPYpaz/Uyrfa+7I5BPLxCP82sh7quVDudf1GABqHbg==}
+
+ '@motionone/[email protected]':
+ resolution: {integrity: sha512-cMm33swRlCX/qOPHWGbIlCl0K9Uwi6X5RiL8Ma6OrlJ/TP7Q+Np5GE4xcZkFptysFjMTi4zcZzpnNQGQ5D6M0Q==}
+
+ '@motionone/[email protected]':
+ resolution: {integrity: sha512-Bxe2wSuLu/qxqW4rBFS5m9tMLOw+QBh8v5A7Z5k4Ul4sTj5jAOfZG5R0bn5ywmk+Fs92Ij1feZ5pmC4TeXA8Tg==}
+
+ '@motionone/[email protected]':
+ resolution: {integrity: sha512-T6Uo5bDHrZWhIfxG/2Aut7qyWQyJIWehk6OB4qNvr/jwA/SRmixwbd7SOrxZi1z5rH3LIeFFBKK1xHnSbGPZSQ==}
+
+ '@motionone/[email protected]':
+ resolution: {integrity: sha512-EgeeqOZVdRUTEHq95Z3t8Rsirc7chN5xFAPMYFobx8TPubkEfRSm5xihmMUkbaR2ErKJTUw3347QDPTHIW12IA==}
+
+ '@motionone/[email protected]':
+ resolution: {integrity: sha512-bGwrki4896apMWIj9yp5rAS2m0xyhxblg6gTB/leWDPt+pb410W8lYWsxyurX+DH+gO1zsQsfx2su/c1/LtTpg==}
+
'@neon-rs/[email protected]':
resolution: {integrity: sha512-kTPhdZyTQxB+2wpiRcFWrDcejc4JI6tkPuS7UZCG4l6Zvc5kU/gGQ/ozvHTh1XR5tS+UlfAfGuPajjzQjCiHCw==}
+ resolution: {integrity: sha512-+Mq3TtpkeeKFZanPturjcXt+KHfKYnLlX6jMLyCrmpq6OOs4i1GqBOAauSkii9QeKCMTYzGppar21JU57b/GEA==}
+
resolution: {integrity: sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA==}
+ resolution: {integrity: sha512-ck1lI+7r1mMJpqLNa3LJ5pxCfOB1lfJncKmRJeJxcJqcngaFwylreLP7da6Rrjr6u2gVRTfmnkSkjc80IiQCwQ==}
+
+ resolution: {integrity: sha512-DWlalTSkLjDU11MY11jg17O1gGQzpRccM9Oes2yTqj2DpHndajrXHGxj9HGtJ+idq2k7ImUdJVWS2h2l/EDJOw==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [android]
+
+ resolution: {integrity: sha512-sRavmUImUCf332Gy+PjIfLkMhiRX1Ez4SI+3vFDRs1N5eXp+uNzjFUK/oLMMOzk6KFSkbiK/3Wt8+dHQR/flNg==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution: {integrity: sha512-S6vBl+OrInP47TM3LlYx65betocKUUlTZDDKzTiRDbsRESeyIkBtZ6Qi5uT2zQs4imqllJznVjFd1bXLx3Aa6A==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
resolution: {integrity: sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
+ resolution: {integrity: sha512-a6LBuoYGcFOPGd4o8TPo7wmv5FnMr+Prz+vYHopEDuhDoMSHOnC+v+Ab4D7F0NMZkvQjEJQdJS3rqgFhlZmKlw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
resolution: {integrity: sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
+ resolution: {integrity: sha512-kkbzKVZGPaXRBPisoAQkh3xh22r+TD+5HwoC5bOkALraJ0dsOQgSMAvzMXKsN3tMzJUPS0tjtRf1cTzrQ0I5vQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution: {integrity: sha512-7qA1++UY0fjprqtjBZaOA6cas/7GekpjVsZn/0uHvquuITFCdKGFCsKNBx3S0Rpxmx6WYo0GcmhNRM9ru08BGg==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-xzYZdAeq883MwXgcwc72hqo/F/dwUxCukpDOkx/j1HTq/J0wJthMGjinN9wH5bPR98Mfeh1MZJ91WWPnZOedOg==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-8rXr3WfmqSiYkb71qzuDP6I6R2T2tpkmf83elDN8z783N9nvTJf2E7eLx86wu2OJCi4T05nuxCsh4IOU3LQ5xw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
resolution: {integrity: sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
+ resolution: {integrity: sha512-Ngxh51zGSlYJ4EfpKG4LI6WfquulNdtmHg1yuOYlaAr33KyPJp4HeN/tivBnAHcZkoNy0hh/SbwDyCnz5PFJQQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-gOvwIYoSxd+j14LOcvJr+ekd9fwYT1RyMAHOp7znA10+l40wkFiMONPLWiZuHxfRk+Dy7YdNdDh3ImumvL6VwA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
resolution: {integrity: sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
+ resolution: {integrity: sha512-q3NJzcfClgBm4HvdcnoEncmztxrA5GXqKeiZ/hADvC56pwNALt3ngDC6t6qr1YW9V/EPDxCYeaX4zYxHciW4Dw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
resolution: {integrity: sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
+ resolution: {integrity: sha512-/eZ5ncmHUYtD2fc6EUmAIZlAJnVT2YmxDsKs1Ourx0ttTtvtma/WKlMV5NoUsyOez0f9ExLyOpeCoz5aj+MPXw==}
+ engines: {node: '>= 10'}
+ cpu: [ia32]
+ os: [win32]
+
resolution: {integrity: sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
+ resolution: {integrity: sha512-0MffFmyv7tBLlji01qc0IaPP/LVExzvj7/R5x1Jph1bTAIj4Vu81yFQWHHQAP6r4ff9Ukj1mBK6MDNVXm7Tcvw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
resolution: {integrity: sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==}
engines: {node: '>= 10'}
@@ -2521,6 +2942,10 @@ packages:
resolution: {integrity: sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==}
engines: {node: '>=8.0.0'}
+ '@opentelemetry/[email protected]':
+ resolution: {integrity: sha512-I/s6F7yKUDdtMsoBWXJe8Qz40Tui5vsuKCWJEWVL+5q9sSWRzzx6v2KeNsOBEwd94j0eWkpWCH4yB6rZg9Mf0w==}
+ engines: {node: '>=8.0.0'}
+
'@opentelemetry/[email protected]':
resolution: {integrity: sha512-pS5fU4lrRjOIPZQqA2V1SUM9QUFXbO+8flubAiy6ntLjnAjJJUdRFOUOxK6v86ZHI2p2S8A0vD0BTu95FZYvjA==}
engines: {node: '>=14'}
@@ -2641,6 +3066,9 @@ packages:
'@protobufjs/[email protected]':
resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-jwRMXYwC0hUo0mv6wGpuw254Pd9p/R6Td5xsRpOmaWkUHlooNWqVcadgyzlRumMq3xfOTXwJReU0Jv+EIy4Jbw==}
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==}
@@ -2676,8 +3104,14 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-1yientwXqXcErDHEv8av9ZVNEBldH8L9scVR3is20lL+jOCfcJyMFZFEY5cgIrgexsq1qggSXqiEL/d/4f+QXA==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==}
peerDependencies:
'@types/react': '*'
'@types/react-dom': '*'
@@ -2715,6 +3149,12 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-0maX4q91iYa4gjt3PsNf7dq/yqSR+HGAE8I5p54dQ6gnveS+ETWlMoijxrhmgV1k8svxpm34mQAtqIrJt4XZmA==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-UBmVDkmR6IvDsloHVN+3rtx4Mi5TFvylYXpluuv0f37dtaz3H99bp8No0LGXRigVpl3UAT4l9j6bIchh42S/Gg==}
peerDependencies:
@@ -2728,6 +3168,12 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-uuiFbs+YCKjn3X1DTSx9G7BHApu4GHbi3kgiwsnFUbOKCrwejAJv4eE4Vc8C0Oaxt9T0aV4ox0WCOdx+39Xo+g==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==}
peerDependencies:
@@ -2814,6 +3260,11 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-2HV05lGUgYcA6xgLQ4BKPDmtL+QbIZYH5fCOTAOOcJ5O0QbWS3i9lKaurLzliYUDhORI2Qr3pyjhJh44lKA3rQ==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==}
peerDependencies:
@@ -2829,6 +3280,12 @@ packages:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-WjJzMrTWROozDqLB0uRWYvj4UuXsM/2L19EmQ3Au+IJWqwvwq9Bwd+P8ivo0Deg9JDPArR1I6MbWNi1CmXsskg==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-7UpBa/RKMoHJYjie1gkF1DlK8l1fdU/VKDpoS3rCCo8YBJR294GwcEHyxHw72yvphJ7ld0AXEcSLAzY2F/WyCg==}
peerDependencies:
@@ -2888,6 +3345,12 @@ packages:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-Ej2MQTit8IWJiS2uuujGUmxXjF/y5xZptIIQnyd2JHLwtV0R2j9NRVoRj/1j/gJ7e3REdaBw4Hjf4a1ImhkZcQ==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-upXdPfqI4islj2CslyfUBNlaJCPybbqRHAi1KER7Isel9Q2AtSJ0zRBZv8mWQiFXD2nyAJ4BhC3yXgZ6kMBSrQ==}
peerDependencies:
@@ -2967,6 +3430,12 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-4tqZEl9w95R5mlZ/sFdgBnfhCBOEPepLIurBA5kt/qaAhldJ1tNQd0ngr0ET0AHbPotT4mwxMPr7a+MA/wbK0g==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-shtvVnlsxT6faMnK/a7n0wptwBD23xc1Z5mdrtKLwVEfsEMXodS0r5s0/g5P0hX//EKYZS2sxUjqfzlg52ZSnQ==}
peerDependencies:
@@ -2980,6 +3449,12 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-J4Vj7k3k+EHNWgcKrE+BLlQfpewxA7Zd76h5I0bIa+/EqaIZ3DuwrbPj49O3wqN+STnXsBuxiHLiF0iU3yfovw==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==}
peerDependencies:
@@ -2999,6 +3474,12 @@ packages:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-NY2vUWI5WENgAT1nfC6JS7RU5xRYBfjZVLq0HmgEN1Ezy3rk/UruMV4+Rd0F40PEaFC5SrLS1ixYvcYIQrb4Ig==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA==}
peerDependencies:
@@ -3050,6 +3531,12 @@ packages:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==}
peerDependencies:
@@ -3089,6 +3576,12 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-TB76u5TIxKpqMpUAuYH2VqMhHYKa+4Vs1NHygo/llLvlffN6mLVsFhz0AnSFlSBAvTBYVHYAkHAyEt7x1gPJOA==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==}
peerDependencies:
@@ -3133,6 +3626,11 @@ packages:
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==}
peerDependencies:
@@ -3168,6 +3666,18 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-eye/gYvzy82xtoSSeu5Pwlzrh6N2rOcDIwAI7xMatu622Qjlg64LtwB0PSh3iWdmn6Wqy1Fjo5twNPQsp0guiw==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-hZIp9ZKnw4NwVqeB4evWBLa91ryaSJhAO0Ed82wkzRPgg/I29ypcY6SuBb3AMZW+GsuBZpIVujpCq+33TdEcyg==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-Pkqg3+Bc98ftZGsl60CLANXQBBQ4W3mTFS9EJvNxKMZ7magklKV69/id1mlAlOFDDfHvlCms0fx8fA4CMKDJHg==}
peerDependencies:
@@ -3181,6 +3691,12 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-11gUlok2rv5mu+KBtxniOKKNKjqC/uTbgFHWoQdbF46vMV+zjDaBvCtVDK9+MTddlpmlisGPGvvojX7Qm0yr+g==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-lPh5iKNFVQ/jav/j6ZrWq3blfDJ0OH9R6FlNUHPMqdLuQ9vwDgFsRxvl8b7Asuy5c8xmoojHUxKHQSOAvMHxyw==}
peerDependencies:
@@ -3227,6 +3743,11 @@ packages:
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-DXGim3x74WgUv+iMNCF+cAo8xUHHeqvjx8zs7trKf+FkQKPQXLk2sX7Gx1ysH7Q76xCpZuxIJE7HLPxRE+Q+GA==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}
peerDependencies:
@@ -3259,6 +3780,11 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}
peerDependencies:
@@ -3268,6 +3794,11 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}
peerDependencies:
@@ -3277,6 +3808,12 @@ packages:
'@types/react':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-K1hJcCMfWfiYUibRqf3V8r5Drpyf7rh44jnrwAbdvI5iCCijilBBeyQv9SKidYNZIopMdCyR9FnIjkHxHN0FcQ==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
+ react-dom: ^16.8 || ^17.0 || ^18.0
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==}
peerDependencies:
@@ -3290,6 +3827,9 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==}
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}
@@ -3397,6 +3937,9 @@ packages:
rollup:
optional: true
+ '@rushstack/[email protected]':
+ resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==}
+
'@selderee/[email protected]':
resolution: {integrity: sha512-gW69MEamZ4wk1OsOq1nG1jcyhXIQcnrsX5JwixVw/9xaiav8TCyjESAruu1Rz9yyInhgBXxkNwMeygKnN2uxNA==}
@@ -3700,6 +4243,9 @@ packages:
resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
+ resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==}
+
resolution: {integrity: sha512-FaruWX6KdudYloq1AHD/4nU+UsMTdNE8CKyrseXWEcgjDAbvkwJg2QGPAnfIJLIWsjZOSPLOAykK6fuYp4vp4A==}
@@ -3743,20 +4289,13 @@ packages:
peerDependencies:
tailwindcss: '>=3.0.0 || insiders'
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-BteWYEPUcucEu3NBcDAgKuI4U25R9aPrHSP6YSf2NvaD2pSlIQTdqOfLRsxH9WdRYg7k0Uom35Uacb6nvbIMJg==}
- '@tanstack/[email protected]':
- resolution: {integrity: sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-EhtBNA8GL3XFeSx6VYUjXQ96n44xe3JGKZCzBINrCYlxbZP6UwBafv7ti4eSRWc2Fy+fybQre0w17gR6lMzULA==}
peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-native: '*'
- peerDependenciesMeta:
- react-dom:
- optional: true
- react-native:
- optional: true
+ react: ^18.0.0
'@tanstack/[email protected]':
resolution: {integrity: sha512-Qya1cJ+91arAlW7IRDWksRDnYw28O446jJ/ljkRSc663EaftJoBCAU10M+VV1K6MpCBLrXq1BD5IQc1zj/ZEjA==}
@@ -3822,8 +4361,8 @@ packages:
resolution: {integrity: sha512-KOzBEVaHW9IxEedUP9E50y0tYxAuvlzyjn80Bpemw4rcNbT4WtJnhkFPUY+qDJl7Crt3B/oY2qMgSxVWi9toLg==}
- '@tsconfig/[email protected]':
- resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==}
+ '@tsconfig/[email protected]':
+ resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==}
'@tsconfig/[email protected]':
resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==}
@@ -3848,6 +4387,10 @@ packages:
resolution: {integrity: sha512-2in/lrHRNmDvHPgyormtEralhPcN3An1gLjJzj2Bw145VBxkQ75JEXW6CTdMAwShiHQcYsl2d10IjQSdJSJz4g==}
+ '@types/[email protected]':
+ 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.
+
resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==}
@@ -3914,6 +4457,9 @@ packages:
resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
+
resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==}
@@ -3938,6 +4484,12 @@ packages:
resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==}
+
resolution: {integrity: sha512-LzcWltT83s1bthcvjBmiBvGJiiUe84NWRHkw+ZV6Fr41z2FbIzvc815dk2nQ3RAKMuN2fkenM/z3Xv2QzEpYxQ==}
@@ -3947,15 +4499,27 @@ packages:
resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==}
+
resolution: {integrity: sha512-n1yyPsugYNSmHgxDFjicaI2+gCNjsBck8UX9kuofAKlc0h1bL+20oSF72KeNaW2DUlesbEVCFgyV2dPGTiY42g==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-qnVvHxASt/H7i+XG1U1xMiY5t+IHcPGUK7TDMDzom08xa7e86eCeKOiLZezwCKVxJn6NEiiy2ekgX8aQssjIKg==}
+
resolution: {integrity: sha512-gnvBA/21SA4xxqNXEwNiVcP0xSGHh/gi1VhWv9Bl46a0ItbTT5nFY+G9VSQpaG/8N/qdJpJ+vftQ4zflTtnjLw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-xD6c0KDT4m7n9uD4ZHi02lzskaiqcBxf4zi+tXZY98a04wvc0hi/TcCPC2FOESZi51Nd7tlUeOJY8RofL799/g==}
+
resolution: {integrity: sha512-MlmPvHgjj2p3vZaxbQgFUQFvD8QiZwACfGqEdDSWou5yISWxDQ4/74nCAwsUiX7UFLKZz3BbVSPj+YxeoGGCfg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==}
+
resolution: {integrity: sha512-HuihY1+Vss5RS9ZHzRyTGIzwPTdrJBkCm/mAeLRYrOQu/MGqyezKXWOK1VhCnR+SDbp9G2mRUP+OVEqCrzpcfA==}
@@ -3989,6 +4553,9 @@ packages:
resolution: {integrity: sha512-HUgHujPhKuNzgNXBRZKYexwoG+gHKU+tnfPqjWXFghZAnn73JElicMkuSKJyLGr9JgyA8IgK7fj88IyA9rwYeQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==}
+
resolution: {integrity: sha512-flUksGIQCnJd6sZ1l5dqCEG/ksaoAg/eUwiLAGTJQcfgvZJKF++Ta4bJA6A5aPSJmsr+xlseHn4KLgVlNnvPTg==}
@@ -3998,6 +4565,37 @@ packages:
resolution: {integrity: sha512-nacjqA3ee9zRF/++a3FUY1suHTFKZeHba2n8WeDw9cCVdmzmHpIxyzOJBcpHvvEmS8E9KqWlSnWHUkOrkhWcvA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==}
+ 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
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
@@ -4054,6 +4652,10 @@ packages:
resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==}
engines: {node: '>=0.4.0'}
+ resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}
+ engines: {node: '>=0.4.0'}
+
resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==}
engines: {node: '>=0.4.0'}
@@ -4064,6 +4666,11 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
+ resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+
resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
engines: {node: '>= 6.0.0'}
@@ -4084,6 +4691,9 @@ packages:
ajv:
optional: true
+ resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
+
resolution: {integrity: sha512-oYs1UUtO97ZO2lJ4bwnWeQW8/zvOIQLGKcvPTsWmvc2SYgBb+upuNS5NxoLaMU4h8Ju3Nbj6Cq8mD2LQoqVKFA==}
@@ -4141,8 +4751,8 @@ packages:
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
- resolution: {integrity: sha512-ZWc51jO3qegGkVh8Hwpv636EkbesNV5ZNQPCtRa+0qytRYPEs9IYT9qITY9buezqUH5uqyzlWLcufrzU2rffdg==}
+ resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}
resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
@@ -4157,9 +4767,20 @@ packages:
resolution: {integrity: sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}
+
resolution: {integrity: sha512-fExL2kFDC1Q2DUOx3whE/9KoN66IzkY4b4zUHUBFM1ojEYjZZYDcUW3bek/ufGionX9giIKDC5redH2IlGqcQQ==}
+ resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg==}
engines: {node: '>=0.10.0'}
@@ -4171,6 +4792,32 @@ packages:
resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==}
+
+ resolution: {integrity: sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg==}
+
+ resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==}
engines: {node: '>=0.10.0'}
@@ -4178,6 +4825,9 @@ packages:
resolution: {integrity: sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==}
+ resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==}
+
resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==}
engines: {node: '>=4'}
@@ -4189,6 +4839,13 @@ packages:
resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
+ resolution: {integrity: sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==}
+ engines: {node: ^10 || ^12 || >=14}
+ hasBin: true
+ peerDependencies:
+ postcss: ^8.1.0
+
resolution: {integrity: sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==}
engines: {node: ^10 || ^12 || >=14}
@@ -4200,9 +4857,20 @@ packages:
resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==}
+ engines: {node: '>=4'}
+
resolution: {integrity: sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==}
+ resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==}
+
resolution: {integrity: sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==}
hasBin: true
@@ -4229,8 +4897,8 @@ packages:
resolution: {integrity: sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==}
- resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
+ resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
engines: {node: '>=8'}
@@ -4258,6 +4926,10 @@ packages:
resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
@@ -4276,6 +4948,10 @@ packages:
resolution: {integrity: sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==}
engines: {node: '>=6.14.2'}
+ resolution: {integrity: sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==}
+ engines: {node: '>=6.14.2'}
+
resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==}
@@ -4285,6 +4961,9 @@ packages:
resolution: {integrity: sha512-2dNB+dBwAcFW7RSd4y5vKycRjouKVklSwPk4EjBKWvcMYUBOqZGGNzV7+b2tfKBG3BeRXnozbnegVKR1azuATg==}
+ resolution: {integrity: sha512-dwhfuUKSGK8hm5Llcvb5+ejRh+4mIt8ibObJVKhZBsi0ScpXmt+AlaS1eDW6uRXCHj084Qt0kIqAJ08/7ZGC9Q==}
+
resolution: {integrity: sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
@@ -4302,6 +4981,14 @@ packages:
resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==}
+ resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==}
@@ -4367,6 +5054,10 @@ packages:
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
engines: {node: '>= 8.10.0'}
+ resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
+ engines: {node: '>= 8.10.0'}
+
resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==}
@@ -4377,6 +5068,9 @@ packages:
resolution: {integrity: sha512-jFI8IQw4hczaL4ALINxqLEXQbWcNjoSkloa4IaufXCJr6QawJyw7tuRysRsrE8w2p/4gGaxKIt/hX3qz/IbD1A==}
+ resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==}
+
resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==}
engines: {node: '>=6'}
@@ -4547,6 +5241,9 @@ packages:
resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}
+ resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
+
resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==}
engines: {node: '>=12'}
@@ -4594,6 +5291,9 @@ packages:
resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==}
+ resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}
+
resolution: {integrity: sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==}
@@ -4609,6 +5309,18 @@ packages:
resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==}
peerDependencies:
@@ -4618,6 +5330,14 @@ packages:
resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==}
engines: {node: '>=0.11'}
+ resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+
resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}
engines: {node: '>=6.0'}
@@ -4655,6 +5375,9 @@ packages:
resolution: {integrity: sha512-Z+z8HiAvsGwmjqlphnHW5oz6yWlOwu6EQfFTjmeTWlDeda3FS2yv3jhq35TX/ewmsnqB+RX2IdsIOyjJCQN5tg==}
+ resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
+
resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
engines: {node: '>=0.10.0'}
@@ -4666,6 +5389,14 @@ packages:
resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==}
@@ -4734,6 +5465,14 @@ packages:
resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
+ resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
+ engines: {node: '>=6.0.0'}
+
resolution: {integrity: sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==}
@@ -4970,6 +5709,10 @@ packages:
resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==}
+ resolution: {integrity: sha512-4U5pNsuDl0EhuZpq46M5xPslstkviJuhrdobaRDBk2Jy2KO37FDAJl4lb2KlNabxT0m4MTK2UHNrsAcphE8nyw==}
+ engines: {node: '>=10.13.0'}
+
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
engines: {node: '>=0.12'}
@@ -4981,6 +5724,37 @@ packages:
resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
+ resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==}
+
+ resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==}
engines: {node: '>=0.10'}
@@ -5019,6 +5793,11 @@ packages:
engines: {node: '>=12'}
hasBin: true
+ resolution: {integrity: sha512-Kgq0/ZsAPzKrbOjCQcjoSmPoWhlcVnGAUo7jvaLHoxW1Drto0KGkR1xBNg2Cp43b9ImvxmPEJZ9xkfcnqPsfBw==}
+ engines: {node: '>=12'}
+ hasBin: true
+
resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
engines: {node: '>=6'}
@@ -5044,11 +5823,129 @@ packages:
engines: {node: '>=6.0'}
hasBin: true
+ 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
+
+ resolution: {integrity: sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA==}
+ hasBin: true
+ peerDependencies:
+ eslint: '>=7.0.0'
+
+ resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
+
+ resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '*'
+ eslint-plugin-import: '*'
+
+ resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==}
+ 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
+
+ resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==}
+ engines: {node: '>=4'}
+ peerDependencies:
+ '@typescript-eslint/parser': '*'
+ eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
+ peerDependenciesMeta:
+ '@typescript-eslint/parser':
+ optional: true
+
+ resolution: {integrity: sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==}
+ engines: {node: '>=4.0'}
+ peerDependencies:
+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
+
+ resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
+
+ resolution: {integrity: sha512-N97CxlouPT1AHt8Jn0mhhN2RrADlUAsk1/atcT2KyA/l9Q/E6ll7OIGwNumFmWfZ9skV3XXccYS19h80rHtgkw==}
+ engines: {node: '>=4'}
+ peerDependencies:
+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
+
+ resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==}
+ peerDependencies:
+ eslint: '>=5.0.0'
+
+ 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
+
+ resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==}
+ engines: {node: '>=4.0.0'}
+
+ resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
+ 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
+
+ resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
engines: {node: '>=4'}
hasBin: true
+ resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==}
+ engines: {node: '>=0.10'}
+
+ resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
+ engines: {node: '>=4.0'}
+
resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
engines: {node: '>=4.0'}
@@ -5143,6 +6040,12 @@ packages:
resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==}
engines: {node: '>=8.6.0'}
+ resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
+
+ resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}
+
resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==}
hasBin: true
@@ -5164,6 +6067,10 @@ packages:
resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
+ engines: {node: ^10.12.0 || >=12.0.0}
+
resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
engines: {node: '>=16.0.0'}
@@ -5175,6 +6082,10 @@ packages:
resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-v4lhL7Qa8XpbW3LN46CEnmhGk3eHZwxfNl5at20aEkreesht4YKb/Ba3BUIbnPhAC/r3dmu7ABaGk6MAvh2alA==}
@@ -5186,12 +6097,20 @@ packages:
resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==}
+ engines: {node: ^10.12.0 || >=12.0.0}
+
resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
engines: {node: '>=16'}
- resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==}
+ resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==}
resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==}
@@ -5228,9 +6147,15 @@ packages:
resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}
- resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
-
+ resolution: {integrity: sha512-0GkpTQnhDysG5SiD2VbANtAs8yCXVQLasynVABDTZYI+Qcx1krWg+rfyveM8W78q7AX+8RTsiMz/LJ7YIRZvFw==}
+ peerDependencies:
+ react: ^18.0.0
+ react-dom: ^18.0.0
+
+ resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
+
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
engines: {node: '>=12'}
@@ -5262,6 +6187,13 @@ packages:
resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
+ resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
+
resolution: {integrity: sha512-bw8smrX+XlAoo9o1JAksBwX+hi/RG15J+NTSxmNPIclKC3ZVK6C2afwY8OSdRvOK0+ZLecUJYtj2MmjOt3Dm0w==}
engines: {node: '>=14'}
@@ -5277,6 +6209,10 @@ packages:
resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==}
+ resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}
engines: {node: '>=6'}
@@ -5288,6 +6224,10 @@ packages:
resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==}
@@ -5320,6 +6260,9 @@ packages:
resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==}
+ resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==}
+
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
@@ -5327,6 +6270,14 @@ packages:
resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==}
engines: {node: '>=8'}
@@ -5353,6 +6304,9 @@ packages:
resolution: {integrity: sha512-rEDCuqUQ4tbD78TpzsMtt5OIf0cBCSDWSJtUDaF6JsAh+k0v9r++NzxNEG87oDZx9ZwGhD8DaezR2L/yrw0Jdw==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==}
+
resolution: {integrity: sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==}
engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}
@@ -5381,6 +6335,9 @@ packages:
resolution: {integrity: sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}
+
resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==}
engines: {node: '>=4'}
@@ -5399,10 +6356,17 @@ packages:
resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==}
+ resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}
+
resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}
engines: {node: '>= 0.4'}
@@ -5411,6 +6375,10 @@ packages:
resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==}
engines: {node: '>= 0.4.0'}
@@ -5422,6 +6390,10 @@ packages:
resolution: {integrity: sha512-a0NjBNWjavvMalm/pPSEJ00MPDjRG8rv9D5BK7dBQTLGwAOVWqnTEUggaYs5szATB5UK5ULeIQr7QJXbczAZYA==}
+ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-NuBoUStp4fRwmvlfbidlEiRSTk0gSHm+97q4Xn9CJ10HO+Py7nlTuDi6RhM1qLOureukGrCXLG7AAxaGqqyslQ==}
@@ -5470,6 +6442,9 @@ packages:
resolution: {integrity: sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==}
+ resolution: {integrity: sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==}
+
resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
@@ -5573,6 +6548,14 @@ packages:
resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}
+ resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
+ engines: {node: '>=0.8.19'}
+
resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==}
engines: {node: '>=8'}
@@ -5601,6 +6584,10 @@ packages:
resolution: {integrity: sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
engines: {node: '>=12'}
@@ -5628,13 +6615,28 @@ packages:
resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
+ resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==}
+
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
@@ -5649,6 +6651,17 @@ packages:
resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==}
+ resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==}
+
+ resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}
@@ -5660,6 +6673,9 @@ packages:
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==}
+
resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
engines: {node: '>=8'}
@@ -5686,6 +6702,18 @@ packages:
resolution: {integrity: sha512-+5A1e/WJpLLXZEDlgz4G//WYSHyQBD32qa4Jd3Lw06qQlv3fJHnp3YIHjTQSGzHMgzmVKz2ZP3rBxTHkPw/lxA==}
+ resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==}
engines: {node: '>=0.10.0'}
@@ -5734,14 +6762,38 @@ packages:
resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==}
+ resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==}
engines: {node: '>=10'}
@@ -5749,6 +6801,17 @@ packages:
resolution: {integrity: sha512-GQYSJMgfeAmVwh9ixyk888l7OIhNAGKtY6QA+IrWlu9MDTCaXmeozOZ2S9Knj7bQwBO/H6J2kb+pbyTUiMNbsw==}
+ resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==}
+
+ resolution: {integrity: sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-uKua1wfy3Yt+YqsD6mTUEa2zSi3G1oPlqTflgaPJ7z63vUGN5pxFpnQfeSLMFnJDEsdvOtkp1rUWkYjB4YfhgA==}
engines: {node: '>=12.13'}
@@ -5757,6 +6820,9 @@ packages:
resolution: {integrity: sha512-RydPhl4S6JwAyj0JJjshWJEFG6hNye3pZFBRZaTUfZFwGHxzppNaNOVgQuS/E/SlhrApuMXrpnK1EEIXfdo3Dg==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
+
resolution: {integrity: sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==}
engines: {node: '>= 8.0.0'}
@@ -5771,6 +6837,9 @@ packages:
resolution: {integrity: sha512-hJnEP2Xk4+44DDwJqUQGdXal5VbyeWLaPyDl2AQc242Zr7iqz4DgpQOrEzglWVMGHMDCkguLHEKxd1+rOsmgSQ==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==}
+
resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==}
engines: {node: '>=14'}
@@ -5821,6 +6890,9 @@ packages:
engines: {node: '>=12'}
hasBin: true
+ resolution: {integrity: sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w==}
+
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
@@ -5857,9 +6929,19 @@ packages:
resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==}
+ resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
+
resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
+ resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
+
+ resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}
+ hasBin: true
+
resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==}
@@ -5873,6 +6955,10 @@ packages:
resolution: {integrity: sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}
+ engines: {node: '>=4.0'}
+
resolution: {integrity: sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==}
@@ -5902,9 +6988,20 @@ packages:
'@types/node': '>=18'
typescript: '>=5.0.4'
+ resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}
+
+ resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}
+ engines: {node: '>=0.10'}
+
resolution: {integrity: sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==}
+ resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
+ engines: {node: '>= 0.8.0'}
+
resolution: {integrity: sha512-/8YMTbwWFPmrDWY+YFK3kYqVPFkMgQre0DGmBaOmjogMdSe+7GHm1/q9AZ61AWkEub/vHmi+bA4tqIzVhKnqzg==}
os: [darwin, linux, win32]
@@ -5930,6 +7027,10 @@ packages:
resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==}
@@ -6353,6 +7454,9 @@ packages:
resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==}
+ resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
+
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
@@ -6401,6 +7505,27 @@ packages:
resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
+ 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
+
resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==}
engines: {node: '>=18.17.0'}
@@ -6454,6 +7579,10 @@ packages:
resolution: {integrity: sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==}
hasBin: true
+ resolution: {integrity: sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==}
+ hasBin: true
+
resolution: {integrity: sha512-Cov028YhBZ5aB7MdMWJEmwyBig43aGL5WT4vdoB28Oitau1zZAcHUn8Sgfk9HM33TqhtLJ9PlM/O0Mv+QpV/4Q==}
engines: {node: '>=8.9.4'}
@@ -6498,6 +7627,10 @@ packages:
resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==}
+ resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-3ECr6K831I4xX/Mduxr9UC+HPOz/d6WKKYj9p4cmC8Lg8p7g8gitzsxNX5IWlSIgFWN/a4JgrJaoAMKn20oKwA==}
@@ -6505,6 +7638,30 @@ packages:
resolution: {integrity: sha512-+8hwcz/JnQ9EpLIXzN0Rs7DLsBpJNT/xYehtB/jU93tHYr5BFEO8E+JGQNOSqE7opVzz5cGksKFHt7uUJVLSjQ==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
@@ -6519,6 +7676,10 @@ packages:
resolution: {integrity: sha512-B7gOkwsYMZO7BZXwJzXCuVagym2xhqsrilVvV0dnq2Di4+iLUXKVX9gOK23ZqaAHZOwABXN0QTdW8QnkUTX6DA==}
+ resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
+ engines: {node: '>= 0.8.0'}
+
resolution: {integrity: sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==}
engines: {node: '>=8'}
@@ -6535,10 +7696,18 @@ packages:
resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==}
engines: {node: '>=8'}
@@ -6562,6 +7731,10 @@ packages:
resolution: {integrity: sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w==}
+ resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}
@@ -6619,6 +7792,9 @@ packages:
resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==}
+ resolution: {integrity: sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==}
+
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
@@ -6668,6 +7844,10 @@ packages:
engines: {node: '>=16'}
hasBin: true
+ resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-lYS802gHbzn1GI+lXvy9MYIYDuGnl1WB4FTKoqMQqJ3Mab09A7a/1wZvGTkCEZJTM8mSbIyb1mJYn8f0aPye0Q==}
peerDependencies:
@@ -6738,6 +7918,14 @@ packages:
resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
+ resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==}
+ engines: {node: ^10 || ^12 || >=14}
+
+ resolution: {integrity: sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==}
+ engines: {node: ^10 || ^12 || >=14}
+
resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==}
engines: {node: ^10 || ^12 || >=14}
@@ -6773,6 +7961,15 @@ packages:
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
+
resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -6791,6 +7988,11 @@ packages:
resolution: {integrity: sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==}
+ resolution: {integrity: sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==}
+ peerDependencies:
+ react: '>=0.14.9'
+
resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}
engines: {node: '>=0.4.0'}
@@ -6879,6 +8081,11 @@ packages:
peerDependencies:
react: ^18.2.0
+ resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}
+ peerDependencies:
+ react: ^18.3.1
+
resolution: {integrity: sha512-IrLs28p3Iqyx9JASSrdEoTC+TQeb3jDcJ++2xzVS71yR6U8GYAqff7NKPGZJIA6z5oGtwRFv6GCViR4JiGdmXg==}
engines: {node: '>=18.0.0'}
@@ -6971,6 +8178,10 @@ packages:
resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
@@ -7016,9 +8227,17 @@ packages:
resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==}
+ resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==}
@@ -7088,6 +8307,10 @@ packages:
resolution: {integrity: sha512-jAh0DN84ZjjmzGM2vMjJ1hphPBg1mG98dzopF7kJzmin62v8ESg4og2iCKWdkAboGOT2SeO5exbr/8Xh8gLddw==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
+ engines: {node: '>=4'}
+
resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}
engines: {node: '>=8'}
@@ -7103,6 +8326,10 @@ packages:
resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==}
hasBin: true
+ resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==}
+ hasBin: true
+
resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==}
engines: {node: '>=8'}
@@ -7166,9 +8393,17 @@ packages:
resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==}
+ engines: {node: '>=0.4'}
+
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
+ resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
@@ -7176,8 +8411,8 @@ packages:
resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
engines: {node: '>=v12.22.7'}
- resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==}
+ resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}
resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}
@@ -7197,6 +8432,10 @@ packages:
resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==}
hasBin: true
+ resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
+ hasBin: true
+
resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==}
engines: {node: '>=10'}
@@ -7209,6 +8448,14 @@ packages:
resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
engines: {node: '>=8'}
@@ -7231,6 +8478,10 @@ packages:
resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==}
+ resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
@@ -7280,6 +8531,10 @@ packages:
resolution: {integrity: sha512-Pdz01AvCAottHTPQGzndktFNdbRA75BgOfeT1hH+AMnJFv8lynkPi42rfeEhpx1saTEI3YNMWxfqu0sFD1G8pw==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==}
engines: {node: '>=0.10.0'}
@@ -7360,6 +8615,21 @@ packages:
resolution: {integrity: sha512-n69H31OnxSGSZyZbgBlvYIXlrMhJQ0dQAX1js1QDhpaUH6zmU3QYlj07bCwCNlPOu3oRXIubGPl2gDGnHsiCqg==}
+ resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==}
+
+ resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}
@@ -7398,6 +8668,10 @@ packages:
resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==}
engines: {node: '>=14.16'}
@@ -7484,6 +8758,13 @@ packages:
peerDependencies:
tailwindcss: '>=3.0.0 || insiders'
+ resolution: {integrity: sha512-AhwtHCKMtR71JgeYDaswmZXhPcW9iuI9Sp2LvZPo9upDZ7231ZJ7eA9RaURbhpXGVlrjX4cFNlB4ieTetEb7hQ==}
+ engines: {node: '>=12.13.0'}
+ hasBin: true
+ peerDependencies:
+ postcss: ^8.0.9
+
resolution: {integrity: sha512-B6DLqJzc21x7wntlH/GsZwEXTBttVSl1FtCzC8WP4oBc/NKef7kaax5jeihkkCEWc831/5NDJ9gRNDK6NEioQQ==}
engines: {node: '>=12.13.0'}
@@ -7496,6 +8777,10 @@ packages:
engines: {node: '>=14.0.0'}
hasBin: true
+ resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==}
@@ -7507,6 +8792,9 @@ packages:
resolution: {integrity: sha512-resvxdc6Mgb7YEThw6G6bExlXKkv6+YbuzGg9xuXxSgxJF7Ozs+o8Y9+2R3sArdWdW8nOokoQb1yrpFB0pQK2g==}
engines: {node: '>=14'}
+ resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
+
resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
engines: {node: '>=0.8'}
@@ -7591,8 +8879,8 @@ packages:
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
- resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
+ resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
hasBin: true
peerDependencies:
'@swc/core': '>=1.2.50'
@@ -7608,6 +8896,9 @@ packages:
resolution: {integrity: sha512-pefrkcd4lmIVR0LA49Imjf9DYLK8vtWhqBPA3Ya1ir8xCW0O2yjL9dsCVvI7pCodLC5q7smNpEtDR2yVulQxOg==}
+ resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
+
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
@@ -7630,6 +8921,12 @@ packages:
typescript:
optional: 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'
+
resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}
@@ -7674,6 +8971,10 @@ packages:
resolution: {integrity: sha512-ZW/lVMRabETuYCd9O9ZvMhAh8GslSqaUjxmK/JLPCh6l73CvLBiuXswj/+7LdnWOgYsQ130FqLzFz5aGT4I3Ug==}
+ resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
+ engines: {node: '>= 0.8.0'}
+
resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==}
engines: {node: '>=4'}
@@ -7682,6 +8983,10 @@ packages:
resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==}
engines: {node: '>=10'}
@@ -7716,6 +9021,27 @@ packages:
resolution: {integrity: sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==}
+ resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==}
+ engines: {node: '>=4.2.0'}
+ hasBin: true
+
resolution: {integrity: sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==}
engines: {node: '>=14.17'}
@@ -7731,6 +9057,12 @@ packages:
engines: {node: '>=0.8.0'}
hasBin: true
+ resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}
+
+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+
resolution: {integrity: sha512-nTw6b2G2OqP6btYPyghCgV4hSwjJlL/78FMJatVLCa3otj6PCOQSt6dVtYt82OtNqFz8XsnJ+vsXLADPXjPhqw==}
engines: {node: '>=14.0'}
@@ -7842,6 +9174,15 @@ packages:
'@types/react':
optional: true
+ 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
+
resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==}
engines: {node: '>=10'}
@@ -7861,6 +9202,10 @@ packages:
resolution: {integrity: sha512-uIuGf9TWQ/y+0Lp+KGZCMuJWc3N9BHA+l/UmHd/oUHwJJDeysyTRxNQVkbzsIWfGFbRe3OcgML/i0mvVRPOyDA==}
engines: {node: '>=6.14.2'}
+ resolution: {integrity: sha512-xu9GQDeFp+eZ6LnCywXN/zBancWvOpUMzgjLPSjy4BRHSmTelvn2E0DG0o1sTiw5hkCKBHo8rwSKncfRfv2EEQ==}
+ engines: {node: '>=6.14.2'}
+
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
@@ -7970,15 +9315,34 @@ packages:
resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==}
+ resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==}
+
+ resolution: {integrity: sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
engines: {node: '>= 8'}
hasBin: true
+ resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
+ engines: {node: '>=0.10.0'}
+
resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==}
@@ -8039,6 +9403,18 @@ packages:
utf-8-validate:
optional: true
+ resolution: {integrity: sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==}
+ engines: {node: '>=10.0.0'}
+ peerDependencies:
+ bufferutil: ^4.0.1
+ utf-8-validate: '>=5.0.2'
+ peerDependenciesMeta:
+ bufferutil:
+ optional: true
+ utf-8-validate:
+ optional: true
+
resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==}
engines: {node: '>=12'}
@@ -8087,6 +9463,10 @@ packages:
resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-qSFXUk3UZBLfggAW3dJKg0BMblG5biqSF8M34E06o5CSsZtH92u9Hqmj2RzGiHDi64fhe83+4tENFP2DB6t6ZA==}
@@ -8792,9 +10172,9 @@ snapshots:
dependencies:
commander: 9.4.1
dependencies:
- '@contentlayer/core': 0.3.4([email protected])
+ '@contentlayer/core': 0.3.4([email protected])
'@contentlayer/utils': 0.3.4
clipanion: 3.2.1([email protected])
typanion: 3.14.0
@@ -8804,22 +10184,22 @@ snapshots:
- markdown-wasm
- supports-color
dependencies:
- '@contentlayer/core': 0.3.4([email protected])
+ '@contentlayer/core': 0.3.4([email protected])
transitivePeerDependencies:
- '@effect-ts/otel-node'
- esbuild
- markdown-wasm
- supports-color
dependencies:
'@contentlayer/utils': 0.3.4
camel-case: 4.1.2
comment-json: 4.2.3
gray-matter: 4.0.3
- mdx-bundler: 9.2.1([email protected])
+ mdx-bundler: 9.2.1([email protected])
rehype-stringify: 9.0.4
remark-frontmatter: 4.0.1
remark-parse: 10.0.2
@@ -8828,17 +10208,17 @@ snapshots:
type-fest: 3.13.1
unified: 10.1.2
optionalDependencies:
- esbuild: 0.19.12
+ esbuild: 0.21.3
transitivePeerDependencies:
- '@effect-ts/otel-node'
- supports-color
dependencies:
- '@contentlayer/core': 0.3.4([email protected])
+ '@contentlayer/core': 0.3.4([email protected])
'@contentlayer/utils': 0.3.4
- chokidar: 3.5.3
- fast-glob: 3.3.1
+ chokidar: 3.6.0
+ fast-glob: 3.3.2
gray-matter: 4.0.3
imagescript: 1.2.16
micromatch: 4.0.5
@@ -8852,10 +10232,10 @@ snapshots:
- markdown-wasm
- supports-color
dependencies:
- '@contentlayer/core': 0.3.4([email protected])
- '@contentlayer/source-files': 0.3.4([email protected])
+ '@contentlayer/core': 0.3.4([email protected])
+ '@contentlayer/source-files': 0.3.4([email protected])
'@contentlayer/utils': 0.3.4
transitivePeerDependencies:
- '@effect-ts/otel-node'
@@ -8877,7 +10257,7 @@ snapshots:
'@opentelemetry/sdk-trace-base': 1.13.0(@opentelemetry/[email protected])
'@opentelemetry/sdk-trace-node': 1.13.0(@opentelemetry/[email protected])
'@opentelemetry/semantic-conventions': 1.13.0
- chokidar: 3.5.3
+ chokidar: 3.6.0
hash-wasm: 4.10.0
inflection: 2.0.1
memfs: 3.5.3
@@ -8894,24 +10274,24 @@ snapshots:
react: 18.2.0
tslib: 2.6.2
dependencies:
'@dnd-kit/accessibility': 3.1.0([email protected])
'@dnd-kit/utilities': 3.2.2([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
tslib: 2.6.2
dependencies:
'@dnd-kit/utilities': 3.2.2([email protected])
react: 18.2.0
tslib: 2.6.2
dependencies:
'@dnd-kit/utilities': 3.2.2([email protected])
react: 18.2.0
tslib: 2.6.2
@@ -8952,6 +10332,14 @@ snapshots:
'@effect-ts/[email protected]': {}
+ '@emotion/[email protected]':
+ dependencies:
+ '@emotion/memoize': 0.7.4
+ optional: true
+
+ '@emotion/[email protected]':
+ optional: true
+
'@ericcornelissen/[email protected]':
dependencies:
array-last: 1.3.0
@@ -8994,11 +10382,11 @@ snapshots:
escape-string-regexp: 4.0.0
rollup-plugin-node-polyfills: 0.2.1
- '@esbuild-plugins/[email protected]([email protected])':
+ '@esbuild-plugins/[email protected]([email protected])':
dependencies:
'@types/resolve': 1.20.4
debug: 4.3.4
- esbuild: 0.19.12
+ esbuild: 0.21.3
escape-string-regexp: 4.0.0
resolve: 1.22.8
transitivePeerDependencies:
@@ -9007,6 +10395,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9019,6 +10410,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9031,6 +10425,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9043,6 +10440,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9055,6 +10455,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9067,6 +10470,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9079,6 +10485,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9091,6 +10500,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9103,6 +10515,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9115,6 +10530,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9127,6 +10545,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9139,6 +10560,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9151,6 +10575,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9163,6 +10590,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9175,6 +10605,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9187,6 +10620,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9199,6 +10635,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9211,6 +10650,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9223,6 +10665,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9235,6 +10680,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9247,6 +10695,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9259,6 +10710,9 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -9271,30 +10725,71 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@eslint-community/[email protected]([email protected])':
+ dependencies:
+ eslint: 8.36.0
+ eslint-visitor-keys: 3.4.3
+
+ '@eslint-community/[email protected]': {}
+
+ '@eslint/[email protected]':
+ dependencies:
+ ajv: 6.12.6
+ debug: 4.3.4
+ espree: 9.6.1
+ globals: 13.24.0
+ ignore: 5.2.4
+ import-fresh: 3.3.0
+ js-yaml: 4.1.0
+ minimatch: 3.1.2
+ strip-json-comments: 3.1.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@eslint/[email protected]': {}
+
'@fal-works/[email protected]': {}
'@fastify/[email protected]': {}
+ '@floating-ui/[email protected]': {}
+
'@floating-ui/[email protected]':
dependencies:
'@floating-ui/utils': 0.1.6
+ '@floating-ui/[email protected]':
+ dependencies:
+ '@floating-ui/core': 0.7.3
+
'@floating-ui/[email protected]':
dependencies:
'@floating-ui/core': 1.5.0
'@floating-ui/utils': 0.1.6
+ 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'
+
dependencies:
'@floating-ui/dom': 1.5.3
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
'@floating-ui/dom': 1.5.3
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
dependencies:
@@ -9342,9 +10837,9 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
dependencies:
@@ -9372,6 +10867,18 @@ snapshots:
dependencies:
react-hook-form: 7.47.0([email protected])
+ '@humanwhocodes/[email protected]':
+ dependencies:
+ '@humanwhocodes/object-schema': 2.0.3
+ debug: 4.3.4
+ minimatch: 3.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ '@humanwhocodes/[email protected]': {}
+
+ '@humanwhocodes/[email protected]': {}
+
'@isaacs/[email protected]':
dependencies:
string-width: 5.1.2
@@ -9453,6 +10960,16 @@ snapshots:
- bufferutil
- utf-8-validate
+ dependencies:
+ '@libsql/core': 0.6.0
+ '@libsql/hrana-client': 0.6.0([email protected])([email protected])
+ js-base64: 3.7.5
+ libsql: 0.3.10
+ transitivePeerDependencies:
+ - bufferutil
+ - utf-8-validate
+
'@libsql/[email protected]':
dependencies:
js-base64: 3.7.5
@@ -9473,6 +10990,16 @@ snapshots:
- bufferutil
- utf-8-validate
+ dependencies:
+ '@libsql/isomorphic-fetch': 0.2.1
+ '@libsql/isomorphic-ws': 0.1.5([email protected])([email protected])
+ js-base64: 3.7.5
+ node-fetch: 3.3.2
+ transitivePeerDependencies:
+ - bufferutil
+ - utf-8-validate
+
'@libsql/[email protected]': {}
@@ -9483,6 +11010,14 @@ snapshots:
- bufferutil
- utf-8-validate
+ dependencies:
+ '@types/ws': 8.5.8
+ transitivePeerDependencies:
+ - bufferutil
+ - utf-8-validate
+
'@libsql/[email protected]':
optional: true
@@ -9515,10 +11050,10 @@ snapshots:
dependencies:
unist-util-visit: 1.4.1
dependencies:
'@mdx-js/mdx': 2.3.0
- esbuild: 0.19.12
+ esbuild: 0.21.3
node-fetch: 3.3.2
vfile: 5.3.7
transitivePeerDependencies:
@@ -9546,34 +11081,114 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@motionone/[email protected]':
+ dependencies:
+ '@motionone/easing': 10.17.0
+ '@motionone/types': 10.17.0
+ '@motionone/utils': 10.17.0
+ tslib: 2.6.2
+
+ '@motionone/[email protected]':
+ dependencies:
+ '@motionone/animation': 10.17.0
+ '@motionone/generators': 10.17.0
+ '@motionone/types': 10.17.0
+ '@motionone/utils': 10.17.0
+ hey-listen: 1.0.8
+ tslib: 2.6.2
+
+ '@motionone/[email protected]':
+ dependencies:
+ '@motionone/utils': 10.17.0
+ tslib: 2.6.2
+
+ '@motionone/[email protected]':
+ dependencies:
+ '@motionone/types': 10.17.0
+ '@motionone/utils': 10.17.0
+ tslib: 2.6.2
+
+ '@motionone/[email protected]': {}
+
+ '@motionone/[email protected]':
+ dependencies:
+ '@motionone/types': 10.17.0
+ hey-listen: 1.0.8
+ tslib: 2.6.2
+
'@neon-rs/[email protected]': {}
+ '@next/[email protected]': {}
+
'@next/[email protected]': {}
+ dependencies:
+ glob: 7.1.7
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
+ optional: true
+
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
+ optional: true
+
optional: true
@@ -9691,10 +11306,12 @@ snapshots:
'@opentelemetry/[email protected]':
dependencies:
- '@opentelemetry/api': 1.4.1
+ '@opentelemetry/api': 1.8.0
'@opentelemetry/[email protected]': {}
+ '@opentelemetry/[email protected]': {}
+
'@opentelemetry/[email protected](@opentelemetry/[email protected])':
dependencies:
'@opentelemetry/api': 1.4.1
@@ -9814,6 +11431,8 @@ snapshots:
'@protobufjs/[email protected]': {}
+ '@radix-ui/[email protected]': {}
+
'@radix-ui/[email protected]':
dependencies:
'@babel/runtime': 7.23.2
@@ -9826,105 +11445,136 @@ snapshots:
dependencies:
'@babel/runtime': 7.23.2
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
- '@radix-ui/react-collapsible': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collapsible': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([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-direction': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@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-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.1([email protected]([email protected]))([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@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-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([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])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@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]))([email protected])
+ '@radix-ui/react-primitive': 1.0.1([email protected]([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])
+
dependencies:
'@babel/runtime': 7.23.2
'@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-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([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])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@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]))([email protected])
+ '@radix-ui/react-slot': 1.0.1([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+
dependencies:
'@babel/runtime': 7.23.2
'@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-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -9941,17 +11591,17 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([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])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -9990,52 +11640,79 @@ snapshots:
transitivePeerDependencies:
- '@types/react'
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@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.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-guards': 1.0.0([email protected])
+ '@radix-ui/react-focus-scope': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-id': 1.0.0([email protected])
+ '@radix-ui/react-portal': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-presence': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-slot': 1.0.0([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.3.1([email protected])
+ react-remove-scroll: 2.5.4(@types/[email protected])([email protected])
+ transitivePeerDependencies:
+ - '@types/react'
+
dependencies:
'@babel/runtime': 7.23.2
'@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-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
aria-hidden: 1.2.3
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@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-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
aria-hidden: 1.2.3
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ react: 18.2.0
+
dependencies:
'@babel/runtime': 7.23.2
@@ -10054,46 +11731,68 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/primitive': 1.0.0
+ '@radix-ui/react-compose-refs': 1.0.0([email protected])
+ '@radix-ui/react-primitive': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
+ '@radix-ui/react-use-escape-keydown': 1.0.0([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@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]))([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])
+
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.0.3(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.0.3(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@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-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -10119,44 +11818,62 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-compose-refs': 1.0.0([email protected])
+ '@radix-ui/react-primitive': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-compose-refs': 1.0.0([email protected])
+ '@radix-ui/react-primitive': 1.0.1([email protected]([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])
+
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@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-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -10175,82 +11892,122 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
dependencies:
'@babel/runtime': 7.23.2
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([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-direction': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
aria-hidden: 1.2.3
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@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]))([email protected])
+ '@radix-ui/react-focus-guards': 1.0.0([email protected])
+ '@radix-ui/react-focus-scope': 1.0.1([email protected]([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]))([email protected])
+ '@radix-ui/react-portal': 1.0.1([email protected]([email protected]))([email protected])
+ '@radix-ui/react-presence': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.1([email protected]([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'
+
dependencies:
'@babel/runtime': 7.23.2
'@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-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
aria-hidden: 1.2.3
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@floating-ui/react-dom': 0.7.2(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-arrow': 1.0.1([email protected]([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]))([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'
+
dependencies:
'@babel/runtime': 7.23.2
- '@floating-ui/react-dom': 2.0.2([email protected]([email protected]))([email protected])
+ '@floating-ui/react-dom': 2.0.2([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-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 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-use-rect': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-use-size': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/rect': 1.0.1
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -10262,22 +12019,36 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-primitive': 1.0.0([email protected]([email protected]))([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+
dependencies:
'@babel/runtime': 7.23.2
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.1([email protected]([email protected]))([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -10290,13 +12061,21 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-compose-refs': 1.0.0([email protected])
+ '@radix-ui/react-use-layout-effect': 1.0.0([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -10308,100 +12087,129 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
'@babel/runtime': 7.23.2
- '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.0.0([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-slot': 1.0.1([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@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-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([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])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/primitive': 1.0.0
+ '@radix-ui/react-collection': 1.0.1([email protected]([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]))([email protected])
+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
+ '@radix-ui/react-use-controllable-state': 1.0.0([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([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-direction': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([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])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/number': 1.0.1
'@radix-ui/primitive': 1.0.1
- '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([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-direction': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[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-use-previous': 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]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
aria-hidden: 1.2.3
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
react-remove-scroll: 2.5.5(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -10412,6 +12220,12 @@ snapshots:
'@radix-ui/react-compose-refs': 1.0.0([email protected])
react: 18.2.0
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-compose-refs': 1.0.0([email protected])
+ react: 18.2.0
+
dependencies:
'@babel/runtime': 7.23.2
@@ -10420,68 +12234,110 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
dependencies:
'@babel/runtime': 7.23.2
'@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-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([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])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
'@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-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@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]))([email protected])
+ '@radix-ui/react-roving-focus': 1.0.1([email protected]([email protected]))([email protected])
+ '@radix-ui/react-toggle': 1.0.1([email protected]([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])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/primitive': 1.0.0
+ '@radix-ui/react-primitive': 1.0.1([email protected]([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])
+
dependencies:
'@babel/runtime': 7.23.2
'@radix-ui/primitive': 1.0.1
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@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]))([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]))([email protected])
+ '@radix-ui/react-portal': 1.0.1([email protected]([email protected]))([email protected])
+ '@radix-ui/react-presence': 1.0.0([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.1([email protected]([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]))([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ transitivePeerDependencies:
+ - '@types/react'
+
dependencies:
'@babel/runtime': 7.23.2
'@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-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 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]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.2.0
- react-dom: 18.2.0([email protected])
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
@@ -10518,6 +12374,12 @@ snapshots:
'@radix-ui/react-use-callback-ref': 1.0.0([email protected])
react: 18.2.0
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
+ react: 18.2.0
+
dependencies:
'@babel/runtime': 7.23.2
@@ -10545,6 +12407,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/rect': 1.0.0
+ react: 18.2.0
+
dependencies:
'@babel/runtime': 7.23.2
@@ -10553,6 +12421,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-use-layout-effect': 1.0.0([email protected])
+ react: 18.2.0
+
dependencies:
'@babel/runtime': 7.23.2
@@ -10561,16 +12435,27 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
dependencies:
'@babel/runtime': 7.23.2
- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 1.0.1([email protected]([email protected]))([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.2.64
'@types/react-dom': 18.2.21
+ '@radix-ui/[email protected]':
+ dependencies:
+ '@babel/runtime': 7.23.2
+
'@radix-ui/[email protected]':
dependencies:
'@babel/runtime': 7.23.2
@@ -10591,7 +12476,53 @@ snapshots:
dependencies:
react: 18.2.0
+ '@react-email/[email protected]':
+ dependencies:
+ '@react-email/body': 0.0.2
+ '@react-email/button': 0.0.9
+ '@react-email/column': 0.0.7
+ '@react-email/container': 0.0.8
+ '@react-email/font': 0.0.2
+ '@react-email/head': 0.0.5
+ '@react-email/heading': 0.0.8
+ '@react-email/hr': 0.0.5
+ '@react-email/html': 0.0.4
+ '@react-email/img': 0.0.5
+ '@react-email/link': 0.0.5
+ '@react-email/preview': 0.0.6
+ '@react-email/render': 0.0.7
+ '@react-email/row': 0.0.5
+ '@react-email/section': 0.0.9
+ '@react-email/tailwind': 0.0.8
+ '@react-email/text': 0.0.5
+ react: 18.2.0
+ transitivePeerDependencies:
+ - ts-node
+
+ dependencies:
+ '@react-email/body': 0.0.2
+ '@react-email/button': 0.0.9
+ '@react-email/column': 0.0.7
+ '@react-email/container': 0.0.8
+ '@react-email/font': 0.0.2
+ '@react-email/head': 0.0.5
+ '@react-email/heading': 0.0.8
+ '@react-email/hr': 0.0.5
+ '@react-email/html': 0.0.4
+ '@react-email/img': 0.0.5
+ '@react-email/link': 0.0.5
+ '@react-email/preview': 0.0.6
+ '@react-email/render': 0.0.7
+ '@react-email/row': 0.0.5
+ '@react-email/section': 0.0.9
+ '@react-email/tailwind': 0.0.8([email protected](@types/[email protected])([email protected]))
+ '@react-email/text': 0.0.5
+ react: 18.2.0
+ transitivePeerDependencies:
+ - ts-node
+
dependencies:
'@react-email/body': 0.0.2
'@react-email/button': 0.0.9
@@ -10608,7 +12539,7 @@ snapshots:
'@react-email/render': 0.0.7
'@react-email/row': 0.0.5
'@react-email/section': 0.0.9
- '@react-email/tailwind': 0.0.8([email protected](@types/[email protected])([email protected]))
+ '@react-email/tailwind': 0.0.8([email protected](@types/[email protected])([email protected]))
'@react-email/text': 0.0.5
react: 18.2.0
transitivePeerDependencies:
@@ -10676,21 +12607,48 @@ snapshots:
dependencies:
react: 18.2.0
+ '@react-email/[email protected]':
dependencies:
html-react-parser: 3.0.9([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
+ tw-to-css: 0.0.11
transitivePeerDependencies:
- ts-node
+ dependencies:
+ html-react-parser: 3.0.9([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ transitivePeerDependencies:
+ - ts-node
+
+ dependencies:
+ html-react-parser: 3.0.9([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ transitivePeerDependencies:
+ - ts-node
+
dependencies:
html-react-parser: 4.0.0([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
+ transitivePeerDependencies:
+ - ts-node
+
+ dependencies:
+ html-react-parser: 4.0.0([email protected])
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
transitivePeerDependencies:
- ts-node
@@ -10717,6 +12675,8 @@ snapshots:
optionalDependencies:
rollup: 2.78.0
+ '@rushstack/[email protected]': {}
+
'@selderee/[email protected]':
dependencies:
domhandler: 5.0.3
@@ -11200,6 +13160,10 @@ snapshots:
'@swc/[email protected]': {}
+ dependencies:
+ tslib: 2.6.2
+
dependencies:
tslib: 2.6.2
@@ -11209,6 +13173,12 @@ snapshots:
'@swc/counter': 0.1.3
tslib: 2.6.2
+ dependencies:
+ zod: 3.22.4
+ optionalDependencies:
+ typescript: 4.9.3
+
dependencies:
zod: 3.22.4
@@ -11234,27 +13204,24 @@ snapshots:
optionalDependencies:
typescript: 5.4.5
dependencies:
dependencies:
lodash.castarray: 4.4.0
lodash.isplainobject: 4.0.6
lodash.merge: 4.6.2
postcss-selector-parser: 6.0.10
- '@tanstack/[email protected]': {}
+ '@tanstack/[email protected]': {}
dependencies:
- '@tanstack/query-core': 4.36.1
+ '@tanstack/query-core': 5.36.1
react: 18.2.0
- use-sync-external-store: 1.2.0([email protected])
- optionalDependencies:
- react-dom: 18.2.0([email protected])
dependencies:
@@ -11284,11 +13251,11 @@ snapshots:
'@tootallnate/[email protected]': {}
dependencies:
- '@headlessui/tailwindcss': 0.2.0([email protected]([email protected](@types/[email protected])([email protected])))
+ '@headlessui/tailwindcss': 0.2.0([email protected]([email protected](@types/[email protected])([email protected])))
date-fns: 2.30.0
react: 18.2.0
react-day-picker: 8.10.0([email protected])([email protected])
@@ -11304,19 +13271,19 @@ snapshots:
dependencies:
'@trpc/server': 10.45.1
dependencies:
- '@tanstack/react-query': 4.36.1([email protected]([email protected]))([email protected])
+ '@tanstack/react-query': 5.37.1([email protected])
'@trpc/client': 10.45.1(@trpc/[email protected])
'@trpc/server': 10.45.1
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
- '@tanstack/react-query': 4.36.1([email protected]([email protected]))([email protected])
+ '@tanstack/react-query': 5.37.1([email protected])
'@trpc/client': 10.45.1(@trpc/[email protected])
'@trpc/server': 10.45.1
react: 18.2.0
@@ -11324,7 +13291,7 @@ snapshots:
'@trpc/[email protected]': {}
- '@tsconfig/[email protected]': {}
+ '@tsconfig/[email protected]': {}
'@tsconfig/[email protected]': {}
@@ -11342,7 +13309,7 @@ snapshots:
minimatch: 9.0.1
node-plop: 0.26.3
proxy-agent: 6.3.1
- ts-node: 10.9.1(@types/[email protected])([email protected])
+ ts-node: 10.9.2(@types/[email protected])([email protected])
update-check: 1.5.4
validate-npm-package-name: 5.0.0
transitivePeerDependencies:
@@ -11357,7 +13324,7 @@ snapshots:
chalk: 2.4.2
commander: 10.0.1
execa: 5.1.1
- fast-glob: 3.3.1
+ fast-glob: 3.3.2
fs-extra: 10.1.0
gradient-string: 2.0.2
inquirer: 8.2.6
@@ -11373,6 +13340,10 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ classnames: 2.3.2
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -11445,6 +13416,8 @@ snapshots:
'@types/tough-cookie': 4.0.4
parse5: 7.1.2
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -11465,24 +13438,49 @@ snapshots:
dependencies:
'@types/node': 20.8.0
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 5.26.5
+ optional: true
+
'@types/[email protected]': {}
'@types/[email protected]': {}
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ '@types/react': 18.2.64
+
dependencies:
'@types/react': 18.2.64
+ '@types/[email protected]':
+ dependencies:
+ '@types/prop-types': 15.7.12
+ '@types/scheduler': 0.16.5
+ csstype: 3.1.3
+
dependencies:
'@types/prop-types': 15.7.9
'@types/scheduler': 0.16.5
csstype: 3.1.2
+ '@types/[email protected]':
+ dependencies:
+ '@types/prop-types': 15.7.12
+ csstype: 3.1.3
+ optional: true
+
dependencies:
'@types/caseless': 0.12.4
@@ -11512,6 +13510,11 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 20.8.0
+ optional: true
+
dependencies:
'@types/node': 20.8.0
@@ -11522,6 +13525,44 @@ snapshots:
dependencies:
'@types/yargs-parser': 21.0.2
+ dependencies:
+ '@typescript-eslint/scope-manager': 5.62.0
+ '@typescript-eslint/types': 5.62.0
+ '@typescript-eslint/typescript-estree': 5.62.0([email protected])
+ debug: 4.3.4
+ eslint: 8.36.0
+ optionalDependencies:
+ typescript: 4.9.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 5.62.0
+ '@typescript-eslint/visitor-keys': 5.62.0
+
+ '@typescript-eslint/[email protected]': {}
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/types': 5.62.0
+ '@typescript-eslint/visitor-keys': 5.62.0
+ debug: 4.3.4
+ globby: 11.1.0
+ is-glob: 4.0.3
+ semver: 7.5.4
+ tsutils: 3.21.0([email protected])
+ optionalDependencies:
+ typescript: 4.9.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 5.62.0
+ eslint-visitor-keys: 3.4.3
+
'@ungap/[email protected]': {}
'@unkey/[email protected]': {}
@@ -11555,9 +13596,9 @@ snapshots:
transitivePeerDependencies:
- encoding
dependencies:
- jest-environment-jsdom: 29.7.0([email protected])([email protected])
+ jest-environment-jsdom: 29.7.0([email protected])([email protected])
undici: 5.25.1
transitivePeerDependencies:
- bufferutil
@@ -11575,12 +13616,12 @@ snapshots:
dependencies:
- acorn: 8.10.0
- acorn-walk: 8.2.0
+ acorn: 8.11.3
+ acorn-walk: 8.3.2
dependencies:
- acorn: 8.10.0
+ acorn: 8.11.3
dependencies:
@@ -11592,10 +13633,14 @@ snapshots:
+
+
dependencies:
debug: 4.3.4
@@ -11617,6 +13662,13 @@ snapshots:
optionalDependencies:
ajv: 8.14.0
+ dependencies:
+ fast-deep-equal: 3.1.3
+ fast-json-stable-stringify: 2.1.0
+ json-schema-traverse: 0.4.1
+ uri-js: 4.4.1
+
dependencies:
fast-deep-equal: 3.1.3
@@ -11670,7 +13722,7 @@ snapshots:
normalize-path: 3.0.0
picomatch: 2.3.1
@@ -11684,8 +13736,26 @@ snapshots:
dependencies:
tslib: 2.6.2
+ dependencies:
+ dequal: 2.0.3
+
+ dependencies:
+ call-bind: 1.0.7
+ is-array-buffer: 3.0.4
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-object-atoms: 1.0.0
+ get-intrinsic: 1.2.4
+ is-string: 1.0.7
+
dependencies:
is-number: 4.0.0
@@ -11694,12 +13764,72 @@ snapshots:
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-errors: 1.3.0
+ es-object-atoms: 1.0.0
+ es-shim-unscopables: 1.0.2
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-errors: 1.3.0
+ es-object-atoms: 1.0.0
+ es-shim-unscopables: 1.0.2
+
+ dependencies:
+ call-bind: 1.0.5
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-shim-unscopables: 1.0.2
+
+ dependencies:
+ call-bind: 1.0.5
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-shim-unscopables: 1.0.2
+
+ dependencies:
+ call-bind: 1.0.5
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-shim-unscopables: 1.0.2
+
+ dependencies:
+ call-bind: 1.0.5
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-errors: 1.3.0
+ es-shim-unscopables: 1.0.2
+
+ dependencies:
+ array-buffer-byte-length: 1.0.1
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-errors: 1.3.0
+ get-intrinsic: 1.2.4
+ is-array-buffer: 3.0.4
+ is-shared-array-buffer: 1.0.3
+
dependencies:
printable-characters: 1.0.42
+
dependencies:
tslib: 2.6.2
@@ -11708,6 +13838,16 @@ snapshots:
+ dependencies:
+ browserslist: 4.23.0
+ caniuse-lite: 1.0.30001612
+ fraction.js: 4.3.7
+ normalize-range: 0.1.2
+ picocolors: 1.0.0
+ postcss: 8.4.19
+ postcss-value-parser: 4.2.0
+
dependencies:
browserslist: 4.23.0
@@ -11720,6 +13860,12 @@ snapshots:
+ dependencies:
+ possible-typed-array-names: 1.0.0
+
+
dependencies:
follow-redirects: 1.15.6
@@ -11728,6 +13874,10 @@ snapshots:
transitivePeerDependencies:
- debug
+ dependencies:
+ dequal: 2.0.3
+
@@ -11747,7 +13897,7 @@ snapshots:
dependencies:
@@ -11778,6 +13928,10 @@ snapshots:
dependencies:
fill-range: 7.0.1
+ dependencies:
+ fill-range: 7.1.1
+
dependencies:
caniuse-lite: 1.0.30001612
@@ -11798,6 +13952,11 @@ snapshots:
dependencies:
node-gyp-build: 4.6.1
+ dependencies:
+ node-gyp-build: 4.8.1
+ optional: true
+
dependencies:
semver: 7.5.4
@@ -11806,6 +13965,12 @@ snapshots:
+ dependencies:
+ '@types/node': 20.12.12
+ '@types/ws': 8.5.10
+ optional: true
+
dependencies:
esbuild: 0.18.20
@@ -11823,6 +13988,16 @@ snapshots:
get-intrinsic: 1.2.1
set-function-length: 1.1.1
+ dependencies:
+ es-define-property: 1.0.0
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+ get-intrinsic: 1.2.4
+ set-function-length: 1.2.2
+
+
dependencies:
no-case: 2.3.2
@@ -11921,6 +14096,18 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
+ dependencies:
+ anymatch: 3.1.3
+ braces: 3.0.3
+ glob-parent: 5.1.2
+ is-binary-path: 2.1.0
+ is-glob: 4.0.3
+ normalize-path: 3.0.0
+ readdirp: 3.6.0
+ optionalDependencies:
+ fsevents: 2.3.3
+
@@ -11929,6 +14116,8 @@ snapshots:
dependencies:
clsx: 2.0.0
+
@@ -11976,6 +14165,15 @@ snapshots:
transitivePeerDependencies:
- '@types/react'
+ dependencies:
+ '@radix-ui/react-dialog': 1.0.0(@types/[email protected])([email protected]([email protected]))([email protected])
+ command-score: 0.1.2
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+ transitivePeerDependencies:
+ - '@types/react'
+
dependencies:
phenomenon: 1.6.0
@@ -12040,13 +14238,13 @@ snapshots:
snake-case: 2.1.0
upper-case: 1.1.3
dependencies:
- '@contentlayer/cli': 0.3.4([email protected])
- '@contentlayer/client': 0.3.4([email protected])
- '@contentlayer/core': 0.3.4([email protected])
- '@contentlayer/source-files': 0.3.4([email protected])
- '@contentlayer/source-remote-files': 0.3.4([email protected])
+ '@contentlayer/cli': 0.3.4([email protected])
+ '@contentlayer/client': 0.3.4([email protected])
+ '@contentlayer/core': 0.3.4([email protected])
+ '@contentlayer/source-files': 0.3.4([email protected])
+ '@contentlayer/source-remote-files': 0.3.4([email protected])
'@contentlayer/utils': 0.3.4
transitivePeerDependencies:
- '@effect-ts/otel-node'
@@ -12088,6 +14286,8 @@ snapshots:
+
dependencies:
internmap: 2.0.3
@@ -12131,6 +14331,8 @@ snapshots:
es5-ext: 0.10.62
type: 1.2.0
+
@@ -12143,6 +14345,24 @@ snapshots:
whatwg-mimetype: 3.0.0
whatwg-url: 11.0.0
+ dependencies:
+ call-bind: 1.0.7
+ es-errors: 1.3.0
+ is-data-view: 1.0.1
+
+ dependencies:
+ call-bind: 1.0.7
+ es-errors: 1.3.0
+ is-data-view: 1.0.1
+
+ dependencies:
+ call-bind: 1.0.7
+ es-errors: 1.3.0
+ is-data-view: 1.0.1
+
dependencies:
date-fns: 2.30.0
@@ -12151,6 +14371,10 @@ snapshots:
dependencies:
'@babel/runtime': 7.23.2
+ dependencies:
+ ms: 2.1.2
+
dependencies:
ms: 2.1.2
@@ -12178,6 +14402,8 @@ snapshots:
+
@@ -12190,6 +14416,18 @@ snapshots:
gopd: 1.0.1
has-property-descriptors: 1.0.0
+ dependencies:
+ es-define-property: 1.0.0
+ es-errors: 1.3.0
+ gopd: 1.0.1
+
+ dependencies:
+ define-data-property: 1.1.1
+ has-property-descriptors: 1.0.0
+ object-keys: 1.1.1
+
@@ -12253,6 +14491,14 @@ snapshots:
+ dependencies:
+ esutils: 2.0.3
+
+ dependencies:
+ esutils: 2.0.3
+
dependencies:
'@babel/runtime': 7.23.2
@@ -12303,39 +14549,49 @@ snapshots:
transitivePeerDependencies:
- supports-color
optionalDependencies:
'@cloudflare/workers-types': 4.20240512.0
'@libsql/client': 0.6.0([email protected])([email protected])
- '@opentelemetry/api': 1.4.1
- '@types/react': 18.2.64
+ '@opentelemetry/api': 1.8.0
+ '@types/react': 18.3.2
better-sqlite3: 10.0.0
- bun-types: 1.0.11
- react: 18.2.0
+ bun-types: 1.1.8
+ react: 18.3.1
+ optionalDependencies:
+ '@cloudflare/workers-types': 4.20240512.0
+ '@libsql/client': 0.6.0([email protected])([email protected])
+ '@opentelemetry/api': 1.8.0
+ '@types/react': 18.3.2
+ better-sqlite3: 10.0.0
+ bun-types: 1.1.8
+ react: 18.3.1
+
optionalDependencies:
'@cloudflare/workers-types': 4.20240403.0
- '@libsql/client': 0.6.0([email protected])([email protected])
- '@opentelemetry/api': 1.4.1
- '@types/react': 18.2.64
+ '@libsql/client': 0.6.0([email protected])([email protected])
+ '@opentelemetry/api': 1.8.0
+ '@types/react': 18.3.2
better-sqlite3: 10.0.0
- bun-types: 1.0.11
- react: 18.2.0
+ bun-types: 1.1.8
+ react: 18.3.1
optionalDependencies:
'@cloudflare/workers-types': 4.20240512.0
- '@libsql/client': 0.6.0([email protected])([email protected])
- '@opentelemetry/api': 1.4.1
- '@types/react': 18.2.64
+ '@libsql/client': 0.6.0([email protected])([email protected])
+ '@opentelemetry/api': 1.8.0
+ '@types/react': 18.3.2
better-sqlite3: 10.0.0
- bun-types: 1.0.11
- react: 18.2.0
+ bun-types: 1.1.8
+ react: 18.3.1
dependencies:
zod: 3.22.4
@@ -12380,6 +14636,11 @@ snapshots:
dependencies:
once: 1.4.0
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.2.1
+
@@ -12388,6 +14649,98 @@ snapshots:
dependencies:
is-arrayish: 0.2.1
+ dependencies:
+ array-buffer-byte-length: 1.0.1
+ arraybuffer.prototype.slice: 1.0.3
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.7
+ data-view-buffer: 1.0.1
+ data-view-byte-length: 1.0.1
+ data-view-byte-offset: 1.0.0
+ es-define-property: 1.0.0
+ es-errors: 1.3.0
+ es-object-atoms: 1.0.0
+ es-set-tostringtag: 2.0.3
+ es-to-primitive: 1.2.1
+ function.prototype.name: 1.1.6
+ get-intrinsic: 1.2.4
+ get-symbol-description: 1.0.2
+ globalthis: 1.0.4
+ gopd: 1.0.1
+ has-property-descriptors: 1.0.2
+ has-proto: 1.0.3
+ has-symbols: 1.0.3
+ hasown: 2.0.2
+ internal-slot: 1.0.7
+ is-array-buffer: 3.0.4
+ is-callable: 1.2.7
+ is-data-view: 1.0.1
+ is-negative-zero: 2.0.3
+ is-regex: 1.1.4
+ is-shared-array-buffer: 1.0.3
+ is-string: 1.0.7
+ is-typed-array: 1.1.13
+ is-weakref: 1.0.2
+ object-inspect: 1.13.1
+ object-keys: 1.1.1
+ object.assign: 4.1.5
+ regexp.prototype.flags: 1.5.2
+ safe-array-concat: 1.1.2
+ safe-regex-test: 1.0.3
+ string.prototype.trim: 1.2.9
+ string.prototype.trimend: 1.0.8
+ string.prototype.trimstart: 1.0.8
+ typed-array-buffer: 1.0.2
+ typed-array-byte-length: 1.0.1
+ typed-array-byte-offset: 1.0.2
+ typed-array-length: 1.0.6
+ unbox-primitive: 1.0.2
+ which-typed-array: 1.1.15
+
+ dependencies:
+ get-intrinsic: 1.2.4
+
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-errors: 1.3.0
+ es-set-tostringtag: 2.0.3
+ function-bind: 1.1.2
+ get-intrinsic: 1.2.4
+ globalthis: 1.0.4
+ has-property-descriptors: 1.0.2
+ has-proto: 1.0.3
+ has-symbols: 1.0.3
+ internal-slot: 1.0.7
+ iterator.prototype: 1.1.2
+ safe-array-concat: 1.1.2
+
+ dependencies:
+ es-errors: 1.3.0
+
+ dependencies:
+ get-intrinsic: 1.2.4
+ has-tostringtag: 1.0.2
+ hasown: 2.0.2
+
+ dependencies:
+ hasown: 2.0.2
+
+ dependencies:
+ is-callable: 1.2.7
+ is-date-object: 1.0.5
+ is-symbol: 1.0.4
+
dependencies:
es6-iterator: 2.0.3
@@ -12520,6 +14873,32 @@ snapshots:
'@esbuild/win32-ia32': 0.19.12
'@esbuild/win32-x64': 0.19.12
+ optionalDependencies:
+ '@esbuild/aix-ppc64': 0.21.3
+ '@esbuild/android-arm': 0.21.3
+ '@esbuild/android-arm64': 0.21.3
+ '@esbuild/android-x64': 0.21.3
+ '@esbuild/darwin-arm64': 0.21.3
+ '@esbuild/darwin-x64': 0.21.3
+ '@esbuild/freebsd-arm64': 0.21.3
+ '@esbuild/freebsd-x64': 0.21.3
+ '@esbuild/linux-arm': 0.21.3
+ '@esbuild/linux-arm64': 0.21.3
+ '@esbuild/linux-ia32': 0.21.3
+ '@esbuild/linux-loong64': 0.21.3
+ '@esbuild/linux-mips64el': 0.21.3
+ '@esbuild/linux-ppc64': 0.21.3
+ '@esbuild/linux-riscv64': 0.21.3
+ '@esbuild/linux-s390x': 0.21.3
+ '@esbuild/linux-x64': 0.21.3
+ '@esbuild/netbsd-x64': 0.21.3
+ '@esbuild/openbsd-x64': 0.21.3
+ '@esbuild/sunos-x64': 0.21.3
+ '@esbuild/win32-arm64': 0.21.3
+ '@esbuild/win32-ia32': 0.21.3
+ '@esbuild/win32-x64': 0.21.3
+
@@ -12538,8 +14917,216 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
+ dependencies:
+ '@next/eslint-plugin-next': 13.2.4
+ '@rushstack/eslint-patch': 1.10.3
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ eslint: 8.36.0
+ eslint-import-resolver-node: 0.3.9
+ eslint-plugin-jsx-a11y: 6.8.0([email protected])
+ eslint-plugin-react: 7.34.1([email protected])
+ eslint-plugin-react-hooks: 4.6.2([email protected])
+ optionalDependencies:
+ typescript: 4.9.3
+ transitivePeerDependencies:
+ - eslint-import-resolver-webpack
+ - supports-color
+
+ dependencies:
+ eslint: 8.36.0
+
+ dependencies:
+ debug: 3.2.7
+ is-core-module: 2.13.0
+ resolve: 1.22.8
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ debug: 4.3.4
+ enhanced-resolve: 5.16.1
+ eslint: 8.36.0
+ fast-glob: 3.3.2
+ get-tsconfig: 4.7.2
+ is-core-module: 2.13.0
+ is-glob: 4.0.3
+ transitivePeerDependencies:
+ - '@typescript-eslint/parser'
+ - eslint-import-resolver-node
+ - eslint-import-resolver-webpack
+ - supports-color
+
+ dependencies:
+ debug: 3.2.7
+ optionalDependencies:
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ eslint: 8.36.0
+ eslint-import-resolver-node: 0.3.9
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ array-includes: 3.1.8
+ array.prototype.findlastindex: 1.2.5
+ array.prototype.flat: 1.3.2
+ array.prototype.flatmap: 1.3.2
+ debug: 3.2.7
+ doctrine: 2.1.0
+ eslint: 8.36.0
+ eslint-import-resolver-node: 0.3.9
+ hasown: 2.0.2
+ is-core-module: 2.13.1
+ is-glob: 4.0.3
+ minimatch: 3.1.2
+ object.fromentries: 2.0.8
+ object.groupby: 1.0.3
+ object.values: 1.2.0
+ semver: 6.3.1
+ tsconfig-paths: 3.15.0
+ optionalDependencies:
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ transitivePeerDependencies:
+ - eslint-import-resolver-typescript
+ - eslint-import-resolver-webpack
+ - supports-color
+
+ dependencies:
+ '@babel/runtime': 7.23.2
+ aria-query: 5.3.0
+ array-includes: 3.1.8
+ array.prototype.flatmap: 1.3.2
+ ast-types-flow: 0.0.8
+ axe-core: 4.7.0
+ axobject-query: 3.2.1
+ damerau-levenshtein: 1.0.8
+ emoji-regex: 9.2.2
+ es-iterator-helpers: 1.0.19
+ eslint: 8.36.0
+ hasown: 2.0.2
+ jsx-ast-utils: 3.3.5
+ language-tags: 1.0.9
+ minimatch: 3.1.2
+ object.entries: 1.1.8
+ object.fromentries: 2.0.8
+
+ dependencies:
+ eslint: 8.36.0
+
+ dependencies:
+ array-includes: 3.1.8
+ array.prototype.findlast: 1.2.5
+ array.prototype.flatmap: 1.3.2
+ array.prototype.toreversed: 1.1.2
+ array.prototype.tosorted: 1.1.3
+ doctrine: 2.1.0
+ es-iterator-helpers: 1.0.19
+ eslint: 8.36.0
+ estraverse: 5.3.0
+ jsx-ast-utils: 3.3.5
+ minimatch: 3.1.2
+ object.entries: 1.1.8
+ object.fromentries: 2.0.8
+ object.hasown: 1.1.4
+ object.values: 1.2.0
+ prop-types: 15.8.1
+ resolve: 2.0.0-next.5
+ semver: 6.3.1
+ string.prototype.matchall: 4.0.11
+
+ dependencies:
+ eslint: 8.36.0
+
+ dependencies:
+ eslint: 8.36.0
+ eslint-rule-composer: 0.3.0
+
+
+ dependencies:
+ esrecurse: 4.3.0
+ estraverse: 5.3.0
+
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
+ '@eslint-community/regexpp': 4.10.0
+ '@eslint/eslintrc': 2.1.4
+ '@eslint/js': 8.36.0
+ '@humanwhocodes/config-array': 0.11.14
+ '@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.2
+ eslint-visitor-keys: 3.4.3
+ 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.24.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.4
+ strip-ansi: 6.0.1
+ strip-json-comments: 3.1.1
+ text-table: 0.2.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ acorn: 8.11.3
+ acorn-jsx: 5.3.2([email protected])
+ eslint-visitor-keys: 3.4.3
+
+ dependencies:
+ estraverse: 5.3.0
+
+ dependencies:
+ estraverse: 5.3.0
+
@@ -12644,6 +15231,10 @@ snapshots:
merge2: 1.4.1
micromatch: 4.0.5
+
+
dependencies:
strnum: 1.0.5
@@ -12667,6 +15258,10 @@ snapshots:
dependencies:
escape-string-regexp: 1.0.5
+ dependencies:
+ flat-cache: 3.2.0
+
dependencies:
flat-cache: 4.0.1
@@ -12677,6 +15272,10 @@ snapshots:
dependencies:
to-regex-range: 5.0.1
+ dependencies:
+ to-regex-range: 5.0.1
+
@@ -12686,12 +15285,23 @@ snapshots:
locate-path: 5.0.0
path-exists: 4.0.0
+ dependencies:
+ locate-path: 6.0.0
+ path-exists: 4.0.0
+
+ dependencies:
+ flatted: 3.3.1
+ keyv: 4.5.4
+ rimraf: 3.0.2
+
dependencies:
- flatted: 3.2.9
+ flatted: 3.3.1
keyv: 4.5.4
@@ -12724,6 +15334,16 @@ snapshots:
+ dependencies:
+ '@motionone/dom': 10.17.0
+ hey-listen: 1.0.8
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ tslib: 2.6.2
+ optionalDependencies:
+ '@emotion/is-prop-valid': 0.8.8
+
@@ -12756,6 +15376,15 @@ snapshots:
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ functions-have-names: 1.2.3
+
+
dependencies:
extend: 3.0.2
@@ -12783,6 +15412,14 @@ snapshots:
has-proto: 1.0.1
has-symbols: 1.0.3
+ dependencies:
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+ has-proto: 1.0.1
+ has-symbols: 1.0.3
+ hasown: 2.0.2
+
@@ -12792,6 +15429,12 @@ snapshots:
+ dependencies:
+ call-bind: 1.0.7
+ es-errors: 1.3.0
+ get-intrinsic: 1.2.4
+
dependencies:
resolve-pkg-maps: 1.0.0
@@ -12836,6 +15479,15 @@ snapshots:
once: 1.4.0
path-is-absolute: 1.0.1
+ dependencies:
+ fs.realpath: 1.0.0
+ inflight: 1.0.6
+ inherits: 2.0.4
+ minimatch: 3.1.2
+ once: 1.4.0
+ path-is-absolute: 1.0.1
+
dependencies:
fs.realpath: 1.0.0
@@ -12853,12 +15505,21 @@ snapshots:
minimatch: 5.1.6
once: 1.4.0
+ dependencies:
+ type-fest: 0.20.2
+
+ dependencies:
+ define-properties: 1.2.1
+ gopd: 1.0.1
+
dependencies:
'@types/glob': 7.2.0
array-union: 2.1.0
dir-glob: 3.0.1
- fast-glob: 3.3.1
+ fast-glob: 3.3.2
glob: 7.2.3
ignore: 5.2.4
merge2: 1.4.1
@@ -12914,6 +15575,8 @@ snapshots:
chalk: 4.1.2
tinygradient: 1.1.5
+
@@ -12951,6 +15614,8 @@ snapshots:
dependencies:
ansi-regex: 2.1.1
+
@@ -12963,14 +15628,24 @@ snapshots:
dependencies:
get-intrinsic: 1.2.1
+ dependencies:
+ es-define-property: 1.0.0
+
+
dependencies:
has-symbols: 1.0.3
+ dependencies:
+ has-symbols: 1.0.3
+
@@ -12981,6 +15656,10 @@ snapshots:
+ dependencies:
+ function-bind: 1.1.2
+
dependencies:
'@types/unist': 2.0.9
@@ -13096,6 +15775,8 @@ snapshots:
+
dependencies:
react-is: 16.13.1
@@ -13226,6 +15907,13 @@ snapshots:
+ dependencies:
+ parent-module: 1.0.1
+ resolve-from: 4.0.0
+
+
@@ -13275,6 +15963,12 @@ snapshots:
through: 2.3.8
wrap-ansi: 6.2.0
+ dependencies:
+ es-errors: 1.3.0
+ hasown: 2.0.2
+ side-channel: 1.0.4
+
@@ -13299,11 +15993,29 @@ snapshots:
call-bind: 1.0.5
has-tostringtag: 1.0.0
+ dependencies:
+ call-bind: 1.0.7
+ get-intrinsic: 1.2.4
+
+ dependencies:
+ has-tostringtag: 1.0.0
+
+ dependencies:
+ has-bigints: 1.0.2
+
dependencies:
- binary-extensions: 2.2.0
+ binary-extensions: 2.3.0
+
+ dependencies:
+ call-bind: 1.0.7
+ has-tostringtag: 1.0.0
@@ -13315,12 +16027,28 @@ snapshots:
dependencies:
has: 1.0.4
+ dependencies:
+ hasown: 2.0.2
+
+ dependencies:
+ is-typed-array: 1.1.13
+
+ dependencies:
+ has-tostringtag: 1.0.0
+
+ dependencies:
+ call-bind: 1.0.7
+
@@ -13341,6 +16069,14 @@ snapshots:
dependencies:
lower-case: 1.1.4
+
+
+ dependencies:
+ has-tostringtag: 1.0.0
+
@@ -13371,22 +16107,58 @@ snapshots:
dependencies:
'@types/estree': 1.0.3
+ dependencies:
+ call-bind: 1.0.7
+ has-tostringtag: 1.0.0
+
+
+ dependencies:
+ call-bind: 1.0.7
+
+ dependencies:
+ has-tostringtag: 1.0.0
+
+ dependencies:
+ has-symbols: 1.0.3
+
dependencies:
which-typed-array: 1.1.13
+ dependencies:
+ which-typed-array: 1.1.15
+
dependencies:
upper-case: 1.1.3
+
+ dependencies:
+ call-bind: 1.0.7
+
+ dependencies:
+ call-bind: 1.0.7
+ get-intrinsic: 1.2.4
+
+
@@ -13400,13 +16172,21 @@ snapshots:
+ dependencies:
+ define-properties: 1.2.1
+ get-intrinsic: 1.2.4
+ has-symbols: 1.0.3
+ reflect.getprototypeof: 1.0.6
+ set-function-name: 2.0.2
+
dependencies:
'@isaacs/cliui': 8.0.2
optionalDependencies:
'@pkgjs/parseargs': 0.11.0
dependencies:
'@jest/environment': 29.7.0
'@jest/fake-timers': 29.7.0
@@ -13415,7 +16195,7 @@ snapshots:
'@types/node': 20.8.0
jest-mock: 29.7.0
jest-util: 29.7.0
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -13467,6 +16247,8 @@ snapshots:
glob: 8.1.0
nopt: 6.0.0
+
@@ -13480,10 +16262,10 @@ snapshots:
dependencies:
abab: 2.0.6
- acorn: 8.10.0
+ acorn: 8.11.3
acorn-globals: 7.0.1
cssom: 0.5.0
cssstyle: 2.3.0
@@ -13506,7 +16288,7 @@ snapshots:
whatwg-encoding: 2.0.0
whatwg-mimetype: 3.0.0
whatwg-url: 11.0.0
xml-name-validator: 4.0.0
transitivePeerDependencies:
- bufferutil
@@ -13527,8 +16309,16 @@ snapshots:
+
+
+ dependencies:
+ minimist: 1.2.8
+
@@ -13543,6 +16333,13 @@ snapshots:
+ dependencies:
+ array-includes: 3.1.8
+ array.prototype.flat: 1.3.2
+ object.assign: 4.1.5
+ object.values: 1.2.0
+
dependencies:
buffer-equal-constant-time: 1.0.1
@@ -13589,8 +16386,19 @@ snapshots:
zod: 3.22.4
zod-validation-error: 3.3.0([email protected])
+
+ dependencies:
+ language-subtag-registry: 0.3.23
+
+ dependencies:
+ prelude-ls: 1.2.1
+ type-check: 0.4.0
+
dependencies:
'@neon-rs/load': 0.0.4
@@ -13622,6 +16430,10 @@ snapshots:
dependencies:
p-locate: 4.1.0
+ dependencies:
+ p-locate: 5.0.0
+
@@ -13869,13 +16681,13 @@ snapshots:
dependencies:
'@types/mdast': 3.0.14
dependencies:
'@babel/runtime': 7.23.2
- '@esbuild-plugins/node-resolve': 0.1.4([email protected])
+ '@esbuild-plugins/node-resolve': 0.1.4([email protected])
'@fal-works/esbuild-plugin-global-externals': 2.1.2
- '@mdx-js/esbuild': 2.3.0([email protected])
- esbuild: 0.19.12
+ '@mdx-js/esbuild': 2.3.0([email protected])
+ esbuild: 0.21.3
gray-matter: 4.0.3
remark-frontmatter: 4.0.1
remark-mdx-frontmatter: 1.1.1
@@ -14043,8 +16855,8 @@ snapshots:
dependencies:
- acorn: 8.10.0
- acorn-jsx: 5.3.2([email protected])
+ acorn: 8.11.3
+ acorn-jsx: 5.3.2([email protected])
micromark-extension-mdx-expression: 1.0.8
micromark-extension-mdx-jsx: 1.0.5
micromark-extension-mdx-md: 1.0.1
@@ -14213,7 +17025,7 @@ snapshots:
dependencies:
'@cspotcode/source-map-support': 0.8.1
acorn: 8.10.0
@@ -14224,7 +17036,7 @@ snapshots:
stoppable: 1.1.0
undici: 5.28.4
workerd: 1.20240403.0
youch: 3.3.3
zod: 3.22.4
transitivePeerDependencies:
@@ -14232,18 +17044,18 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
'@cspotcode/source-map-support': 0.8.1
- acorn: 8.10.0
- acorn-walk: 8.2.0
+ acorn: 8.11.3
+ acorn-walk: 8.3.2
capnp-ts: 0.7.0
exit-hook: 2.2.1
glob-to-regexp: 0.4.1
stoppable: 1.1.0
undici: 5.28.4
workerd: 1.20240512.0
youch: 3.3.3
zod: 3.22.4
transitivePeerDependencies:
@@ -14307,6 +17119,8 @@ snapshots:
+
@@ -14317,11 +17131,17 @@ snapshots:
react: 18.2.0
+ dependencies:
+ '@auth/core': 0.30.0
+ react: 18.3.1
+
dependencies:
- '@contentlayer/core': 0.3.4([email protected])
+ '@contentlayer/core': 0.3.4([email protected])
'@contentlayer/utils': 0.3.4
- contentlayer: 0.3.4([email protected])
+ contentlayer: 0.3.4([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -14343,8 +17163,42 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
+ dependencies:
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+
+ dependencies:
+ '@next/env': 13.2.4
+ '@swc/helpers': 0.4.14
+ caniuse-lite: 1.0.30001612
+ postcss: 8.4.14
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
+ styled-jsx: 5.1.1([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
+ '@opentelemetry/api': 1.8.0
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+
dependencies:
'@next/env': 14.2.3
@@ -14371,6 +17225,58 @@ snapshots:
- '@babel/core'
- babel-plugin-macros
+ dependencies:
+ '@next/env': 14.2.3
+ '@swc/helpers': 0.5.5
+ busboy: 1.6.0
+ caniuse-lite: 1.0.30001612
+ graceful-fs: 4.2.11
+ postcss: 8.4.31
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+ styled-jsx: 5.1.1([email protected])
+ optionalDependencies:
+ '@next/swc-darwin-arm64': 14.2.3
+ '@next/swc-darwin-x64': 14.2.3
+ '@next/swc-linux-arm64-gnu': 14.2.3
+ '@next/swc-linux-arm64-musl': 14.2.3
+ '@next/swc-linux-x64-gnu': 14.2.3
+ '@next/swc-linux-x64-musl': 14.2.3
+ '@next/swc-win32-arm64-msvc': 14.2.3
+ '@next/swc-win32-ia32-msvc': 14.2.3
+ '@next/swc-win32-x64-msvc': 14.2.3
+ '@opentelemetry/api': 1.8.0
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+
+ dependencies:
+ '@next/env': 14.2.3
+ '@swc/helpers': 0.5.5
+ busboy: 1.6.0
+ caniuse-lite: 1.0.30001612
+ graceful-fs: 4.2.11
+ postcss: 8.4.31
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+ styled-jsx: 5.1.1([email protected])
+ optionalDependencies:
+ '@next/swc-darwin-arm64': 14.2.3
+ '@next/swc-darwin-x64': 14.2.3
+ '@next/swc-linux-arm64-gnu': 14.2.3
+ '@next/swc-linux-arm64-musl': 14.2.3
+ '@next/swc-linux-x64-gnu': 14.2.3
+ '@next/swc-linux-x64-musl': 14.2.3
+ '@next/swc-win32-arm64-msvc': 14.2.3
+ '@next/swc-win32-ia32-msvc': 14.2.3
+ '@next/swc-win32-x64-msvc': 14.2.3
+ '@opentelemetry/api': 1.8.0
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+
dependencies:
lower-case: 1.1.4
@@ -14402,6 +17308,9 @@ snapshots:
+ optional: true
+
dependencies:
'@babel/runtime-corejs3': 7.23.2
@@ -14447,10 +17356,50 @@ snapshots:
+
+ dependencies:
+ call-bind: 1.0.5
+ define-properties: 1.2.1
+ has-symbols: 1.0.3
+ object-keys: 1.1.1
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-object-atoms: 1.0.0
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-object-atoms: 1.0.0
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+
+ dependencies:
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-object-atoms: 1.0.0
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-object-atoms: 1.0.0
+
dependencies:
wrappy: 1.0.2
@@ -14465,6 +17414,15 @@ snapshots:
dependencies:
yaml: 2.3.3
+ dependencies:
+ deep-is: 0.1.4
+ fast-levenshtein: 2.0.6
+ levn: 0.4.1
+ prelude-ls: 1.2.1
+ type-check: 0.4.0
+ word-wrap: 1.2.5
+
dependencies:
chalk: 3.0.0
@@ -14494,10 +17452,18 @@ snapshots:
dependencies:
p-try: 2.2.0
+ dependencies:
+ yocto-queue: 0.1.0
+
dependencies:
p-limit: 2.3.0
+ dependencies:
+ p-limit: 3.1.0
+
dependencies:
aggregate-error: 3.1.0
@@ -14531,6 +17497,10 @@ snapshots:
dependencies:
no-case: 2.3.2
+ dependencies:
+ callsites: 3.1.0
+
dependencies:
'@types/unist': 2.0.9
@@ -14598,6 +17568,8 @@ snapshots:
+
@@ -14632,6 +17604,8 @@ snapshots:
optionalDependencies:
fsevents: 2.3.2
+
dependencies:
balanced-match: 1.0.2
@@ -14639,6 +17613,13 @@ snapshots:
extend: 3.0.2
postcss: 8.4.21
+ dependencies:
+ postcss: 8.4.19
+ postcss-value-parser: 4.2.0
+ read-cache: 1.0.0
+ resolve: 1.22.8
+
dependencies:
postcss: 8.4.21
@@ -14653,6 +17634,11 @@ snapshots:
read-cache: 1.0.0
resolve: 1.22.8
+ dependencies:
+ camelcase-css: 2.0.1
+ postcss: 8.4.19
+
dependencies:
camelcase-css: 2.0.1
@@ -14663,21 +17649,42 @@ snapshots:
camelcase-css: 2.0.1
postcss: 8.4.38
+ dependencies:
+ lilconfig: 2.1.0
+ yaml: 1.10.2
+ optionalDependencies:
+ postcss: 8.4.19
+ ts-node: 10.9.2(@types/[email protected])([email protected])
+
+ dependencies:
+ lilconfig: 2.1.0
+ yaml: 1.10.2
+ optionalDependencies:
+ postcss: 8.4.21
+ ts-node: 10.9.2(@types/[email protected])([email protected])
+
dependencies:
lilconfig: 2.1.0
yaml: 1.10.2
optionalDependencies:
postcss: 8.4.21
- ts-node: 10.9.1(@types/[email protected])([email protected])
+ ts-node: 10.9.2(@types/[email protected])([email protected])
dependencies:
lilconfig: 2.1.0
yaml: 2.3.3
optionalDependencies:
postcss: 8.4.38
- ts-node: 10.9.1(@types/[email protected])([email protected])
+ ts-node: 10.9.2(@types/[email protected])([email protected])
+
+ dependencies:
+ postcss: 8.4.19
+ postcss-selector-parser: 6.0.13
dependencies:
@@ -14694,12 +17701,24 @@ snapshots:
cssesc: 3.0.0
util-deprecate: 1.0.2
+ dependencies:
+ cssesc: 3.0.0
+ util-deprecate: 1.0.2
+
+
+ dependencies:
+ nanoid: 3.3.7
+ picocolors: 1.0.0
+ source-map-js: 1.2.0
+
dependencies:
- cssesc: 3.0.0
- util-deprecate: 1.0.2
-
+ nanoid: 3.3.7
+ picocolors: 1.0.0
+ source-map-js: 1.2.0
dependencies:
@@ -14709,9 +17728,9 @@ snapshots:
dependencies:
- nanoid: 3.3.7
+ nanoid: 3.3.6
picocolors: 1.0.0
- source-map-js: 1.2.0
+ source-map-js: 1.0.2
dependencies:
@@ -14755,6 +17774,10 @@ snapshots:
tar-fs: 2.1.1
tunnel-agent: 0.6.0
+
+
dependencies:
'@jest/schemas': 29.6.3
@@ -14775,6 +17798,10 @@ snapshots:
+ dependencies:
+ react: 18.2.0
+
@@ -14869,7 +17896,19 @@ snapshots:
dependencies:
loose-envify: 1.4.0
react: 18.2.0
- scheduler: 0.23.0
+ scheduler: 0.23.2
+
+ dependencies:
+ loose-envify: 1.4.0
+ react: 18.2.0
+ scheduler: 0.23.2
+
+ dependencies:
+ loose-envify: 1.4.0
+ react: 18.3.1
+ scheduler: 0.23.2
dependencies:
@@ -14904,6 +17943,14 @@ snapshots:
+ dependencies:
+ react: 18.2.0
+ react-style-singleton: 2.2.1(@types/[email protected])([email protected])
+ tslib: 2.6.2
+ optionalDependencies:
+ '@types/react': 18.0.25
+
dependencies:
react: 18.2.0
@@ -14923,6 +17970,17 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
+ dependencies:
+ 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.2
+ use-callback-ref: 1.3.0(@types/[email protected])([email protected])
+ use-sidecar: 1.1.2(@types/[email protected])([email protected])
+ optionalDependencies:
+ '@types/react': 18.0.25
+
dependencies:
react: 18.2.0
@@ -14942,6 +18000,15 @@ snapshots:
react-dom: 18.2.0([email protected])
react-transition-group: 2.9.0([email protected]([email protected]))([email protected])
+ dependencies:
+ get-nonce: 1.0.1
+ invariant: 2.2.4
+ react: 18.2.0
+ tslib: 2.6.2
+ optionalDependencies:
+ '@types/react': 18.0.25
+
dependencies:
get-nonce: 1.0.1
@@ -14978,6 +18045,10 @@ snapshots:
dependencies:
loose-envify: 1.4.0
+ dependencies:
+ loose-envify: 1.4.0
+
dependencies:
pify: 2.3.0
@@ -15041,8 +18112,25 @@ snapshots:
indent-string: 4.0.0
strip-indent: 3.0.0
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-errors: 1.3.0
+ get-intrinsic: 1.2.4
+ globalthis: 1.0.4
+ which-builtin-type: 1.1.3
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-errors: 1.3.0
+ set-function-name: 2.0.2
+
dependencies:
rc: 1.2.8
@@ -15155,6 +18243,8 @@ snapshots:
dependencies:
'@react-email/render': 0.0.9
+
@@ -15167,6 +18257,12 @@ snapshots:
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0
+ dependencies:
+ is-core-module: 2.13.0
+ path-parse: 1.0.7
+ supports-preserve-symlinks-flag: 1.0.0
+
dependencies:
onetime: 5.1.2
@@ -15237,15 +18333,28 @@ snapshots:
dependencies:
mri: 1.2.0
+ dependencies:
+ call-bind: 1.0.7
+ get-intrinsic: 1.2.4
+ has-symbols: 1.0.3
+ isarray: 2.0.5
+
+ dependencies:
+ call-bind: 1.0.7
+ es-errors: 1.3.0
+ is-regex: 1.1.4
+
dependencies:
xmlchars: 2.2.0
dependencies:
loose-envify: 1.4.0
@@ -15269,6 +18378,8 @@ snapshots:
+
dependencies:
lru-cache: 6.0.0
@@ -15285,6 +18396,22 @@ snapshots:
gopd: 1.0.1
has-property-descriptors: 1.0.0
+ dependencies:
+ define-data-property: 1.1.4
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+ get-intrinsic: 1.2.4
+ gopd: 1.0.1
+ has-property-descriptors: 1.0.2
+
+ dependencies:
+ define-data-property: 1.1.4
+ es-errors: 1.3.0
+ functions-have-names: 1.2.3
+ has-property-descriptors: 1.0.2
+
dependencies:
shebang-regex: 3.0.0
@@ -15312,6 +18439,13 @@ snapshots:
get-intrinsic: 1.2.1
object-inspect: 1.13.1
+ dependencies:
+ call-bind: 1.0.7
+ es-errors: 1.3.0
+ get-intrinsic: 1.2.4
+ object-inspect: 1.13.1
+
@@ -15354,10 +18488,17 @@ snapshots:
react: 18.2.0
react-dom: 18.2.0([email protected])
+ dependencies:
+ react: 18.2.0
+ react-dom: 18.3.1([email protected])
+
dependencies:
is-plain-obj: 4.1.0
+
@@ -15434,6 +18575,40 @@ snapshots:
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-errors: 1.3.0
+ es-object-atoms: 1.0.0
+ get-intrinsic: 1.2.4
+ gopd: 1.0.1
+ has-symbols: 1.0.3
+ internal-slot: 1.0.7
+ regexp.prototype.flags: 1.5.2
+ set-function-name: 2.0.2
+ side-channel: 1.0.6
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-abstract: 1.23.3
+ es-object-atoms: 1.0.0
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-object-atoms: 1.0.0
+
+ dependencies:
+ call-bind: 1.0.7
+ define-properties: 1.2.1
+ es-object-atoms: 1.0.0
+
dependencies:
safe-buffer: 5.2.1
@@ -15467,6 +18642,8 @@ snapshots:
+
@@ -15495,6 +18672,11 @@ snapshots:
client-only: 0.0.1
react: 18.2.0
+ dependencies:
+ client-only: 0.0.1
+ react: 18.3.1
+
dependencies:
'@jridgewell/gen-mapping': 0.3.5
@@ -15540,14 +18722,98 @@ snapshots:
dependencies:
dependencies:
arg: 5.0.2
- chokidar: 3.5.3
+ chokidar: 3.6.0
+ color-name: 1.1.4
+ detective: 5.2.1
+ didyoumean: 1.2.2
+ dlv: 1.1.3
+ fast-glob: 3.3.2
+ 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-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.8
+ transitivePeerDependencies:
+ - ts-node
+
+ dependencies:
+ arg: 5.0.2
+ chokidar: 3.6.0
+ color-name: 1.1.4
+ detective: 5.2.1
+ didyoumean: 1.2.2
+ dlv: 1.1.3
+ fast-glob: 3.3.2
+ 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.21
+ postcss-import: 14.1.0([email protected])
+ postcss-js: 4.0.1([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.8
+ transitivePeerDependencies:
+ - ts-node
+
+ dependencies:
+ arg: 5.0.2
+ chokidar: 3.6.0
+ color-name: 1.1.4
+ detective: 5.2.1
+ didyoumean: 1.2.2
+ dlv: 1.1.3
+ fast-glob: 3.3.2
+ 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.21
+ postcss-import: 14.1.0([email protected])
+ postcss-js: 4.0.1([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.8
+ transitivePeerDependencies:
+ - ts-node
+
+ dependencies:
+ arg: 5.0.2
+ chokidar: 3.6.0
color-name: 1.1.4
detective: 5.2.1
didyoumean: 1.2.2
@@ -15563,7 +18829,7 @@ snapshots:
postcss: 8.4.21
postcss-import: 14.1.0([email protected])
postcss-js: 4.0.1([email protected])
postcss-nested: 6.0.0([email protected])
postcss-selector-parser: 6.0.13
postcss-value-parser: 4.2.0
@@ -15572,7 +18838,7 @@ snapshots:
transitivePeerDependencies:
- ts-node
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2
@@ -15591,7 +18857,7 @@ snapshots:
postcss: 8.4.38
postcss-import: 15.1.0([email protected])
postcss-js: 4.0.1([email protected])
postcss-nested: 6.0.1([email protected])
postcss-selector-parser: 6.0.13
resolve: 1.22.8
@@ -15599,6 +18865,8 @@ snapshots:
transitivePeerDependencies:
- ts-node
+
dependencies:
chownr: 1.1.4
@@ -15625,6 +18893,8 @@ snapshots:
- encoding
- supports-color
+
dependencies:
thenify: 3.3.1
@@ -15717,17 +18987,36 @@ snapshots:
dependencies:
'@cspotcode/source-map-support': 0.8.1
- '@tsconfig/node10': 1.0.9
+ '@tsconfig/node10': 1.0.11
+ '@tsconfig/node12': 1.0.11
+ '@tsconfig/node14': 1.0.3
+ '@tsconfig/node16': 1.0.4
+ '@types/node': 18.11.9
+ acorn: 8.11.3
+ acorn-walk: 8.3.2
+ arg: 4.1.3
+ create-require: 1.1.1
+ diff: 4.0.2
+ make-error: 1.3.6
+ typescript: 4.9.3
+ v8-compile-cache-lib: 3.0.1
+ yn: 3.1.1
+ optional: true
+
+ dependencies:
+ '@cspotcode/source-map-support': 0.8.1
+ '@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
'@types/node': 20.8.0
- acorn: 8.10.0
- acorn-walk: 8.2.0
- arg: 4.1.0
+ acorn: 8.11.3
+ acorn-walk: 8.3.2
+ arg: 4.1.3
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
@@ -15737,11 +19026,18 @@ snapshots:
+ dependencies:
+ '@types/json5': 0.0.29
+ json5: 1.0.2
+ minimist: 1.2.8
+ strip-bom: 3.0.0
+
dependencies:
bundle-require: 4.0.2([email protected])
cac: 6.7.14
@@ -15751,7 +19047,7 @@ snapshots:
execa: 5.1.1
globby: 11.1.0
joycon: 3.1.1
resolve-from: 5.0.0
rollup: 3.29.4
source-map: 0.8.0-beta.0
@@ -15764,6 +19060,11 @@ snapshots:
- supports-color
- ts-node
+ dependencies:
+ tslib: 1.14.1
+ typescript: 4.9.3
+
dependencies:
safe-buffer: 5.2.1
@@ -15795,20 +19096,42 @@ snapshots:
turbo-windows-64: 1.13.3
turbo-windows-arm64: 1.13.3
+ dependencies:
+ postcss: 8.4.21
+ postcss-css-variables: 0.18.0([email protected])
+ tailwindcss: 3.2.7([email protected])
+ transitivePeerDependencies:
+ - ts-node
+
+ dependencies:
+ postcss: 8.4.21
+ postcss-css-variables: 0.18.0([email protected])
+ transitivePeerDependencies:
+ - ts-node
+
dependencies:
postcss: 8.4.21
postcss-css-variables: 0.18.0([email protected])
transitivePeerDependencies:
- ts-node
+ dependencies:
+ prelude-ls: 1.2.1
+
+
@@ -15827,6 +19150,40 @@ snapshots:
+ dependencies:
+ call-bind: 1.0.7
+ es-errors: 1.3.0
+ is-typed-array: 1.1.13
+
+ dependencies:
+ call-bind: 1.0.7
+ for-each: 0.3.3
+ gopd: 1.0.1
+ has-proto: 1.0.3
+ is-typed-array: 1.1.13
+
+ dependencies:
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.7
+ for-each: 0.3.3
+ gopd: 1.0.1
+ has-proto: 1.0.3
+ is-typed-array: 1.1.13
+
+ dependencies:
+ call-bind: 1.0.7
+ for-each: 0.3.3
+ gopd: 1.0.1
+ has-proto: 1.0.3
+ is-typed-array: 1.1.13
+ possible-typed-array-names: 1.0.0
+
+
@@ -15834,6 +19191,16 @@ snapshots:
optional: true
+ dependencies:
+ call-bind: 1.0.7
+ has-bigints: 1.0.2
+ has-symbols: 1.0.3
+ which-boxed-primitive: 1.0.2
+
+ optional: true
+
dependencies:
busboy: 1.6.0
@@ -15968,6 +19335,13 @@ snapshots:
punycode: 1.3.2
querystring: 0.2.0
+ dependencies:
+ react: 18.2.0
+ tslib: 2.6.2
+ optionalDependencies:
+ '@types/react': 18.0.25
+
dependencies:
react: 18.2.0
@@ -15975,6 +19349,20 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.64
+ dependencies:
+ react: 18.2.0
+ optionalDependencies:
+ '@types/react': 18.0.25
+
+ dependencies:
+ detect-node-es: 1.1.0
+ react: 18.2.0
+ tslib: 2.6.2
+ optionalDependencies:
+ '@types/react': 18.0.25
+
dependencies:
detect-node-es: 1.1.0
@@ -15991,6 +19379,11 @@ snapshots:
dependencies:
node-gyp-build: 4.6.1
+ dependencies:
+ node-gyp-build: 4.8.1
+ optional: true
+
@@ -16120,6 +19513,36 @@ snapshots:
tr46: 1.0.1
webidl-conversions: 4.0.2
+ dependencies:
+ is-bigint: 1.0.4
+ is-boolean-object: 1.1.2
+ is-number-object: 1.0.7
+ is-string: 1.0.7
+ is-symbol: 1.0.4
+
+ dependencies:
+ function.prototype.name: 1.1.6
+ has-tostringtag: 1.0.0
+ is-async-function: 2.0.0
+ is-date-object: 1.0.5
+ is-finalizationregistry: 1.0.2
+ is-generator-function: 1.0.10
+ is-regex: 1.1.4
+ is-weakref: 1.0.2
+ isarray: 2.0.5
+ which-boxed-primitive: 1.0.2
+ which-collection: 1.0.2
+ which-typed-array: 1.1.13
+
+ dependencies:
+ is-map: 2.0.3
+ is-set: 2.0.3
+ is-weakmap: 2.0.2
+ is-weakset: 2.0.3
+
dependencies:
available-typed-arrays: 1.0.5
@@ -16128,10 +19551,20 @@ snapshots:
gopd: 1.0.1
has-tostringtag: 1.0.0
+ dependencies:
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.7
+ for-each: 0.3.3
+ gopd: 1.0.1
+ has-tostringtag: 1.0.2
+
dependencies:
isexe: 2.0.0
+
@@ -16150,7 +19583,7 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20240512.0
'@cloudflare/workerd-windows-64': 1.20240512.0
dependencies:
'@cloudflare/kv-asset-handler': 0.3.1
'@esbuild-plugins/node-globals-polyfill': 0.2.3([email protected])
@@ -16158,7 +19591,7 @@ snapshots:
blake3-wasm: 2.1.5
chokidar: 3.5.3
esbuild: 0.17.19
- miniflare: 3.20240403.0([email protected])([email protected])
+ miniflare: 3.20240403.0([email protected])([email protected])
nanoid: 3.3.6
path-to-regexp: 6.2.1
resolve: 1.22.8
@@ -16174,17 +19607,17 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
'@cloudflare/kv-asset-handler': 0.3.2
'@esbuild-plugins/node-globals-polyfill': 0.2.3([email protected])
'@esbuild-plugins/node-modules-polyfill': 0.2.2([email protected])
blake3-wasm: 2.1.5
- chokidar: 3.5.3
+ chokidar: 3.6.0
esbuild: 0.17.19
- miniflare: 3.20240512.0([email protected])([email protected])
+ miniflare: 3.20240512.0([email protected])([email protected])
nanoid: 3.3.7
- path-to-regexp: 6.2.1
+ path-to-regexp: 6.2.2
resolve: 1.22.8
resolve.exports: 2.0.2
selfsigned: 2.4.1
@@ -16223,6 +19656,16 @@ snapshots:
bufferutil: 4.0.7
utf-8-validate: 6.0.3
+ optionalDependencies:
+ bufferutil: 4.0.8
+ utf-8-validate: 6.0.4
+
+ optionalDependencies:
+ bufferutil: 4.0.8
+ utf-8-validate: 6.0.4
+
@@ -16260,6 +19703,8 @@ snapshots:
+
dependencies:
cookie: 0.5.0