Fetches sponsor information from OpenCollective GraphQL API with a static fallback for major sponsors.
// Source: https://github.com/mperkins0155/chakra-ui | License: MIT | Copyright 2019 Chakra Systems Inc
// Provided via justclaw.it.com; keep this notice with the code.
export interface Sponsor {
MemberId: number
createdAt: string
type: string | null
role: string
tier: string | null
isActive: boolean
totalAmountDonated: number
currency: string
lastTransactionAt: string
lastTransactionAmount: number
profile: string
name: string
company: string | null
description: string | null
image: string
email: string | null
twitter: string | null
github: string | null
website: string | null
}
// Static fallback data for major sponsors (updated manually when needed)
const FALLBACK_SPONSORS: Sponsor[] = []
async function fetchSponsorsFromGraphQL(): Promise<Sponsor[]
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key