Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
646 B ยท 17 lines
TypeScript
at incident-api
123456789101112131415161718import { z } from "zod";
/** * Scope a list query to an entity. Both `entityType`/`entityId` are * optional โ omitting them returns the whole workspace log within the * fixed read window. `limit` is hard-capped at 5,000 to bound the response * size; the time window alone doesn't (a busy workspace can emit tens of * thousands of rows in 14 days). */export const ListAuditLogsInput = z.object({ entityType: z.string().optional(), entityId: z.string().optional(), limit: z.number().int().min(1).default(5_000), offset: z.number().int().min(0).default(0),});
export type ListAuditLogsInput = z.infer<typeof ListAuditLogsInput>;