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:
committed by
Priscila Oliveira
parent
a365ec548a
commit
d2f1f1c06a
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user