1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-12 06:05:43 +07:00

refactor: convert Author component to hooks (#150)

This commit is contained in:
Andrew Hughson
2019-10-06 14:44:48 +01:00
committed by Priscila Oliveira
parent a365ec548a
commit d2f1f1c06a
4 changed files with 51 additions and 79 deletions

View File

@@ -3,12 +3,14 @@ export interface PackageMetaInterface {
distTags?: DistTags;
time?: Time;
latest: {
author?: Author;
name: string;
dist: {
fileCount: number;
unpackedSize: number;
};
license?: Partial<LicenseInterface> | string;
version: string;
};
_uplinks: {};
}
@@ -41,10 +43,11 @@ export interface Version {
keywords?: string[];
}
interface Author {
export interface Author {
name?: string;
email?: string;
url?: string;
avatar?: string;
}
interface Maintainer {