api / src /types.ts
RohanVashisht's picture
Refactor index.ts and types.ts to enhance data structure and loading; remove obsolete database subproject
68037ed
raw
history blame
825 Bytes
export interface Dependency {
name: string;
source: "relative" | "remote";
location: string;
}
export interface Item {
avatar_url: string;
name: string;
full_name: string;
created_at: string;
description?: string | null;
default_branch?: string;
open_issues: number;
stargazers_count: number;
forks_count: number;
watchers_count: number;
contentIsCorrect?: boolean;
tags_url: string;
license: string;
readme_content: string;
specials?: string;
topics?: string[];
size: number;
has_build_zig_zon?: boolean;
has_build_zig?: boolean;
fork: boolean;
updated_at: string;
dependencies?: Dependency[];
berg?: number;
gitlab?: number;
archived?: boolean;
owner?: string; // Added for findItem compatibility
}