UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
generic
/
models
/
Process.ts
9 lines
(6 loc)
•
201 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
{ z }
from
'zod'
export
const
ProcessSchema
= z.
object
({
name
: z.
string
().
min
(
1
),
delay
: z.
number
().
int
().
min
(
1
),
// in milliseconds
})
export
type
Process
= z.
infer
<
typeof
ProcessSchema
>