Some types in Rust are not fully exported to the identity-wallet/bindings yet and will thus produce type errors for the frontend. Additionally, the bindings folder should be cleaned up to improve usability. We can do the following:
upgrade ts-rs (v7 --> v8)
group bindings into folders (by adding an explicit export_to)
complete typing as much as possible (possibly also manually)
Description
Some types in Rust are not fully exported to the
identity-wallet/bindings
yet and will thus produce type errors for the frontend. Additionally, the bindings folder should be cleaned up to improve usability. We can do the following:ts-rs
(v7 --> v8)export_to
)Motivation
Improved frontend DX
Requirements
ts-rs
(v7 --> v8)export_to
)Open Questions
1Password/typeshare
?Are you planning to contribute this in a PR?
Yes