mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-20 11:25:56 +00:00
fix(ui): align PublicCatalogueItem fields and prevent TypeError on item.id
This commit is contained in:
1 parent
d9f9d0f0c2
commit
cba8ea3a87
2 files changed
+22
-40
No files matched your search
+7
-11
@@ -273,27 +273,23 @@ export type CoaCompatibilityStatus =
|
||||
| 'Blocked';
|
||||
|
||||
export interface PublicCatalogueItem {
|
||||
id: string;
|
||||
id: number;
|
||||
name: string;
|
||||
full_name: string;
|
||||
owner: string;
|
||||
repo: string;
|
||||
description: string;
|
||||
html_url: string;
|
||||
default_branch: string;
|
||||
description: string;
|
||||
stars: number;
|
||||
forks: number;
|
||||
open_issues: number;
|
||||
default_branch: string;
|
||||
pushed_at?: string | null;
|
||||
created_at?: string | null;
|
||||
updated_at?: string | null;
|
||||
license?: string | null;
|
||||
topics: string[];
|
||||
category: string;
|
||||
author_name?: string | null;
|
||||
license_spdx?: string | null;
|
||||
coa_status: CoaCompatibilityStatus;
|
||||
coa_notes?: string | null;
|
||||
coa_status_source: string;
|
||||
conflict_reason?: string | null;
|
||||
is_curated_coa: boolean;
|
||||
is_coa_recommended: boolean;
|
||||
}
|
||||
|
||||
export interface PublicCatalogueResponse {
|
||||
|
||||
Reference in new issue
Block a user