Change default settings

Someone needs to generate the TypeORM migrations for me because I can't
get the sodding thing to work on my end and it's driving me absolutely
potty.
This commit is contained in:
~keith 2024-11-08 19:31:02 -05:00
parent 5d91293ca5
commit c345ca02e4
No known key found for this signature in database
3 changed files with 8 additions and 8 deletions

View file

@ -104,19 +104,19 @@ export class MiUserProfile {
public emailNotificationTypes: string[];
@Column('boolean', {
default: true,
default: false,
})
public publicReactions: boolean;
@Column('enum', {
enum: followingVisibilities,
default: 'public',
default: 'private',
})
public followingVisibility: typeof followingVisibilities[number];
@Column('enum', {
enum: followersVisibilities,
default: 'public',
default: 'private',
})
public followersVisibility: typeof followersVisibilities[number];

View file

@ -6,8 +6,8 @@
//store the URL and if its none of these its a custom one
export const searchEngineMap = {
//The first one is the default search engine
'https://www.google.com/search?q={query}': 'Google',
'https://duckduckgo.com/?q={query}': 'Duckduckgo',
'https://www.google.com/search?q={query}': 'Google',
'https://www.bing.com/search?q={query}': 'Bing',
'https://search.yahoo.com/search?p={query}': 'Yahoo',
'https://www.ecosia.org/search?q={query}': 'Ecosia',

View file

@ -146,7 +146,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
reactionAcceptance: {
where: 'account',
default: 'nonSensitiveOnly' as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
default: null as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
},
like: {
where: 'account',
@ -162,11 +162,11 @@ export const defaultStore = markRaw(new Storage('base', {
},
showVisibilitySelectorOnBoost: {
where: 'account',
default: true,
default: false,
},
visibilityOnBoost: {
where: 'account',
default: 'public' as 'public' | 'home' | 'followers',
default: 'followers' as 'public' | 'home' | 'followers',
},
trustedDomains: {
where: 'account',
@ -277,7 +277,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
animatedMfm: {
where: 'device',
default: false,
default: !window.matchMedia('(prefers-reduced-motion)').matches,
},
advancedMfm: {
where: 'device',