Variable action_attemptConst
action_attempt: ZodUnion<[ZodObject<extendShape<extendShape<{
action_attempt_id: ZodString;
status: ZodEnum<["pending", "success", "error"]>;
}, {
error: ZodNull;
result: ZodNull;
status: ZodLiteral<"pending">;
}>, {
action_type: ZodLiteral<"LOCK_DOOR">;
}>, "strip", ZodTypeAny, {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: null;
status: "pending";
}, {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: null;
status: "pending";
}>, ZodObject<extendShape<extendShape<{
action_attempt_id: ZodString;
status: ZodEnum<["pending", "success", "error"]>;
}, {
error: ZodNull;
status: ZodLiteral<"success">;
}>, {
action_type: ZodLiteral<"LOCK_DOOR">;
result: ZodObject<{}, "strip", ZodTypeAny, {}, {}>;
}>, "strip", ZodTypeAny, {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: {};
status: "success";
}, {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: {};
status: "success";
}>, ZodObject<extendShape<extendShape<{
action_attempt_id: ZodString;
status: ZodEnum<["pending", "success", "error"]>;
}, {
result: ZodNull;
status: ZodLiteral<"error">;
}>, {
action_type: ZodLiteral<"LOCK_DOOR">;
error: ZodObject<{
message: ZodString;
type: ZodString;
}, "strip", ZodTypeAny, {
message: string;
type: string;
}, {
message: string;
type: string;
}>;
}>, "strip", ZodTypeAny, {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}, {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}>]> = ...