Variable OptimizationEntryConst
OptimizationEntry: ZodMiniObject<
{
fields: ZodMiniObject<
{
nt_audience: ZodMiniOptional<
ZodMiniNullable<
ZodMiniObject<
{
fields: ZodMiniObject<
{
nt_audience_id: ZodMiniString<(...)>;
nt_description: ZodMiniOptional<(...)>;
nt_name: ZodMiniOptional<(...)>;
},
$catchall<ZodMiniJSONSchema>,
>;
metadata: ZodMiniObject<
{ concepts: ZodMiniOptional<(...)>; tags: ZodMiniArray<(...)> },
$strip,
>;
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: ZodMiniOptional<
ZodMiniNullable<
ZodMiniObject<
{
components: ZodMiniOptional<
ZodMiniArray<ZodMiniDiscriminatedUnion<(...), (...)>>,
>;
distribution: ZodMiniOptional<ZodMiniArray<ZodMiniNumber<(...)>>>;
sticky: ZodMiniOptional<ZodMiniBoolean<boolean>>;
traffic: ZodMiniOptional<ZodMiniNumber<number>>;
},
$strip,
>,
>,
>;
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<
ZodMiniArray<
ZodMiniUnion<
readonly [
ZodMiniObject<{ sys: ZodMiniObject<(...), (...)> }, $strip>,
ZodMiniObject<
{
fields: ZodMiniObject<(...), (...)>;
metadata: ZodMiniObject<(...), (...)>;
sys: ZodMiniObject<(...), (...)>;
},
$strip,
>,
],
>,
>,
>;
},
$catchall<ZodMiniJSONSchema>,
>;
metadata: ZodMiniObject<
{
concepts: ZodMiniOptional<
ZodMiniArray<
ZodMiniObject<
{
sys: ZodMiniObject<
{
id: ZodMiniString<(...)>;
linkType: ZodMiniLiteral<(...)>;
type: ZodMiniLiteral<(...)>;
},
$strip,
>;
},
$strip,
>,
>,
>;
tags: ZodMiniArray<
ZodMiniObject<
{
sys: ZodMiniObject<
{
id: ZodMiniString<string>;
linkType: ZodMiniLiteral<"Tag">;
type: ZodMiniLiteral<"Link">;
},
$strip,
>;
},
$strip,
>,
>;
},
$strip,
>;
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 an Optimization entry, which is associated with an OptimizedEntry via its
fields.nt_experiences.