WarmHub Docs
  • Welcome to WarmHub
  • Getting Started
  • The Language of Digital Trust
    • Articles, Claims, Evidence, and Sources
    • Reproductions and Replications
  • Trust Repositories
    • Creating a Repository
    • ReadMe
    • Data
      • Templates for Typed Instance Data
    • Types
      • Importing Types From Other Repos
      • Creating Types
      • Claims Computed on WarmHub
    • Events
    • Webhooks
    • About
    • Committing To Your Repo
    • Customizing Templates
      • Template Language Reference
  • Guides
    • Units of Measurement Repo
    • Templates for Units of Measurement
Powered by GitBook
On this page
  1. Trust Repositories
  2. Types

Importing Types From Other Repos

Importing Types from other repos, allows you to bring the most recent version of types from that repo, into your repo, so that you can start using them to make commits.

To import a repo, click the Import Repo button, located in the upper right hand corner of the Types page in the repo, that you want to import types into. You can then browse or search for the repo that you would like to import types from, and then click the + button, next to the repo you wish to import types from.

Notes:

  • When importing Types from a repo, you will import all of the types that exist in that repo at the time of import. This may include types that were imported into that repo as well, due to dependencies between the types.

  • You can import the types from multiple repos into your repo

Updating Types imported from other repos

When you import types from other repos, you do not have the ability to edit or update themselves.

Additionally, they will not automatically update with any changes that the owner of those types makes. To update the types imported from a repo to the most recent version, click the ellipses (...) in the action column next to that repo, in the Imported Types From Other Repos grid, then select Update.

Notes

  • You can only update to the most recent version of the types in that repo

  • You may be unable to update, if you have dependencies in your types, that would be broken by the updated version. You will be informed of this when you click the Update option and alerted to what Types need to be edited to removed these dependencies before you update.

    • Example: If you build an Evidence Type, that relies on an imported Article Type that would be removed by the update, you will need to update or archive the evidence type, before you can update to the most recent version of the types from that repo.

PreviousTypesNextCreating Types

Last updated 13 days ago