2.4.0-rc.8 • Published 2 months ago

@dao-dao/types v2.4.0-rc.8

Weekly downloads
-
License
BSD-3-Clause-Clea...
Repository
-
Last release
2 months ago

@dao-dao/types

A collection of types used across packages.

Layout

LocationSummary
componentsTypes related to both stateless and stateful components and the respective packages.
contractsSmart contract types generated by @cosmwasm/ts-codegen.
protobufProtobuf types generated by @cosmology/telescope.
actions.tsTypes related to the @dao-dao/stateful/actions system.
chain.tsTypes related to the chain.
command.tsTypes related to the @dao-dao/stateful/command system.
dao.tsTypes related to DAOs.
helpers.tsHelper types.
inbox.tsTypes related to the inbox.
nft.tsTypes related to NFTs.
proposal-module-adapter.tsTypes related to the @dao-dao/stateful/proposal-module-adapter system.
proposal.tsTypes related to proposals.
state.tsTypes related to the @dao-dao/state package.
units.tsTypes related to units.
voting-module-adapter.tsTypes related to the @dao-dao/stateful/voting-module-adapter system.
wallet.tsTypes related to wallets.

Protobufs

This package contains Cosmos SDK protobuf definitions generated by Cosmology's Telescope.

To generate protobufs:

yarn protobuf

Sometimes definitions need to be manually fixed due to bugs and other discrepancies. There is a patch file that records these modifications in protobuf/patches.diff.

To update the patch file when new changes are made:

  1. Commit the changes so that the current branch is up-to-date with the desired changes.

  2. Run:

    yarn protobuf:patch:update

    This will regenerate the protobufs, undoing all patches. Then, it records the reverse diff between the committed changes and the regenerated protobufs (since we want to undo the current changes). Lastly, it reapplies the latest patches, and all changes should be made. If this works, only the patches.diff file should have changes.

  3. Update the previous commit with the new patches.

    git add protobuf/patches.diff
    git commit --amend
2.4.0-rc.8

2 months ago

2.4.0-rc.3

2 months ago

2.4.0-rc.4

2 months ago

2.4.0-rc.5

2 months ago

2.4.0-rc.6

2 months ago

2.4.0-rc.7

2 months ago

2.4.0-rc.0

2 months ago

2.4.0-rc.1

2 months ago

2.2.0

1 year ago

2.1.0-rc.2

1 year ago

2.1.0-rc.1

1 year ago

2.1.0-rc.0

1 year ago

2.1.0-rc.3

1 year ago

2.0.1

1 year ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.1

2 years ago