fix: address code review feedback

- Add validation for categories and experienceLevel in GET endpoint
- Fix type safety: remove 'any' types, use proper Platform type
- Fix hardcoded translations in Header component
- Refactor platform loading to use centralized platform list
- Remove duplicate getPackageManagerForOS logic
- Improve architectural consistency and DRY principles

Resolves Gemini Code Assist review comments
This commit is contained in:
ersaayan
2025-11-22 18:52:36 +03:00
parent bfc8341ea8
commit 4b45216d22
4 changed files with 75 additions and 56 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export interface RecommendedPackage {
category?: string;
license?: string;
type: "gui" | "cli";
platform?: string | any;
platform?: Platform;
platform_id?: string;
repository: "official" | "third-party" | "aur";
download_url?: string;