From fd3e6fd1af833262a38ec6d34d7c7b04d3050322 Mon Sep 17 00:00:00 2001 From: Kelechi Date: Mon, 16 Mar 2026 17:52:48 +0100 Subject: [PATCH 1/5] feat(schema): update Tag and Category enums with expanded taxonomy - Reorganize Tag enum into logical groups (People & Teams, Projects & Protocols, Organizations, Cryptoassets, Exchanges & Marketplaces, Events, Ecosystem Tags) and update Category enum to match the new classification structure. --- src/schema/index.ts | 103 ++++++++++++++++++++++++++++---------------- 1 file changed, 66 insertions(+), 37 deletions(-) diff --git a/src/schema/index.ts b/src/schema/index.ts index 6107121..147a5ae 100644 --- a/src/schema/index.ts +++ b/src/schema/index.ts @@ -84,51 +84,80 @@ export const EventType = z.enum(["CREATED", "DEFAULT", "MULTIDATE"]); export type EventType = z.infer; export const Tag = z.enum([ - "AI", - "Artists", - "BinanceSmartChain", - "Blockchains", - "CEXes", - "Collections", - "Collectors", - "Conference", - "DEXes", - "Developers", - "Entertainment", - "Ethereum", - "Events", - "Forum", - "Founders", - "Festival", - "Games", - "Glossary", + // People & Teams + "Founder", + "Developer", + "Investor", + "Researcher", + "Artist", + "Speaker", + "Influencer", + "Advisor", + // Projects & Protocols + "Layer1", + "Layer2", + "Layer3", + "DeFi", + "Infrastructure", + "Oracle", + "Bridge", + "Privacy", + "Gaming", + "AIPlatform", + "AIAgent", + "AIInfrastructure", + "Identity", + "RWA", + "Payments", + // Organizations + "DAO", + "ResearchLab", "Government", + "Venture", + "Launchpad", + "Media", + "DataPlatform", + // Cryptoassets + "Coin", + "Token", + "Stablecoin", + "Memecoin", + "NFT", + "GovernanceToken", + "UtilityToken", + "AIToken", + // Exchanges & Marketplaces + "CEX", + "DEX", + "NFTMarketplace", + "PredictionMarket", + "AIMarketplace", + // Events + "Events", + "Conference", "Hackathon", - "Marketplaces", - "Memecoins", - "Organizations", - "Online", - "PeopleInDeFi", - "Polkadot", - "Polygon", - "Protocols", - "Regulations", + "Workshop", + // Universal Ecosystem Tags + "Bitcoin", + "Ethereum", "Solana", - "Speakers", - "Stablecoins", - "Venture", + "BNBChain", + "Polkadot", + "Avalanche", + "Cosmos", + "Base", + "Arbitrum", + "Optimism", ]); export type Tag = z.infer; export const Category = z.enum([ - "nfts", - "defi", - "exchanges", - "cryptocurrencies", - "daos", - "people", - "dapps", + "people_and_teams", + "projects_and_protocols", "organizations", + "cryptoassets", + "exchanges_and_marketplaces", + "events", ]); export type Category = z.infer; From 9e5cba28fadb85c13e6c6f571be3eda822937b2b Mon Sep 17 00:00:00 2001 From: Kelechi Date: Mon, 16 Mar 2026 18:01:50 +0100 Subject: [PATCH 2/5] feat(schema): add Polygon back to ecosystem tags --- src/schema/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schema/index.ts b/src/schema/index.ts index 147a5ae..64f94d9 100644 --- a/src/schema/index.ts +++ b/src/schema/index.ts @@ -142,6 +142,7 @@ export const Tag = z.enum([ "Ethereum", "Solana", "BNBChain", + "Polygon", "Polkadot", "Avalanche", "Cosmos", From 52012aa0637b89eb482612c46cb531d184852e93 Mon Sep 17 00:00:00 2001 From: Kelechi Date: Tue, 17 Mar 2026 10:45:43 +0100 Subject: [PATCH 3/5] feat(schema): expand Tag and Category enums with new taxonomy values --- src/schema/index.ts | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/src/schema/index.ts b/src/schema/index.ts index 64f94d9..ac09b91 100644 --- a/src/schema/index.ts +++ b/src/schema/index.ts @@ -84,6 +84,40 @@ export const EventType = z.enum(["CREATED", "DEFAULT", "MULTIDATE"]); export type EventType = z.infer; export const Tag = z.enum([ + // Existing Tags + "AI", + "Artists", + "BinanceSmartChain", + "Blockchains", + "CEXes", + "Collections", + "Collectors", + "Conference", + "DEXes", + "Developers", + "Entertainment", + "Ethereum", + "Events", + "Forum", + "Founders", + "Festival", + "Games", + "Glossary", + "Government", + "Hackathon", + "Marketplaces", + "Memecoins", + "Organizations", + "Online", + "PeopleInDeFi", + "Polkadot", + "Polygon", + "Protocols", + "Regulations", + "Solana", + "Speakers", + "Stablecoins", + "Venture", // People & Teams "Founder", "Developer", @@ -112,8 +146,6 @@ export const Tag = z.enum([ // Organizations "DAO", "ResearchLab", - "Government", - "Venture", "Launchpad", "Media", "DataPlatform", @@ -133,17 +165,10 @@ export const Tag = z.enum([ "PredictionMarket", "AIMarketplace", // Events - "Events", - "Conference", - "Hackathon", "Workshop", // Universal Ecosystem Tags "Bitcoin", - "Ethereum", - "Solana", "BNBChain", - "Polygon", - "Polkadot", "Avalanche", "Cosmos", "Base", From 7521a30e776016b6fede007b1b31cc53c262c0a8 Mon Sep 17 00:00:00 2001 From: Kelechi Date: Tue, 17 Mar 2026 10:49:19 +0100 Subject: [PATCH 4/5] add changeset --- .changeset/moody-papayas-train.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/moody-papayas-train.md diff --git a/.changeset/moody-papayas-train.md b/.changeset/moody-papayas-train.md new file mode 100644 index 0000000..3f5fd3d --- /dev/null +++ b/.changeset/moody-papayas-train.md @@ -0,0 +1,5 @@ +--- +"@everipedia/iq-utils": minor +--- + +Expand Tag and Category enums with new taxonomy values while preserving existing ones From 4aa3a977c4995c8521d51b8de8278bfe3ec9b878 Mon Sep 17 00:00:00 2001 From: Kelechi Date: Tue, 17 Mar 2026 13:34:01 +0100 Subject: [PATCH 5/5] refactor(schema): reorganize existing tags into proper sections --- src/schema/index.ts | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/schema/index.ts b/src/schema/index.ts index ac09b91..c0f4c8e 100644 --- a/src/schema/index.ts +++ b/src/schema/index.ts @@ -84,40 +84,25 @@ export const EventType = z.enum(["CREATED", "DEFAULT", "MULTIDATE"]); export type EventType = z.infer; export const Tag = z.enum([ - // Existing Tags + // Other Tags "AI", "Artists", - "BinanceSmartChain", "Blockchains", - "CEXes", "Collections", "Collectors", - "Conference", - "DEXes", "Developers", "Entertainment", - "Ethereum", - "Events", "Forum", "Founders", - "Festival", "Games", "Glossary", - "Government", - "Hackathon", "Marketplaces", "Memecoins", - "Organizations", - "Online", "PeopleInDeFi", - "Polkadot", - "Polygon", "Protocols", "Regulations", - "Solana", "Speakers", "Stablecoins", - "Venture", // People & Teams "Founder", "Developer", @@ -144,6 +129,9 @@ export const Tag = z.enum([ "RWA", "Payments", // Organizations + "Government", + "Venture", + "Organizations", "DAO", "ResearchLab", "Launchpad", @@ -159,14 +147,26 @@ export const Tag = z.enum([ "UtilityToken", "AIToken", // Exchanges & Marketplaces + "CEXes", + "DEXes", "CEX", "DEX", "NFTMarketplace", "PredictionMarket", "AIMarketplace", // Events + "Conference", + "Events", + "Festival", + "Hackathon", + "Online", "Workshop", // Universal Ecosystem Tags + "BinanceSmartChain", + "Ethereum", + "Polkadot", + "Polygon", + "Solana", "Bitcoin", "BNBChain", "Avalanche",