Variable PersonalizationEntryConst
PersonalizationEntry: ZodMiniObject<
{
fields: ZodMiniObject<
{
nt_audience: ZodMiniOptional<
ZodMiniNullable<
ZodMiniObject<
{
fields: ZodMiniObject<
{
nt_audience_id: ZodMiniString<(...)>;
nt_description: ZodMiniOptional<(...)>;
nt_name: ZodMiniOptional<(...)>;
},
$catchall<ZodMiniJSONSchema>,
>;
metadata: ZodMiniObject<
{ tags: ZodMiniArray<(...)> },
$catchall<ZodMiniJSONSchema>,
>;
sys: ZodMiniObject<
{
contentType: ZodMiniObject<(...), (...)>;
createdAt: ZodMiniAny;
environment: ZodMiniObject<(...), (...)>;
id: ZodMiniString<(...)>;
locale: ZodMiniOptional<(...)>;
publishedVersion: ZodMiniNumber<(...)>;
revision: ZodMiniNumber<(...)>;
space: ZodMiniObject<(...), (...)>;
type: ZodMiniLiteral<(...)>;
updatedAt: ZodMiniAny;
},
$strip,
>;
},
$strip,
>,
>,
>;
nt_config: ZodMiniPipe<
ZodMiniOptional<
ZodMiniPrefault<
ZodMiniNullable<
ZodMiniObject<
{
components: ZodMiniOptional<(...)>;
distribution: ZodMiniOptional<(...)>;
sticky: ZodMiniOptional<(...)>;
traffic: ZodMiniOptional<(...)>;
},
$strip,
>,
>,
>,
>,
ZodMiniTransform<
| null
| {
components?: ((...) | (...))[];
distribution?: number[];
sticky?: boolean;
traffic?: number;
},
| null
| {
components?: ((...) | (...))[];
distribution?: number[];
sticky?: boolean;
traffic?: number;
},
>,
>;
nt_description: ZodMiniOptional<ZodMiniNullable<ZodMiniString<string>>>;
nt_experience_id: ZodMiniString<string>;
nt_name: ZodMiniString<string>;
nt_type: ZodMiniUnion<
readonly [
ZodMiniLiteral<"nt_experiment">,
ZodMiniLiteral<"nt_personalization">,
],
>;
nt_variants: ZodMiniOptional<
ZodMiniPrefault<ZodMiniArray<ZodMiniCustom<Entry, Entry>>>,
>;
},
$catchall<ZodMiniJSONSchema>,
>;
metadata: ZodMiniObject<
{
tags: ZodMiniArray<
ZodMiniObject<
{
sys: ZodMiniObject<
{
id: ZodMiniString<string>;
linkType: ZodMiniLiteral<"Tag">;
type: ZodMiniLiteral<"Link">;
},
$strip,
>;
},
$strip,
>,
>;
},
$catchall<ZodMiniJSONSchema>,
>;
sys: ZodMiniObject<
{
contentType: ZodMiniObject<
{
sys: ZodMiniObject<
{
id: ZodMiniString<string>;
linkType: ZodMiniLiteral<"ContentType">;
type: ZodMiniLiteral<"Link">;
},
$strip,
>;
},
$strip,
>;
createdAt: ZodMiniAny;
environment: ZodMiniObject<
{
sys: ZodMiniObject<
{
id: ZodMiniString<string>;
linkType: ZodMiniLiteral<"Environment">;
type: ZodMiniLiteral<"Link">;
},
$strip,
>;
},
$strip,
>;
id: ZodMiniString<string>;
locale: ZodMiniOptional<ZodMiniString<string>>;
publishedVersion: ZodMiniNumber<number>;
revision: ZodMiniNumber<number>;
space: ZodMiniObject<
{
sys: ZodMiniObject<
{
id: ZodMiniString<string>;
linkType: ZodMiniLiteral<"Space">;
type: ZodMiniLiteral<"Link">;
},
$strip,
>;
},
$strip,
>;
type: ZodMiniLiteral<"Entry">;
updatedAt: ZodMiniAny;
},
$strip,
>;
},
$strip,
> = ...
Zod schema describing a Personalization entry, which is associated with a PersonalizedEntry via its
fields.nt_experiences.