Variable PersonalizationFieldsConst
PersonalizationFields: ZodMiniObject<
{
nt_audience: ZodMiniOptional<
ZodMiniNullable<
ZodMiniObject<
{
fields: ZodMiniObject<
{
nt_audience_id: ZodMiniString<string>;
nt_description: ZodMiniOptional<ZodMiniString<string>>;
nt_name: ZodMiniOptional<ZodMiniString<string>>;
},
$catchall<ZodMiniJSONSchema>,
>;
metadata: ZodMiniObject<
{ tags: ZodMiniArray<ZodMiniObject<{ sys: ... }, $strip>> },
$catchall<ZodMiniJSONSchema>,
>;
sys: ZodMiniObject<
{
contentType: ZodMiniObject<
{ sys: ZodMiniObject<(...), (...)> },
$strip,
>;
createdAt: ZodMiniAny;
environment: ZodMiniObject<
{ sys: ZodMiniObject<(...), (...)> },
$strip,
>;
id: ZodMiniString<string>;
locale: ZodMiniOptional<ZodMiniString<string>>;
publishedVersion: ZodMiniNumber<number>;
revision: ZodMiniNumber<number>;
space: ZodMiniObject<{ sys: ZodMiniObject<(...), (...)> }, $strip>;
type: ZodMiniLiteral<"Entry">;
updatedAt: ZodMiniAny;
},
$strip,
>;
},
$strip,
>,
>,
>;
nt_config: ZodMiniPipe<
ZodMiniOptional<
ZodMiniPrefault<
ZodMiniNullable<
ZodMiniObject<
{
components: ZodMiniOptional<ZodMiniPrefault<ZodMiniArray<(...)>>>;
distribution: ZodMiniOptional<ZodMiniPrefault<ZodMiniArray<(...)>>>;
sticky: ZodMiniOptional<ZodMiniPrefault<ZodMiniBoolean<(...)>>>;
traffic: ZodMiniOptional<ZodMiniPrefault<ZodMiniNumber<(...)>>>;
},
$strip,
>,
>,
>,
>,
ZodMiniTransform<
| null
| {
components?: (
| {
baseline: { hidden: ...; id: ... };
type?: (...) | (...);
variants: (...)[];
}
| {
baseline: { value: ... };
key: string;
type: "InlineVariable";
valueType: (...) | (...) | (...) | (...);
variants: (...)[];
}
)[];
distribution?: number[];
sticky?: boolean;
traffic?: number;
},
| null
| {
components?: (
| {
baseline: { hidden: ...; id: ... };
type?: (...) | (...);
variants: (...)[];
}
| {
baseline: { value: ... };
key: string;
type: "InlineVariable";
valueType: (...) | (...) | (...) | (...);
variants: (...)[];
}
)[];
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>,
> = ...
Zod schema describing the fields of a Personalization entry.