Variable SignSolTransactionRuleSchemaConst
SignSolTransactionRuleSchema: ZodObject<
{
action: ZodEnum<["reject", "accept"]>;
criteria: ZodArray<
ZodDiscriminatedUnion<
"type",
[
ZodObject<
{
addresses: ZodArray<ZodString, "many">;
operator: ZodEnum<["in", "not in"]>;
type: ZodLiteral<"solAddress">;
},
"strip",
ZodTypeAny,
{ addresses: string[]; operator: "in"
| "not in"; type: "solAddress" },
{ addresses: string[]; operator: "in" | "not in"; type: "solAddress" },
>,
],
>,
"many",
>;
operation: ZodLiteral<"signSolTransaction">;
},
"strip",
ZodTypeAny,
{
action: "reject"
| "accept";
criteria: {
addresses: string[];
operator: "in" | "not in";
type: "solAddress";
}[];
operation: "signSolTransaction";
},
{
action: "reject"
| "accept";
criteria: {
addresses: string[];
operator: "in" | "not in";
type: "solAddress";
}[];
operation: "signSolTransaction";
},
> = ...
Type representing a 'signSolTransaction' policy rule that can accept or reject specific operations based on a set of criteria.