add vencord and equicord contributor to fetching
All checks were successful
Code quality checks / biome (push) Successful in 17s

This commit is contained in:
creations 2025-06-05 19:49:23 -04:00
parent d300f20b49
commit 269b858e88
Signed by: creations
GPG key ID: 8F553AA4320FC711
3 changed files with 100 additions and 12 deletions

32
types/badge.d.ts vendored
View file

@ -10,7 +10,7 @@ interface FetchBadgesOptions {
separated?: boolean;
}
type badgeURLMap = {
type BadgeService = {
service: string;
url:
| string
@ -51,15 +51,6 @@ interface ReviewDbData
type BadgeServiceData = VencordEquicordData | NekocordData | ReviewDbData;
interface BadgeService {
service: string;
url:
| string
| ((
userId: string,
) => string | { user: string; badge: (id: string) => string });
}
interface VencordBadgeItem {
tooltip: string;
badge: string;
@ -87,3 +78,24 @@ interface DiscordUserData {
avatar: string;
flags: number;
}
interface PluginData {
hasPatches: boolean;
hasCommands: boolean;
enabledByDefault: boolean;
required: boolean;
tags: string[];
name: string;
description: string;
authors: Array<{
name: string;
id: string;
}>;
filePath: string;
commands?: Array<{
name: string;
description: string;
}>;
dependencies?: string[];
target?: string;
}