update software title page with new API response (#20566)

relates to #20536

quick update to the software titles page to integrate with new API
changes.


- [x] Manual QA for all new/changed functionality
This commit is contained in:
Gabriel Hernandez
2024-07-18 17:04:15 +01:00
committed by GitHub
parent cedcadbb36
commit 730ac90cf1
3 changed files with 95 additions and 65 deletions
+3 -3
View File
@@ -61,6 +61,7 @@ export interface ISoftwarePackage {
pre_install_query?: string;
post_install_script?: string;
self_service: boolean;
icon_url: string | null;
status: {
installed: number;
pending: number;
@@ -88,13 +89,12 @@ export interface IAppStoreApp {
export interface ISoftwareTitle {
id: number;
name: string;
icon_url: string | null;
versions_count: number;
source: string;
hosts_count: number;
versions: ISoftwareTitleVersion[] | null;
available_for_install: boolean;
self_service: boolean;
software_package: ISoftwarePackage | null;
app_store_app: IAppStoreApp | null;
browser?: string;
}