Decided to keeps the different proposal types separate for now and we can revisit this topic later once we start fetching all types of proposals from Polkassembly.
~Introduced a union type now to make it easy in the clients to create generic components.~
Only refactored the treasury proposal types a little bit to make it aligned with the other proposal types.
However this introduces a small breaking change for the app. We have to deploy the app carefully.
With further discussions from here https://github.com/litentry/litentry-graph/pull/211
Decided to keeps the different proposal types separate for now and we can revisit this topic later once we start fetching all types of proposals from Polkassembly.
~Introduced a union type now to make it easy in the clients to create generic components.~
Only refactored the treasury proposal types a little bit to make it aligned with the other proposal types.
However this introduces a small breaking change for the app. We have to deploy the app carefully.