UNPKG

lean4-code-actions

Version:

Refactorings and snippets for Lean 4

15 lines (11 loc) 267 B
import { z } from 'zod' export const ProtocolSchema = z.enum([ 'http', 'https', 'mailto', 'tel', 'tg', // Telegram 'skype', ]) // export const { http, https, mailto, tel, tg } = ProtocolSchema.enum export type Protocol = z.infer<typeof ProtocolSchema>