Enhance app management with 'IsRecommended' feature
- Added 'IsRecommended' property to app-related data models, allowing apps to be marked as recommended. - Updated API endpoints for creating and updating apps to include 'IsRecommended' in request bodies. - Modified database schema to accommodate the new 'IsRecommended' field. - Enhanced frontend components to display recommended apps with a star icon and updated forms to manage this property. - Improved sorting logic in app listings to prioritize recommended apps. - Updated documentation to reflect changes in API and data models.
This commit is contained in:
1 parent
701c3a1d51
commit
8c53fcded2
24 files changed
+1154
-31
No files matched your search
@@ -102,6 +102,7 @@ export type ClientAppDto = {
|
||||
downloadUrl: string
|
||||
description: string | null
|
||||
iconUrl: string | null
|
||||
isRecommended: boolean
|
||||
}
|
||||
|
||||
/** GET /api/apps — сгруппировано по ОС на бэкенде; отсутствующая ОС значит "нет приложений". */
|
||||
@@ -212,6 +213,7 @@ export type AdminAppDto = {
|
||||
iconUrl: string | null
|
||||
sortOrder: number
|
||||
isEnabled: boolean
|
||||
isRecommended: boolean
|
||||
}
|
||||
|
||||
export type StatsDto = {
|
||||
|
||||
Reference in new issue
Block a user