m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-14 08:03:48 -05:00
Many many many changes, honestly just read the release notes
This commit is contained in:
Sergio
2025-02-28 20:43:49 +02:00
committed by GitHub
parent b12acba745
commit 0f9c5d1466
141 changed files with 4527 additions and 5848 deletions

View File

@@ -2,9 +2,43 @@ export interface Data {
metrics: {
monitored_images: number;
up_to_date: number;
update_available: number;
updates_available: number;
major_updates: number;
minor_updates: number;
patch_updates: number;
other_updates: number;
unknown: number;
};
images: Record<string, boolean | null>;
images: Image[];
last_updated: string;
};
}
export interface Image {
reference: string;
parts: {
registry: string;
repository: string;
tag: string;
};
result: {
has_update: boolean | null;
info: VersionInfo | DigestInfo | null;
error: string | null;
};
time: number;
server: string | null;
}
interface VersionInfo {
type: "version";
version_update_type: "major" | "minor" | "patch";
new_tag: string;
current_version: string;
new_version: string;
}
interface DigestInfo {
type: "digest";
local_digests: string[];
remote_digest: string;
}