# Variable jMediaLibraryFileLittleSchema`Const`

jMediaLibraryFileLittleSchema: ZodObject<
{
_url: ZodString;
dateCreation: ZodString;
dateModified: ZodString;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodLiteral<"article">;
title: ZodString;
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,
>;
attachment: ZodObject<
{
_url: ZodString;
dateCreation: ZodOptionalType<
ZodType<string | undefined, ZodTypeDef, string | undefined>,
>;
dateModified: ZodOptionalType<
ZodType<
string
| null
| undefined,
ZodTypeDef,
string | null | undefined,
>,
>;
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,
>;
type: ZodLiteral<"mediaLibraryFile">;
},
"strip",
ZodTypeAny,
MediaLibraryFileLittle,
MediaLibraryFileLittle,
> = ...

- Defined in jamespot-user-api/src/types/mediaLibrary.ts:23