import path from 'path' ; import { User } from '../types' ; class Config { public username : string ; public password : string ; public proxy : string ; public reset = false ; public restore = false ; public seed : string ; public cookie : any ; public user : User ; public workspacePath : string ; public sessionPath : string ; public baseInterest = .2 ; public interestInc = .3 ; public mediaDelay = 3 ; public likeChance = .5 ; public nestedFeedChance = .2 ; public dropFeedChance = .2 ; public likeLimit = 35 ; public tags : string [ ] = [ ] ; public keywords = [ 'climate' , 'sport' , 'vegan' , 'world' , 'animal' , 'vegetarian' , 'savetheworld' , ] ; public blacklist = [ 'porn' , 'naked' , 'sex' , 'vagina' , 'penis' , 'nude' , 'tits' , 'boobs' , 'like4like' , 'nsfw' , 'sexy' , 'drugs' , 'babe' , 'binary' , 'bitcoin' , 'crypto' , 'forex' , 'dick' , 'squirt' , 'gay' , 'homo' , 'nazi' , 'jew' , 'judaism' , 'muslim' , 'islam' , 'hijab' , 'niqab' , 'farright' , 'rightwing' , 'conservative' , 'death' , 'racist' , 'cbd' , ] ; constructor ( username , password , workspace ) { this . username = username ; this . password = password ; this . workspacePath = path . resolve ( path . normalize ( workspace ) ) ; this . sessionPath = path . resolve ( this . workspacePath , 'session.json' ) ; } } export { Config , } ;