File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed
Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ function getSocialIcon(provider: string): string {
5151 return socialIcons [provider ] ?? ' i-lucide:link'
5252}
5353
54- function getSocialLinks(person : { twitterUsername: string | null ; socialAccounts: SocialAccount [] }): { provider: string ; url: string ; icon: string }[] {
54+ function getSocialLinks(person : {
55+ twitterUsername: string | null
56+ socialAccounts: SocialAccount []
57+ }): { provider: string ; url: string ; icon: string }[] {
5558 const links: { provider: string ; url: string ; icon: string }[] = []
5659
5760 if (person .twitterUsername ) {
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ export interface GitHubContributor {
1818 socialAccounts : SocialAccount [ ]
1919}
2020
21- type GitHubAPIContributor = Omit < GitHubContributor , 'role' | 'sponsors_url' | 'bio' | 'twitterUsername' | 'socialAccounts' >
21+ type GitHubAPIContributor = Omit <
22+ GitHubContributor ,
23+ 'role' | 'sponsors_url' | 'bio' | 'twitterUsername' | 'socialAccounts'
24+ >
2225
2326// Fallback when no GitHub token is available (e.g. preview environments).
2427// Only stewards are shown as maintainers; everyone else is a contributor.
@@ -113,13 +116,16 @@ async function fetchGovernanceProfiles(
113116 }
114117
115118 const json = ( await response . json ( ) ) as {
116- data ?: Record < string , {
117- login : string
118- hasSponsorsListing : boolean
119- bio : string | null
120- twitterUsername : string | null
121- socialAccounts : { nodes : { provider : string ; url : string } [ ] }
122- } | null >
119+ data ?: Record <
120+ string ,
121+ {
122+ login : string
123+ hasSponsorsListing : boolean
124+ bio : string | null
125+ twitterUsername : string | null
126+ socialAccounts : { nodes : { provider : string ; url : string } [ ] }
127+ } | null
128+ >
123129 }
124130
125131 const profiles = new Map < string , GovernanceProfile > ( )
You can’t perform that action at this time.
0 commit comments