UNPKG

onesecmail

Version:

Create and receive email in only 1 second.

10 lines (9 loc) 351 B
import { z } from "zod"; import { shortMessageSchema, attachmentSchema, messageSchema } from "./schemas.js"; export type ShortMessage = z.infer<typeof shortMessageSchema>; export type Attachment = z.infer<typeof attachmentSchema>; export type Message = z.infer<typeof messageSchema>; export type Options = { retry: number; timeout: number; };