mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 12:35:13 +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
5d91293ca5
commit
c345ca02e4
3 changed files with 8 additions and 8 deletions
|
@ -104,19 +104,19 @@ export class MiUserProfile {
|
||||||
public emailNotificationTypes: string[];
|
public emailNotificationTypes: string[];
|
||||||
|
|
||||||
@Column('boolean', {
|
@Column('boolean', {
|
||||||
default: true,
|
default: false,
|
||||||
})
|
})
|
||||||
public publicReactions: boolean;
|
public publicReactions: boolean;
|
||||||
|
|
||||||
@Column('enum', {
|
@Column('enum', {
|
||||||
enum: followingVisibilities,
|
enum: followingVisibilities,
|
||||||
default: 'public',
|
default: 'private',
|
||||||
})
|
})
|
||||||
public followingVisibility: typeof followingVisibilities[number];
|
public followingVisibility: typeof followingVisibilities[number];
|
||||||
|
|
||||||
@Column('enum', {
|
@Column('enum', {
|
||||||
enum: followersVisibilities,
|
enum: followersVisibilities,
|
||||||
default: 'public',
|
default: 'private',
|
||||||
})
|
})
|
||||||
public followersVisibility: typeof followersVisibilities[number];
|
public followersVisibility: typeof followersVisibilities[number];
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
//store the URL and if its none of these its a custom one
|
//store the URL and if its none of these its a custom one
|
||||||
export const searchEngineMap = {
|
export const searchEngineMap = {
|
||||||
//The first one is the default search engine
|
//The first one is the default search engine
|
||||||
'https://www.google.com/search?q={query}': 'Google',
|
|
||||||
'https://duckduckgo.com/?q={query}': 'Duckduckgo',
|
'https://duckduckgo.com/?q={query}': 'Duckduckgo',
|
||||||
|
'https://www.google.com/search?q={query}': 'Google',
|
||||||
'https://www.bing.com/search?q={query}': 'Bing',
|
'https://www.bing.com/search?q={query}': 'Bing',
|
||||||
'https://search.yahoo.com/search?p={query}': 'Yahoo',
|
'https://search.yahoo.com/search?p={query}': 'Yahoo',
|
||||||
'https://www.ecosia.org/search?q={query}': 'Ecosia',
|
'https://www.ecosia.org/search?q={query}': 'Ecosia',
|
||||||
|
|
|
@ -146,7 +146,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
},
|
},
|
||||||
reactionAcceptance: {
|
reactionAcceptance: {
|
||||||
where: 'account',
|
where: 'account',
|
||||||
default: 'nonSensitiveOnly' as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
|
default: null as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
|
||||||
},
|
},
|
||||||
like: {
|
like: {
|
||||||
where: 'account',
|
where: 'account',
|
||||||
|
@ -162,11 +162,11 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
},
|
},
|
||||||
showVisibilitySelectorOnBoost: {
|
showVisibilitySelectorOnBoost: {
|
||||||
where: 'account',
|
where: 'account',
|
||||||
default: true,
|
default: false,
|
||||||
},
|
},
|
||||||
visibilityOnBoost: {
|
visibilityOnBoost: {
|
||||||
where: 'account',
|
where: 'account',
|
||||||
default: 'public' as 'public' | 'home' | 'followers',
|
default: 'followers' as 'public' | 'home' | 'followers',
|
||||||
},
|
},
|
||||||
trustedDomains: {
|
trustedDomains: {
|
||||||
where: 'account',
|
where: 'account',
|
||||||
|
@ -277,7 +277,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
},
|
},
|
||||||
animatedMfm: {
|
animatedMfm: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: false,
|
default: !window.matchMedia('(prefers-reduced-motion)').matches,
|
||||||
},
|
},
|
||||||
advancedMfm: {
|
advancedMfm: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
|
|
Loading…
Reference in a new issue