mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 03:57:47 -04:00
(fmt)
This commit is contained in:
parent
413af9bcee
commit
beed980c7f
@ -15,7 +15,7 @@ const props = withDefaults(defineProps<{
|
||||
year: () => newDate().getFullYear(),
|
||||
});
|
||||
|
||||
const emit = defineEmits< {
|
||||
const emit = defineEmits<{
|
||||
add: [event: string];
|
||||
delete: [event: string];
|
||||
}>();
|
||||
|
@ -4,7 +4,7 @@ defineProps<{
|
||||
dismissed?: boolean;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits< {
|
||||
const emit = defineEmits<{
|
||||
dismiss: [];
|
||||
blur: [];
|
||||
}>();
|
||||
|
@ -10,7 +10,7 @@ const props = withDefaults(defineProps<{
|
||||
skipIcons: () => [],
|
||||
});
|
||||
|
||||
const emit = defineEmits< {
|
||||
const emit = defineEmits<{
|
||||
change: [icon: string];
|
||||
}>();
|
||||
|
||||
|
@ -632,9 +632,9 @@ const cleanupOpinions = (opinions: OpinionFormValue[]) => {
|
||||
};
|
||||
|
||||
type SaveProfile = Omit<Profile, 'linksMetadata' | 'verifiedLinks' | 'footerAreas' | 'credentials' |
|
||||
'card' | 'cardDark' | 'circle' | 'markdown' | 'events' | 'customEvents' | 'lastUpdate' | 'id' | 'access'>
|
||||
& Partial<Pick<Profile, 'markdown' | 'events' | 'customEvents'>>
|
||||
& Pick<ProfileRow, 'footerAreas' | 'credentials'>;
|
||||
'card' | 'cardDark' | 'circle' | 'markdown' | 'events' | 'customEvents' | 'lastUpdate' | 'id' | 'access'>
|
||||
& Partial<Pick<Profile, 'markdown' | 'events' | 'customEvents'>>
|
||||
& Pick<ProfileRow, 'footerAreas' | 'credentials'>;
|
||||
|
||||
const saveProfile = async (req: Request, locale: string, {
|
||||
opinions, names, pronouns, description, birthday, timezone, links, flags, customFlags, words, sensitive,
|
||||
@ -1036,8 +1036,8 @@ interface ProfileExportData {
|
||||
}
|
||||
|
||||
type ProfileExportProfile = Omit<Profile, 'linksMetadata' | 'verifiedLinks' | 'footerAreas' | 'credentials' |
|
||||
'card' | 'cardDark' | 'circle' | 'lastUpdate' | 'id' | 'access'>
|
||||
& Pick<ProfileRow, 'footerAreas' | 'credentials'>;
|
||||
'card' | 'cardDark' | 'circle' | 'lastUpdate' | 'id' | 'access'>
|
||||
& Pick<ProfileRow, 'footerAreas' | 'credentials'>;
|
||||
|
||||
router.get('/profile/export', handleErrorAsync(async (req: Request, res: Response) => {
|
||||
if (!req.user || req.user.bannedReason) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user