Variable schemaPasskeyPendingConst
schemaPasskeyPending: ZodDiscriminatedUnion<
[
ZodObject<
{
address: ZodString;
attempts: ZodNumber;
code: ZodString;
expiresAt: ZodISODateTime;
type: ZodLiteral<"code">;
},
$strip,
>,
ZodObject<
{
address: ZodString;
createdVia: ZodEnum<{ invited: "invited"; signup: "signup" }>;
displayName: ZodOptional<ZodString>;
expiresAt: ZodISODateTime;
outcome: ZodEnum<
{ "passkey-added": "passkey-added"; "signed-up": "signed-up" },
>;
type: ZodLiteral<"registration">;
userId: ZodString;
},
$strip,
>,
ZodObject<
{ expiresAt: ZodISODateTime; type: ZodLiteral<"sign-in"> },
$strip,
>,
],
"type",
> = ...
A one-time code or a challenge waiting for its answer, in the data store under
pending/<type>:<id>, taken once and refused afterexpiresAt.