Don't force ProcessState::public_data type to Record<string, string>
This commit is contained in:
parent
b656531dd1
commit
338d62b126
@ -24,8 +24,7 @@ pub struct ProcessState {
|
|||||||
#[tsify(type = "Record<string, string>")]
|
#[tsify(type = "Record<string, string>")]
|
||||||
pub keys: BTreeMap<String, [u8; 32]>, // We may not always have all the keys
|
pub keys: BTreeMap<String, [u8; 32]>, // We may not always have all the keys
|
||||||
pub validation_tokens: Vec<Proof>, // Signature of the hash of pcd_commitment tagged with some decision like "yes" or "no"
|
pub validation_tokens: Vec<Proof>, // Signature of the hash of pcd_commitment tagged with some decision like "yes" or "no"
|
||||||
#[tsify(type = "Record<string, string>")]
|
pub public_data: Pcd,
|
||||||
pub public_data: Pcd,
|
|
||||||
#[tsify(type = "Record<string, RoleDefinition>")]
|
#[tsify(type = "Record<string, RoleDefinition>")]
|
||||||
pub roles: Roles,
|
pub roles: Roles,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user