mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 01:29:35 +02:00
allow iso date time string with offset on zod validation. add unit te… GitOrigin-RevId: 88407fe681a66d13737de41789a9ea807a23627a
7 lines
150 B
TypeScript
7 lines
150 B
TypeScript
import z from 'zod'
|
|
|
|
export interface DatetimeSchemaOptions extends z.core.$ZodISODateTimeParams {
|
|
allowNull?: boolean
|
|
allowUndefined?: boolean
|
|
}
|