Files
interfaces/ts/data/image.ts
T

27 lines
609 B
TypeScript
Raw Normal View History

import * as plugins from '../plugins.js';
2026-04-28 15:40:55 +00:00
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;
2026-04-28 15:40:55 +00:00
digest?: string;
registryRepository?: string;
registryTag?: string;
source?: 'upload' | 'registry';
storagePath?: string;
size: number;
createdAt: number;
}>;
2026-04-28 15:40:55 +00:00
lastPushEvent?: IRegistryPushEvent;
};
}