1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-28 22:15:32 +07:00
verdaccio-ui/src/webui/components/Package/types.js
2019-04-04 21:23:40 +02:00

31 lines
421 B
JavaScript

/**
* @prettier
* @flow
*/
export interface IProps {
name: string;
version: string;
time: string;
author: IAuthor;
description?: string;
keywords?: string[];
license?: string;
homepage: string;
bugs: IBugs;
dist: IDist;
}
export interface IAuthor {
name: string;
avatar: string;
email: string;
}
export interface IBugs {
url: string;
}
export interface IDist {
unpackedSize: number;
}