Variable StashedRequestConst
StashedRequest: ObjectSchema<
{
id: SchemaWithPipe<
[StringSchema<"`id` is required">, UuidAction<string, undefined>],
>;
name: OptionalSchema<StringSchema<undefined>, never>;
origin: SchemaWithPipe<
[
StringSchema<undefined>,
UrlAction<string, "`origin` must be a valid URL">,
],
>;
payload: VariantSchema<
"type",
[
ObjectSchema<
{ type: LiteralSchema<"connect", undefined> },
undefined,
>,
ObjectSchema<
{
address: StringSchema<"`address` is required">;
data: StringSchema<"`data` is required">;
type: LiteralSchema<"sign-transaction-block", undefined>;
},
undefined,
>,
ObjectSchema<
{
address: StringSchema<"`address` is required">;
bytes: StringSchema<"`bytes` is required">;
type: LiteralSchema<"sign-personal-message", undefined>;
},
undefined,
>,
],
undefined,
>;
},
undefined,
> = ...