Reduce the size of type definitions in app/api/spotify/playlists/[playlistId]/tracks/route.ts (lines 25-31). Replace 50+ numeric literal union types with a const and typeof approach: const VALID_LIMITS = [1, 5, 10, 20, 30, 40, 50] as const; type SpotifyPagingParams = typeof VALID_LIMITS[number];. Estimated size saved: 2KB.
Priority: Low | Effort: Small
Reduce the size of type definitions in app/api/spotify/playlists/[playlistId]/tracks/route.ts (lines 25-31). Replace 50+ numeric literal union types with a const and typeof approach: const VALID_LIMITS = [1, 5, 10, 20, 30, 40, 50] as const; type SpotifyPagingParams = typeof VALID_LIMITS[number];. Estimated size saved: 2KB.
Priority: Low | Effort: Small