mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-30 21:14:12 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									5bdffb913f
								
							
						
					
					
						commit
						f69d75014d
					
				
					 3 changed files with 8 additions and 8 deletions
				
			
		|  | @ -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]; | ||||
| 
 | ||||
|  |  | |||
|  | @ -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', | ||||
|  |  | |||
|  | @ -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', | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue