cnpmcore
Version:
Private NPM Registry for Enterprise
29 lines (28 loc) • 744 B
TypeScript
import { type EasyData } from '../util/EntityUtil.ts';
import { Entity, type EntityData } from './Entity.ts';
interface BinaryData extends EntityData {
binaryId: string;
category: string;
parent: string;
name: string;
isDir: boolean;
size: number;
date: string;
sourceUrl?: string;
ignoreDownloadStatuses?: number[];
}
export declare class Binary extends Entity {
binaryId: string;
category: string;
parent: string;
name: string;
isDir: boolean;
size: number;
date: string;
sourceUrl: string;
ignoreDownloadStatuses?: number[];
constructor(data: BinaryData);
get storePath(): string;
static create(data: EasyData<BinaryData, 'binaryId'>): Binary;
}
export {};