# Variable calendarEventListSchema`Const`

calendarEventListSchema: ZodUnion<
[
ZodObject<
{
_audience: ZodArray<
ZodUnion<
[
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
dateCreation: ...;
dateModified: ...;
level: ...;
variant: ...;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
category: ...;
dateCreation: ...;
dateModified: ...;
privacy: ...;
},
"strip",
ZodTypeAny,
jGroupLittle,
jGroupLittle,
>,
ZodObject<
{
_url: ...;
dateCreation: ...;
dateModified: ...;
id: ...;
mainType: ...;
title: ...;
uri: ...;
} & { folderColor: ...; type: ... },
"strip",
ZodTypeAny,
jFolderLittle,
jFolderLittle,
>,
ZodObject<
{ dateCreation: ...; id: ...; title: ...; uri: ... } & {
dateModified: ...;
mainType: ...;
type: ...;
},
"strip",
ZodTypeAny,
jNetworkLittle,
jNetworkLittle,
>,
],
>,
"many",
>;
_right: ZodObject<ZodShape<Rights>, "strip", ZodTypeAny, Rights, Rights>;
_url: ZodString;
_user: ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<{ ADMIN: 9; EXTERNAL: 3; GUEST: 0; USER: 5 }>;
variant: ZodOptional<ZodNativeEnum<{ EXTRABOT: ... }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>;
articleWidgets: ZodOptional<
ZodArray<
ZodObject<
ZodShape<WidgetWrapperGeneric<CombinedWidgetType>>,
"strip",
ZodTypeAny,
WidgetWrapperGeneric<CombinedWidgetType>,
WidgetWrapperGeneric<CombinedWidgetType>,
>,
"many",
>,
>;
dateCreation: ZodString;
dateModified: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
edito: ZodOptional<ZodString>;
id: ZodType<number, ZodTypeDef, number>;
image: ZodOptional<
ZodObject<
ZodShape<ImageSize>,
"strip",
ZodTypeAny,
ImageSize,
ImageSize,
>,
>;
mainType: ZodLiteral<"article">;
metas: ZodOptional<
ZodUnion<
[
ZodObject<
ZodShape<MetasJamespot>,
"strip",
ZodTypeAny,
MetasJamespot,
MetasJamespot,
>,
ZodObject<
ZodShape<MetasYoutube>,
"strip",
ZodTypeAny,
MetasYoutube,
MetasYoutube,
>,
ZodObject<
ZodShape<MetasExternal>,
"strip",
ZodTypeAny,
MetasExternal,
MetasExternal,
>,
],
>,
>;
title: ZodString;
uri: ZodType<string, ZodTypeDef, string>;
} & {
_board: ZodOptional<
ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
mainType: ZodLiteral<"article">;
},
"strip",
ZodTypeAny,
jArticleLittle,
jArticleLittle,
>,
>;
dateEnd: ZodOptional<ZodString>;
type: ZodLiteral<"boardCard">;
},
"strip",
ZodTypeAny,
jBoardCardList,
jBoardCardList,
>,
ZodObject<
{
_audience: ZodArray<
ZodUnion<
[
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
dateCreation: ...;
dateModified: ...;
level: ...;
variant: ...;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
category: ...;
dateCreation: ...;
dateModified: ...;
privacy: ...;
},
"strip",
ZodTypeAny,
jGroupLittle,
jGroupLittle,
>,
ZodObject<
{
_url: ...;
dateCreation: ...;
dateModified: ...;
id: ...;
mainType: ...;
title: ...;
uri: ...;
} & { folderColor: ...; type: ... },
"strip",
ZodTypeAny,
jFolderLittle,
jFolderLittle,
>,
ZodObject<
{ dateCreation: ...; id: ...; title: ...; uri: ... } & {
dateModified: ...;
mainType: ...;
type: ...;
},
"strip",
ZodTypeAny,
jNetworkLittle,
jNetworkLittle,
>,
],
>,
"many",
>;
_right: ZodObject<ZodShape<Rights>, "strip", ZodTypeAny, Rights, Rights>;
_url: ZodString;
_user: ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<{ ADMIN: 9; EXTERNAL: 3; GUEST: 0; USER: 5 }>;
variant: ZodOptional<ZodNativeEnum<{ EXTRABOT: ... }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>;
address: ZodString;
allDay: ZodBoolean;
articleWidgets: ZodOptional<
ZodArray<
ZodObject<
ZodShape<WidgetWrapperGeneric<CombinedWidgetType>>,
"strip",
ZodTypeAny,
WidgetWrapperGeneric<CombinedWidgetType>,
WidgetWrapperGeneric<CombinedWidgetType>,
>,
"many",
>,
>;
backgroundColor: ZodString;
dateCreation: ZodString;
dateEnd: ZodString;
dateModified: ZodString;
dateStart: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
edito: ZodOptional<ZodString>;
id: ZodType<number, ZodTypeDef, number>;
image: ZodOptional<
ZodObject<
ZodShape<ImageSize>,
"strip",
ZodTypeAny,
ImageSize,
ImageSize,
>,
>;
mainType: ZodLiteral<"article">;
metas: ZodOptional<
ZodUnion<
[
ZodObject<
ZodShape<MetasJamespot>,
"strip",
ZodTypeAny,
MetasJamespot,
MetasJamespot,
>,
ZodObject<
ZodShape<MetasYoutube>,
"strip",
ZodTypeAny,
MetasYoutube,
MetasYoutube,
>,
ZodObject<
ZodShape<MetasExternal>,
"strip",
ZodTypeAny,
MetasExternal,
MetasExternal,
>,
],
>,
>;
noGestion: ZodBoolean;
place: ZodString;
qrCodeValue: ZodOptional<ZodString>;
textColor: ZodString;
title: ZodString;
uri: ZodType<string, ZodTypeDef, string>;
urlGestion: ZodOptional<ZodString>;
} & { type: ZodLiteral<"meeting"> },
"strip",
ZodTypeAny,
jMeetingList,
jMeetingList,
>,
ZodObject<
{
_audience: ZodArray<
ZodUnion<
[
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
dateCreation: ...;
dateModified: ...;
level: ...;
variant: ...;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
category: ...;
dateCreation: ...;
dateModified: ...;
privacy: ...;
},
"strip",
ZodTypeAny,
jGroupLittle,
jGroupLittle,
>,
ZodObject<
{
_url: ...;
dateCreation: ...;
dateModified: ...;
id: ...;
mainType: ...;
title: ...;
uri: ...;
} & { folderColor: ...; type: ... },
"strip",
ZodTypeAny,
jFolderLittle,
jFolderLittle,
>,
ZodObject<
{ dateCreation: ...; id: ...; title: ...; uri: ... } & {
dateModified: ...;
mainType: ...;
type: ...;
},
"strip",
ZodTypeAny,
jNetworkLittle,
jNetworkLittle,
>,
],
>,
"many",
>;
_right: ZodObject<ZodShape<Rights>, "strip", ZodTypeAny, Rights, Rights>;
_user: ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<{ ADMIN: 9; EXTERNAL: 3; GUEST: 0; USER: 5 }>;
variant: ZodOptional<ZodNativeEnum<{ EXTRABOT: ... }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>;
articleWidgets: ZodOptional<
ZodArray<
ZodObject<
ZodShape<WidgetWrapperGeneric<CombinedWidgetType>>,
"strip",
ZodTypeAny,
WidgetWrapperGeneric<CombinedWidgetType>,
WidgetWrapperGeneric<CombinedWidgetType>,
>,
"many",
>,
>;
description: ZodOptional<ZodNullable<ZodString>>;
edito: ZodOptional<ZodString>;
image: ZodOptional<
ZodObject<
ZodShape<ImageSize>,
"strip",
ZodTypeAny,
ImageSize,
ImageSize,
>,
>;
metas: ZodOptional<
ZodUnion<
[
ZodObject<
ZodShape<MetasJamespot>,
"strip",
ZodTypeAny,
MetasJamespot,
MetasJamespot,
>,
ZodObject<
ZodShape<MetasYoutube>,
"strip",
ZodTypeAny,
MetasYoutube,
MetasYoutube,
>,
ZodObject<
ZodShape<MetasExternal>,
"strip",
ZodTypeAny,
MetasExternal,
MetasExternal,
>,
],
>,
>;
} & {
_url: ZodString;
dateCreation: ZodString;
dateModified: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodLiteral<"article">;
title: ZodString;
type: ZodLiteral<"socialEvent">;
uri: ZodType<string, ZodTypeDef, string>;
} & {
address: ZodString;
allDay: ZodBoolean;
backgroundColor: ZodString;
dateEnd: ZodString;
dateStart: ZodString;
noGestion: ZodBoolean;
place: ZodString;
qrCodeValue: ZodOptional<ZodString>;
textColor: ZodString;
urlGestion: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
jSocialEventList,
jSocialEventList,
>,
ZodUnion<
[
ZodObject<
{
_audience: ZodArray<
ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>,
"many",
>;
_right: ZodObject<
ZodShape<Rights>,
"strip",
ZodTypeAny,
Rights,
Rights,
>;
_user: ZodObject<
{
_url: ZodString;
id: ZodType<(...), (...), (...)>;
mainType: ZodType<(...), (...), (...)>;
title: ZodString;
type: ZodType<(...), (...), (...)>;
uri: ZodType<(...), (...), (...)>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<(...)>;
variant: ZodOptional<(...)>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>;
articleWidgets: ZodOptional<
ZodArray<
ZodObject<
ZodShape<(...)>,
"strip",
ZodTypeAny,
WidgetWrapperGeneric<(...)>,
WidgetWrapperGeneric<(...)>,
>,
"many",
>,
>;
description: ZodOptional<ZodNullable<ZodString>>;
edito: ZodOptional<ZodString>;
image: ZodOptional<
ZodObject<
ZodShape<ImageSize>,
"strip",
ZodTypeAny,
ImageSize,
ImageSize,
>,
>;
metas: ZodOptional<
ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>,
>;
} & {
_url: ZodString;
dateCreation: ZodString;
dateEnd: ZodString;
dateModified: ZodString;
dateStart: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodLiteral<"article">;
title: ZodString;
type: ZodLiteral<"recurringEventOccurrence">;
uri: ZodType<string, ZodTypeDef, string>;
},
"strip",
ZodTypeAny,
jRecurringEventOccurrenceListTruthy,
jRecurringEventOccurrenceListTruthy,
>,
ZodObject<
{
_audience: ZodArray<
ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>,
"many",
>;
_url: ZodType<"", ZodTypeDef, "">;
dateCreation: ZodType<null, ZodTypeDef, null>;
dateEnd: ZodString;
dateModified: ZodType<null, ZodTypeDef, null>;
dateStart: ZodString;
edito: ZodOptional<ZodString>;
id: ZodType<-1, ZodTypeDef, -1>;
mainType: ZodLiteral<"article">;
metas: ZodOptional<
ZodUnion<
[
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
ZodObject<(...), (...), (...), (...), (...)>,
],
>,
>;
type: ZodType<
"recurringEventOccurrence",
ZodTypeDef,
"recurringEventOccurrence",
>;
uri: ZodType<"", ZodTypeDef, "">;
} & {
_right: ZodNever;
_user: ZodNever;
articleWidgets: ZodNull;
description: ZodLiteral<"">;
image: ZodNull;
title: ZodLiteral<"">;
},
"strip",
ZodTypeAny,
Merge<
{
_url: "";
dateCreation: null;
dateEnd: string;
dateModified: null;
dateStart: string;
id: -1;
mainType: "article";
title: "";
type: "recurringEventOccurrence";
uri: "";
},
{
_audience: Audience[];
_right: never;
_user: never;
articleWidgets: null;
description: "";
image: null;
title: "";
},
>,
Merge<
{
_url: "";
dateCreation: null;
dateEnd: string;
dateModified: null;
dateStart: string;
id: -1;
mainType: "article";
title: "";
type: "recurringEventOccurrence";
uri: "";
},
{
_audience: Audience[];
_right: never;
_user: never;
articleWidgets: null;
description: "";
image: null;
title: "";
},
>,
>,
],
>,
ZodObject<
{
_audience: ZodArray<
ZodUnion<
[
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
dateCreation: ...;
dateModified: ...;
level: ...;
variant: ...;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
ZodObject<
{
_url: ...;
id: ...;
mainType: ...;
title: ...;
type: ...;
uri: ...;
} & {
category: ...;
dateCreation: ...;
dateModified: ...;
privacy: ...;
},
"strip",
ZodTypeAny,
jGroupLittle,
jGroupLittle,
>,
ZodObject<
{
_url: ...;
dateCreation: ...;
dateModified: ...;
id: ...;
mainType: ...;
title: ...;
uri: ...;
} & { folderColor: ...; type: ... },
"strip",
ZodTypeAny,
jFolderLittle,
jFolderLittle,
>,
ZodObject<
{ dateCreation: ...; id: ...; title: ...; uri: ... } & {
dateModified: ...;
mainType: ...;
type: ...;
},
"strip",
ZodTypeAny,
jNetworkLittle,
jNetworkLittle,
>,
],
>,
"many",
>;
_right: ZodObject<ZodShape<Rights>, "strip", ZodTypeAny, Rights, Rights>;
_url: ZodString;
_user: ZodObject<
{
_url: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateCreation: ZodString;
dateModified: ZodString;
level: ZodNativeEnum<{ ADMIN: 9; EXTERNAL: 3; GUEST: 0; USER: 5 }>;
variant: ZodOptional<ZodNativeEnum<{ EXTRABOT: ... }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>;
articleWidgets: ZodOptional<
ZodArray<
ZodObject<
ZodShape<WidgetWrapperGeneric<CombinedWidgetType>>,
"strip",
ZodTypeAny,
WidgetWrapperGeneric<CombinedWidgetType>,
WidgetWrapperGeneric<CombinedWidgetType>,
>,
"many",
>,
>;
dateCreation: ZodString;
dateModified: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
edito: ZodOptional<ZodString>;
id: ZodType<number, ZodTypeDef, number>;
image: ZodOptional<
ZodObject<
ZodShape<ImageSize>,
"strip",
ZodTypeAny,
ImageSize,
ImageSize,
>,
>;
mainType: ZodLiteral<"article">;
metas: ZodOptional<
ZodUnion<
[
ZodObject<
ZodShape<MetasJamespot>,
"strip",
ZodTypeAny,
MetasJamespot,
MetasJamespot,
>,
ZodObject<
ZodShape<MetasYoutube>,
"strip",
ZodTypeAny,
MetasYoutube,
MetasYoutube,
>,
ZodObject<
ZodShape<MetasExternal>,
"strip",
ZodTypeAny,
MetasExternal,
MetasExternal,
>,
],
>,
>;
title: ZodString;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateEnd: ZodString;
dateStart: ZodString;
type: ZodLiteral<"membogoEvent">;
},
"strip",
ZodTypeAny,
{
_audience: (
UserLittle
| jGroupLittle
| jFolderLittle
| jNetworkLittle
)[];
_right: Rights;
_url: string;
_user: Omit<
jObjectLittle,
"dateCreation"
| "dateModified"
| "level"
| "variant",
> & {
dateCreation: string;
dateModified: string;
level: 0 | 3 | 5 | 9;
variant?: "extraBot";
};
articleWidgets?: WidgetWrapperGeneric<CombinedWidgetType>[];
dateCreation: string;
dateEnd: string;
dateModified: string;
dateStart: string;
description?: string | null;
edito?: string;
id: number;
image?: ImageSize;
mainType: "article";
metas?: MetasJamespot | MetasYoutube | MetasExternal;
title: string;
type: "membogoEvent";
uri: string;
},
{
_audience: (
UserLittle
| jGroupLittle
| jFolderLittle
| jNetworkLittle
)[];
_right: Rights;
_url: string;
_user: Omit<
jObjectLittle,
"dateCreation"
| "dateModified"
| "level"
| "variant",
> & {
dateCreation: string;
dateModified: string;
level: 0 | 3 | 5 | 9;
variant?: "extraBot";
};
articleWidgets?: WidgetWrapperGeneric<CombinedWidgetType>[];
dateCreation: string;
dateEnd: string;
dateModified: string;
dateStart: string;
description?: string | null;
edito?: string;
id: number;
image?: ImageSize;
mainType: "article";
metas?: MetasJamespot | MetasYoutube | MetasExternal;
title: string;
type: "membogoEvent";
uri: string;
},
>,
],
> = ...

- Defined in jamespot-user-api/src/types/calendar.ts:51