From c2d1c939c8ad846e0329a2d92f2697e923cedc1c Mon Sep 17 00:00:00 2001 From: GODrums Date: Mon, 5 Oct 2026 18:46:15 +0200 Subject: [PATCH] refactor: drop image fields from schema types The schema endpoint no longer returns images for paints, agents, collectibles and music kits (CSF-1972). None of them were read. Co-authored-by: Cursor --- src/lib/types/schema.d.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lib/types/schema.d.ts b/src/lib/types/schema.d.ts index 5e3f6fcb..44aa524a 100644 --- a/src/lib/types/schema.d.ts +++ b/src/lib/types/schema.d.ts @@ -3,16 +3,13 @@ export namespace ItemSchema { weapons: Record; stickers: Record; containers: Record; - agents: Record< - string, - {image: string; market_hash_name: string; price: number; rarity: number; faction?: Faction} - >; + agents: Record; keychains: Record; highlight_reels: Record; - collectibles: Record; + collectibles: Record; music_kits: Record< string, - {image: string; market_hash_name: string; rarity: number; normal_price?: number; stattrak_price?: number} + {market_hash_name: string; rarity: number; normal_price?: number; stattrak_price?: number} >; rarities: Array<{key: string; name: string; value: number}>; }; @@ -30,7 +27,6 @@ export namespace ItemSchema { min: number; paintIndex?: number; rarity?: number; - image?: string; collections?: string[]; stattrak?: boolean; souvenir?: boolean;