Models
The pipeline
Do not change @trezor/connect/src/data/models.ts manually.
The one and only source of truth is models.json definition declared and maintained in the firmware repository.
These are exported to a read-only trezor-common repository.
trezor-common is included as git submodule mounted at submodules/trezor-common.
Update and maintenance in @trezor/connect
- Update
trezor-commonsubmodule:
yarn update-submodules
- Copy
models.jsontotrezor/connect/src/data/models.ts:
yarn update-models