Files
doneit-web/src/app/module/agenda/data/dto/eventSearchOutputDTO.ts
T

13 lines
332 B
TypeScript
Raw Normal View History

2024-06-26 13:45:25 +01:00
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>;