Appearance
Function: parsePolicyPackKeyRef()
ts
function parsePolicyPackKeyRef(value): object;Parses rule:country_allowed into { kind, key }; throws a ZodError on a bad reference.
Parameters
value
string
Returns
object
key
ts
key: string;kind
ts
kind: "workflow" | "rule" | "rule_set" | "collection_flow" | "list";