feat: accept short versions of traditional pronouns

This commit is contained in:
Sam 2023-03-30 15:30:34 +02:00
parent 0ce6453bf7
commit 92243d58ac
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
5 changed files with 67 additions and 26 deletions

View file

@ -174,3 +174,12 @@ export const defaultAvatars = [
`${PUBLIC_BASE_URL}/default/512.webp`,
`${PUBLIC_BASE_URL}/default/512.jpg`,
];
export interface PronounsJson {
pages: Pronouns;
autocomplete: Pronouns;
}
interface Pronouns {
[key: string]: { pronouns: string[]; display?: string };
}