refactor(scripts): extract clawtributors types

This commit is contained in:
Peter Steinberger
2026-01-14 01:11:28 +00:00
parent d98b6beb4d
commit c892f38d3c
2 changed files with 34 additions and 33 deletions

View File

@@ -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;
};