# Variable jContentFactoryTemplateViewSchema`Const`

jContentFactoryTemplateViewSchema: ZodUnion<
[
ZodObject<
{
_attachedFiles: ZodArray<
ZodObject<
{
_url: ZodString;
dateCreation: ZodOptionalType<ZodType<(...), (...), (...)>>;
dateModified: ZodOptionalType<ZodType<(...), (...), (...)>>;
id: ZodType<number, ZodTypeDef, number>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
mainType: ZodEnum<[(...), (...), (...), (...), (...)]>;
mimetype: ZodString;
path: ZodOptional<ZodString>;
size: ZodNumber;
},
"strip",
ZodTypeAny,
jFileLittle,
jFileLittle,
>,
"many",
>;
_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>;
_transientCtx: ZodOptional<ZodNull>;
_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",
>,
>;
contentFactoryTemplateAuthor: ZodString;
contentFactoryTemplateUsage: ZodNumber;
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,
>,
],
>,
>;
processContext: ZodOptional<ZodNull>;
tags: ZodOptional<
ZodArray<
ZodObject<
{
class: ZodType<(...), (...), (...)>;
cssClass: ZodType<(...), (...), (...)>;
cssColor: ZodType<(...), (...), (...)>;
id: ZodType<(...), (...), (...)>;
label: ZodType<(...), (...), (...)>;
mainType: ZodType<(...), (...), (...)>;
name: ZodType<(...), (...), (...)>;
shortUri: ZodType<(...), (...), (...)>;
type: ZodType<(...), (...), (...)>;
uri: ZodType<(...), (...), (...)>;
} & { title: ZodString },
"strip",
ZodTypeAny,
jObjectAutocomplete,
jObjectAutocomplete,
>,
"many",
>,
>;
title: ZodString;
type: ZodLiteral<"contentFactoryTemplate">;
uiObjectLink: ZodOptional<
ZodArray<
ZodObject<
ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
"strip",
ZodTypeAny,
jObjectLittle,
jObjectLittle,
>,
"many",
>,
>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
contentFactoryTemplateData: ZodObject<
ZodShape<ContentFactoryDefaultData>,
"strip",
ZodTypeAny,
ContentFactoryDefaultData,
ContentFactoryDefaultData,
>;
contentFactoryTemplateType: ZodLiteral<"default">;
},
"strip",
ZodTypeAny,
jContentFactoryDefaultTemplateView,
jContentFactoryDefaultTemplateView,
>,
ZodObject<
{
_attachedFiles: ZodArray<
ZodObject<
{
_url: ZodString;
dateCreation: ZodOptionalType<ZodType<(...), (...), (...)>>;
dateModified: ZodOptionalType<ZodType<(...), (...), (...)>>;
id: ZodType<number, ZodTypeDef, number>;
title: ZodString;
type: ZodType<string, ZodTypeDef, string>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
mainType: ZodEnum<[(...), (...), (...), (...), (...)]>;
mimetype: ZodString;
path: ZodOptional<ZodString>;
size: ZodNumber;
},
"strip",
ZodTypeAny,
jFileLittle,
jFileLittle,
>,
"many",
>;
_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>;
_transientCtx: ZodOptional<ZodNull>;
_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",
>,
>;
contentFactoryTemplateAuthor: ZodString;
contentFactoryTemplateUsage: ZodNumber;
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,
>,
],
>,
>;
processContext: ZodOptional<ZodNull>;
tags: ZodOptional<
ZodArray<
ZodObject<
{
class: ZodType<(...), (...), (...)>;
cssClass: ZodType<(...), (...), (...)>;
cssColor: ZodType<(...), (...), (...)>;
id: ZodType<(...), (...), (...)>;
label: ZodType<(...), (...), (...)>;
mainType: ZodType<(...), (...), (...)>;
name: ZodType<(...), (...), (...)>;
shortUri: ZodType<(...), (...), (...)>;
type: ZodType<(...), (...), (...)>;
uri: ZodType<(...), (...), (...)>;
} & { title: ZodString },
"strip",
ZodTypeAny,
jObjectAutocomplete,
jObjectAutocomplete,
>,
"many",
>,
>;
title: ZodString;
type: ZodLiteral<"contentFactoryTemplate">;
uiObjectLink: ZodOptional<
ZodArray<
ZodObject<
ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
"strip",
ZodTypeAny,
jObjectLittle,
jObjectLittle,
>,
"many",
>,
>;
uri: ZodType<string, ZodTypeDef, string>;
} & {
contentFactoryTemplateData: ZodObject<
ZodShape<ContentFactorySurveyData>,
"strip",
ZodTypeAny,
ContentFactorySurveyData,
ContentFactorySurveyData,
>;
contentFactoryTemplateType: ZodLiteral<"pollSurvey">;
},
"strip",
ZodTypeAny,
jContentFactorySurveyTemplateView,
jContentFactorySurveyTemplateView,
>,
],
> = ...

- Defined in jamespot-user-api/src/types/contentFactory.ts:115