-
-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathtypes.ts
32 lines (29 loc) · 799 Bytes
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
export interface AllContributorContributor {
avatar_url: string;
contributions: string[];
login: string;
name: string;
profile: string;
}
export interface AllContributorsData {
contributors: AllContributorContributor[];
}
export interface PartialPackageData {
author?: string | { email?: string; name?: string };
bin?: Record<string, string> | string;
dependencies?: Record<string, string>;
description?: string;
devDependencies?: Record<string, string>;
email?: string;
engines?: { node?: string };
keywords?: string[];
name?: string;
packageManager?: string;
publishConfig?: PartialPublishConfig;
repository?: string | { type: string; url: string };
scripts?: Record<string, string>;
version?: string;
}
interface PartialPublishConfig {
access?: "public" | "restricted";
}