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.
863 B ยท 34 lines
TypeScript
1234567891011121314151617181920212223242526272829303132333435export { assertSafeUrl, assertSafeUrlSync, safeFetch, safeUrlSchema,} from "./ssrf";export { type DNSPayload, DNSPayloadSchema, GRPC_TLS_MODES, type GrpcPayload, grpcPayloadSchema, type HttpPayload, httpPayloadSchema, type IcmpPayload, icmpPayloadSchema, type TcpPayload, tpcPayloadSchema,} from "./payloads";export { MONITOR_JOB_TYPES, MONITOR_METHODS, MONITOR_STATUSES,} from "./constants";export { buildCurlCommand, type CurlRequest } from "./curl";export { type HeaderPair, headerPairSchema } from "./headers";export { iteratorToStream, yieldMany } from "./stream";export { type PageUpdateStatus, statusLabel } from "./status";
export function transformHeaders( headers: { key: string; value: string }[],): Record<string, string> { return Object.fromEntries(headers.map(({ key, value }) => [key, value]));}