add vencord and equicord contributor to fetching
All checks were successful
Code quality checks / biome (push) Successful in 17s
All checks were successful
Code quality checks / biome (push) Successful in 17s
This commit is contained in:
parent
d300f20b49
commit
269b858e88
3 changed files with 100 additions and 12 deletions
32
types/badge.d.ts
vendored
32
types/badge.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue