# Variable jCommentListSchema`Const`

jCommentListSchema: ZodObject<
{
id: ZodType<number, ZodTypeDef, number>;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
_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: "extraBot" }>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>;
dateCreation: ZodString;
dateModified: ZodNullable<ZodString>;
description: ZodNullable<ZodString>;
mainType: ZodLiteral<"comment">;
} & {
_actions: ZodOptional<
ZodRecord<
ZodString,
ZodObject<
ZodShape<SocialActionDeprecated>,
"strip",
ZodTypeAny,
SocialActionDeprecated,
SocialActionDeprecated,
>,
>,
>;
_article: 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,
>,
>;
_attachedFiles: ZodOptional<
ZodArray<
ZodObject<
{
_url: ZodString;
dateCreation: ZodOptionalType<
ZodType<(...) | (...), ZodTypeDef, (...) | (...)>,
>;
dateModified: ZodOptionalType<
ZodType<(...) | (...) | (...), ZodTypeDef, (...) | (...) | (...)>,
>;
id: ZodType<number, ZodTypeDef, number>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
mainType: ZodEnum<
["fileArticle", "fileComment", "fileObject", "file", "fileDrive"],
>;
mimetype: ZodString;
path: ZodOptional<ZodString>;
size: ZodNumber;
},
"strip",
ZodTypeAny,
jFileLittle,
jFileLittle,
>,
"many",
>,
>;
_right: ZodObject<ZodShape<Rights>, "strip", ZodTypeAny, Rights, Rights>;
_widgets: ZodOptional<
ZodArray<
ZodObject<
ZodShape<WidgetWrapperGeneric<CombinedWidgetType>>,
"strip",
ZodTypeAny,
WidgetWrapperGeneric<CombinedWidgetType>,
WidgetWrapperGeneric<CombinedWidgetType>,
>,
"many",
>,
>;
},
"strip",
ZodTypeAny,
jCommentList,
jCommentList,
> = ...

- Defined in jamespot-user-api/src/types/comment.ts:50