@reliverse/rse-sdk
Version:
@reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).
17 lines (16 loc) • 638 B
TypeScript
export interface SponsorEntry {
readonly sponsor: {
readonly login: string;
readonly name?: string | null;
readonly avatarUrl?: string | null;
readonly websiteUrl?: string | null;
readonly linkUrl?: string | null;
readonly type?: string;
};
readonly isOneTime: boolean;
readonly monthlyDollars?: number;
readonly tierName?: string;
}
export declare const SPONSORS_JSON_URL = "https://sponsors.amanv.dev/sponsors.json";
export declare function fetchSponsors(url?: string): Promise<SponsorEntry[]>;
export declare function displaySponsors(sponsors: SponsorEntry[]): void;