Files
doneit-web/src/app/module/agenda/data/dto/eventSearchOutputDTO.ts
T
2024-07-31 11:29:26 +01:00

13 lines
332 B
TypeScript

import { z } from 'zod';
import { EEventOwnerType } from './enums';
export const EventSearchOutputDTOSchema = z.object({
Id: z.string(),
subject: z.string(),
dateEntry: z.string(),
Data: z.string(),
entity: z.string().optional()
}).nullable();
export type EventSearchOutput = z.infer<typeof EventSearchOutputDTOSchema>;