Skip to content

Commit 66e9e24

Browse files
Merge pull request #112 from EveripediaNetwork/update-tag-category-enums
feat(schema): update Tag and Category enums
2 parents 3546a69 + 4aa3a97 commit 66e9e24

2 files changed

Lines changed: 81 additions & 21 deletions

File tree

.changeset/moody-papayas-train.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@everipedia/iq-utils": minor
3+
---
4+
5+
Expand Tag and Category enums with new taxonomy values while preserving existing ones

src/schema/index.ts

Lines changed: 76 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -84,51 +84,106 @@ export const EventType = z.enum(["CREATED", "DEFAULT", "MULTIDATE"]);
8484
export type EventType = z.infer<typeof EventType>;
8585

8686
export const Tag = z.enum([
87+
// Other Tags
8788
"AI",
8889
"Artists",
89-
"BinanceSmartChain",
9090
"Blockchains",
91-
"CEXes",
9291
"Collections",
9392
"Collectors",
94-
"Conference",
95-
"DEXes",
9693
"Developers",
9794
"Entertainment",
98-
"Ethereum",
99-
"Events",
10095
"Forum",
10196
"Founders",
102-
"Festival",
10397
"Games",
10498
"Glossary",
105-
"Government",
106-
"Hackathon",
10799
"Marketplaces",
108100
"Memecoins",
109-
"Organizations",
110-
"Online",
111101
"PeopleInDeFi",
112-
"Polkadot",
113-
"Polygon",
114102
"Protocols",
115103
"Regulations",
116-
"Solana",
117104
"Speakers",
118105
"Stablecoins",
106+
// People & Teams
107+
"Founder",
108+
"Developer",
109+
"Investor",
110+
"Researcher",
111+
"Artist",
112+
"Speaker",
113+
"Influencer",
114+
"Advisor",
115+
// Projects & Protocols
116+
"Layer1",
117+
"Layer2",
118+
"Layer3",
119+
"DeFi",
120+
"Infrastructure",
121+
"Oracle",
122+
"Bridge",
123+
"Privacy",
124+
"Gaming",
125+
"AIPlatform",
126+
"AIAgent",
127+
"AIInfrastructure",
128+
"Identity",
129+
"RWA",
130+
"Payments",
131+
// Organizations
132+
"Government",
119133
"Venture",
134+
"Organizations",
135+
"DAO",
136+
"ResearchLab",
137+
"Launchpad",
138+
"Media",
139+
"DataPlatform",
140+
// Cryptoassets
141+
"Coin",
142+
"Token",
143+
"Stablecoin",
144+
"Memecoin",
145+
"NFT",
146+
"GovernanceToken",
147+
"UtilityToken",
148+
"AIToken",
149+
// Exchanges & Marketplaces
150+
"CEXes",
151+
"DEXes",
152+
"CEX",
153+
"DEX",
154+
"NFTMarketplace",
155+
"PredictionMarket",
156+
"AIMarketplace",
157+
// Events
158+
"Conference",
159+
"Events",
160+
"Festival",
161+
"Hackathon",
162+
"Online",
163+
"Workshop",
164+
// Universal Ecosystem Tags
165+
"BinanceSmartChain",
166+
"Ethereum",
167+
"Polkadot",
168+
"Polygon",
169+
"Solana",
170+
"Bitcoin",
171+
"BNBChain",
172+
"Avalanche",
173+
"Cosmos",
174+
"Base",
175+
"Arbitrum",
176+
"Optimism",
120177
]);
121178
export type Tag = z.infer<typeof Tag>;
122179

123180
export const Category = z.enum([
124-
"nfts",
125-
"defi",
126-
"exchanges",
127-
"cryptocurrencies",
128-
"daos",
129-
"people",
130-
"dapps",
181+
"people_and_teams",
182+
"projects_and_protocols",
131183
"organizations",
184+
"cryptoassets",
185+
"exchanges_and_marketplaces",
186+
"events",
132187
]);
133188
export type Category = z.infer<typeof Category>;
134189

0 commit comments

Comments
 (0)