feat: add AUR repository support for Arch Linux packages

- Extended database schema and models to include 'aur' as a valid repository type alongside 'official' and 'third-party'
- Added repository filter UI in package browser for Arch platform to distinguish between official and AUR packages
- Enhanced init-db script with migration system to track and apply schema changes automatically
This commit is contained in:
Yusuf İpek
2025-11-12 20:43:50 +03:00
parent cce1098282
commit 560e78cb96
11 changed files with 395 additions and 226 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ export interface Package {
type: 'gui' | 'cli'
platform?: string | Platform
platform_id?: string
repository: 'official' | 'third-party'
repository: 'official' | 'third-party' | 'aur'
download_url?: string
lastUpdated?: string
downloads?: number
@@ -29,7 +29,7 @@ export interface FilterOptions {
platform_id?: string
category_id?: number
type?: 'gui' | 'cli'
repository?: 'official' | 'third-party'
repository?: 'official' | 'third-party' | 'aur'
search?: string
limit?: number
offset?: number