Closed BLuEScioN closed 1 year ago
@BLuEScioN I think some of the types you mention are already broken up, like here: https://github.com/hirosystems/chainhook/blob/develop/components/client/typescript/src/schemas/stacks/if_this.ts
Are you able to import them? Each of those has its own exported type
Fix incorrect types
Break types up to make them more consumable
If you look at chainhook-types and chainhook-config here, you can get a good idea of how I am consuming my own chainhook types on the client side