Psychedelic / dab

All the data an IC app needs to make seamless experiences, accessible directly on the IC. DAB is an open internet service for NFT, Token, Canister, and Dapp registries.
GNU General Public License v3.0
68 stars 11 forks source link

Rocky/add category field #29

Closed rocky-fleek closed 3 years ago

rocky-fleek commented 3 years ago

Summary

Added category field in canister metadata. The category is one of 3 possible values (Asset, Nft, Service) and so I implemented it as an enum but I'm not sure if that's correct or not.

@Nima-Ra I know I'm missing something on the upgrade script, cause I don't know how it would populate the fields otherwise. Just not sure how you do that to be honest

rocky-fleek commented 3 years ago

I just noted that the csv already has a category field. I'll add other types and change the ones I used tomorrow :catsalute:

alejo-acevedo-deel commented 3 years ago

@Nima-Ra @rocky-fleek could merge this?