Variable ChallengeScrapingWarningStepSchemaConst
ChallengeScrapingWarningStepSchema: Union<
readonly [
Struct<
{
step: Struct<
{
bloks_action: String;
challenge_context: String;
cni: Union<readonly [Number, String]>;
flow_render_type: Literal<3>;
step_data: optionalKey<
$Record<String, Codec<Json, Json, never, never>>,
>;
step_name: String;
},
>;
surface: Literal<"navigation">;
},
>,
Struct<
{
resolved: Struct<
{
appId: String;
challengeType: String;
dismissAppId: optionalKey<UndefinedOr<String>>;
serverParams: Struct<
{
INTERNAL__latency_qpl_instance_id: Number;
INTERNAL__latency_qpl_marker_id: Number;
},
>;
},
>;
surface: Literal<"redirect">;
},
>,
],
> = ...
The scraping-warning screen's input: the navigation step, or the redirect challenge resolved to this screen. A sum told apart by
surface—kindis the handle's own key and cannot be data — never one flat record with both variants' fields left optional.