add Enmity shame!

This commit is contained in:
creations 2025-04-19 20:47:06 -04:00
parent 9ff5d1adee
commit cbd92de7a5
Signed by: creations
GPG key ID: 8F553AA4320FC711
4 changed files with 69 additions and 25 deletions

11
types/badge.d.ts vendored
View file

@ -9,3 +9,14 @@ interface FetchBadgesOptions {
nocache?: boolean;
separated?: boolean;
}
type badgeURLMap = {
service: string;
url:
| string
| ((userId: string) => string)
| ((userId: string) => {
user: string;
badge: (id: string) => string;
});
};

5
types/config.d.ts vendored
View file

@ -3,8 +3,3 @@ type Environment = {
host: string;
development: boolean;
};
type badgeURLMap = {
service: string;
url: string | ((userId: string) => string);
};