27 lines
609 B
TypeScript
27 lines
609 B
TypeScript
import * as plugins from '../plugins.js';
|
|
import type { IRegistryPushEvent } from './registry.js';
|
|
|
|
export interface IImage {
|
|
id: string;
|
|
data: {
|
|
name: string;
|
|
location: {
|
|
internal: boolean;
|
|
externalRegistryId: string;
|
|
externalImageTag: string;
|
|
}
|
|
description: string;
|
|
versions: Array<{
|
|
versionString: string;
|
|
digest?: string;
|
|
registryRepository?: string;
|
|
registryTag?: string;
|
|
source?: 'upload' | 'registry';
|
|
storagePath?: string;
|
|
size: number;
|
|
createdAt: number;
|
|
}>;
|
|
lastPushEvent?: IRegistryPushEvent;
|
|
};
|
|
}
|