feat: add registry target contracts
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user