feat: add registry target contracts

This commit is contained in:
2026-04-28 15:40:55 +00:00
parent eb299afb53
commit 7f5cb4e247
6 changed files with 53 additions and 1 deletions
+6
View File
@@ -1,4 +1,5 @@
import * as plugins from '../plugins.js';
import type { IRegistryPushEvent } from './registry.js';
export interface IImage {
id: string;
@@ -12,9 +13,14 @@ export interface IImage {
description: string;
versions: Array<{
versionString: string;
digest?: string;
registryRepository?: string;
registryTag?: string;
source?: 'upload' | 'registry';
storagePath?: string;
size: number;
createdAt: number;
}>;
lastPushEvent?: IRegistryPushEvent;
};
}