You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/docker/models/imageLayer.ts

28 lines
586 B

import { ImageLayer } from '@/react/docker/proxy/queries/images/useImageHistory';
export class ImageLayerViewModel implements ImageLayer {
Id: ImageLayer['Id'];
Created: ImageLayer['Created'];
CreatedBy: ImageLayer['CreatedBy'];
Size: ImageLayer['Size'];
Comment: ImageLayer['Comment'];
Tags: ImageLayer['Tags'];
constructor(
public Order: number,
data: ImageLayer
) {
this.Id = data.Id;
this.Created = data.Created;
this.CreatedBy = data.CreatedBy;
this.Size = data.Size;
this.Comment = data.Comment;
this.Tags = data.Tags;
}
}