refactor(scripts): extract clawtributors types
This commit is contained in:
1 parent
d98b6beb4d
commit
c892f38d3c
2 files changed
+34
-33
No files matched your search
@@ -0,0 +1,33 @@
|
||||
export type MapConfig = {
|
||||
ensureLogins?: string[];
|
||||
displayName?: Record<string, string>;
|
||||
nameToLogin?: Record<string, string>;
|
||||
emailToLogin?: Record<string, string>;
|
||||
placeholderAvatar?: string;
|
||||
seedCommit?: string;
|
||||
};
|
||||
|
||||
export type ApiContributor = {
|
||||
login?: string;
|
||||
html_url?: string;
|
||||
avatar_url?: string;
|
||||
name?: string;
|
||||
email?: string;
|
||||
contributions?: number;
|
||||
};
|
||||
|
||||
export type User = {
|
||||
login: string;
|
||||
html_url: string;
|
||||
avatar_url: string;
|
||||
};
|
||||
|
||||
export type Entry = {
|
||||
key: string;
|
||||
login?: string;
|
||||
display: string;
|
||||
html_url: string;
|
||||
avatar_url: string;
|
||||
lines: number;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user