ITOTEAM-609 search event>

This commit is contained in:
Peter Maquiran
2024-06-26 13:45:25 +01:00
parent 02891dbb9a
commit 78c13d1bfb
13 changed files with 174 additions and 78 deletions
+3 -2
View File
@@ -4,7 +4,7 @@ import { z } from 'zod';
const eventListSchema = z.array(z.object({
HasAttachments: z.boolean(),
IsAllDayEvent: z.boolean(),
EventId: z.string(),
EventId: z.any(),
Subject: z.string(),
Location: z.string().nullable(),
CalendarId: z.string(),
@@ -16,7 +16,8 @@ const eventListSchema = z.array(z.object({
OptionalAttendees: z.string().nullable(),
HumanDate: z.string(),
TimeZone: z.string(),
IsPrivate: z.boolean()
IsPrivate: z.boolean(),
createdAt: z.string()
}));
export type EventList = z.infer<typeof eventListSchema>
+1 -3
View File
@@ -2,9 +2,7 @@ export class SearchList {
ApplicationType: number | string;
Assunto: string;
Data: string;
DocTypeDesc: string;
EntidadeOrganicaId: number;
EntidadeOrganicaNome: string;
DocTypeDesc?: 'Acções' | 'Publicações';
Id: string;
appName?: string;
ApplicationName: string;