# Variable jSupportViewShapeTmp`Const`

jSupportViewShapeTmp: ZodObject<
{
_attachedFiles: ZodArray<
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,
>,
"many",
>;
_transientCtx: ZodOptional<ZodNull>;
processContext: ZodOptional<ZodNull>;
tags: ZodOptional<
ZodArray<
ZodObject<
{
class: ZodType<string, ZodTypeDef, string>;
cssClass: ZodType<string, ZodTypeDef, string>;
cssColor: ZodType<string, ZodTypeDef, string>;
id: ZodType<string, ZodTypeDef, string>;
label: ZodType<string, ZodTypeDef, string>;
mainType: ZodType<string, ZodTypeDef, string>;
name: ZodType<string, ZodTypeDef, string>;
shortUri: ZodType<string, ZodTypeDef, string>;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & { title: ZodString },
"strip",
ZodTypeAny,
jObjectAutocomplete,
jObjectAutocomplete,
>,
"many",
>,
>;
uiObjectLink: ZodOptional<
ZodArray<
ZodObject<
ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
"strip",
ZodTypeAny,
jObjectLittle,
jObjectLittle,
>,
"many",
>,
>;
} & {
_audience: ZodArray<
ZodUnion<
[
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: ...; EXTERNAL: ...; GUEST: ...; USER: ... },
>;
variant: ZodOptional<ZodNativeEnum<(...)>>;
},
"strip",
ZodTypeAny,
UserLittle,
UserLittle,
>,
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>;
} & {
category: ZodNumber;
dateCreation: ZodString;
dateModified: ZodString;
privacy: ZodNativeEnum<typeof GroupPrivacy>;
},
"strip",
ZodTypeAny,
jGroupLittle,
jGroupLittle,
>,
ZodObject<
{
_url: ZodString;
dateCreation: ZodOptionalType<ZodType<(...), (...), (...)>>;
dateModified: ZodOptionalType<ZodType<(...), (...), (...)>>;
id: ZodType<number, ZodTypeDef, number>;
mainType: ZodType<string, ZodTypeDef, string>;
title: ZodString;
uri: ZodType<string, ZodTypeDef, string>;
} & {
folderColor: ZodOptional<ZodString>;
type: ZodEnum<[(...), (...)]>;
},
"strip",
ZodTypeAny,
jFolderLittle,
jFolderLittle,
>,
ZodObject<
{
dateCreation: ZodOptionalType<ZodType<(...), (...), (...)>>;
id: ZodType<number, ZodTypeDef, number>;
title: ZodString;
uri: ZodType<string, ZodTypeDef, string>;
} & {
dateModified: ZodNullable<ZodString>;
mainType: ZodLiteral<"network">;
type: ZodEnum<[(...)]>;
},
"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: "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,
>,
],
>,
>;
supportOwner: ZodArray<
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,
>,
"many",
>;
supportStatus: ZodNullable<ZodUnion<[ZodNumber, ZodString]>>;
supportType: ZodNullable<ZodUnion<[ZodNumber, ZodString]>>;
title: ZodString;
type: ZodLiteral<"support">;
uri: ZodType<string, ZodTypeDef, string>;
},
"strip",
ZodTypeAny,
{
_attachedFiles: jFileLittle[];
_audience: (UserLittle | jGroupLittle | jFolderLittle | jNetworkLittle)[];
_right: Rights;
_transientCtx?: null;
_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;
dateModified: string;
description?: string | null;
edito?: string;
id: number;
image?: ImageSize;
mainType: "article";
metas?: MetasJamespot | MetasYoutube | MetasExternal;
processContext?: null;
supportOwner: UserLittle[];
supportStatus: string | number | null;
supportType: string | number | null;
tags?: jObjectAutocomplete[];
title: string;
type: "support";
uiObjectLink?: jObjectLittle[];
uri: string;
},
{
_attachedFiles: jFileLittle[];
_audience: (UserLittle | jGroupLittle | jFolderLittle | jNetworkLittle)[];
_right: Rights;
_transientCtx?: null;
_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;
dateModified: string;
description?: string | null;
edito?: string;
id: number;
image?: ImageSize;
mainType: "article";
metas?: MetasJamespot | MetasYoutube | MetasExternal;
processContext?: null;
supportOwner: UserLittle[];
supportStatus: string | number | null;
supportType: string | number | null;
tags?: jObjectAutocomplete[];
title: string;
type: "support";
uiObjectLink?: jObjectLittle[];
uri: string;
},
> = ...

- Defined in jamespot-user-api/src/types/support.ts:25