verdaccio-ui/types/packageMeta.ts

17 lines
278 B
TypeScript
Raw Normal View History

2019-06-22 16:43:59 +07:00
export interface PackageMetaInterface {
latest: {
name: string;
dist: {
fileCount: number;
unpackedSize: number;
};
license?: Partial<LicenseInterface> | string;
2019-06-22 16:43:59 +07:00
};
_uplinks: {};
}
interface LicenseInterface {
type: string;
url: string;
}