mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 05:55:03 +01:00
661 B
661 B
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