Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
Revert "Migrate zod v3 to v4 (#1592)" (#1686)
Thibault Le Ouayb07f4bfad742
diff --git a/apps/dashboard/next-env.d.ts b/apps/dashboard/next-env.d.tsindex 9edff1c7c..c4b7818fb 100644--- a/apps/dashboard/next-env.d.ts+++ b/apps/dashboard/next-env.d.ts@@ -1,6 +1,6 @@/// <reference types="next" />/// <reference types="next/image-types/global" />-import "./.next/types/routes.d.ts";+import "./.next/dev/types/routes.d.ts";// NOTE: This file should not be edited// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.diff --git a/apps/dashboard/package.json b/apps/dashboard/package.jsonindex 095590f32..5354ed0eb 100644--- a/apps/dashboard/package.json+++ b/apps/dashboard/package.json@@ -19,7 +19,7 @@"@dnd-kit/sortable": "10.0.0","@dnd-kit/utilities": "3.2.2","@hookform/devtools": "4.4.0",- "@hookform/resolvers": "5.1.0",+ "@hookform/resolvers": "4.1.3","@libsql/client": "0.15.15","@openpanel/nextjs": "1.0.8","@openstatus/analytics": "workspace:*",@@ -100,7 +100,7 @@"superjson": "2.2.2","tailwind-merge": "3.3.1","unified": "11.0.5",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@tailwindcss/postcss": "4.1.11",diff --git a/apps/dashboard/src/components/forms/maintenance/form.tsx b/apps/dashboard/src/components/forms/maintenance/form.tsxindex 70805090e..0e76d1ba8 100644--- a/apps/dashboard/src/components/forms/maintenance/form.tsx+++ b/apps/dashboard/src/components/forms/maintenance/form.tsx@@ -56,7 +56,7 @@ const schema = znotifySubscribers: z.boolean().optional(),}).refine((data) => data.endDate > data.startDate, {- error: "End date cannot be earlier than start date.",+ message: "End date cannot be earlier than start date.",path: ["endDate"],});diff --git a/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsx b/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsxindex 9fadbf654..d1c1592b8 100644--- a/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsx@@ -29,10 +29,10 @@ import { z } from "zod";export const FOLLOW_REDIRECTS_DEFAULT = true;const schema = z.object({- followRedirects: z.boolean().prefault(true),+ followRedirects: z.boolean().default(true),});-type FormValues = z.input<typeof schema>;+type FormValues = z.infer<typeof schema>;export function FormFollowRedirect({defaultValues,diff --git a/apps/dashboard/src/components/forms/monitor/form-general.tsx b/apps/dashboard/src/components/forms/monitor/form-general.tsxindex bc8301fce..7a86ef83b 100644--- a/apps/dashboard/src/components/forms/monitor/form-general.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-general.tsx@@ -83,7 +83,7 @@ const schema = z.object({value: z.string(),}),),- active: z.boolean().optional().prefault(true),+ active: z.boolean().optional().default(true),assertions: z.array(z.discriminatedUnion("type", [statusAssertion,@@ -94,11 +94,11 @@ const schema = z.object({]),),body: z.string().optional(),- skipCheck: z.boolean().optional().prefault(false),- saveCheck: z.boolean().optional().prefault(false),+ skipCheck: z.boolean().optional().default(false),+ saveCheck: z.boolean().optional().default(false),});-type FormValues = z.input<typeof schema>;+type FormValues = z.infer<typeof schema>;export function FormGeneral({defaultValues,@@ -554,7 +554,6 @@ export function FormGeneral({placeholder="Header key"className="w-full"{...field}- value={field.value as string}/><FormMessage /></FormItem>@@ -778,7 +777,7 @@ export function FormGeneral({render={({ field }) => (<FormItem><Select- value={field.value as string}+ value={field.value}onValueChange={field.onChange}><SelectTrigger@@ -840,7 +839,6 @@ export function FormGeneral({placeholder="Header key"className="w-full"{...field}- value={field.value as string}/><FormMessage /></FormItem>diff --git a/apps/dashboard/src/components/forms/monitor/form-otel.tsx b/apps/dashboard/src/components/forms/monitor/form-otel.tsxindex 0e4e3c7ce..e47eef9f5 100644--- a/apps/dashboard/src/components/forms/monitor/form-otel.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-otel.tsx@@ -32,13 +32,13 @@ import { z } from "zod";// TODO: add headersconst schema = z.object({- endpoint: z.url("Please enter a valid URL"),+ endpoint: z.string().url("Please enter a valid URL"),headers: z.array(z.object({ key: z.string(), value: z.string() }))- .prefault([]),+ .default([]),});-type FormValues = z.input<typeof schema>;+type FormValues = z.infer<typeof schema>;export function FormOtel({locked,@@ -110,7 +110,7 @@ export function FormOtel({render={({ field }) => (<FormItem className="col-span-full"><FormLabel>Request Headers</FormLabel>- {field.value?.map((header, index) => (+ {field.value.map((header, index) => (<div key={index} className="grid gap-2 sm:grid-cols-5"><Inputplaceholder="Key"@@ -118,7 +118,7 @@ export function FormOtel({value={header.key}disabled={locked}onChange={(e) => {- const newHeaders = [...(field.value ?? [])];+ const newHeaders = [...field.value];newHeaders[index] = {...newHeaders[index],key: e.target.value,@@ -132,7 +132,7 @@ export function FormOtel({value={header.value}disabled={locked}onChange={(e) => {- const newHeaders = [...(field.value ?? [])];+ const newHeaders = [...field.value];newHeaders[index] = {...newHeaders[index],value: e.target.value,@@ -144,7 +144,7 @@ export function FormOtel({size="icon"variant="ghost"onClick={() => {- const newHeaders = field.value?.filter(+ const newHeaders = field.value.filter((_, i) => i !== index,);field.onChange(newHeaders);@@ -162,7 +162,7 @@ export function FormOtel({disabled={locked}onClick={() => {field.onChange([- ...(field.value ?? []),+ ...field.value,{ key: "", value: "" },]);}}diff --git a/apps/dashboard/src/components/forms/monitor/form-response-time.tsx b/apps/dashboard/src/components/forms/monitor/form-response-time.tsxindex 0d10377ff..80841529b 100644--- a/apps/dashboard/src/components/forms/monitor/form-response-time.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-response-time.tsx@@ -30,11 +30,11 @@ const DEGRADED = 30_000;const TIMEOUT = 45_000;const schema = z.object({- degradedAfter: z.coerce.number<number>().optional(),- timeout: z.coerce.number<number>(),+ degradedAfter: z.coerce.number().optional(),+ timeout: z.coerce.number(),});-type FormValues = z.input<typeof schema>;+type FormValues = z.infer<typeof schema>;export function FormResponseTime({defaultValues,diff --git a/apps/dashboard/src/components/forms/monitor/form-retry.tsx b/apps/dashboard/src/components/forms/monitor/form-retry.tsxindex 84113b0a6..6496dd419 100644--- a/apps/dashboard/src/components/forms/monitor/form-retry.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-retry.tsx@@ -32,14 +32,10 @@ const RETRY_MAX = 10;export const RETRY_DEFAULT = 3;const schema = z.object({- retry: z.coerce- .number<number>()- .min(RETRY_MIN)- .max(RETRY_MAX)- .prefault(RETRY_DEFAULT),+ retry: z.coerce.number().min(RETRY_MIN).max(RETRY_MAX).default(RETRY_DEFAULT),});-type FormValues = z.input<typeof schema>;+type FormValues = z.infer<typeof schema>;export function FormRetry({defaultValues,diff --git a/apps/dashboard/src/components/forms/monitor/update.tsx b/apps/dashboard/src/components/forms/monitor/update.tsxindex f18bb990b..fdc7242c0 100644--- a/apps/dashboard/src/components/forms/monitor/update.tsx+++ b/apps/dashboard/src/components/forms/monitor/update.tsx@@ -6,10 +6,7 @@ import { deserialize } from "@openstatus/assertions";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { useParams, useRouter } from "next/navigation";import { FormDangerZone } from "./form-danger-zone";-import {- FOLLOW_REDIRECTS_DEFAULT,- FormFollowRedirect,-} from "./form-follow-redirect";+import { FormFollowRedirect } from "./form-follow-redirect";import { FormGeneral } from "./form-general";import { FormNotifiers } from "./form-notifiers";import { FormOtel } from "./form-otel";@@ -229,20 +226,20 @@ export function FormMonitorUpdate() {onSubmit={async (values) =>await updateRetryMutation.mutateAsync({id: Number.parseInt(id),- retry: values.retry ?? RETRY_DEFAULT,+ retry: values.retry,})}/><FormFollowRedirectdefaultValues={{- followRedirects: monitor.followRedirects ?? FOLLOW_REDIRECTS_DEFAULT,+ followRedirects: monitor.followRedirects ?? true,}}- onSubmit={async (values) =>+ onSubmit={async (values) => {await updateFollowRedirectsMutation.mutateAsync({id: Number.parseInt(id),- followRedirects: values.followRedirects ?? FOLLOW_REDIRECTS_DEFAULT,- })- }+ followRedirects: values.followRedirects,+ });+ }}/><FormOtellocked={workspace.limits.otel === false}diff --git a/apps/dashboard/src/components/forms/notifications/form-discord.tsx b/apps/dashboard/src/components/forms/notifications/form-discord.tsxindex df5eb1033..659ec14c4 100644--- a/apps/dashboard/src/components/forms/notifications/form-discord.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-discord.tsx@@ -32,7 +32,7 @@ import { z } from "zod";const schema = z.object({name: z.string(),provider: z.literal("discord"),- data: z.url("Please enter a valid URL"),+ data: z.string(),monitors: z.array(z.number()),});diff --git a/apps/dashboard/src/components/forms/notifications/form-email.tsx b/apps/dashboard/src/components/forms/notifications/form-email.tsxindex 66433ef75..10ff9b505 100644--- a/apps/dashboard/src/components/forms/notifications/form-email.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-email.tsx@@ -29,7 +29,7 @@ import { z } from "zod";const schema = z.object({name: z.string(),provider: z.literal("email"),- data: z.email(),+ data: z.string().email(),monitors: z.array(z.number()),});diff --git a/apps/dashboard/src/components/forms/notifications/form-google-chat.tsx b/apps/dashboard/src/components/forms/notifications/form-google-chat.tsxindex 5689f46b3..81a6b6bf5 100644--- a/apps/dashboard/src/components/forms/notifications/form-google-chat.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-google-chat.tsx@@ -33,7 +33,7 @@ import { z } from "zod";const schema = z.object({name: z.string(),provider: z.literal("google-chat"),- data: z.url("Please enter a valid URL"),+ data: z.string(),monitors: z.array(z.number()),});diff --git a/apps/dashboard/src/components/forms/notifications/form-slack.tsx b/apps/dashboard/src/components/forms/notifications/form-slack.tsxindex 210945373..9c37ff745 100644--- a/apps/dashboard/src/components/forms/notifications/form-slack.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-slack.tsx@@ -32,7 +32,7 @@ import { z } from "zod";const schema = z.object({name: z.string(),provider: z.literal("slack"),- data: z.url("Please enter a valid URL"),+ data: z.string().url(),monitors: z.array(z.number()),});diff --git a/apps/dashboard/src/components/forms/notifications/form-telegram.tsx b/apps/dashboard/src/components/forms/notifications/form-telegram.tsxindex d5d1feea4..9f4def9dd 100644--- a/apps/dashboard/src/components/forms/notifications/form-telegram.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-telegram.tsx@@ -115,9 +115,6 @@ export function FormTelegram({loading: "Sending test...",success: "Test sent",error: (error) => {- if (isTRPCClientError(error)) {- return error.message;- }if (error instanceof Error) {return error.message;}diff --git a/apps/dashboard/src/components/forms/onboarding/create-monitor.tsx b/apps/dashboard/src/components/forms/onboarding/create-monitor.tsxindex 52bcd8efb..b13339fc5 100644--- a/apps/dashboard/src/components/forms/onboarding/create-monitor.tsx+++ b/apps/dashboard/src/components/forms/onboarding/create-monitor.tsx@@ -18,7 +18,7 @@ import { toast } from "sonner";import { z } from "zod";const schema = z.object({- url: z.url(),+ url: z.string().url(),});export type FormValues = z.infer<typeof schema>;diff --git a/apps/dashboard/src/components/forms/settings/form-members.tsx b/apps/dashboard/src/components/forms/settings/form-members.tsxindex 6da0c1d9e..2a256ff21 100644--- a/apps/dashboard/src/components/forms/settings/form-members.tsx+++ b/apps/dashboard/src/components/forms/settings/form-members.tsx@@ -37,7 +37,7 @@ import { toast } from "sonner";import { z } from "zod";const schema = z.object({- email: z.email(),+ email: z.string().email(),role: z.enum(["member"]),});diff --git a/apps/dashboard/src/components/forms/status-page/form-configuration.tsx b/apps/dashboard/src/components/forms/status-page/form-configuration.tsxindex b118f9a40..8ad2f8cc0 100644--- a/apps/dashboard/src/components/forms/status-page/form-configuration.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-configuration.tsx@@ -67,7 +67,7 @@ const configurationSchema = zreturn true;},{- error: "Value must be manual when type is manual",+ message: "Value must be manual when type is manual",path: ["value"],},);diff --git a/apps/dashboard/src/components/forms/status-page/form-monitors.tsx b/apps/dashboard/src/components/forms/status-page/form-monitors.tsxindex ec8231e15..f760f4bdb 100644--- a/apps/dashboard/src/components/forms/status-page/form-monitors.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-monitors.tsx@@ -103,9 +103,9 @@ const schema = z.object({id: z.number(),order: z.number(),name: z.string(),- monitors: z.array(monitorSchema).min(1, {- error: "At least one monitor is required",- }),+ monitors: z+ .array(monitorSchema)+ .min(1, { message: "At least one monitor is required" }),}),),});diff --git a/apps/dashboard/src/components/forms/support-contact/form.tsx b/apps/dashboard/src/components/forms/support-contact/form.tsxindex 95992d2d3..a8ae3762a 100644--- a/apps/dashboard/src/components/forms/support-contact/form.tsx+++ b/apps/dashboard/src/components/forms/support-contact/form.tsx@@ -49,16 +49,10 @@ export const types = [];export const schema = z.object({- name: z.string().min(1, {- error: "Name is required",- }),+ name: z.string().min(1, { message: "Name is required" }),type: z.enum(["bug", "demo", "feature", "security", "question"]),- email: z.email({- error: "Invalid email address",- }),- message: z.string().min(1, {- error: "Message is required",- }),+ email: z.string().email({ message: "Invalid email address" }),+ message: z.string().min(1, { message: "Message is required" }),blocker: z.boolean(),});diff --git a/apps/screenshot-service/package.json b/apps/screenshot-service/package.jsonindex 991db8d6f..5c3beffff 100644--- a/apps/screenshot-service/package.json+++ b/apps/screenshot-service/package.json@@ -14,7 +14,7 @@"@upstash/qstash": "2.6.2","hono": "4.5.3","playwright": "1.46.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/apps/screenshot-service/src/index.ts b/apps/screenshot-service/src/index.tsindex d5f0b98be..19f764e26 100644--- a/apps/screenshot-service/src/index.ts+++ b/apps/screenshot-service/src/index.ts@@ -35,7 +35,7 @@ app.post(zValidator("json",z.object({- url: z.url(),+ url: z.string().url(),incidentId: z.number(),kind: z.enum(["incident", "recovery"]),}),diff --git a/apps/server/package.json b/apps/server/package.jsonindex a166cfd44..d0199cc67 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -13,7 +13,7 @@},"dependencies": {"@hono/sentry": "1.2.2",- "@hono/zod-openapi": "1.1.5",+ "@hono/zod-openapi": "0.15.1","@hono/zod-validator": "0.2.2","@logtape/logtape": "1.1.2","@logtape/sentry": "1.1.2",@@ -35,7 +35,7 @@"nanoid": "5.0.7","percentile": "1.6.0","validator": "13.12.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/apps/server/src/env.ts b/apps/server/src/env.tsindex 0eaf21557..081df5371 100644--- a/apps/server/src/env.ts+++ b/apps/server/src/env.ts@@ -13,7 +13,7 @@ export const env = createEnv({CRON_SECRET: z.string(),SCREENSHOT_SERVICE_URL: z.string(),QSTASH_TOKEN: z.string(),- NODE_ENV: z.string().prefault("development"),+ NODE_ENV: z.string().default("development"),SUPER_ADMIN_TOKEN: z.string(),RESEND_API_KEY: z.string(),},diff --git a/apps/server/src/routes/v1/check/http/schema.ts b/apps/server/src/routes/v1/check/http/schema.tsindex 92e0eea97..6c1dbddc7 100644--- a/apps/server/src/routes/v1/check/http/schema.ts+++ b/apps/server/src/routes/v1/check/http/schema.ts@@ -13,7 +13,7 @@ export const CheckSchema = MonitorSchema.pick({.number().max(5).optional()- .prefault(1)+ .default(1).openapi({ description: "The number of times to run the check" }),aggregated: z.boolean()@@ -87,7 +87,7 @@ export const ResponseSchema = z.object({.optional().openapi({ description: "The body of the response" }),headers: z- .record(z.string(), z.string())+ .record(z.string()).optional().openapi({ description: "The headers of the response" }),timing: TimingSchema.openapi({@@ -131,7 +131,7 @@ export const AggregatedResult = z.object({});export const CheckPostResponseSchema = z.object({- id: z.int().openapi({ description: "The id of the check" }),+ id: z.number().int().openapi({ description: "The id of the check" }),raw: z.array(TimingSchema).openapi({description: "The raw data of the check",}),diff --git a/apps/server/src/routes/v1/incidents/put.test.ts b/apps/server/src/routes/v1/incidents/put.test.tsindex 9fe37cdb0..676be424e 100644--- a/apps/server/src/routes/v1/incidents/put.test.ts+++ b/apps/server/src/routes/v1/incidents/put.test.ts@@ -60,10 +60,7 @@ test("invalid payload should return 400", async () => {});const result = (await res.json()) as Record<string, unknown>;- // expect(result.message).toBe("invalid_date in 'acknowledgedAt': Invalid date");- expect(result.message).toBe(- "invalid_type in 'acknowledgedAt': Invalid input: expected date, received Date",- );+ expect(result.message).toBe("invalid_date in 'acknowledgedAt': Invalid date");expect(res.status).toBe(400);});diff --git a/apps/server/src/routes/v1/maintenances/schema.ts b/apps/server/src/routes/v1/maintenances/schema.tsindex 6b30a7746..ee3782aff 100644--- a/apps/server/src/routes/v1/maintenances/schema.ts+++ b/apps/server/src/routes/v1/maintenances/schema.ts@@ -37,7 +37,7 @@ export const MaintenanceSchema = zmonitorIds: z.array(z.number()).optional()- .prefault([])+ .default([]).openapi({ description: "IDs of affected monitors" }),pageId: z.number().openapi({description: "The id of the status page this maintenance belongs to",diff --git a/apps/server/src/routes/v1/monitors/run/schema.ts b/apps/server/src/routes/v1/monitors/run/schema.tsindex ca0e86a04..06cbc489c 100644--- a/apps/server/src/routes/v1/monitors/run/schema.ts+++ b/apps/server/src/routes/v1/monitors/run/schema.ts@@ -2,7 +2,7 @@ import { z } from "@hono/zod-openapi";export const QuerySchema = z.object({- "no-wait": z.coerce.boolean().optional().prefault(false).openapi({+ "no-wait": z.coerce.boolean().optional().default(false).openapi({description: "Don't wait for the result",}),})diff --git a/apps/server/src/routes/v1/monitors/schema.ts b/apps/server/src/routes/v1/monitors/schema.tsindex 31c35f0b3..1f6994e20 100644--- a/apps/server/src/routes/v1/monitors/schema.ts+++ b/apps/server/src/routes/v1/monitors/schema.ts@@ -20,7 +20,11 @@ const statusAssertion = zdescription: "The comparison to run",example: "eq",}),- target: z.int().positive().openapi({ description: "The target value" }),+ target: z+ .number()+ .int()+ .positive()+ .openapi({ description: "The target value" }),}).openapi({description: "The status assertion",@@ -90,15 +94,13 @@ export const ParamsSchema = z.object({}),});-const PeriodicityEnumHonoSchema = z.enum([...monitorPeriodicitySchema.options]);-export const MonitorSchema = z.object({id: z.number().openapi({example: 123,description: "The id of the monitor",}),- periodicity: PeriodicityEnumHonoSchema.openapi({+ periodicity: monitorPeriodicitySchema.openapi({example: "1m",description: "How often the monitor should run",}),@@ -109,35 +111,38 @@ export const MonitorSchema = zregions: z.preprocess((val) => {- let parsedRegions: Array<unknown> = [];- if (!val) return parsedRegions;+ let regions: Array<unknown> = [];+ if (!val) return regions;if (Array.isArray(val)) {- parsedRegions = val;+ regions = val;}if (String(val).length > 0) {- parsedRegions = String(val).split(",");+ regions = String(val).split(",");}- return parsedRegions;++ const deprecatedRegions = regions.filter((r) => {+ return !AVAILABLE_REGIONS.includes(+ r as (typeof AVAILABLE_REGIONS)[number],+ );+ });++ if (deprecatedRegions.length > 0) {+ throw new ZodError([+ {+ code: "custom",+ path: ["regions"],+ message: `Deprecated regions are not allowed: ${deprecatedRegions.join(+ ", ",+ )}`,+ },+ ]);+ }++ return regions;},z.array(z.enum(monitorRegions)),)- .superRefine((regions, ctx) => {- const deprecatedRegions = regions.filter((r) => {- return !AVAILABLE_REGIONS.includes(- r as (typeof AVAILABLE_REGIONS)[number],- );- });- if (deprecatedRegions.length > 0) {- ctx.addIssue({- code: "custom",- path: ["regions"],- message: `Deprecated regions are not allowed: ${deprecatedRegions.join(- ", ",- )}`,- });- }- })- .prefault([])+ .default([]).openapi({example: ["ams"],description: "Where we should monitor it",@@ -161,7 +166,7 @@ export const MonitorSchema = zreturn String(val);}, z.string()).nullish()- .prefault("")+ .default("").openapi({example: "Hello World",description: "The body",@@ -185,7 +190,7 @@ export const MonitorSchema = z]);}},- z.array(z.object({ key: z.string(), value: z.string() })).prefault([]),+ z.array(z.object({ key: z.string(), value: z.string() })).default([]),).nullish().openapi({@@ -211,46 +216,47 @@ export const MonitorSchema = z}}, z.array(assertion)).nullish()- .prefault([])+ .default([]).openapi({description: "The assertions to run",}),active: z.boolean()- .prefault(false)+ .default(false).openapi({ description: "If the monitor is active" }),public: z.boolean()- .prefault(false)+ .default(false).openapi({ description: "If the monitor is public" }),degradedAfter: z.number().nullish().openapi({description:"The time after the monitor is considered degraded in milliseconds",}),- timeout: z.number().nullish().prefault(45000).openapi({+ timeout: z.number().nullish().default(45000).openapi({description: "The timeout of the request in milliseconds",}),- retry: z.number().prefault(3).openapi({+ retry: z.number().default(3).openapi({description: "The number of retries to attempt",}),- followRedirects: z.boolean().prefault(true).openapi({+ followRedirects: z.boolean().default(true).openapi({description: "If the monitor should follow redirects",}),- jobType: z.enum(monitorJobTypes).optional().prefault("http").openapi({+ jobType: z.enum(monitorJobTypes).optional().default("http").openapi({description: "The type of the monitor",}),openTelemetry: z.object({- endpoint: z.url().optional().prefault("http://localhost:4317").openapi({- description: "The endpoint of the OpenTelemetry collector",- }),- headers: z- .record(z.string(), z.string())+ endpoint: z+ .string()+ .url().optional()- .prefault({})+ .default("http://localhost:4317").openapi({- description: "The headers to send to the OpenTelemetry collector",+ description: "The endpoint of the OpenTelemetry collector",}),+ headers: z.record(z.string()).optional().default({}).openapi({+ description: "The headers to send to the OpenTelemetry collector",+ }),}).optional().openapi({@@ -310,13 +316,13 @@ export const TriggerResult = z.discriminatedUnion("jobType", []);export const ResultRun = z.object({- latency: z.int(), // in ms- statusCode: z.int().nullable().prefault(null),- monitorId: z.string().prefault(""),+ latency: z.number().int(), // in ms+ statusCode: z.number().int().nullable().default(null),+ monitorId: z.string().default(""),url: z.string().optional(),- error: z.coerce.boolean().prefault(false),+ error: z.coerce.boolean().default(false),region: z.enum(monitorRegions),- timestamp: z.int().optional(),+ timestamp: z.number().int().optional(),message: z.string().nullable().optional(),timing: z.preprocess((val) => {@@ -407,7 +413,7 @@ const baseRequest = z.object({},z.array(z.enum(monitorRegions)),)- .prefault([])+ .default([]).openapi({example: ["ams"],description: "Where we should monitor it",@@ -415,6 +421,7 @@ const baseRequest = z.object({openTelemetry: z.object({endpoint: z+ .string().url().optional().openapi({@@ -434,10 +441,13 @@ const baseRequest = z.object({const httpRequestSchema = z.object({method: z.enum(monitorMethods),- url: z.url().openapi({- description: "URL to request",- examples: ["https://openstat.us", "https://www.openstatus.dev"],- }),+ url: z+ .string()+ .url()+ .openapi({+ description: "URL to request",+ examples: ["https://openstat.us", "https://www.openstatus.dev"],+ }),headers: z.record(z.string(), z.string()).optional()diff --git a/apps/server/src/routes/v1/monitors/summary/schema.ts b/apps/server/src/routes/v1/monitors/summary/schema.tsindex edb5f007c..129fd025b 100644--- a/apps/server/src/routes/v1/monitors/summary/schema.ts+++ b/apps/server/src/routes/v1/monitors/summary/schema.ts@@ -4,11 +4,14 @@ import { ParamsSchema } from "../schema";export { ParamsSchema };export const SummarySchema = z.object({- ok: z.int().openapi({+ ok: z.number().int().openapi({description:"The number of ok responses (defined by the assertions - or by default status code 200)",}),- count: z.int().openapi({ description: "The total number of request" }),+ count: z+ .number()+ .int()+ .openapi({ description: "The total number of request" }),day: z.coerce.date().openapi({ description: "The date of the daily stat in ISO8601 format" }),diff --git a/apps/server/src/routes/v1/pageSubscribers/schema.ts b/apps/server/src/routes/v1/pageSubscribers/schema.tsindex 37a108b73..741094a55 100644--- a/apps/server/src/routes/v1/pageSubscribers/schema.ts+++ b/apps/server/src/routes/v1/pageSubscribers/schema.ts@@ -20,7 +20,7 @@ export const PageSubscriberSchema = zdescription: "The id of the subscriber",example: 1,}),- email: z.email().openapi({+ email: z.string().email().openapi({description: "The email of the subscriber",}),pageId: z.number().openapi({diff --git a/apps/server/src/routes/v1/pages/schema.ts b/apps/server/src/routes/v1/pages/schema.tsindex 59f5b4fd3..39f040f9d 100644--- a/apps/server/src/routes/v1/pages/schema.ts+++ b/apps/server/src/routes/v1/pages/schema.ts@@ -43,6 +43,7 @@ export const PageSchema = zexample: "status.acme.com",}),icon: z+ .string().url().or(z.literal("")).transform((val) => (val ? val : undefined))@@ -51,7 +52,7 @@ export const PageSchema = zdescription: "The icon of the page",example: "https://example.com/icon.png",}),- passwordProtected: z.boolean().optional().prefault(false).openapi({+ passwordProtected: z.boolean().optional().default(false).openapi({description:"Make the page password protected. Used with the 'passwordProtected' property.",example: true,@@ -60,7 +61,7 @@ export const PageSchema = zdescription: "Your password to protect the page from the public",example: "hidden-password",}),- showMonitorValues: z.boolean().optional().nullish().prefault(true).openapi({+ showMonitorValues: z.boolean().optional().nullish().default(true).openapi({description:"Displays the total and failed request numbers for each monitor",example: true,diff --git a/apps/server/src/routes/v1/statusReportUpdates/schema.ts b/apps/server/src/routes/v1/statusReportUpdates/schema.tsindex 8b012bbbe..3f0f0b8ed 100644--- a/apps/server/src/routes/v1/statusReportUpdates/schema.ts+++ b/apps/server/src/routes/v1/statusReportUpdates/schema.ts@@ -22,7 +22,7 @@ export const StatusReportUpdateSchema = zstatus: z.enum(statusReportStatus).openapi({description: "The status of the update",}),- date: z.coerce.date().prefault(new Date()).openapi({+ date: z.coerce.date().default(new Date()).openapi({description: "The date of the update in ISO8601 format",}),message: z.string().openapi({diff --git a/apps/server/src/routes/v1/statusReports/post.ts b/apps/server/src/routes/v1/statusReports/post.tsindex 0a402b978..3372dd583 100644--- a/apps/server/src/routes/v1/statusReports/post.ts+++ b/apps/server/src/routes/v1/statusReports/post.ts@@ -32,7 +32,7 @@ const postRoute = createRoute({id: true,statusReportUpdateIds: true,}).extend({- date: z.coerce.date().optional().prefault(new Date()).openapi({+ date: z.coerce.date().optional().default(new Date()).openapi({description:"The date of the report in ISO8601 format, defaults to now",}),diff --git a/apps/server/src/routes/v1/statusReports/schema.ts b/apps/server/src/routes/v1/statusReports/schema.tsindex a70286e2d..aee598854 100644--- a/apps/server/src/routes/v1/statusReports/schema.ts+++ b/apps/server/src/routes/v1/statusReports/schema.ts@@ -30,14 +30,14 @@ export const StatusReportSchema = z.array(z.number()).optional().nullable()- .prefault([])+ .default([]).openapi({description: "The ids of the status report updates",}),monitorIds: z.array(z.number()).optional()- .prefault([])+ .default([]).openapi({ description: "Ids of the monitors the status report." }),pageId: z.number().openapi({description: "The id of the page this status report belongs to",diff --git a/apps/server/src/routes/v1/whoami/schema.ts b/apps/server/src/routes/v1/whoami/schema.tsindex 9f35fe534..996b79fcb 100644--- a/apps/server/src/routes/v1/whoami/schema.ts+++ b/apps/server/src/routes/v1/whoami/schema.ts@@ -9,7 +9,7 @@ export const WorkspaceSchema = z.optional().openapi({ description: "The current workspace name" }),slug: z.string().openapi({ description: "The current workspace slug" }),- plan: z.enum(workspacePlans).nullable().prefault("free").openapi({+ plan: z.enum(workspacePlans).nullable().default("free").openapi({description: "The current workspace plan",}),})diff --git a/apps/status-page/package.json b/apps/status-page/package.jsonindex 4f898d0a1..f5bf355cd 100644--- a/apps/status-page/package.json+++ b/apps/status-page/package.json@@ -18,7 +18,7 @@"@dnd-kit/sortable": "10.0.0","@dnd-kit/utilities": "3.2.2","@hookform/devtools": "4.4.0",- "@hookform/resolvers": "5.1.0",+ "@hookform/resolvers": "4.1.3","@libsql/client": "0.15.15","@openpanel/nextjs": "1.0.8","@openstatus/analytics": "workspace:*",@@ -83,7 +83,7 @@"superjson": "2.2.2","tailwind-merge": "3.3.1","unified": "11.0.5",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/apps/status-page/src/app/(status-page)/[domain]/layout.tsx b/apps/status-page/src/app/(status-page)/[domain]/layout.tsxindex 90c088799..12c20ceea 100644--- a/apps/status-page/src/app/(status-page)/[domain]/layout.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/layout.tsx@@ -18,10 +18,10 @@ import { notFound } from "next/navigation";import { z } from "zod";export const schema = z.object({- value: z.enum(["duration", "requests", "manual"]).prefault("duration"),- type: z.enum(["absolute", "manual"]).prefault("absolute"),- uptime: z.coerce.boolean().prefault(true),- theme: z.enum(THEME_KEYS as [ThemeKey, ...ThemeKey[]]).prefault("default"),+ value: z.enum(["duration", "requests", "manual"]).default("duration"),+ type: z.enum(["absolute", "manual"]).default("absolute"),+ uptime: z.coerce.boolean().default(true),+ theme: z.enum(THEME_KEYS as [ThemeKey, ...ThemeKey[]]).default("default"),});export default async function Layout({diff --git a/apps/status-page/src/components/forms/form-subscribe-email.tsx b/apps/status-page/src/components/forms/form-subscribe-email.tsxindex ecbb258f0..e9f5e7fd8 100644--- a/apps/status-page/src/components/forms/form-subscribe-email.tsx+++ b/apps/status-page/src/components/forms/form-subscribe-email.tsx@@ -16,7 +16,7 @@ import { toast } from "sonner";import { z } from "zod";const schema = z.object({- email: z.email(),+ email: z.string().email(),});type FormValues = z.infer<typeof schema>;diff --git a/apps/web/next-env.d.ts b/apps/web/next-env.d.tsindex 9edff1c7c..c4b7818fb 100644--- a/apps/web/next-env.d.ts+++ b/apps/web/next-env.d.ts@@ -1,6 +1,6 @@/// <reference types="next" />/// <reference types="next/image-types/global" />-import "./.next/types/routes.d.ts";+import "./.next/dev/types/routes.d.ts";// NOTE: This file should not be edited// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.diff --git a/apps/web/package.json b/apps/web/package.jsonindex aecd35e2a..e737da8dd 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -14,7 +14,7 @@"@auth/core": "0.40.0","@auth/drizzle-adapter": "1.10.0","@google-cloud/tasks": "4.0.1",- "@hookform/resolvers": "5.1.0",+ "@hookform/resolvers": "4.1.3","@libsql/client": "0.15.15","@openpanel/nextjs": "1.0.8","@openstatus/analytics": "workspace:*",@@ -91,7 +91,7 @@"superjson": "2.2.2","tailwind-merge": "3.3.1","tailwindcss-animate": "1.0.7",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/apps/web/src/app/(landing)/status/utils.ts b/apps/web/src/app/(landing)/status/utils.tsindex 0fc18fee8..c33c61401 100644--- a/apps/web/src/app/(landing)/status/utils.ts+++ b/apps/web/src/app/(landing)/status/utils.ts@@ -15,12 +15,12 @@ export const externalStatus = z.object({name: z.string(),url: z.string(),external_id: z.string(),- last_updated_at: z.iso.datetime({ offset: true }),+ last_updated_at: z.string().datetime({ offset: true }),time_zone: z.string(),status_indicator: z.string(),status_description: atlassianDescriptionEnum,created_at: z.string(),- updated_at: z.iso.datetime(),+ updated_at: z.string().datetime(),});export const externalStatusArray = z.array(externalStatus);diff --git a/apps/web/src/app/api/checker/cron/_cron.ts b/apps/web/src/app/api/checker/cron/_cron.tsindex 19a159530..4db0fe0f4 100644--- a/apps/web/src/app/api/checker/cron/_cron.ts+++ b/apps/web/src/app/api/checker/cron/_cron.ts@@ -89,9 +89,7 @@ export const cron = async ({const monitors = z.array(selectMonitorSchema).safeParse(result);const allResult = [];if (!monitors.success) {- console.error(- `Error while fetching the monitors ${monitors.error.issues.map((issue) => issue.message).join(", ")}`,- );+ console.error(`Error while fetching the monitors ${monitors.error.errors}`);throw new Error("Error while fetching the monitors");}@@ -106,7 +104,7 @@ export const cron = async ({const monitorStatus = z.array(selectMonitorStatusSchema).safeParse(result);if (!monitorStatus.success) {console.error(- `Error while fetching the monitor status ${monitorStatus.error.issues.map((issue) => issue.message).join(", ")}`,+ `Error while fetching the monitor status ${monitorStatus.error.errors}`,);continue;}diff --git a/apps/web/src/app/api/checker/test/http/route.ts b/apps/web/src/app/api/checker/test/http/route.tsindex 15f20ed65..85c596b2e 100644--- a/apps/web/src/app/api/checker/test/http/route.ts+++ b/apps/web/src/app/api/checker/test/http/route.ts@@ -21,7 +21,7 @@ export async function POST(request: Request) {const json = await request.json();const _valid = httpPayloadSchema.pick({ url: true, method: true, headers: true, body: true })- .extend(z.object({ region: monitorRegionSchema.prefault("ams") }).shape)+ .merge(z.object({ region: monitorRegionSchema.default("ams") })).safeParse(json);if (!_valid.success) {diff --git a/apps/web/src/app/api/checker/test/tcp/route.ts b/apps/web/src/app/api/checker/test/tcp/route.tsindex 6181b2766..b10a06c0a 100644--- a/apps/web/src/app/api/checker/test/tcp/route.ts+++ b/apps/web/src/app/api/checker/test/tcp/route.ts@@ -22,7 +22,7 @@ export async function POST(request: Request) {const json = await request.json();const _valid = tcpPayload.pick({ url: true })- .extend(z.object({ region: monitorRegionSchema.prefault("ams") }).shape)+ .merge(z.object({ region: monitorRegionSchema.default("ams") })).safeParse(json);if (!_valid.success) {diff --git a/apps/web/src/app/api/checker/test/tcp/schema.ts b/apps/web/src/app/api/checker/test/tcp/schema.tsindex 673d1a2ec..c5b2a30d2 100644--- a/apps/web/src/app/api/checker/test/tcp/schema.ts+++ b/apps/web/src/app/api/checker/test/tcp/schema.ts@@ -7,12 +7,12 @@ export const tcpPayload = z.object({monitorId: z.string(),url: z.string(),cronTimestamp: z.number(),- timeout: z.number().prefault(45000),+ timeout: z.number().default(45000),degradedAfter: z.number().nullable(),});export const TCPResponse = z.object({- type: z.literal("tcp").prefault("tcp"),+ type: z.literal("tcp").default("tcp"),requestId: z.number().optional(),workspaceId: z.number().optional(),monitorId: z.number().optional(),@@ -27,11 +27,11 @@ export const TCPResponse = z.object({});export const TCPResponseTest = TCPResponse.extend({- state: z.literal("success").prefault("success"),+ state: z.literal("success").default("success"),}).or(z.object({- type: z.literal("tcp").prefault("tcp"),- state: z.literal("error").prefault("error"),+ type: z.literal("tcp").default("tcp"),+ state: z.literal("error").default("error"),}),);export type tcpPayload = z.infer<typeof tcpPayload>;diff --git a/apps/web/src/components/ping-response-analysis/utils.ts b/apps/web/src/components/ping-response-analysis/utils.tsindex 63e372402..fa5b5bd35 100644--- a/apps/web/src/components/ping-response-analysis/utils.ts+++ b/apps/web/src/components/ping-response-analysis/utils.ts@@ -100,11 +100,11 @@ export const timingSchema = z.object({});export const checkerSchema = z.object({- type: z.literal("http").prefault("http"),- state: z.literal("success").prefault("success"),+ type: z.literal("http").default("http"),+ state: z.literal("success").default("success"),status: z.number(),latency: z.number(),- headers: z.record(z.string(), z.string()),+ headers: z.record(z.string()),timestamp: z.number(),timing: timingSchema,body: z.string().optional().nullable(),@@ -113,18 +113,18 @@ export const checkerSchema = z.object({export const cachedCheckerSchema = z.object({url: z.string(),timestamp: z.number(),- method: z.enum(["GET", "POST", "PUT", "DELETE"]).prefault("GET"),+ method: z.enum(["GET", "POST", "PUT", "DELETE"]).default("GET"),checks: checkerSchema.extend({ region: monitorRegionSchema }).array(),});const errorRequest = z.object({message: z.string(),- state: z.literal("error").prefault("error"),+ state: z.literal("error").default("error"),});export const regionCheckerSchema = checkerSchema.extend({region: monitorRegionSchema,- state: z.literal("success").prefault("success"),+ state: z.literal("success").default("success"),});export const regionCheckerSchemaResponse = regionCheckerSchema.or(diff --git a/apps/web/src/env.ts b/apps/web/src/env.tsindex 2e3e75fe8..b986456af 100644--- a/apps/web/src/env.ts+++ b/apps/web/src/env.ts@@ -19,7 +19,7 @@ export const env = createEnv({GCP_CLIENT_EMAIL: z.string(),GCP_PRIVATE_KEY: z.string(),CRON_SECRET: z.string(),- EXTERNAL_API_URL: z.url(),+ EXTERNAL_API_URL: z.string().url(),CLICKHOUSE_URL: z.string(),CLICKHOUSE_USERNAME: z.string(),CLICKHOUSE_PASSWORD: z.string(),diff --git a/apps/web/src/lib/preferred-settings/validation.ts b/apps/web/src/lib/preferred-settings/validation.tsindex 899f073ce..341ca0fc6 100644--- a/apps/web/src/lib/preferred-settings/validation.ts+++ b/apps/web/src/lib/preferred-settings/validation.ts@@ -2,7 +2,7 @@ import { z } from "zod";export const preferencesSchema = z.object({- combinedRegions: z.boolean().nullable().prefault(false).optional(),+ combinedRegions: z.boolean().nullable().default(false).optional(),// ... other settings to store user preferences// accessible via document.cookie in the client and cookies() on the server})diff --git a/apps/workflows/package.json b/apps/workflows/package.jsonindex 4bb060fdf..53f5e4d7d 100644--- a/apps/workflows/package.json+++ b/apps/workflows/package.json@@ -33,7 +33,7 @@"effect": "3.19.12","hono": "4.5.3","limiter": "^3.0.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/apps/workflows/src/env.ts b/apps/workflows/src/env.tsindex ff0acccaf..160b68aca 100644--- a/apps/workflows/src/env.ts+++ b/apps/workflows/src/env.ts@@ -3,22 +3,22 @@ import { z } from "zod";export const env = () =>z.object({- NODE_ENV: z.string().prefault("development"),- PORT: z.coerce.number().prefault(3000),- GCP_PROJECT_ID: z.string().prefault(""),- GCP_CLIENT_EMAIL: z.string().prefault(""),- GCP_PRIVATE_KEY: z.string().prefault(""),- GCP_LOCATION: z.string().prefault("europe-west1"),- CRON_SECRET: z.string().prefault(""),- SITE_URL: z.string().prefault("http://localhost:3000"),- DATABASE_URL: z.string().prefault("http://localhost:8080"),- DATABASE_AUTH_TOKEN: z.string().prefault(""),- RESEND_API_KEY: z.string().prefault(""),- TINY_BIRD_API_KEY: z.string().prefault(""),- QSTASH_TOKEN: z.string().prefault(""),- SCREENSHOT_SERVICE_URL: z.string().prefault(""),- TWILLIO_AUTH_TOKEN: z.string().prefault(""),- TWILLIO_ACCOUNT_ID: z.string().prefault(""),- SENTRY_DSN: z.string().prefault(""),+ NODE_ENV: z.string().default("development"),+ PORT: z.coerce.number().default(3000),+ GCP_PROJECT_ID: z.string().default(""),+ GCP_CLIENT_EMAIL: z.string().default(""),+ GCP_PRIVATE_KEY: z.string().default(""),+ GCP_LOCATION: z.string().default("europe-west1"),+ CRON_SECRET: z.string().default(""),+ SITE_URL: z.string().default("http://localhost:3000"),+ DATABASE_URL: z.string().default("http://localhost:8080"),+ DATABASE_AUTH_TOKEN: z.string().default(""),+ RESEND_API_KEY: z.string().default(""),+ TINY_BIRD_API_KEY: z.string().default(""),+ QSTASH_TOKEN: z.string().default(""),+ SCREENSHOT_SERVICE_URL: z.string().default(""),+ TWILLIO_AUTH_TOKEN: z.string().default(""),+ TWILLIO_ACCOUNT_ID: z.string().default(""),+ SENTRY_DSN: z.string().default(""),}).parse(process.env);diff --git a/packages/analytics/package.json b/packages/analytics/package.jsonindex 2cbd58072..e08f53692 100644--- a/packages/analytics/package.json+++ b/packages/analytics/package.json@@ -6,7 +6,7 @@"dependencies": {"@openpanel/sdk": "1.0.0","@t3-oss/env-core": "0.7.1",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/api/package.json b/packages/api/package.jsonindex aaedec394..00428f369 100644--- a/packages/api/package.json+++ b/packages/api/package.json@@ -32,7 +32,7 @@"random-word-slugs": "0.1.7","stripe": "13.8.0","superjson": "2.2.2",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/api/src/router/checker.ts b/packages/api/src/router/checker.tsindex 1f20ba22c..e67c16ccc 100644--- a/packages/api/src/router/checker.ts+++ b/packages/api/src/router/checker.ts@@ -26,7 +26,7 @@ const ABORT_TIMEOUT = 10000;// Input schemasconst httpTestInput = z.object({- url: z.url(),+ url: z.string().url(),method: z.enum(["GET",@@ -39,10 +39,10 @@ const httpTestInput = z.object({"CONNECT","TRACE",])- .prefault("GET"),+ .default("GET"),headers: z.array(z.object({ key: z.string(), value: z.string() })).optional(),body: z.string().optional(),- region: monitorRegionSchema.optional().prefault("ams"),+ region: monitorRegionSchema.optional().default("ams"),assertions: z.array(z.discriminatedUnion("type", [@@ -53,17 +53,17 @@ const httpTestInput = z.object({recordAssertion,]),)- .prefault([]),+ .default([]),});const tcpTestInput = z.object({url: z.string(),- region: monitorRegionSchema.optional().prefault("ams"),+ region: monitorRegionSchema.optional().default("ams"),});const dnsTestInput = z.object({url: z.string(),- region: monitorRegionSchema.optional().prefault("ams"),+ region: monitorRegionSchema.optional().default("ams"),assertions: z.array(z.discriminatedUnion("type", [@@ -74,13 +74,13 @@ const dnsTestInput = z.object({jsonBodyAssertion,]),)- .prefault([]),+ .default([]),});export const tcpOutput = z.object({- state: z.literal("success").prefault("success"),- type: z.literal("tcp").prefault("tcp"),+ state: z.literal("success").default("success"),+ type: z.literal("tcp").default("tcp"),requestId: z.number().optional(),workspaceId: z.number().optional(),monitorId: z.number().optional(),@@ -95,18 +95,18 @@ export const tcpOutput = z}).or(z.object({- state: z.literal("error").prefault("error"),+ state: z.literal("error").default("error"),message: z.string(),}),);export const httpOutput = z.object({- state: z.literal("success").prefault("success"),- type: z.literal("http").prefault("http"),+ state: z.literal("success").default("success"),+ type: z.literal("http").default("http"),status: z.number(),latency: z.number(),- headers: z.record(z.string(), z.string()),+ headers: z.record(z.string()),timestamp: z.number(),timing: z.object({dnsStart: z.number(),@@ -125,25 +125,23 @@ export const httpOutput = z}).or(z.object({- state: z.literal("error").prefault("error"),+ state: z.literal("error").default("error"),message: z.string(),}),);export const dnsOutput = z.object({- state: z.literal("success").prefault("success"),- type: z.literal("dns").prefault("dns"),- records: z- .partialRecord(z.enum(dnsRecords), z.array(z.string()))- .prefault({}),+ state: z.literal("success").default("success"),+ type: z.literal("dns").default("dns"),+ records: z.record(z.enum(dnsRecords), z.array(z.string())).default({}),latency: z.number().optional(),timestamp: z.number(),region: monitorRegionSchema,}).or(z.object({- state: z.literal("error").prefault("error"),+ state: z.literal("error").default("error"),message: z.string(),}),);diff --git a/packages/api/src/router/domain.ts b/packages/api/src/router/domain.tsindex 526e660a8..29c29acb5 100644--- a/packages/api/src/router/domain.ts+++ b/packages/api/src/router/domain.ts@@ -13,7 +13,7 @@ export const domainConfigResponseSchema = z.object({.array(z.union([z.literal("dns-01"), z.literal("http-01")])).optional().nullable(),- misconfigured: z.boolean().prefault(true).optional(),+ misconfigured: z.boolean().default(true).optional(),});export const domainResponseSchema = z.object({diff --git a/packages/api/src/router/feedback.ts b/packages/api/src/router/feedback.tsindex 3d2e2bd84..a76e60cb6 100644--- a/packages/api/src/router/feedback.ts+++ b/packages/api/src/router/feedback.ts@@ -13,7 +13,7 @@ export const feedbackRouter = createTRPCRouter({isMobile: z.boolean().optional(),// NOTE: coming from ContactFormname: z.string().optional(),- email: z.email().optional(),+ email: z.string().email().optional(),blocker: z.boolean().optional(),type: z.string().optional(),}),diff --git a/packages/api/src/router/monitor.ts b/packages/api/src/router/monitor.tsindex 842e889df..676851e56 100644--- a/packages/api/src/router/monitor.ts+++ b/packages/api/src/router/monitor.ts@@ -218,7 +218,7 @@ export const monitorRouter = createTRPCRouter({monitorTag: selectMonitorTagSchema,}).array(),- maintenance: z.boolean().prefault(false).optional(),+ maintenance: z.boolean().default(false).optional(),monitorsToNotifications: z.object({notification: selectNotificationSchema,@@ -659,7 +659,7 @@ export const monitorRouter = createTRPCRouter({selectMonitorSchema.extend({monitorTagsToMonitors: z.array(z.object({ monitorTag: selectMonitorTagSchema }))- .prefault([]),+ .default([]),}),).parse(monitors);@@ -695,7 +695,7 @@ export const monitorRouter = createTRPCRouter({selectMonitorSchema.extend({monitorTagsToMonitors: z.array(z.object({ monitorTag: selectMonitorTagSchema }))- .prefault([]),+ .default([]),}),).parse(@@ -853,8 +853,8 @@ export const monitorRouter = createTRPCRouter({return z.array(selectMonitorSchema.extend({- tags: z.array(selectMonitorTagSchema).prefault([]),- incidents: z.array(selectIncidentSchema).prefault([]),+ tags: z.array(selectMonitorTagSchema).default([]),+ incidents: z.array(selectIncidentSchema).default([]),}),).parse(@@ -900,12 +900,12 @@ export const monitorRouter = createTRPCRouter({return selectMonitorSchema.extend({- notifications: z.array(selectNotificationSchema).prefault([]),- pages: z.array(selectPageSchema).prefault([]),- tags: z.array(selectMonitorTagSchema).prefault([]),- maintenances: z.array(selectMaintenanceSchema).prefault([]),- incidents: z.array(selectIncidentSchema).prefault([]),- privateLocations: z.array(selectPrivateLocationSchema).prefault([]),+ notifications: z.array(selectNotificationSchema).default([]),+ pages: z.array(selectPageSchema).default([]),+ tags: z.array(selectMonitorTagSchema).default([]),+ maintenances: z.array(selectMaintenanceSchema).default([]),+ incidents: z.array(selectIncidentSchema).default([]),+ privateLocations: z.array(selectPrivateLocationSchema).default([]),}).parse({...data,@@ -1140,7 +1140,7 @@ export const monitorRouter = createTRPCRouter({z.object({id: z.number(),timeout: z.number(),- degradedAfter: z.number().nullish(),+ degradedAfter: z.number().optional(),}),).mutation(async ({ ctx, input }) => {@@ -1292,11 +1292,11 @@ export const monitorRouter = createTRPCRouter({recordAssertion,]),),- active: z.boolean().prefault(true),+ active: z.boolean().default(true),// skip the test check if assertions are OK- skipCheck: z.boolean().prefault(true),+ skipCheck: z.boolean().default(true),// save check in db (iff success? -> e.g. onboarding to get a first ping)- saveCheck: z.boolean().prefault(false),+ saveCheck: z.boolean().default(false),}),).mutation(async ({ ctx, input }) => {@@ -1418,9 +1418,9 @@ export const monitorRouter = createTRPCRouter({recordAssertion,]),),- active: z.boolean().prefault(false),- saveCheck: z.boolean().prefault(false),- skipCheck: z.boolean().prefault(false),+ active: z.boolean().default(false),+ saveCheck: z.boolean().default(false),+ skipCheck: z.boolean().default(false),}),).mutation(async ({ ctx, input }) => {diff --git a/packages/api/src/router/notification.ts b/packages/api/src/router/notification.tsindex 22882b0e3..f117166e1 100644--- a/packages/api/src/router/notification.ts+++ b/packages/api/src/router/notification.ts@@ -281,7 +281,7 @@ export const notificationRouter = createTRPCRouter({z.object({id: z.number(),name: z.string(),- data: z.partialRecord(+ data: z.record(z.enum(notificationProvider),z.string().or(z.record(z.string(), z.string())),),@@ -350,12 +350,12 @@ export const notificationRouter = createTRPCRouter({.input(z.object({provider: z.enum(notificationProvider),- data: z.partialRecord(+ data: z.record(z.enum(notificationProvider),z.record(z.string(), z.string()).or(z.string()),),name: z.string(),- monitors: z.array(z.number()).prefault([]),+ monitors: z.array(z.number()).default([]),}),).mutation(async (opts) => {@@ -460,7 +460,7 @@ export const notificationRouter = createTRPCRouter({.input(z.object({provider: z.enum(notificationProvider),- data: z.partialRecord(+ data: z.record(z.enum(notificationProvider),z.record(z.string(), z.string()).or(z.string()),),diff --git a/packages/api/src/router/page.ts b/packages/api/src/router/page.tsindex 94ae85ec6..faace3be4 100644--- a/packages/api/src/router/page.ts+++ b/packages/api/src/router/page.ts@@ -32,6 +32,7 @@ import {} from "@openstatus/db/src/schema";import { Events } from "@openstatus/analytics";+import { Redis } from "@openstatus/upstash";import { env } from "../env";import { createTRPCRouter, protectedProcedure, publicProcedure } from "../trpc";@@ -39,6 +40,8 @@ if (process.env.NODE_ENV === "test") {require("../test/preload");}+const _redis = Redis.fromEnv();+// Helper functions to reuse Vercel API logicasync function addDomainToVercel(domain: string) {const data = await fetch(@@ -499,14 +502,14 @@ export const pageRouter = createTRPCRouter({monitors: z.array(selectMonitorSchema.extend({- order: z.number().prefault(0),- groupOrder: z.number().prefault(0),+ order: z.number().default(0),+ groupOrder: z.number().default(0),groupId: z.number().nullable(),}),)- .prefault([]),- monitorGroups: z.array(selectMonitorGroupSchema).prefault([]),- maintenances: z.array(selectMaintenanceSchema).prefault([]),+ .default([]),+ monitorGroups: z.array(selectMonitorGroupSchema).default([]),+ maintenances: z.array(selectMaintenanceSchema).default([]),}).parse({...data,diff --git a/packages/api/src/router/statusPage.ts b/packages/api/src/router/statusPage.tsindex 3be9e87e3..f6f4a4fa1 100644--- a/packages/api/src/router/statusPage.ts+++ b/packages/api/src/router/statusPage.ts@@ -357,10 +357,8 @@ export const statusPageRouter = createTRPCRouter({monitorIds: z.string().array(),cardType: z.enum(["requests", "duration", "dominant", "manual"])- .prefault("requests"),- barType: z- .enum(["absolute", "dominant", "manual"])- .prefault("dominant"),+ .default("requests"),+ barType: z.enum(["absolute", "dominant", "manual"]).default("dominant"),}),).query(async (opts) => {@@ -834,7 +832,9 @@ export const statusPageRouter = createTRPCRouter({subscribe: publicProcedure.meta({ track: Events.SubscribePage, trackProps: ["slug", "email"] })- .input(z.object({ slug: z.string().toLowerCase(), email: z.email() }))+ .input(+ z.object({ slug: z.string().toLowerCase(), email: z.string().email() }),+ ).mutation(async (opts) => {if (!opts.input.slug) return null;diff --git a/packages/api/src/router/statusReport.ts b/packages/api/src/router/statusReport.tsindex 952df7f10..1d4558f2e 100644--- a/packages/api/src/router/statusReport.ts+++ b/packages/api/src/router/statusReport.ts@@ -227,7 +227,7 @@ export const statusReportRouter = createTRPCRouter({.query(async (opts) => {const selectPublicStatusReportSchemaWithRelation =selectStatusReportSchema.extend({- status: statusReportStatusSchema.prefault("investigating"), // TODO: remove!+ status: statusReportStatusSchema.default("investigating"), // TODO: remove!monitorsToStatusReports: z.array(z.object({@@ -236,9 +236,9 @@ export const statusReportRouter = createTRPCRouter({monitor: selectMonitorSchema,}),)- .prefault([]),+ .default([]),statusReportUpdates: z.array(selectStatusReportUpdateSchema),- date: z.date().prefault(new Date()),+ date: z.date().default(new Date()),});const data = await opts.ctx.db.query.statusReport.findFirst({@@ -275,7 +275,7 @@ export const statusReportRouter = createTRPCRouter({getStatusReportByWorkspace: protectedProcedure.query(async (opts) => {// FIXME: can we get rid of that?const selectStatusSchemaWithRelation = selectStatusReportSchema.extend({- status: statusReportStatusSchema.prefault("investigating"), // TODO: remove!+ status: statusReportStatusSchema.default("investigating"), // TODO: remove!monitorsToStatusReports: z.array(z.object({@@ -284,7 +284,7 @@ export const statusReportRouter = createTRPCRouter({monitor: selectMonitorSchema,}),)- .prefault([]),+ .default([]),statusReportUpdates: z.array(selectStatusReportUpdateSchema),});@@ -308,7 +308,7 @@ export const statusReportRouter = createTRPCRouter({.query(async (opts) => {// FIXME: can we get rid of that?const selectStatusSchemaWithRelation = selectStatusReportSchema.extend({- status: statusReportStatusSchema.prefault("investigating"), // TODO: remove!+ status: statusReportStatusSchema.default("investigating"), // TODO: remove!monitorsToStatusReports: z.array(z.object({@@ -317,7 +317,7 @@ export const statusReportRouter = createTRPCRouter({monitor: selectMonitorSchema,}),)- .prefault([]),+ .default([]),statusReportUpdates: z.array(selectStatusReportUpdateSchema),});@@ -412,8 +412,8 @@ export const statusReportRouter = createTRPCRouter({return selectStatusReportSchema.extend({- updates: z.array(selectStatusReportUpdateSchema).prefault([]),- monitors: z.array(selectMonitorSchema).prefault([]),+ updates: z.array(selectStatusReportUpdateSchema).default([]),+ monitors: z.array(selectMonitorSchema).default([]),page: selectPageSchema,}).array()diff --git a/packages/api/src/router/stripe/webhook.ts b/packages/api/src/router/stripe/webhook.tsindex 16a99313b..d5b624652 100644--- a/packages/api/src/router/stripe/webhook.ts+++ b/packages/api/src/router/stripe/webhook.ts@@ -19,7 +19,7 @@ const webhookProcedure = publicProcedure.input(account: z.string().nullish(),created: z.number(),data: z.object({- object: z.record(z.string(), z.any()),+ object: z.record(z.any()),}),type: z.string(),}),diff --git a/packages/api/src/router/tinybird/index.ts b/packages/api/src/router/tinybird/index.tsindex 1d7300903..eec6343cc 100644--- a/packages/api/src/router/tinybird/index.ts+++ b/packages/api/src/router/tinybird/index.ts@@ -226,7 +226,7 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorId: z.string(),region: z.enum(monitorRegions).or(z.string()).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),}),).query(async (opts) => {@@ -239,7 +239,7 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorId: z.string(),region: z.enum(monitorRegions).or(z.string()).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),from: z.coerce.date().optional(),to: z.coerce.date().optional(),}),@@ -280,10 +280,10 @@ export const tinybirdRouter = createTRPCRouter({monitorId: z.string(),fromDate: z.string().optional(),toDate: z.string().optional(),- interval: z.int().optional(), // in minutes, default 30+ interval: z.number().int().optional(), // in minutes, default 30regions: z.enum(monitorRegions).or(z.string()).array().optional(),- type: z.enum(types).prefault("http"),- period: z.enum(["7d", "30d"]).prefault("30d"),+ type: z.enum(types).default("http"),+ period: z.enum(["7d", "30d"]).default("30d"),}),).query(async (opts) => {@@ -311,7 +311,7 @@ export const tinybirdRouter = createTRPCRouter({.input(z.object({monitorId: z.string(),- interval: z.int().prefault(30), // in days+ interval: z.number().int().default(30), // in days}),).query(async (opts) => {@@ -342,9 +342,9 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorId: z.string(),period: z.enum(periods),- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),}),).query(async (opts) => {@@ -377,9 +377,9 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorId: z.string(),period: z.enum(periods),- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),region: z.enum(monitorRegions).or(z.string()).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),}),).query(async (opts) => {@@ -411,9 +411,9 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorId: z.string(),period: z.enum(periods),- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),region: z.enum(monitorRegions).or(z.string()).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),}),).query(async (opts) => {@@ -445,11 +445,11 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorId: z.string(),period: z.enum(periods),- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),// Additional filters- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),fromDate: z.string().optional(),toDate: z.string().optional(),}),@@ -487,9 +487,9 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorIds: z.string().array(),period: z.enum(["45d"]),- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),region: z.enum(monitorRegions).or(z.string()).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),}),).query(async (opts) => {@@ -518,7 +518,7 @@ export const tinybirdRouter = createTRPCRouter({z.object({id: z.string().nullable(),monitorId: z.string(),- period: z.enum(["14d"]).prefault("14d"),+ period: z.enum(["14d"]).default("14d"),}),).query(async (opts) => {@@ -549,7 +549,7 @@ export const tinybirdRouter = createTRPCRouter({.input(z.object({monitorIds: z.string().array(),- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),}),).query(async (opts) => {@@ -579,7 +579,7 @@ export const tinybirdRouter = createTRPCRouter({monitorId: z.string(),period: z.enum(periods),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),fromDate: z.string().optional(),toDate: z.string().optional(),}),@@ -601,7 +601,7 @@ export const tinybirdRouter = createTRPCRouter({z.object({monitorId: z.string(),period: z.enum(periods),- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),type: z.literal("http"),}),@@ -627,8 +627,8 @@ export const tinybirdRouter = createTRPCRouter({.input(z.object({monitorIds: z.string().array(),- period: z.enum(["1d"]).prefault("1d"),- type: z.enum(types).prefault("http"),+ period: z.enum(["1d"]).default("1d"),+ type: z.enum(types).default("http"),}),).query(async (opts) => {@@ -642,7 +642,7 @@ export const tinybirdRouter = createTRPCRouter({workspace30d: protectedProcedure.input(z.object({- type: z.enum(types).prefault("http"),+ type: z.enum(types).default("http"),}),).query(async (opts) => {diff --git a/packages/api/src/trpc.ts b/packages/api/src/trpc.tsindex cc469f74c..7fa97090b 100644--- a/packages/api/src/trpc.ts+++ b/packages/api/src/trpc.ts@@ -1,7 +1,7 @@import { TRPCError, initTRPC } from "@trpc/server";import { type NextRequest, after } from "next/server";import superjson from "superjson";-import { ZodError, treeifyError } from "zod";+import { ZodError } from "zod";import {type EventProps,@@ -106,7 +106,7 @@ export const t = initTRPCdata: {...shape.data,zodError:- error.cause instanceof ZodError ? treeifyError(error.cause) : null,+ error.cause instanceof ZodError ? error.cause.flatten() : null,},};},diff --git a/packages/assertions/package.json b/packages/assertions/package.jsonindex c1fd30bbb..cce09ec2c 100644--- a/packages/assertions/package.json+++ b/packages/assertions/package.json@@ -10,7 +10,7 @@"devDependencies": {"@openstatus/tsconfig": "workspace:*","typescript": "5.9.3",- "zod": "4.1.13"+ "zod": "3.25.76"},"keywords": [],"author": "",diff --git a/packages/assertions/src/v1.ts b/packages/assertions/src/v1.tsindex 0b7ea37d7..77df107a6 100644--- a/packages/assertions/src/v1.ts+++ b/packages/assertions/src/v1.ts@@ -211,53 +211,55 @@ function evaluateRecord(return { success: true };}-export const base = z.looseObject({- version: z.enum(["v1"]).prefault("v1"),- type: z.string(),-});-export const statusAssertion = base.extend(+export const base = z+ .object({+ version: z.enum(["v1"]).default("v1"),+ type: z.string(),+ })+ .passthrough();+export const statusAssertion = base.merge(z.object({type: z.literal("status"),compare: numberCompare,- target: z.int().positive(),- }).shape,+ target: z.number().int().positive(),+ }),);-export const headerAssertion = base.extend(+export const headerAssertion = base.merge(z.object({type: z.literal("header"),compare: stringCompare,key: z.string(),target: z.string(),- }).shape,+ }),);-export const textBodyAssertion = base.extend(+export const textBodyAssertion = base.merge(z.object({type: z.literal("textBody"),compare: stringCompare,target: z.string(),- }).shape,+ }),);-export const jsonBodyAssertion = base.extend(+export const jsonBodyAssertion = base.merge(z.object({type: z.literal("jsonBody"),path: z.string(), // https://www.npmjs.com/package/jsonpath-pluscompare: stringCompare,target: z.string(),- }).shape,+ }),);export const dnsRecords = ["A", "AAAA", "CNAME", "MX", "TXT", "NS"] as const;-export const recordAssertion = base.extend(+export const recordAssertion = base.merge(z.object({type: z.literal("dnsRecord"),key: z.enum(dnsRecords),compare: recordCompare,target: z.string(),- }).shape,+ }),);export const assertion = z.discriminatedUnion("type", [diff --git a/packages/db/package.json b/packages/db/package.jsonindex 19f496247..30664fc77 100644--- a/packages/db/package.json+++ b/packages/db/package.json@@ -19,8 +19,8 @@"@openstatus/theme-store": "workspace:*","@t3-oss/env-core": "0.7.1","drizzle-orm": "0.44.4",- "drizzle-zod": "0.8.3",- "zod": "4.1.13"+ "drizzle-zod": "0.5.1",+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/db/src/schema/invitations/validation.ts b/packages/db/src/schema/invitations/validation.tsindex e081a2285..340f00173 100644--- a/packages/db/src/schema/invitations/validation.ts+++ b/packages/db/src/schema/invitations/validation.ts@@ -4,7 +4,7 @@ import { z } from "zod";import { invitation } from "./invitation";export const insertInvitationSchema = createInsertSchema(invitation, {- email: z.email(),+ email: z.string().email(),});export const selectInvitationSchema = createSelectSchema(invitation);diff --git a/packages/db/src/schema/maintenances/validation.ts b/packages/db/src/schema/maintenances/validation.tsindex 40f1084bb..c0db1674d 100644--- a/packages/db/src/schema/maintenances/validation.ts+++ b/packages/db/src/schema/maintenances/validation.ts@@ -5,23 +5,19 @@ import { maintenance } from "./maintenance";export const insertMaintenanceSchema = createInsertSchema(maintenance).extend({// REMINDER: trick to make the react-hook-form controlled but not allow empty string- title: z.string().min(1, {- error: "Required",- }),- message: z.string().min(1, {- error: "Required",- }),+ title: z.string().min(1, { message: "Required" }),+ message: z.string().min(1, { message: "Required" }),- monitors: z.number().array().prefault([]).optional(),+ monitors: z.number().array().default([]).optional(),})// REMINDER: validate that `from` date is before `to` date.refine((data) => data.from < data.to, {path: ["to"],- error: "End date cannot be earlier than start date.",+ message: "End date cannot be earlier than start date.",});export const selectMaintenanceSchema = createSelectSchema(maintenance).extend({- monitors: z.number().array().prefault([]).optional(),+ monitors: z.number().array().default([]).optional(),});export type InsertMaintenance = z.infer<typeof insertMaintenanceSchema>;diff --git a/packages/db/src/schema/monitors/validation.ts b/packages/db/src/schema/monitors/validation.tsindex af147ab0f..e888e4f8d 100644--- a/packages/db/src/schema/monitors/validation.ts+++ b/packages/db/src/schema/monitors/validation.ts@@ -37,23 +37,23 @@ const headersToArraySchema = z.preprocess(}return [];},- z.array(z.object({ key: z.string(), value: z.string() })).prefault([]),+ z.array(z.object({ key: z.string(), value: z.string() })).default([]),);export const selectMonitorSchema = createSelectSchema(monitor, {- periodicity: monitorPeriodicitySchema.prefault("10m"),- status: monitorStatusSchema.prefault("active"),- jobType: monitorJobTypesSchema.prefault("http"),- timeout: z.number().prefault(45),- followRedirects: z.boolean().prefault(true),- retry: z.number().prefault(3),- regions: regionsToArraySchema.prefault([]),+ periodicity: monitorPeriodicitySchema.default("10m"),+ status: monitorStatusSchema.default("active"),+ jobType: monitorJobTypesSchema.default("http"),+ timeout: z.number().default(45),+ followRedirects: z.boolean().default(true),+ retry: z.number().default(3),+ regions: regionsToArraySchema.default([]),}).extend({- headers: headersToArraySchema.prefault([]),- otelHeaders: headersToArraySchema.prefault([]),- body: bodyToStringSchema.prefault(""),+ headers: headersToArraySchema.default([]),+ otelHeaders: headersToArraySchema.default([]),+ body: bodyToStringSchema.default(""),// for tcp monitors the method is not needed- method: monitorMethodsSchema.prefault("GET"),+ method: monitorMethodsSchema.default("GET"),});const headersSchema = z@@ -65,21 +65,21 @@ export const insertMonitorSchema = createInsertSchema(monitor, {.string().min(1, "Name must be at least 1 character long").max(255, "Name must be at most 255 characters long"),- periodicity: monitorPeriodicitySchema.prefault("10m"),- status: monitorStatusSchema.prefault("active"),- regions: z.array(monitorRegionSchema).prefault([]).optional(),- headers: headersSchema.prefault([]),- otelHeaders: headersSchema.prefault([]),+ periodicity: monitorPeriodicitySchema.default("10m"),+ status: monitorStatusSchema.default("active"),+ regions: z.array(monitorRegionSchema).default([]).optional(),+ headers: headersSchema.default([]),+ otelHeaders: headersSchema.default([]),}).extend({- method: monitorMethodsSchema.prefault("GET"),- notifications: z.array(z.number()).optional().prefault([]),- pages: z.array(z.number()).optional().prefault([]),- body: z.string().prefault("").optional(),- tags: z.array(z.number()).optional().prefault([]),+ method: monitorMethodsSchema.default("GET"),+ notifications: z.array(z.number()).optional().default([]),+ pages: z.array(z.number()).optional().default([]),+ body: z.string().default("").optional(),+ tags: z.array(z.number()).optional().default([]),statusAssertions: z.array(assertions.statusAssertion).optional(),headerAssertions: z.array(assertions.headerAssertion).optional(),textBodyAssertions: z.array(assertions.textBodyAssertion).optional(),- timeout: z.coerce.number().gte(0).lte(60000).prefault(45000),+ timeout: z.coerce.number().gte(0).lte(60000).default(45000),degradedAfter: z.coerce.number().gte(0).lte(60000).nullish(),});diff --git a/packages/db/src/schema/notifications/validation.ts b/packages/db/src/schema/notifications/validation.tsindex dc6bba2e0..d4eb12699 100644--- a/packages/db/src/schema/notifications/validation.ts+++ b/packages/db/src/schema/notifications/validation.ts@@ -12,15 +12,15 @@ export const selectNotificationSchema = createSelectSchema(notification).extend(.preprocess((val) => {return String(val);}, z.string())- .prefault("{}"),+ .default("{}"),},);// we need to extend, otherwise data can be `null` or `undefined` - default is notexport const insertNotificationSchema = createInsertSchema(notification).extend({- data: z.string().prefault("{}"),- monitors: z.array(z.number()).optional().prefault([]),+ data: z.string().default("{}"),+ monitors: z.array(z.number()).optional().default([]),},);@@ -33,19 +33,19 @@ const phoneRegex = new RegExp();export const phoneSchema = z.string().regex(phoneRegex, "Invalid Number!");-export const emailSchema = z.email();-export const urlSchema = z.url();+export const emailSchema = z.string().email();+export const urlSchema = z.string().url();export const ntfyDataSchema = z.object({ntfy: z.object({- topic: z.string().prefault(""),- serverUrl: z.string().prefault("https://ntfy.sh"),+ topic: z.string().default(""),+ serverUrl: z.string().default("https://ntfy.sh"),token: z.string().optional(),}),});export const webhookDataSchema = z.object({webhook: z.object({- endpoint: z.url(),+ endpoint: z.string().url(),headers: z.array(z.object({ key: z.string(), value: z.string() })).optional(),@@ -88,59 +88,59 @@ export const NotificationDataSchema = z.union([export const InsertNotificationWithDataSchema = z.discriminatedUnion("provider",[- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("discord"),data: discordDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("email"),data: emailDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("google-chat"),data: googleChatDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("ntfy"),data: ntfyDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("pagerduty"),data: pagerdutyDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("opsgenie"),data: opsgenieDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("sms"),data: phoneDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("slack"),data: slackDataSchema,- }).shape,+ }),),- insertNotificationSchema.extend(+ insertNotificationSchema.merge(z.object({provider: z.literal("webhook"),data: webhookDataSchema,- }).shape,+ }),),insertNotificationSchema.merge(z.object({diff --git a/packages/db/src/schema/page_subscribers/validation.ts b/packages/db/src/schema/page_subscribers/validation.tsindex d1052757f..efccf9299 100644--- a/packages/db/src/schema/page_subscribers/validation.ts+++ b/packages/db/src/schema/page_subscribers/validation.ts@@ -4,7 +4,7 @@ import { z } from "zod";import { pageSubscriber } from "./page_subscribers";export const insertPageSubscriberSchema = createInsertSchema(pageSubscriber, {- email: z.email(),+ email: z.string().email(),});export const selectPageSubscriberSchema = createSelectSchema(pageSubscriber);diff --git a/packages/db/src/schema/pages/validation.ts b/packages/db/src/schema/pages/validation.tsindex 346ffd484..2f8c76b5c 100644--- a/packages/db/src/schema/pages/validation.ts+++ b/packages/db/src/schema/pages/validation.ts@@ -23,39 +23,39 @@ const customDomainSchema = z.or(z.enum([""]));export const insertPageSchema = createInsertSchema(page, {- customDomain: customDomainSchema.prefault(""),+ customDomain: customDomainSchema.default(""),icon: z.string().optional(),slug: slugSchema,}).extend({- password: z.string().nullable().optional().prefault(""),+ password: z.string().nullable().optional().default(""),monitors: z.array(z.object({// REMINDER: has to be different from `id` in as the prop is already used by react-hook-formmonitorId: z.number(),- order: z.number().prefault(0).optional(),+ order: z.number().default(0).optional(),}),).optional()- .prefault([]),+ .default([]),});export const pageConfigurationSchema = z.object({value: z.enum(["duration", "requests", "manual"]).nullish()- .prefault("requests"),- type: z.enum(["absolute", "manual"]).nullish().prefault("absolute"),- uptime: z.coerce.boolean().nullish().prefault(true),+ .default("requests"),+ type: z.enum(["absolute", "manual"]).nullish().default("absolute"),+ uptime: z.coerce.boolean().nullish().default(true),theme: z.enum(THEME_KEYS as [ThemeKey, ...ThemeKey[]]).nullish()- .prefault("default"),+ .default("default"),});export const selectPageSchema = createSelectSchema(page).extend({- password: z.string().optional().nullable().prefault(""),- configuration: pageConfigurationSchema.nullish().prefault({}),+ password: z.string().optional().nullable().default(""),+ configuration: pageConfigurationSchema.nullish().default({}),});export type InsertPage = z.infer<typeof insertPageSchema>;diff --git a/packages/db/src/schema/plan/schema.ts b/packages/db/src/schema/plan/schema.tsindex f2c2ee54a..d20e0ac8b 100644--- a/packages/db/src/schema/plan/schema.ts+++ b/packages/db/src/schema/plan/schema.ts@@ -10,46 +10,44 @@ export const limitsSchema = z.object({/*** Monitor limits*/- monitors: z.number().prefault(1),- "synthetic-checks": z.number().prefault(30), // monthly limits- periodicity: monitorPeriodicitySchema.array().prefault(["10m", "30m", "1h"]),- "multi-region": z.boolean().prefault(true),- "max-regions": z.number().prefault(6),+ monitors: z.number().default(1),+ "synthetic-checks": z.number().default(30), // monthly limits+ periodicity: monitorPeriodicitySchema.array().default(["10m", "30m", "1h"]),+ "multi-region": z.boolean().default(true),+ "max-regions": z.number().default(6),"data-retention": z.enum(["14 days", "3 months", "12 months", "24 months"])- .prefault("14 days"),- regions: monitorRegionSchema.array().prefault(FREE_FLY_REGIONS),- "private-locations": z.boolean().prefault(false),- screenshots: z.boolean().prefault(false),- "response-logs": z.boolean().prefault(false),- otel: z.boolean().prefault(false),+ .default("14 days"),+ regions: monitorRegionSchema.array().default(FREE_FLY_REGIONS),+ "private-locations": z.boolean().default(false),+ screenshots: z.boolean().default(false),+ "response-logs": z.boolean().default(false),+ otel: z.boolean().default(false),/*** Status page limits*/- "status-pages": z.number().prefault(1),- maintenance: z.boolean().prefault(true),- "monitor-values-visibility": z.boolean().prefault(true),- "status-subscribers": z.boolean().prefault(false),- "custom-domain": z.boolean().prefault(false),- "password-protection": z.boolean().prefault(false),- "white-label": z.boolean().prefault(false),+ "status-pages": z.number().default(1),+ maintenance: z.boolean().default(true),+ "monitor-values-visibility": z.boolean().default(true),+ "status-subscribers": z.boolean().default(false),+ "custom-domain": z.boolean().default(false),+ "password-protection": z.boolean().default(false),+ "white-label": z.boolean().default(false),/*** Notification limits*/-- notifications: z.boolean().prefault(true),- pagerduty: z.boolean().prefault(false),- opsgenie: z.boolean().prefault(false),- whatsapp: z.boolean().prefault(false),- sms: z.boolean().prefault(false),- "sms-limit": z.number().prefault(0),- "notification-channels": z.number().prefault(1),-+ notifications: z.boolean().default(true),+ pagerduty: z.boolean().default(false),+ opsgenie: z.boolean().default(false),+ whatsapp: z.boolean().default(false),+ sms: z.boolean().default(false),+ "sms-limit": z.number().default(0),+ "notification-channels": z.number().default(1),/*** Collaboration limits*/- members: z.literal("Unlimited").or(z.number()).prefault(1),- "audit-log": z.boolean().prefault(false),+ members: z.literal("Unlimited").or(z.number()).default(1),+ "audit-log": z.boolean().default(false),});export type Limits = z.infer<typeof limitsSchema>;diff --git a/packages/db/src/schema/shared.ts b/packages/db/src/schema/shared.tsindex 035b42c44..be1d35ff5 100644--- a/packages/db/src/schema/shared.ts+++ b/packages/db/src/schema/shared.ts@@ -29,7 +29,7 @@ export const selectPublicMonitorSchema =}));export const selectStatusReportPageSchema = selectStatusReportSchema.extend({- statusReportUpdates: z.array(selectStatusReportUpdateSchema).prefault([]),+ statusReportUpdates: z.array(selectStatusReportUpdateSchema).default([]),monitorsToStatusReports: z.array(z.object({@@ -38,7 +38,7 @@ export const selectStatusReportPageSchema = selectStatusReportSchema.extend({monitor: selectPublicMonitorSchema,}),)- .prefault([]),+ .default([]),});export const selectMaintenancePageSchema = selectMaintenanceSchema.extend({@@ -50,7 +50,7 @@ export const selectMaintenancePageSchema = selectMaintenanceSchema.extend({monitor: selectPublicMonitorSchema,}),)- .prefault([]),+ .default([]),});// TODO: it would be nice to automatically add the monitor relation here// .refine((data) => ({ monitors: data.maintenancesToMonitors.map((m) => m.monitorId) }));@@ -65,26 +65,26 @@ export const selectPageSchemaWithMonitorsRelation = selectPageSchema.extend({z.object({monitorId: z.number(),pageId: z.number(),- order: z.number().prefault(0).optional(),+ order: z.number().default(0).optional(),monitor: selectMonitorSchema,}),),- maintenances: selectMaintenanceSchema.array().prefault([]),+ maintenances: selectMaintenanceSchema.array().default([]),statusReports: selectStatusReportSchema.extend({ statusReportUpdates: selectStatusReportUpdateSchema.array() }).array()- .prefault([]),+ .default([]),});export const legacy_selectPublicPageSchemaWithRelation = selectPageSchema.extend({- monitors: z.array(selectPublicMonitorSchema).prefault([]),- statusReports: z.array(selectStatusReportPageSchema).prefault([]),- incidents: z.array(selectIncidentSchema).prefault([]),- maintenances: z.array(selectMaintenancePageSchema).prefault([]),+ monitors: z.array(selectPublicMonitorSchema).default([]),+ statusReports: z.array(selectStatusReportPageSchema).default([]),+ incidents: z.array(selectIncidentSchema).default([]),+ maintenances: z.array(selectMaintenancePageSchema).default([]),workspacePlan: workspacePlanSchema.nullable()- .prefault("free")+ .default("free").transform((val) => val ?? "free"),}).omit({@@ -94,9 +94,7 @@ export const legacy_selectPublicPageSchemaWithRelation = selectPageSchemaconst selectPublicMonitorWithStatusSchema = selectPublicMonitorBaseSchema.extend({- status: z- .enum(["success", "degraded", "error", "info"])- .prefault("success"),+ status: z.enum(["success", "degraded", "error", "info"]).default("success"),monitorGroupId: z.number().nullable().optional(),order: z.number().default(0).optional(),groupOrder: z.number().default(0).optional(),@@ -121,24 +119,24 @@ const trackersSchema = zmonitors: z.array(selectPublicMonitorWithStatusSchema),status: z.enum(["success", "degraded", "error", "info"])- .prefault("success"),+ .default("success"),order: z.number(),}),]),)- .prefault([]);+ .default([]);export const statusPageEventSchema = z.object({id: z.number(),name: z.string(),from: z.date(),to: z.date().nullable(),- status: z.enum(["success", "degraded", "error", "info"]).prefault("success"),+ status: z.enum(["success", "degraded", "error", "info"]).default("success"),type: z.enum(["maintenance", "incident", "report"]),});export const selectPublicPageSchemaWithRelation = selectPageSchema.extend({- monitorGroups: selectMonitorGroupSchema.array().prefault([]),+ monitorGroups: selectMonitorGroupSchema.array().default([]),// TODO: include status of the monitormonitors: selectPublicMonitorWithStatusSchema.array(),trackers: trackersSchema,@@ -147,10 +145,10 @@ export const selectPublicPageSchemaWithRelation = selectPageSchema.extend({statusReports: z.array(selectStatusReportPageSchema),incidents: z.array(selectIncidentSchema),maintenances: z.array(selectMaintenancePageSchema),- status: z.enum(["success", "degraded", "error", "info"]).prefault("success"),+ status: z.enum(["success", "degraded", "error", "info"]).default("success"),workspacePlan: workspacePlanSchema.nullable()- .prefault("free")+ .default("free").transform((val) => val ?? "free"),});@@ -164,7 +162,7 @@ export const selectPublicStatusReportSchemaWithRelation =monitor: selectPublicMonitorSchema,}),)- .prefault([]),+ .default([]),statusReportUpdates: z.array(selectStatusReportUpdateSchema),});diff --git a/packages/db/src/schema/status_reports/validation.ts b/packages/db/src/schema/status_reports/validation.tsindex 2807b4455..4fd6325cb 100644--- a/packages/db/src/schema/status_reports/validation.ts+++ b/packages/db/src/schema/status_reports/validation.ts@@ -15,18 +15,18 @@ export const insertStatusReportUpdateSchema = createInsertSchema(status: statusReportStatusSchema,},).extend({- date: z.coerce.date().optional().prefault(new Date()),+ date: z.coerce.date().optional().default(new Date()),});export const insertStatusReportSchema = createInsertSchema(statusReport, {status: statusReportStatusSchema,}).extend({- date: z.coerce.date().optional().prefault(new Date()),+ date: z.coerce.date().optional().default(new Date()),/*** relationship to monitors and pages*/- monitors: z.number().array().optional().prefault([]),+ monitors: z.number().array().optional().default([]),}).extend({/**diff --git a/packages/db/src/schema/workspaces/validation.ts b/packages/db/src/schema/workspaces/validation.tsindex 4d4d51b26..eeca961bb 100644--- a/packages/db/src/schema/workspaces/validation.ts+++ b/packages/db/src/schema/workspaces/validation.ts@@ -15,46 +15,22 @@ export const workspaceRoleSchema = z.enum(workspaceRole);export const selectWorkspaceSchema = createSelectSchema(workspace).extend({limits: z.string().transform((val) => {- try {- const parsed = JSON.parse(val);-- // Only validate properties that are actually present in the parsed object- // This avoids triggering .prefault() for missing properties- const validated: Record<string, unknown> = {};- const limitsShape = limitsSchema.shape;-- for (const key in parsed) {- if (key in limitsShape) {- // Validate only the properties that exist in the parsed object- const propertySchema = limitsShape[key as keyof typeof limitsShape];- const result = propertySchema.safeParse(parsed[key]);- if (result.success) {- validated[key] = result.data;- } else {- console.warn(`Invalid value for limits.${key}:`, result.error);- // Skip invalid properties instead of failing entirely- }- }- // Unknown properties are ignored- }-- return validated;- } catch (error) {- console.error("Error parsing limits:", error);- return {};- }+ const parsed = JSON.parse(val);+ const result = limitsSchema.partial().safeParse(parsed);+ if (result.error) return {};+ return result.data;}),plan: z.enum(workspacePlans).nullable()- .prefault("free")+ .default("free").transform((val) => val ?? "free"),// REMINDER: workspace usageusage: z.object({- monitors: z.number().prefault(0),- notifications: z.number().prefault(0),- pages: z.number().prefault(0),+ monitors: z.number().default(0),+ notifications: z.number().default(0),+ pages: z.number().default(0),// checks: z.number().default(0),}).nullish(),diff --git a/packages/emails/package.json b/packages/emails/package.jsonindex 48fabd73d..55383fff0 100644--- a/packages/emails/package.json+++ b/packages/emails/package.json@@ -19,7 +19,7 @@"@t3-oss/env-core": "0.7.1","react-email": "5.0.8","resend": "6.6.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/error/package.json b/packages/error/package.jsonindex 1b33ac867..2dab37565 100644--- a/packages/error/package.json+++ b/packages/error/package.json@@ -5,7 +5,7 @@"main": "index.ts","scripts": {},"dependencies": {- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/error/src/utils.ts b/packages/error/src/utils.tsindex 33355769a..22663001a 100644--- a/packages/error/src/utils.ts+++ b/packages/error/src/utils.ts@@ -57,7 +57,7 @@ export function parseZodErrorIssues(issues: ZodIssue[]): string {return issues.map((i) =>i.code === "invalid_union"- ? i.errors.map((ue) => parseZodErrorIssues(ue)).join("; ")+ ? i.unionErrors.map((ue) => parseZodErrorIssues(ue.issues)).join("; "): i.code === "unrecognized_keys"? i.message: `${i.path.length ? `${i.code} in '${i.path}': ` : ""}${i.message}`,diff --git a/packages/notifications/discord/package.json b/packages/notifications/discord/package.jsonindex 7b4d3088c..20c0d7fdd 100644--- a/packages/notifications/discord/package.json+++ b/packages/notifications/discord/package.json@@ -7,7 +7,7 @@},"dependencies": {"@openstatus/db": "workspace:*",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/notifications/email/package.json b/packages/notifications/email/package.jsonindex 7b5ff9b55..4c63facf0 100644--- a/packages/notifications/email/package.json+++ b/packages/notifications/email/package.json@@ -17,7 +17,7 @@"@t3-oss/env-core": "0.7.1","react-dom": "19.2.2","resend": "6.6.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/notifications/ntfy/package.json b/packages/notifications/ntfy/package.jsonindex 3a6634679..116b36f40 100644--- a/packages/notifications/ntfy/package.json+++ b/packages/notifications/ntfy/package.json@@ -7,7 +7,7 @@},"dependencies": {"@openstatus/db": "workspace:*",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/notifications/ntfy/src/schema.ts b/packages/notifications/ntfy/src/schema.tsindex e7d7119cd..e96d7d64a 100644--- a/packages/notifications/ntfy/src/schema.ts+++ b/packages/notifications/ntfy/src/schema.ts@@ -3,7 +3,7 @@ import { z } from "zod";export const NtfySchema = z.object({ntfy: z.object({topic: z.string(),- serverUrl: z.string().prefault("https://ntfy.sh"),+ serverUrl: z.string().default("https://ntfy.sh"),token: z.string().optional(),}),});diff --git a/packages/notifications/opsgenie/package.json b/packages/notifications/opsgenie/package.jsonindex 9f240d56a..508c756fc 100644--- a/packages/notifications/opsgenie/package.json+++ b/packages/notifications/opsgenie/package.json@@ -10,7 +10,7 @@"@t3-oss/env-core": "0.7.1","@types/validator": "13.12.0","validator": "13.12.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/notifications/opsgenie/src/schema.ts b/packages/notifications/opsgenie/src/schema.tsindex da3bee2eb..e315a31e4 100644--- a/packages/notifications/opsgenie/src/schema.ts+++ b/packages/notifications/opsgenie/src/schema.ts@@ -7,7 +7,7 @@ export const OpsGeniePayloadAlert = z.object({message: z.string(),alias: z.string(),description: z.string(),- source: z.string().prefault("OpenStatus"),+ source: z.string().default("OpenStatus"),details: z.object({message: z.string(),@@ -18,5 +18,5 @@ export const OpsGeniePayloadAlert = z.object({});export const OpsGenieCloseAlert = z.object({- source: z.string().prefault("OpenStatus"),+ source: z.string().default("OpenStatus"),});diff --git a/packages/notifications/pagerduty/package.json b/packages/notifications/pagerduty/package.jsonindex a9399da08..e00dacb23 100644--- a/packages/notifications/pagerduty/package.json+++ b/packages/notifications/pagerduty/package.json@@ -10,7 +10,7 @@"@t3-oss/env-core": "0.7.1","@types/validator": "13.12.0","validator": "13.12.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/notifications/pagerduty/src/schema/config.ts b/packages/notifications/pagerduty/src/schema/config.tsindex f476fa3dd..1ea2964d8 100644--- a/packages/notifications/pagerduty/src/schema/config.ts+++ b/packages/notifications/pagerduty/src/schema/config.ts@@ -41,7 +41,7 @@ const baseEventPayloadSchema = z.object({dedup_key: z.string(),});-export const triggerEventPayloadSchema = baseEventPayloadSchema.extend(+export const triggerEventPayloadSchema = baseEventPayloadSchema.merge(z.object({event_action: z.literal("trigger"),payload: z.object({@@ -56,19 +56,19 @@ export const triggerEventPayloadSchema = baseEventPayloadSchema.extend(}),images: z.array(imageSchema).optional(),links: z.array(linkSchema).optional(),- }).shape,+ }),);-export const acknowledgeEventPayloadSchema = baseEventPayloadSchema.extend(+export const acknowledgeEventPayloadSchema = baseEventPayloadSchema.merge(z.object({event_action: z.literal("acknowledge"),- }).shape,+ }),);-export const resolveEventPayloadSchema = baseEventPayloadSchema.extend(+export const resolveEventPayloadSchema = baseEventPayloadSchema.merge(z.object({event_action: z.literal("resolve"),- }).shape,+ }),);export const eventPayloadV2Schema = z.discriminatedUnion("event_action", [diff --git a/packages/notifications/slack/package.json b/packages/notifications/slack/package.jsonindex 6c9314984..87aaed7f6 100644--- a/packages/notifications/slack/package.json+++ b/packages/notifications/slack/package.json@@ -7,7 +7,7 @@},"dependencies": {"@openstatus/db": "workspace:*",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/notifications/twillio-sms/package.json b/packages/notifications/twillio-sms/package.jsonindex fae5a588b..2c92c5c49 100644--- a/packages/notifications/twillio-sms/package.json+++ b/packages/notifications/twillio-sms/package.json@@ -9,7 +9,7 @@"@openstatus/db": "workspace:*","@t3-oss/env-core": "0.7.1","validator": "13.12.0",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/notifications/webhook/package.json b/packages/notifications/webhook/package.jsonindex b65ab51aa..6757c66c8 100644--- a/packages/notifications/webhook/package.json+++ b/packages/notifications/webhook/package.json@@ -8,7 +8,7 @@"dependencies": {"@openstatus/db": "workspace:*","@openstatus/utils": "workspace:*",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/regions/package.json b/packages/regions/package.jsonindex a07747005..cb3d80d57 100644--- a/packages/regions/package.json+++ b/packages/regions/package.json@@ -5,7 +5,7 @@"main": "index.ts","scripts": {},"dependencies": {- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/tinybird/package.json b/packages/tinybird/package.jsonindex 3baef274b..49af32199 100644--- a/packages/tinybird/package.json+++ b/packages/tinybird/package.json@@ -4,8 +4,8 @@"main": "src/index.ts","license": "MIT","dependencies": {- "@chronark/zod-bird": "1.0.0",- "zod": "4.1.13"+ "@chronark/zod-bird": "0.3.6",+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/tinybird/src/audit-log/base-validation.ts b/packages/tinybird/src/audit-log/base-validation.tsindex 6d74aae4f..c449411e8 100644--- a/packages/tinybird/src/audit-log/base-validation.ts+++ b/packages/tinybird/src/audit-log/base-validation.ts@@ -9,10 +9,11 @@ export const baseSchema = z.object({action: z.string(),// REMINDER: do not use .default(Date.now()), it will be evaluated only oncetimestamp: z+ .number().int().optional().transform((val) => val || Date.now()),- version: z.int().prefault(1),+ version: z.number().int().default(1),});/**@@ -30,7 +31,7 @@ export const actorSchema = zid: z.string(),type: actorTypeSchema,})- .prefault({+ .default({id: "server",type: "system",});diff --git a/packages/tinybird/src/client.ts b/packages/tinybird/src/client.tsindex fcd49b853..05ca02e94 100644--- a/packages/tinybird/src/client.ts+++ b/packages/tinybird/src/client.ts@@ -33,11 +33,11 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__stats_global__v0",parameters: z.object({- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),period: z.enum(["total", "1h", "10m", "1d", "1w", "1m"]).optional(),}),data: z.object({- count: z.int(),+ count: z.number().int(),}),// REMINDER: cache on build time as it's a global statsopts: { cache: "force-cache" },@@ -51,14 +51,14 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("http").prefault("http"),- latency: z.int(),- statusCode: z.int().nullable(),+ type: z.literal("http").default("http"),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),monitorId: z.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.string(),}),@@ -71,19 +71,19 @@ export class OSTinybird {pipe: "endpoint__http_list_1d__v1",parameters: z.object({monitorId: z.string(),- fromDate: z.int().optional(),- toDate: z.int().optional(),+ fromDate: z.number().int().optional(),+ toDate: z.number().int().optional(),}),data: z.object({- type: z.literal("http").prefault("http"),+ type: z.literal("http").default("http"),id: z.string().nullable(),- latency: z.int(),- statusCode: z.int().nullable(),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),monitorId: z.string(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),timing: timingPhasesSchema,}),@@ -98,14 +98,14 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("http").prefault("http"),- latency: z.int(),- statusCode: z.int().nullable(),+ type: z.literal("http").default("http"),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),monitorId: z.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.string(),}),@@ -118,19 +118,19 @@ export class OSTinybird {pipe: "endpoint__http_list_7d__v1",parameters: z.object({monitorId: z.string(),- fromDate: z.int().optional(),- toDate: z.int().optional(),+ fromDate: z.number().int().optional(),+ toDate: z.number().int().optional(),}),data: z.object({- type: z.literal("http").prefault("http"),+ type: z.literal("http").default("http"),id: z.string().nullable(),- latency: z.int(),- statusCode: z.int().nullable(),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),monitorId: z.string(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),timing: timingPhasesSchema,}),@@ -145,14 +145,14 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("http").prefault("http"),- latency: z.int(),- statusCode: z.int().nullable(),+ type: z.literal("http").default("http"),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),monitorId: z.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.string(),}),@@ -165,19 +165,19 @@ export class OSTinybird {pipe: "endpoint__http_list_14d__v1",parameters: z.object({monitorId: z.string(),- fromDate: z.int().optional(),- toDate: z.int().optional(),+ fromDate: z.number().int().optional(),+ toDate: z.number().int().optional(),}),data: z.object({- type: z.literal("http").prefault("http"),+ type: z.literal("http").default("http"),id: z.string().nullable(),- latency: z.int(),- statusCode: z.int().nullable(),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),monitorId: z.string(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),timing: timingPhasesSchema,}),@@ -190,18 +190,18 @@ export class OSTinybird {pipe: "endpoint__http_metrics_1d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int(),- ok: z.int(),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int(),+ ok: z.number().int(),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -211,21 +211,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__http_metrics_1d__v1",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -236,18 +236,18 @@ export class OSTinybird {pipe: "endpoint__http_metrics_7d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int(),- ok: z.int(),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int(),+ ok: z.number().int(),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -257,21 +257,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__http_metrics_7d__v1",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -282,18 +282,18 @@ export class OSTinybird {pipe: "endpoint__http_metrics_14d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int(),- ok: z.int(),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int(),+ ok: z.number().int(),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -303,21 +303,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__http_metrics_14d__v1",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -327,17 +327,17 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__http_metrics_by_interval_1d__v0",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -347,17 +347,17 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__http_metrics_by_interval_7d__v0",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -367,17 +367,17 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__http_metrics_by_interval_14d__v0",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -392,13 +392,13 @@ export class OSTinybird {}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- count: z.int(),- ok: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ count: z.number().int(),+ ok: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -413,13 +413,13 @@ export class OSTinybird {}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- count: z.int(),- ok: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ count: z.number().int(),+ ok: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -434,13 +434,13 @@ export class OSTinybird {}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- count: z.int(),- ok: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ count: z.number().int(),+ ok: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -457,8 +457,8 @@ export class OSTinybird {// That's a hack because clickhouse return the date in UTC but in shitty format (2021-09-01 00:00:00)return new Date(`${val} GMT`).toISOString();}),- count: z.number().prefault(0),- ok: z.number().prefault(0),+ count: z.number().default(0),+ ok: z.number().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -469,15 +469,15 @@ export class OSTinybird {pipe: "endpoint__http_status_45d__v0",parameters: z.object({monitorId: z.string(),- days: z.int().max(45).optional(),+ days: z.number().int().max(45).optional(),}),data: z.object({day: z.string().transform((val) => {// That's a hack because clickhouse return the date in UTC but in shitty format (2021-09-01 00:00:00)return new Date(`${val} GMT`).toISOString();}),- count: z.number().prefault(0),- ok: z.number().prefault(0),+ count: z.number().default(0),+ ok: z.number().default(0),}),opts: {next: {@@ -498,10 +498,10 @@ export class OSTinybird {// That's a hack because clickhouse return the date in UTC but in shitty format (2021-09-01 00:00:00)return new Date(`${val} GMT`).toISOString();}),- count: z.number().prefault(0),- ok: z.number().prefault(0),- degraded: z.number().prefault(0),- error: z.number().prefault(0),+ count: z.number().default(0),+ ok: z.number().default(0),+ degraded: z.number().default(0),+ error: z.number().default(0),monitorId: z.string(),}),opts: { next: { revalidate: REVALIDATE } },@@ -516,21 +516,21 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("http").prefault("http"),- latency: z.int(),- statusCode: z.int().nullable(),+ type: z.literal("http").default("http"),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),monitorId: z.string(),- url: z.url(),+ url: z.string().url(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),+ cronTimestamp: z.number().int(),message: z.string().nullable(),headers: headersSchema,timing: timingPhasesSchema,assertions: z.string().nullable(),body: z.string().nullable(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.string(),id: z.string().nullable(),@@ -546,22 +546,22 @@ export class OSTinybird {parameters: z.object({monitorId: z.string(),region: z.enum(monitorRegions).or(z.string()).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),}),data: z.object({- type: z.literal("http").prefault("http"),- latency: z.int(),- statusCode: z.int().nullable(),+ type: z.literal("http").default("http"),+ latency: z.number().int(),+ statusCode: z.number().int().nullable(),monitorId: z.string(),- url: z.url(),+ url: z.string().url(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),+ cronTimestamp: z.number().int(),message: z.string().nullable(),headers: headersSchema,timing: timingSchema,assertions: z.string().nullable(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.string(),}),@@ -575,21 +575,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "get_result_for_on_demand_check_http",parameters: z.object({- monitorId: z.int(),+ monitorId: z.number().int(),timestamp: z.number(),url: z.string(),}),data: z.object({- latency: z.int(), // in ms- statusCode: z.int().nullable().prefault(null),- monitorId: z.string().prefault(""),- url: z.url().optional(),+ latency: z.number().int(), // in ms+ statusCode: z.number().int().nullable().default(null),+ monitorId: z.string().default(""),+ url: z.string().url().optional(),error: z.number()- .prefault(0)+ .default(0).transform((val) => val !== 0),region: z.enum(monitorRegions),- timestamp: z.int().optional(),+ timestamp: z.number().int().optional(),message: z.string().nullable().optional(),timing: timingSchema,// TODO: make sure to include all data!@@ -606,13 +606,13 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),- latency: z.int(),+ type: z.literal("tcp").default("tcp"),+ latency: z.number().int(),monitorId: z.coerce.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.coerce.string(),}),@@ -625,18 +625,18 @@ export class OSTinybird {pipe: "endpoint__tcp_list_1d__v1",parameters: z.object({monitorId: z.string(),- fromDate: z.int().optional(),- toDate: z.int().optional(),+ fromDate: z.number().int().optional(),+ toDate: z.number().int().optional(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),+ type: z.literal("tcp").default("tcp"),id: z.string().nullable(),- latency: z.int(),+ latency: z.number().int(),monitorId: z.coerce.string(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),}),opts: { next: { revalidate: REVALIDATE } },@@ -650,13 +650,13 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),- latency: z.int(),+ type: z.literal("tcp").default("tcp"),+ latency: z.number().int(),monitorId: z.coerce.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.coerce.string(),}),@@ -669,18 +669,18 @@ export class OSTinybird {pipe: "endpoint__tcp_list_7d__v1",parameters: z.object({monitorId: z.string(),- fromDate: z.int().optional(),- toDate: z.int().optional(),+ fromDate: z.number().int().optional(),+ toDate: z.number().int().optional(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),+ type: z.literal("tcp").default("tcp"),id: z.string().nullable(),- latency: z.int(),+ latency: z.number().int(),monitorId: z.coerce.string(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),}),opts: { next: { revalidate: REVALIDATE } },@@ -694,13 +694,13 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),- latency: z.int(),+ type: z.literal("tcp").default("tcp"),+ latency: z.number().int(),monitorId: z.coerce.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.coerce.string(),}),@@ -713,18 +713,18 @@ export class OSTinybird {pipe: "endpoint__tcp_list_14d__v1",parameters: z.object({monitorId: z.string(),- fromDate: z.int().optional(),- toDate: z.int().optional(),+ fromDate: z.number().int().optional(),+ toDate: z.number().int().optional(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),+ type: z.literal("tcp").default("tcp"),id: z.string().nullable(),- latency: z.int(),+ latency: z.number().int(),monitorId: z.coerce.string(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),}),opts: { next: { revalidate: REVALIDATE } },@@ -736,18 +736,18 @@ export class OSTinybird {pipe: "endpoint__tcp_metrics_1d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int(),- ok: z.int(),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int(),+ ok: z.number().int(),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -757,21 +757,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__tcp_metrics_1d__v1",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -781,19 +781,19 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__tcp_metrics_7d__v0",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int(),- ok: z.int(),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int(),+ ok: z.number().int(),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -803,21 +803,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__tcp_metrics_7d__v1",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -828,18 +828,18 @@ export class OSTinybird {pipe: "endpoint__tcp_metrics_14d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int(),- ok: z.int(),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int(),+ ok: z.number().int(),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -849,21 +849,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__tcp_metrics_14d__v1",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -874,17 +874,17 @@ export class OSTinybird {pipe: "endpoint__tcp_metrics_by_interval_1d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -895,17 +895,17 @@ export class OSTinybird {pipe: "endpoint__tcp_metrics_by_interval_7d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -916,17 +916,17 @@ export class OSTinybird {pipe: "endpoint__tcp_metrics_by_interval_14d__v0",parameters: z.object({regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),monitorId: z.string(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -941,13 +941,13 @@ export class OSTinybird {}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- count: z.int(),- ok: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ count: z.number().int(),+ ok: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -962,13 +962,13 @@ export class OSTinybird {}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- count: z.int(),- ok: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ count: z.number().int(),+ ok: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -983,13 +983,13 @@ export class OSTinybird {}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- count: z.int(),- ok: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ count: z.number().int(),+ ok: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1006,8 +1006,8 @@ export class OSTinybird {// That's a hack because clickhouse return the date in UTC but in shitty format (2021-09-01 00:00:00)return new Date(`${val} GMT`).toISOString();}),- count: z.number().prefault(0),- ok: z.number().prefault(0),+ count: z.number().default(0),+ ok: z.number().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1018,15 +1018,15 @@ export class OSTinybird {pipe: "endpoint__tcp_status_45d__v0",parameters: z.object({monitorId: z.string(),- days: z.int().max(45).optional(),+ days: z.number().int().max(45).optional(),}),data: z.object({day: z.string().transform((val) => {// That's a hack because clickhouse return the date in UTC but in shitty format (2021-09-01 00:00:00)return new Date(`${val} GMT`).toISOString();}),- count: z.number().prefault(0),- ok: z.number().prefault(0),+ count: z.number().default(0),+ ok: z.number().default(0),}),opts: {next: {@@ -1041,17 +1041,17 @@ export class OSTinybird {pipe: "endpoint__tcp_status_45d__v1",parameters: z.object({monitorIds: z.string().array(),- days: z.int().max(45).optional(),+ days: z.number().int().max(45).optional(),}),data: z.object({day: z.string().transform((val) => {// That's a hack because clickhouse return the date in UTC but in shitty format (2021-09-01 00:00:00)return new Date(`${val} GMT`).toISOString();}),- count: z.number().prefault(0),- ok: z.number().prefault(0),- degraded: z.number().prefault(0),- error: z.number().prefault(0),+ count: z.number().default(0),+ ok: z.number().default(0),+ degraded: z.number().default(0),+ error: z.number().default(0),monitorId: z.coerce.string(),}),opts: { next: { revalidate: REVALIDATE } },@@ -1068,7 +1068,7 @@ export class OSTinybird {day: z.string().transform((val) => new Date(`${val} GMT`).toISOString()),- count: z.int(),+ count: z.number().int(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1084,7 +1084,7 @@ export class OSTinybird {day: z.string().transform((val) => new Date(`${val} GMT`).toISOString()),- count: z.int(),+ count: z.number().int(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1098,15 +1098,15 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),+ type: z.literal("tcp").default("tcp"),id: z.string().nullable(),uri: z.string(),- latency: z.int(),+ latency: z.number().int(),monitorId: z.coerce.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),errorMessage: z.string().nullable(),@@ -1122,16 +1122,16 @@ export class OSTinybird {parameters: z.object({monitorId: z.string(),region: z.enum(monitorRegions).or(z.string()).optional(),- cronTimestamp: z.int().optional(),+ cronTimestamp: z.number().int().optional(),}),data: z.object({- type: z.literal("tcp").prefault("tcp"),- latency: z.int(),+ type: z.literal("tcp").default("tcp"),+ latency: z.number().int(),monitorId: z.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),workspaceId: z.string(),}),@@ -1149,18 +1149,18 @@ export class OSTinybird {pipe: "endpoint__http_metrics_regions_1d__v0",parameters: z.object({monitorId: z.string(),- interval: z.int().optional(),+ interval: z.number().int().optional(),// Comma-separated list of regions, e.g. "ams,fra". Keeping string to pass directly.regions: z.string().array().optional(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1171,17 +1171,17 @@ export class OSTinybird {pipe: "endpoint__http_metrics_regions_7d__v0",parameters: z.object({monitorId: z.string(),- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.string().array().optional(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1192,17 +1192,17 @@ export class OSTinybird {pipe: "endpoint__http_metrics_regions_14d__v0",parameters: z.object({monitorId: z.string(),- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.string().array().optional(),}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1216,13 +1216,13 @@ export class OSTinybird {fromDate: z.string().optional(),toDate: z.string().optional(),regions: z.enum(monitorRegions).or(z.string()).array().optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),}),data: z.object({interval: z.coerce.date(),- success: z.int(),- degraded: z.int(),- error: z.int(),+ success: z.number().int(),+ degraded: z.number().int(),+ error: z.number().int(),}),});}@@ -1235,13 +1235,13 @@ export class OSTinybird {fromDate: z.string().optional(),toDate: z.string().optional(),regions: z.enum(monitorRegions).or(z.string()).array().optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),}),data: z.object({interval: z.coerce.date(),- success: z.int(),- degraded: z.int(),- error: z.int(),+ success: z.number().int(),+ degraded: z.number().int(),+ error: z.number().int(),}),});}@@ -1254,13 +1254,13 @@ export class OSTinybird {fromDate: z.string().optional(),toDate: z.string().optional(),regions: z.enum(monitorRegions).or(z.string()).array().optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),}),data: z.object({interval: z.coerce.date(),- success: z.int(),- degraded: z.int(),- error: z.int(),+ success: z.number().int(),+ degraded: z.number().int(),+ error: z.number().int(),}),});}@@ -1273,13 +1273,13 @@ export class OSTinybird {fromDate: z.string().optional(),toDate: z.string().optional(),regions: z.enum(monitorRegions).or(z.string()).array().optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),}),data: z.object({interval: z.coerce.date(),- success: z.int(),- degraded: z.int(),- error: z.int(),+ success: z.number().int(),+ degraded: z.number().int(),+ error: z.number().int(),}),});}@@ -1289,7 +1289,7 @@ export class OSTinybird {pipe: "endpoint__audit_log__v1",parameters: z.object({monitorId: z.string(),- interval: z.int().prefault(30), // in days+ interval: z.number().int().default(30), // in days}),data: z.object({action: z.string(),@@ -1302,7 +1302,7 @@ export class OSTinybird {return {};}}),- timestamp: z.int(),+ timestamp: z.number().int(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1315,15 +1315,15 @@ export class OSTinybird {monitorIds: z.string().array(),}),data: z.object({- minLatency: z.int(),- maxLatency: z.int(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),- lastTimestamp: z.int(),- count: z.int(),+ minLatency: z.number().int(),+ maxLatency: z.number().int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),+ lastTimestamp: z.number().int(),+ count: z.number().int(),monitorId: z.string(),}),opts: { next: { revalidate: REVALIDATE } },@@ -1337,15 +1337,15 @@ export class OSTinybird {monitorIds: z.string().array(),}),data: z.object({- minLatency: z.int(),- maxLatency: z.int(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),- lastTimestamp: z.int(),- count: z.int(),+ minLatency: z.number().int(),+ maxLatency: z.number().int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),+ lastTimestamp: z.number().int(),+ count: z.number().int(),monitorId: z.coerce.string(),}),opts: { next: { revalidate: REVALIDATE } },@@ -1357,36 +1357,36 @@ export class OSTinybird {pipe: "endpoint__http_timing_phases_14d__v1",parameters: z.object({monitorId: z.string(),- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),}),data: z.object({- timestamp: z.int(),- p50Dns: z.int(),- p50Ttfb: z.int(),- p50Transfer: z.int(),- p50Connect: z.int(),- p50Tls: z.int(),- p75Dns: z.int(),- p75Ttfb: z.int(),- p75Transfer: z.int(),- p75Connect: z.int(),- p75Tls: z.int(),- p90Dns: z.int(),- p90Ttfb: z.int(),- p90Transfer: z.int(),- p90Connect: z.int(),- p90Tls: z.int(),- p95Dns: z.int(),- p95Ttfb: z.int(),- p95Transfer: z.int(),- p95Connect: z.int(),- p95Tls: z.int(),- p99Dns: z.int(),- p99Ttfb: z.int(),- p99Transfer: z.int(),- p99Connect: z.int(),- p99Tls: z.int(),+ timestamp: z.number().int(),+ p50Dns: z.number().int(),+ p50Ttfb: z.number().int(),+ p50Transfer: z.number().int(),+ p50Connect: z.number().int(),+ p50Tls: z.number().int(),+ p75Dns: z.number().int(),+ p75Ttfb: z.number().int(),+ p75Transfer: z.number().int(),+ p75Connect: z.number().int(),+ p75Tls: z.number().int(),+ p90Dns: z.number().int(),+ p90Ttfb: z.number().int(),+ p90Transfer: z.number().int(),+ p90Connect: z.number().int(),+ p90Tls: z.number().int(),+ p95Dns: z.number().int(),+ p95Ttfb: z.number().int(),+ p95Transfer: z.number().int(),+ p95Connect: z.number().int(),+ p95Tls: z.number().int(),+ p99Dns: z.number().int(),+ p99Ttfb: z.number().int(),+ p99Transfer: z.number().int(),+ p99Connect: z.number().int(),+ p99Tls: z.number().int(),}),});}@@ -1400,12 +1400,12 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ timestamp: z.number().int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),});}@@ -1419,12 +1419,12 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ timestamp: z.number().int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),});}@@ -1438,13 +1438,13 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),+ timestamp: z.number().int(),monitorId: z.string(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1460,12 +1460,12 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ timestamp: z.number().int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),});}@@ -1479,12 +1479,12 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ timestamp: z.number().int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),});}@@ -1498,13 +1498,13 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),+ timestamp: z.number().int(),monitorId: z.coerce.string(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1518,15 +1518,15 @@ export class OSTinybird {monitorId: z.string(),}),data: z.object({- type: z.literal("dns").prefault("dns"),+ type: z.literal("dns").default("dns"),id: z.coerce.string().nullable(),uri: z.string(),- latency: z.int(),+ latency: z.number().int(),monitorId: z.coerce.string(),error: z.coerce.boolean(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),errorMessage: z.string().nullable(),@@ -1553,19 +1553,19 @@ export class OSTinybird {pipe: "endpoint__dns_list_14d__v0",parameters: z.object({monitorId: z.string(),- fromDate: z.int().optional(),- toDate: z.int().optional(),+ fromDate: z.number().int().optional(),+ toDate: z.number().int().optional(),}),data: z.object({- type: z.literal("dns").prefault("dns"),+ type: z.literal("dns").default("dns"),id: z.coerce.string().nullable(),uri: z.string(),- latency: z.int(),+ latency: z.number().int(),monitorId: z.coerce.string(),requestStatus: z.enum(["error", "success", "degraded"]).nullable(),region: z.enum(monitorRegions).or(z.string()),- cronTimestamp: z.int(),- trigger: z.enum(triggers).nullable().prefault("cron"),+ cronTimestamp: z.number().int(),+ trigger: z.enum(triggers).nullable().default("cron"),timestamp: z.number(),records: z.string()@@ -1587,21 +1587,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__dns_metrics_1d__v0",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1611,21 +1611,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__dns_metrics_7d__v0",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1635,21 +1635,21 @@ export class OSTinybird {return this.tb.buildPipe({pipe: "endpoint__dns_metrics_14d__v0",parameters: z.object({- interval: z.int().optional(),+ interval: z.number().int().optional(),regions: z.array(z.enum(monitorRegions).or(z.string())).optional(),monitorId: z.string(),}),data: z.object({- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),- count: z.int().prefault(0),- success: z.int().prefault(0),- degraded: z.int().prefault(0),- error: z.int().prefault(0),- lastTimestamp: z.int().nullable(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),+ count: z.number().int().default(0),+ success: z.number().int().default(0),+ degraded: z.number().int().default(0),+ error: z.number().int().default(0),+ lastTimestamp: z.number().int().nullable(),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1663,13 +1663,13 @@ export class OSTinybird {fromDate: z.string().optional(),toDate: z.string().optional(),regions: z.enum(monitorRegions).or(z.string()).array().optional(),- interval: z.int().optional(),+ interval: z.number().int().optional(),}),data: z.object({interval: z.coerce.date(),- success: z.int(),- degraded: z.int(),- error: z.int(),+ success: z.number().int(),+ degraded: z.number().int(),+ error: z.number().int(),}),});}@@ -1683,12 +1683,12 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ timestamp: z.number().int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),});}@@ -1698,7 +1698,7 @@ export class OSTinybird {pipe: "endpoint__dns_metrics_regions_14d__v0",parameters: z.object({monitorId: z.string(),- interval: z.int().optional(),+ interval: z.number().int().optional(),// Comma-separated list of regions, e.g. "ams,fra". Keeping string to pass directly.regions: z.string().array().optional(),fromDate: z.string().optional(),@@ -1706,12 +1706,12 @@ export class OSTinybird {}),data: z.object({region: z.enum(monitorRegions).or(z.string()),- timestamp: z.int(),- p50Latency: z.number().nullable().prefault(0),- p75Latency: z.number().nullable().prefault(0),- p90Latency: z.number().nullable().prefault(0),- p95Latency: z.number().nullable().prefault(0),- p99Latency: z.number().nullable().prefault(0),+ timestamp: z.number().int(),+ p50Latency: z.number().nullable().default(0),+ p75Latency: z.number().nullable().default(0),+ p90Latency: z.number().nullable().default(0),+ p95Latency: z.number().nullable().default(0),+ p99Latency: z.number().nullable().default(0),}),opts: { next: { revalidate: REVALIDATE } },});@@ -1728,10 +1728,10 @@ export class OSTinybird {// That's a hack because clickhouse return the date in UTC but in shitty format (2021-09-01 00:00:00)return new Date(`${val} GMT`).toISOString();}),- count: z.number().prefault(0),- ok: z.number().prefault(0),- degraded: z.number().prefault(0),- error: z.number().prefault(0),+ count: z.number().default(0),+ ok: z.number().default(0),+ degraded: z.number().default(0),+ error: z.number().default(0),monitorId: z.coerce.string(),}),opts: { next: { revalidate: REVALIDATE } },@@ -1747,13 +1747,13 @@ export class OSTinybird {toDate: z.string().optional(),}),data: z.object({- timestamp: z.int(),+ timestamp: z.number().int(),monitorId: z.coerce.string(),- p50Latency: z.int(),- p75Latency: z.int(),- p90Latency: z.int(),- p95Latency: z.int(),- p99Latency: z.int(),+ p50Latency: z.number().int(),+ p75Latency: z.number().int(),+ p90Latency: z.number().int(),+ p95Latency: z.number().int(),+ p99Latency: z.number().int(),}),opts: { next: { revalidate: REVALIDATE } },});diff --git a/packages/tracker/package.json b/packages/tracker/package.jsonindex 420fc85b4..b8872ea3a 100644--- a/packages/tracker/package.json+++ b/packages/tracker/package.json@@ -7,7 +7,7 @@"dependencies": {"@openstatus/db": "workspace:*","@openstatus/tinybird": "workspace:*",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex c68ad61a6..9991a09fd 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -22,7 +22,7 @@"@dnd-kit/modifiers": "9.0.0","@dnd-kit/sortable": "10.0.0","@dnd-kit/utilities": "3.2.2",- "@hookform/resolvers": "5.1.0",+ "@hookform/resolvers": "4.1.3","@radix-ui/react-accordion": "1.2.2","@radix-ui/react-alert-dialog": "1.1.4","@radix-ui/react-avatar": "1.1.2",@@ -58,7 +58,7 @@"recharts": "2.15.0","tailwind-merge": "2.5.5","tailwindcss-animate": "1.0.7",- "zod": "4.1.13"+ "zod": "3.25.76"},"peerDependencies": {"next-themes": "0.2.1",diff --git a/packages/utils/index.ts b/packages/utils/index.tsindex 67d8d6214..8350a591d 100644--- a/packages/utils/index.ts+++ b/packages/utils/index.ts@@ -13,17 +13,17 @@ export const httpPayloadSchema = z.object({cronTimestamp: z.number(),status: z.enum(monitorStatus),assertions: z.array(base).nullable(),- timeout: z.number().prefault(45000),+ timeout: z.number().default(45000),degradedAfter: z.number().nullable(),- trigger: z.enum(["cron", "api"]).optional().nullable().prefault("cron"),+ trigger: z.enum(["cron", "api"]).optional().nullable().default("cron"),otelConfig: z.object({endpoint: z.string(),- headers: z.record(z.string(), z.string()),+ headers: z.record(z.string()),}).optional(),- retry: z.number().prefault(3),- followRedirects: z.boolean().prefault(true),+ retry: z.number().default(3),+ followRedirects: z.boolean().default(true),});export type HttpPayload = z.infer<typeof httpPayloadSchema>;@@ -35,16 +35,16 @@ export const tpcPayloadSchema = z.object({monitorId: z.string(),assertions: z.array(base).nullable(),cronTimestamp: z.number(),- timeout: z.number().prefault(45000),+ timeout: z.number().default(45000),degradedAfter: z.number().nullable(),- trigger: z.enum(["cron", "api"]).optional().nullable().prefault("cron"),+ trigger: z.enum(["cron", "api"]).optional().nullable().default("cron"),otelConfig: z.object({endpoint: z.string(),- headers: z.record(z.string(), z.string()),+ headers: z.record(z.string()),}).optional(),- retry: z.number().prefault(3),+ retry: z.number().default(3),});export type TcpPayload = z.infer<typeof tpcPayloadSchema>;@@ -56,16 +56,16 @@ export const DNSPayloadSchema = z.object({monitorId: z.string(),assertions: z.array(base).nullable(),cronTimestamp: z.number(),- timeout: z.number().prefault(45000),+ timeout: z.number().default(45000),degradedAfter: z.number().nullable(),- trigger: z.enum(["cron", "api"]).optional().nullable().prefault("cron"),+ trigger: z.enum(["cron", "api"]).optional().nullable().default("cron"),otelConfig: z.object({endpoint: z.string(),- headers: z.record(z.string(), z.string()),+ headers: z.record(z.string()),}).optional(),- retry: z.number().prefault(3),+ retry: z.number().default(3),});export type DNSPayload = z.infer<typeof DNSPayloadSchema>;diff --git a/packages/utils/package.json b/packages/utils/package.jsonindex 706bf9205..19bea00d5 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -8,7 +8,7 @@"@openstatus/assertions": "workspace:*","@openstatus/db": "workspace:*","@openstatus/regions": "workspace:*",- "zod": "4.1.13"+ "zod": "3.25.76"},"devDependencies": {"@openstatus/tsconfig": "workspace:*",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 4c6a59b07..b529da302 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -69,14 +69,14 @@ importers:specifier: 4.4.0'@hookform/resolvers':- specifier: 5.1.0- version: 5.1.0([email protected]([email protected]))+ specifier: 4.1.3+ version: 4.1.3([email protected]([email protected]))'@libsql/client':specifier: 0.15.15version: 0.15.15'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -211,7 +211,7 @@ importers:version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: 10.31.0- version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/stripe-js':specifier: 2.1.6version: 2.1.6@@ -226,7 +226,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -265,7 +265,7 @@ importers:nuqs:specifier: 2.8.5- version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.8.5([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])random-word-slugs:specifier: 0.1.7version: 0.1.7@@ -312,8 +312,8 @@ importers:specifier: 11.0.5version: 11.0.5zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@tailwindcss/postcss':specifier: 4.1.11@@ -414,7 +414,7 @@ importers:version: 3.550.0'@hono/zod-validator':specifier: 0.2.2- version: 0.2.2([email protected])([email protected])+ version: 0.2.2([email protected])([email protected])'@openstatus/db':specifier: workspace:*version: link:../../packages/db@@ -423,7 +423,7 @@ importers:version: link:../../packages/utils'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])'@upstash/qstash':specifier: 2.6.2version: 2.6.2@@ -434,8 +434,8 @@ importers:specifier: 1.46.0version: 1.46.0zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -450,11 +450,11 @@ importers:specifier: 1.2.2version: 1.2.2([email protected])'@hono/zod-openapi':- specifier: 1.1.5- version: 1.1.5([email protected])([email protected])+ specifier: 0.15.1+ version: 0.15.1([email protected])([email protected])'@hono/zod-validator':specifier: 0.2.2- version: 0.2.2([email protected])([email protected])+ version: 0.2.2([email protected])([email protected])'@logtape/logtape':specifier: 1.1.2version: 1.1.2@@ -496,7 +496,7 @@ importers:version: 0.8.5([email protected])'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])'@unkey/api':specifier: 2.2.0version: 2.2.0@@ -516,8 +516,8 @@ importers:specifier: 13.12.0version: 13.12.0zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -556,14 +556,14 @@ importers:specifier: 4.4.0'@hookform/resolvers':- specifier: 5.1.0- version: 5.1.0([email protected]([email protected]))+ specifier: 4.1.3+ version: 4.1.3([email protected]([email protected]))'@libsql/client':specifier: 0.15.15version: 0.15.15'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -653,7 +653,7 @@ importers:version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: 10.31.0- version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/stripe-js':specifier: 2.1.6version: 2.1.6@@ -668,7 +668,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -704,13 +704,13 @@ importers:version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])next-plausible:specifier: 3.12.5- version: 3.12.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 3.12.5([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])next-themes:specifier: 0.4.6nuqs:specifier: 2.8.5- version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.8.5([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])react:specifier: 19.2.2version: 19.2.2@@ -751,8 +751,8 @@ importers:specifier: 11.0.5version: 11.0.5zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -800,14 +800,14 @@ importers:specifier: 4.0.1version: 4.0.1'@hookform/resolvers':- specifier: 5.1.0- version: 5.1.0([email protected]([email protected]))+ specifier: 4.1.3+ version: 4.1.3([email protected]([email protected]))'@libsql/client':specifier: 0.15.15version: 0.15.15'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -882,13 +882,13 @@ importers:version: 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: 10.31.0- version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/stripe-js':specifier: 2.1.6version: 2.1.6'@t3-oss/env-nextjs':specifier: 0.7.0- version: 0.7.0([email protected])([email protected])+ version: 0.7.0([email protected])([email protected])'@tailwindcss/container-queries':specifier: 0.1.1version: 0.1.1([email protected])@@ -909,7 +909,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -963,13 +963,13 @@ importers:version: 5.0.0(@types/[email protected])([email protected])next-plausible:specifier: 3.12.5- version: 3.12.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 3.12.5([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])next-themes:specifier: 0.4.6nuqs:specifier: 2.8.5- version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.8.5([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])random-word-slugs:specifier: 0.1.7version: 0.1.7@@ -1031,8 +1031,8 @@ importers:specifier: 1.0.7version: 1.0.7([email protected])zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1155,8 +1155,8 @@ importers:specifier: ^3.0.0version: 3.0.0zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1175,10 +1175,10 @@ importers:version: 1.0.0'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1230,7 +1230,7 @@ importers:version: link:../utils'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])'@trpc/client':specifier: 11.4.4@@ -1265,8 +1265,8 @@ importers:specifier: 2.2.2version: 2.2.2zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1297,8 +1297,8 @@ importers:specifier: 5.9.3version: 5.9.3zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76packages/db:dependencies:@@ -1316,16 +1316,16 @@ importers:version: link:../theme-store'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])drizzle-orm:specifier: 0.44.4version: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])drizzle-zod:- specifier: 0.8.3- version: 0.8.3([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])+ specifier: 0.5.1+ version: 0.5.1([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected])zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1365,7 +1365,7 @@ importers:version: 2.0.1(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))(@react-email/[email protected]([email protected]))([email protected])'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])react-email:specifier: 5.0.8version: 5.0.8@@ -1373,8 +1373,8 @@ importers:specifier: 6.6.0version: 6.6.0(@react-email/[email protected]([email protected]([email protected]))([email protected]))zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1398,8 +1398,8 @@ importers:packages/error:dependencies:zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1445,8 +1445,8 @@ importers:specifier: workspace:*version: link:../../dbzod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1486,7 +1486,7 @@ importers:'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])react-dom:specifier: 19.2.2version: 19.2.2([email protected])@@ -1494,8 +1494,8 @@ importers:specifier: 6.6.0version: 6.6.0(@react-email/[email protected]([email protected]([email protected]))([email protected]))zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1541,8 +1541,8 @@ importers:specifier: workspace:*version: link:../../dbzod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1564,7 +1564,7 @@ importers:version: link:../../db'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])'@types/validator':specifier: 13.12.0version: 13.12.0@@ -1572,8 +1572,8 @@ importers:specifier: 13.12.0version: 13.12.0zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1601,7 +1601,7 @@ importers:version: link:../../db'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])'@types/validator':specifier: 13.12.0version: 13.12.0@@ -1609,8 +1609,8 @@ importers:specifier: 13.12.0version: 13.12.0zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1637,8 +1637,8 @@ importers:specifier: workspace:*version: link:../../dbzod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1682,13 +1682,13 @@ importers:version: link:../../db'@t3-oss/env-core':specifier: 0.7.1- version: 0.7.1([email protected])([email protected])+ version: 0.7.1([email protected])([email protected])validator:specifier: 13.12.0version: 13.12.0zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1746,8 +1746,8 @@ importers:specifier: workspace:*version: link:../../utilszod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1799,8 +1799,8 @@ importers:packages/regions:dependencies:zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1821,11 +1821,11 @@ importers:packages/tinybird:dependencies:'@chronark/zod-bird':- specifier: 1.0.0- version: 1.0.0([email protected])+ specifier: 0.3.6+ version: 0.3.6zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1849,8 +1849,8 @@ importers:specifier: workspace:*version: link:../tinybirdzod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -1876,8 +1876,8 @@ importers:specifier: 3.2.2version: 3.2.2([email protected])'@hookform/resolvers':- specifier: 5.1.0- version: 5.1.0([email protected]([email protected]))+ specifier: 4.1.3+ version: 4.1.3([email protected]([email protected]))'@radix-ui/react-accordion':specifier: 1.2.2version: 1.2.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -1990,8 +1990,8 @@ importers:specifier: 1.0.7version: 1.0.7([email protected])zod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@biomejs/biome':specifier: 1.9.4@@ -2058,8 +2058,8 @@ importers:specifier: workspace:*version: link:../regionszod:- specifier: 4.1.13- version: 4.1.13+ specifier: 3.25.76+ version: 3.25.76devDependencies:'@openstatus/tsconfig':specifier: workspace:*@@ -2094,10 +2094,10 @@ packages:'@apm-js-collab/[email protected]':resolution: {integrity: sha512-Vu1CbmPURlN5fTboVuKMoJjbO5qcq9fA5YXpskx3dXe/zTBvjODFoerw+69rVBlRLrJpwPqSDqEuJDEKIrTldw==}- '@asteasolutions/[email protected]':- resolution: {integrity: sha512-u05zNUirlukJAf9oEHmxSF31L1XQhz9XdpVILt7+xhrz65oQqBpiOWFkGvRWL0IpjOUJ878idKoNmYPxrFnkeg==}+ '@asteasolutions/[email protected]':+ resolution: {integrity: sha512-/2rThQ5zPi9OzVwes6U7lK1+Yvug0iXu25olp7S0XsYmOqnyMfxH7gdSQjn/+DSOHRg7wnotwGJSyL+fBKdnEA==}peerDependencies:- zod: ^4.0.0+ zod: ^3.20.2'@astro-community/[email protected]':resolution: {integrity: sha512-bTIP/2LB3iEzlZ58L7dFyLJuWLeFDXgzZUQZKlWIfsXiKYqKIfLTQ01U10sh9UiHpm1M+4kOVPpue5LbUpJXHw==}@@ -2656,10 +2656,8 @@ packages:'@capsizecss/[email protected]':resolution: {integrity: sha512-GrSU71meACqcmIUxPYOJvGKF0yryjN/L1aCuE9DViCTJI7bfkjgYDPD1zbNDcINJwSSP6UaBZY9GAbYDO7re0Q==}- '@chronark/[email protected]':- resolution: {integrity: sha512-OWdZt5EULFgDaHTbkxkxN130ohapRxSMaYdaW/fZTcQP3z1c4cYk4izJwbbTPOP4GdQeys18Prls0xz4NpFV0A==}- peerDependencies:- zod: ^4.0.0+ '@chronark/[email protected]':+ resolution: {integrity: sha512-hE8kCGLJK5ncH8F7uPaqPiOOqo68vUI66nusg7HO5X9BcyN8lXfeQliu6Ou1kOSq95OYshf9nB2fk2+LEvF4ng==}'@cspotcode/[email protected]':resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}@@ -3144,12 +3142,12 @@ packages:peerDependencies:hono: '>=3.*'- '@hono/[email protected]':- resolution: {integrity: sha512-EAnY6ad4yt/MUKHx716BEGGOXSl5d0/FOLozOYB/pmSEFq07qrzefKFtBEMAgd3hlpJXjH+4lwgTtlAo+BGBgQ==}+ '@hono/[email protected]':+ resolution: {integrity: sha512-2Un3D5xD1j4tIvUwzQ/XkB6xwrEA0Ne23TRjB8UVw0PgUWzsB3xiB8Hl/y2ZEMfcIfrA15/ga4P6Bkct8uYaLg==}engines: {node: '>=16.0.0'}peerDependencies:hono: '>=4.3.6'- zod: ^4.0.0+ zod: 3.*'@hono/[email protected]':resolution: {integrity: sha512-dSDxaPV70Py8wuIU2QNpoVEIOSzSXZ/6/B/h4xA7eOMz7+AarKTSGV8E6QwrdcCbBLkpqfJ4Q2TmBO0eP1tCBQ==}@@ -3157,22 +3155,16 @@ packages:hono: '>=3.9.0'zod: ^3.19.1- '@hono/[email protected]':- resolution: {integrity: sha512-Io1B6d011Gj1KknV4rXYz4le5+5EubcWEU/speUjuw9XMMIaP3n78yXLhjd2A3PXaXaUwEAluOiAyLqhBEJgsw==}- peerDependencies:- hono: '>=3.9.0'- zod: ^3.25.0 || ^4.0.0-'@hookform/[email protected]':resolution: {integrity: sha512-Mtlic+uigoYBPXlfvPBfiYYUZuyMrD3pTjDpVIhL6eCZTvQkHsKBSKeZCvXWUZr8fqrkzDg27N+ZuazLKq6Vmg==}peerDependencies:react: ^16.8.0 || ^17 || ^18 || ^19react-dom: ^16.8.0 || ^17 || ^18 || ^19- '@hookform/[email protected]':- resolution: {integrity: sha512-A5tY8gxqvvR0lFfropqpy/gUDOxjwT7LZCxJ8lNA9puK7nFNRl/O0egGKxzdF4JSz/pnnT1O8g76P/YMyTBEFw==}+ '@hookform/[email protected]':+ resolution: {integrity: sha512-Jsv6UOWYTrEFJ/01ZrnwVXs7KDvP8XIo115i++5PWvNkNvkrsTfGiLS6w+eJ57CYtUtDQalUWovCZDHFJ8u1VQ==}peerDependencies:- react-hook-form: ^7.55.0+ react-hook-form: ^7.0.0'@iconify-json/[email protected]':resolution: {integrity: sha512-arD/8mK0lRxFY2LgLf345NhWVWiOtV8sOxJuLnq4QRz3frMiOwVwGxEgp5Xe/bRGzxO2CxxCBok0bPRpCkYZQQ==}@@ -3602,8 +3594,8 @@ packages:resolution: {integrity: sha512-EFd6cVbHsgLa6wa4RljGj6Wk75qoHxUSyc5asLyyPSyuhIcdS2Q3Phw6ImS1q+CkALthJRShiYfKANcQMuMqsQ==}engines: {node: '>=18'}- '@napi-rs/[email protected]':- resolution: {integrity: sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==}+ '@napi-rs/[email protected]':+ resolution: {integrity: sha512-Fq6DJW+Bb5jaWE69/qOE0D1TUN9+6uWhCeZpdnSBk14pjLcCWR7Q8n49PTSPHazM37JqrsdpEthXy2xn6jWWiA==}'@neon-rs/[email protected]':resolution: {integrity: sha512-kTPhdZyTQxB+2wpiRcFWrDcejc4JI6tkPuS7UZCG4l6Zvc5kU/gGQ/ozvHTh1XR5tS+UlfAfGuPajjzQjCiHCw==}@@ -3885,103 +3877,103 @@ packages:'@oslojs/[email protected]':resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==}- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-lVJbvydLQIDZHKUb6Zs9Rq80QVTQ9xdCQE30eC9/cjg4wsMoEOg65QZPymUAIVJotpUAWJD0XYcwE7ugfxx5kQ==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-Q+lWuFfq7whNelNJIP1dhXaVz4zO9Tu77GcQHyxDWh3MaCoO2Bisphgzmsh4ZoUe2zIchQh6OvQL99GlWHg9Tw==}cpu: [arm]os: [android]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-fEk+g/g2rJ6LnBVPqeLcx+/alWZ/Db1UlXG+ZVivip0NdrnOzRL48PAmnxTMGOrLwsH1UDJkwY3wOjrrQltCqg==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-vbdBttesHR0W1oJaxgWVTboyMUuu+VnPsHXJ6jrXf4czELzB6GIg5DrmlyhAmFBhjwov+yJH/DfTnHS+2sDgOw==}cpu: [arm64]os: [android]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-Pkbp1qi7kdUX6k3Fk1PvAg6p7ruwaWKg1AhOlDgrg2vLXjtv9ZHo7IAQN6kLj0W771dPJZWqNxoqTPacp2oYWA==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-R67lsOe1UzNjqVBCwCZX1rlItTsj/cVtBw4Uy19CvTicqEWvwaTn8t34zLD75LQwDDPCY3C8n7NbD+LIdw+ZoA==}cpu: [arm64]os: [darwin]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-FYCGcU1iSoPkADGLfQbuj0HWzS+0ItjDCt9PKtu2Hzy6T0dxO4Y1enKeCOxCweOlmLEkSxUlW5UPT4wvT3LnAg==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-77mya5F8WV0EtCxI0MlVZcqkYlaQpfNwl/tZlfg4jRsoLpFbaTeWv75hFm6TE84WULVlJtSgvf7DhoWBxp9+ZQ==}cpu: [x64]os: [darwin]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-1zHCoK6fMcBjE54P2EG/z70rTjcRxvyKfvk4E/QVrWLxNahuGDFZIxoEoo4kGnnEcmPj41F0c2PkrQbqlpja5g==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-X1Sz7m5PC+6D3KWIDXMUtux+0Imj6HfHGdBStSvgdI60OravzI1t83eyn6eN0LPTrynuPrUgjk7tOnOsBzSWHw==}cpu: [x64]os: [freebsd]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-+ucLYz8EO5FDp6kZ4o1uDmhoP+M98ysqiUW4hI3NmfiOJQWLrAzQjqaTdPfIOzlCXBU9IHp5Cgxu6wPjVb8dbA==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-L1x/wCaIRre+18I4cH/lTqSAymlV0k4HqfSYNNuI9oeL28Ks86lI6O5VfYL6sxxWYgjuWB98gNGo7tq7d4GarQ==}cpu: [arm]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-qq+TpNXyw1odDgoONRpMLzH4hzhwnEw55398dL8rhKGvvYbio71WrJ00jE+hGlEi7H1Gkl11KoPJRaPlRAVGPw==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-abGXd/zMGa0tH8nKlAXdOnRy4G7jZmkU0J85kMKWns161bxIgGn/j7zxqh3DKEW98wAzzU9GofZMJ0P5YCVPVw==}cpu: [arm]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-xlMh4gNtplNQEwuF5icm69udC7un0WyzT5ywOeHrPMEsghKnLjXok2wZgAA7ocTm9+JsI+nVXIQa5XO1x+HPQg==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-SVjjjtMW66Mza76PBGJLqB0KKyFTBnxmtDXLJPbL6ZPGSctcXVmujz7/WAc0rb9m2oV0cHQTtVjnq6orQnI/jg==}cpu: [arm64]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-OZs33QTMi0xmHv/4P0+RAKXJTBk7UcMH5tpTaCytWRXls/DGaJ48jOHmriQGK2YwUqXl+oneuNyPOUO0obJ+Hg==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-JDv2/AycPF2qgzEiDeMJCcSzKNDm3KxNg0KKWipoKEMDFqfM7LxNwwSVyAOGmrYlE4l3dg290hOMsr9xG7jv9g==}cpu: [arm64]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-UVyuhaV32dJGtF6fDofOcBstg9JwB2Jfnjfb8jGlu3xcG+TsubHRhuTwQ6JZ1sColNT1nMxBiu7zdKUEZi1kwg==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-zbu9FhvBLW4KJxo7ElFvZWbSt4vP685Qc/Gyk/Ns3g2gR9qh2qWXouH8PWySy+Ko/qJ42+HJCLg+ZNcxikERfg==}cpu: [ppc64]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-YZZS0yv2q5nE1uL/Fk4Y7m9018DSEmDNSG8oJzy1TJjA1jx5HL52hEPxi98XhU6OYhSO/vC1jdkJeE8TIHugug==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-Kfleehe6B09C2qCnyIU01xLFqFXCHI4ylzkicfX/89j+gNHh9xyNdpEvit88Kq6i5tTGdavVnM6DQfOE2qNtlg==}cpu: [riscv64]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-9VYuypwtx4kt1lUcwJAH4dPmgJySh4/KxtAPdRoX2BTaZxVm/yEXHq0mnl/8SEarjzMvXKbf7Cm6UBgptm3DZw==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-J7LPiEt27Tpm8P+qURDwNc8q45+n+mWgyys4/V6r5A8v5gDentHRGUx3iVk5NxdKhgoGulrzQocPTZVosq25Eg==}cpu: [riscv64]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-3gbwQ+xlL5gpyzgSDdC8B4qIM4mZaPDLaFOi3c/GV7CqIdVJc5EZXW4V3T6xwtPBOpXPXfqQLbhTnUD4SqwJtA==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-+8/d2tAScPjVJNyqa7GPGnqleTB/XW9dZJQ2D/oIM3wpH3TG+DaFEXBbk4QFJ9K9AUGBhvQvWU2mQyhK/yYn3Q==}cpu: [s390x]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-m0WcK0j54tSwWa+hQaJMScZdWneqE7xixp/vpFqlkbhuKW9dRHykPAFvSYg1YJ3MJgu9ZzVNpYHhPKJiEQq57Q==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-xtvSzH7Nr5MCZI2FKImmOdTl9kzuQ51RPyLh451tvD2qnkg3BaqI9Ox78bTk57YJhlXPuxWSOL5aZhKAc9J6qg==}cpu: [x64]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-ZjUm3w96P2t47nWywGwj1A2mAVBI/8IoS7XHhcogWCfXnEI3M6NPIRQPYAZW4s5/u3u6w1uPtgOwffj2XIOb/g==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-14YL1zuXj06+/tqsuUZuzL0T425WA/I4nSVN1kBXeC5WHxem6lQ+2HGvG+crjeJEqHgZUT62YIgj88W+8E7eyg==}cpu: [x64]os: [linux]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-OFVQ2x3VenTp13nIl6HcQ/7dmhFmM9dg2EjKfHcOtYfrVLQdNR6THFU7GkMdmc8DdY1zLUeilHwBIsyxv5hkwQ==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-/7Qli+1Wk93coxnrQaU8ySlICYN8HsgyIrzqjgIkQEpI//9eUeaeIHZptNl2fMvBGeXa7k2QgLbRNaBRgpnvMw==}cpu: [arm64]os: [openharmony]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-+O1sY3RrGyA2AqDnd3yaDCsqZqCblSTEpY7TbbaOaw0X7iIbGjjRLdrQk9StG3QSiZuBy9FdFwotIiSXtwvbAQ==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-q5rn2eIMQLuc/AVGR2rQKb2EVlgreATGG8xXg8f4XbbYCVgpxaq+dgMbiPStyNywW1MH8VU2T09UEm30UtOQvg==}engines: {node: '>=14.0.0'}cpu: [wasm32]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-jMrMJL+fkx6xoSMFPOeyQ1ctTFjavWPOSZEKUY5PebDwQmC9cqEr4LhdTnGsOtFrWYLXlEU4xWeMdBoc/XKkOA==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-yCAh2RWjU/8wWTxQDgGPgzV9QBv0/Ojb5ej1c/58iOjyTuy/J1ZQtYi2SpULjKmwIxLJdTiCHpMilauWimE31w==}cpu: [arm64]os: [win32]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-tl0xDA5dcQplG2yg2ZhgVT578dhRFafaCfyqMEAXq8KNpor85nJ53C3PLpfxD2NKzPioFgWEexNsjqRi+kW2Mg==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-lmXKb6lvA6M6QIbtYfgjd+AryJqExZVSY2bfECC18OPu7Lv1mHFF171Mai5l9hG3r4IhHPPIwT10EHoilSCYeA==}cpu: [ia32]os: [win32]- '@oxc-resolver/[email protected]':- resolution: {integrity: sha512-M7z0xjYQq1HdJk2DxTSLMvRMyBSI4wn4FXGcVQBsbAihgXevAReqwMdb593nmCK/OiFwSNcOaGIzUvzyzQ+95w==}+ '@oxc-resolver/[email protected]':+ resolution: {integrity: sha512-HZsfne0s/tGOcJK9ZdTGxsNU2P/dH0Shf0jqrPvsC6wX0Wk+6AyhSpHFLQCnLOuFQiHHU0ePfM8iYsoJb5hHpQ==}cpu: [x64]os: [win32]@@ -7576,11 +7568,11 @@ packages:sqlite3:optional: true- resolution: {integrity: sha512-66yVOuvGhKJnTdiqj1/Xaaz9/qzOdRJADpDa68enqS6g3t0kpNkwNYjUuaeXgZfO/UWuIM9HIhSlJ6C5ZraMww==}+ resolution: {integrity: sha512-C/8bvzUH/zSnVfwdSibOgFjLhtDtbKYmkbPbUCq46QZyZCH6kODIMSOgZ8R7rVjoI+tCj3k06MRJMDqsIeoS4A==}peerDependencies:- drizzle-orm: '>=0.36.0'- zod: ^3.25.0 || ^4.0.0+ drizzle-orm: '>=0.23.13'+ zod: '*'resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==}@@ -8264,8 +8256,8 @@ packages:resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}engines: {node: '>=6'}- resolution: {integrity: sha512-bruMpJ7xz+9jwGzrwEhWgvRrlKRYCRDBrfU+ur3FcasYXLJDxTruJ//8g2Noj+QFyRBeqbpj8Bhn4Fbw6HjvhA==}+ resolution: {integrity: sha512-yNZhyQYqXpkT0AKq3F3KLasUSK4fHvebNH5hOsKQw2dhGSALvQ4U0BqUc5suziKvydO5u5hgN2hy1RJaho8U5A==}resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==}@@ -9323,8 +9315,8 @@ packages:resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==}- resolution: {integrity: sha512-Uy76u47vwhhF7VAmVY61Srn+ouiOobf45MU9vGct9GD2ARy6hKoqEElyHDB0L+4JOM6VLuZ431KiLwyjI/A21g==}+ resolution: {integrity: sha512-Hk2J8QMYwmIO9XTCUiOH00+Xk2/+aBxRUnhrSlANDyCnLYc32R1WSIq1sU2yEdlqd53FfMpPEpnBYIKQMzliJw==}resolution: {integrity: sha512-XqVS+LQi7ARsFlIftB69+jGN2qQaJNBjQU2b9ZQYt+iaUV9digh+dBIsU0isQIZhaQ1ihxGFfsTYQXE/Oak8Qw==}@@ -11313,8 +11305,8 @@ packages:resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}- resolution: {integrity: sha512-AvvthqfqrAhNH9dnfmrfKzX5upOdjUVJYFqNSlkmGf64gRaTzlPwz99IHYnVs28qYAybvAlBV+H7pn0saFY4Ig==}+ resolution: {integrity: sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw==}resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}@@ -11347,10 +11339,10 @@ snapshots:transitivePeerDependencies:- supports-color- '@asteasolutions/[email protected]([email protected])':+ '@asteasolutions/[email protected]([email protected])':dependencies:openapi3-ts: 4.5.0- zod: 4.1.13+ zod: 3.25.76'@astro-community/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:@@ -12378,9 +12370,9 @@ snapshots:transitivePeerDependencies:- encoding- '@chronark/[email protected]([email protected])':+ '@chronark/[email protected]':dependencies:- zod: 4.1.13+ zod: 3.25.76'@cspotcode/[email protected]':dependencies:@@ -12779,23 +12771,17 @@ snapshots:hono: 4.5.3toucan-js: 4.1.1- dependencies:- '@asteasolutions/zod-to-openapi': 8.2.0([email protected])- '@hono/zod-validator': 0.7.6([email protected])([email protected])- hono: 4.5.3- openapi3-ts: 4.5.0- zod: 4.1.13-dependencies:+ '@asteasolutions/zod-to-openapi': 7.3.4([email protected])+ '@hono/zod-validator': 0.2.2([email protected])([email protected])hono: 4.5.3- zod: 4.1.13+ zod: 3.25.76dependencies:hono: 4.5.3- zod: 4.1.13+ zod: 3.25.76'@hookform/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:@@ -12813,7 +12799,7 @@ snapshots:- '@types/react'- supports-colordependencies:'@standard-schema/utils': 0.3.0react-hook-form: 7.68.0([email protected])@@ -13226,7 +13212,7 @@ snapshots:outvariant: 1.4.3strict-event-emitter: 0.5.1- '@napi-rs/[email protected]':+ '@napi-rs/[email protected]':dependencies:'@emnapi/core': 1.7.1'@emnapi/runtime': 1.7.1@@ -13287,7 +13273,7 @@ snapshots:'@openpanel/web': 1.0.1astro: 5.13.7(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- '@openpanel/[email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':+ '@openpanel/[email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@openpanel/web': 1.0.1next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])@@ -13504,7 +13490,7 @@ snapshots:dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/api-logs': 0.208.0- import-in-the-middle: 2.0.1+ import-in-the-middle: 2.0.0require-in-the-middle: 8.0.1transitivePeerDependencies:- supports-color@@ -13533,66 +13519,66 @@ snapshots:'@oslojs/[email protected]': {}- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':dependencies:- '@napi-rs/wasm-runtime': 1.1.1+ '@napi-rs/wasm-runtime': 1.1.0optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true- '@oxc-resolver/[email protected]':+ '@oxc-resolver/[email protected]':optional: true'@oxfmt/[email protected]':@@ -15233,7 +15219,7 @@ snapshots:'@sentry/[email protected]': {}- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':+ '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/semantic-conventions': 1.38.0@@ -15271,7 +15257,7 @@ snapshots:'@opentelemetry/semantic-conventions': 1.38.0'@sentry/core': 10.31.0'@sentry/opentelemetry': 10.31.0(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])- import-in-the-middle: 2.0.1+ import-in-the-middle: 2.0.0transitivePeerDependencies:- supports-color@@ -15310,7 +15296,7 @@ snapshots:'@sentry/core': 10.31.0'@sentry/node-core': 10.31.0(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])'@sentry/opentelemetry': 10.31.0(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])- import-in-the-middle: 2.0.1+ import-in-the-middle: 2.0.0minimatch: 9.0.5transitivePeerDependencies:- supports-color@@ -15720,9 +15706,9 @@ snapshots:dependencies:tslib: 2.8.1dependencies:- zod: 4.1.13+ zod: 3.25.76optionalDependencies:typescript: 5.9.3@@ -15732,16 +15718,10 @@ snapshots:optionalDependencies:typescript: 5.9.3- dependencies:- zod: 4.1.13- optionalDependencies:- typescript: 5.9.3-dependencies:- '@t3-oss/env-core': 0.7.0([email protected])([email protected])- zod: 4.1.13+ '@t3-oss/env-core': 0.7.0([email protected])([email protected])+ zod: 3.25.76optionalDependencies:typescript: 5.9.3@@ -15942,7 +15922,7 @@ snapshots:'@trpc/server': 11.4.4([email protected])typescript: 5.9.3- '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':+ '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':dependencies:'@trpc/server': 11.4.4([email protected])@@ -16266,7 +16246,7 @@ snapshots:'@unkey/[email protected]':dependencies:- zod: 4.1.13+ zod: 3.25.76'@upstash/[email protected]':dependencies:@@ -17326,10 +17306,10 @@ snapshots:'@types/pg': 8.15.6bun-types: 1.3.5- [email protected]([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected]):+ [email protected]([email protected](@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected]))([email protected]):dependencies:drizzle-orm: 0.44.4(@libsql/[email protected])(@opentelemetry/[email protected])(@types/[email protected])([email protected])- zod: 4.1.13+ zod: 3.25.76@@ -18347,7 +18327,7 @@ snapshots:parent-module: 1.0.1resolve-from: 4.0.0dependencies:acorn: 8.15.0acorn-import-attributes: 1.9.5([email protected])@@ -18601,13 +18581,13 @@ snapshots:jiti: 2.6.1js-yaml: 4.1.1minimist: 1.2.8- oxc-resolver: 11.16.2+ oxc-resolver: 11.15.0picocolors: 1.1.1picomatch: 4.0.3smol-toml: 1.5.2strip-json-comments: 5.0.3typescript: 5.9.3- zod: 4.1.13+ zod: 4.2.1@@ -19408,7 +19388,7 @@ snapshots:- '@types/react'- supports-color- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])react: 19.2.2@@ -19505,7 +19485,7 @@ snapshots:dependencies:boolbase: 1.0.0- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]):+ [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]):dependencies:'@standard-schema/spec': 1.0.0react: 19.2.2@@ -19619,28 +19599,28 @@ snapshots:optionalDependencies:- '@oxc-resolver/binding-android-arm-eabi': 11.16.2- '@oxc-resolver/binding-android-arm64': 11.16.2- '@oxc-resolver/binding-darwin-arm64': 11.16.2- '@oxc-resolver/binding-darwin-x64': 11.16.2- '@oxc-resolver/binding-freebsd-x64': 11.16.2- '@oxc-resolver/binding-linux-arm-gnueabihf': 11.16.2- '@oxc-resolver/binding-linux-arm-musleabihf': 11.16.2- '@oxc-resolver/binding-linux-arm64-gnu': 11.16.2- '@oxc-resolver/binding-linux-arm64-musl': 11.16.2- '@oxc-resolver/binding-linux-ppc64-gnu': 11.16.2- '@oxc-resolver/binding-linux-riscv64-gnu': 11.16.2- '@oxc-resolver/binding-linux-riscv64-musl': 11.16.2- '@oxc-resolver/binding-linux-s390x-gnu': 11.16.2- '@oxc-resolver/binding-linux-x64-gnu': 11.16.2- '@oxc-resolver/binding-linux-x64-musl': 11.16.2- '@oxc-resolver/binding-openharmony-arm64': 11.16.2- '@oxc-resolver/binding-wasm32-wasi': 11.16.2- '@oxc-resolver/binding-win32-arm64-msvc': 11.16.2- '@oxc-resolver/binding-win32-ia32-msvc': 11.16.2- '@oxc-resolver/binding-win32-x64-msvc': 11.16.2+ '@oxc-resolver/binding-android-arm-eabi': 11.15.0+ '@oxc-resolver/binding-android-arm64': 11.15.0+ '@oxc-resolver/binding-darwin-arm64': 11.15.0+ '@oxc-resolver/binding-darwin-x64': 11.15.0+ '@oxc-resolver/binding-freebsd-x64': 11.15.0+ '@oxc-resolver/binding-linux-arm-gnueabihf': 11.15.0+ '@oxc-resolver/binding-linux-arm-musleabihf': 11.15.0+ '@oxc-resolver/binding-linux-arm64-gnu': 11.15.0+ '@oxc-resolver/binding-linux-arm64-musl': 11.15.0+ '@oxc-resolver/binding-linux-ppc64-gnu': 11.15.0+ '@oxc-resolver/binding-linux-riscv64-gnu': 11.15.0+ '@oxc-resolver/binding-linux-riscv64-musl': 11.15.0+ '@oxc-resolver/binding-linux-s390x-gnu': 11.15.0+ '@oxc-resolver/binding-linux-x64-gnu': 11.15.0+ '@oxc-resolver/binding-linux-x64-musl': 11.15.0+ '@oxc-resolver/binding-openharmony-arm64': 11.15.0+ '@oxc-resolver/binding-wasm32-wasi': 11.15.0+ '@oxc-resolver/binding-win32-arm64-msvc': 11.15.0+ '@oxc-resolver/binding-win32-ia32-msvc': 11.15.0+ '@oxc-resolver/binding-win32-x64-msvc': 11.15.0dependencies:@@ -21967,6 +21947,6 @@ snapshots:- [email protected]: {}+ [email protected]: {}