-
Notifications
You must be signed in to change notification settings - Fork 1
/
specialSponsors.ts
50 lines (45 loc) · 1.34 KB
/
specialSponsors.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { resolveAvatars, type Sponsorship, type Sponsor } from 'sponsorkit'
const specialSponsors: Sponsor[] = [
{
type: 'User',
login: 'zhangmo8',
name: 'xiaomo',
avatarUrl: 'https://avatars.githubusercontent.com/u/43628500?v=4',
linkUrl: 'https://github.com/zhangmo8',
websiteUrl: 'https://github.com/zhangmo8',
},
{
type: 'User',
login: 'qytayh',
name: 'Joker',
avatarUrl: 'https://avatars.githubusercontent.com/u/39668309?v=4',
linkUrl: 'https://github.com/qytayh',
websiteUrl: 'https://github.com/qytayh',
},
{
type: 'User',
login: 'chenQushai',
name: 'chenQushai',
avatarUrl: 'https://avatars.githubusercontent.com/u/45193230?v=4',
linkUrl: 'https://github.com/chenQushai',
websiteUrl: 'https://github.com/chenQushai',
},
{
type: 'User',
login: 'chouchouji',
name: 'chouchouji',
avatarUrl: 'https://avatars.githubusercontent.com/u/70570907?v=4',
linkUrl: 'https://github.com/chouchouji',
websiteUrl: 'https://github.com/chouchouji',
},
]
export const specialMonthlyDollars = 6
export async function genSpecialSponsorShips() {
const sponsorShips: Sponsorship[] = specialSponsors.map((sponsor) => ({
tierName: 'github',
monthlyDollars: specialMonthlyDollars,
sponsor,
}))
await resolveAvatars(sponsorShips, '')
return sponsorShips
}