module description Component export class LoopBackConfig { private static path : string = '//0.0.0.0:3000' ; private static version : string | number = 'api' ; private static authPrefix : string = '' ; private static debug : boolean = true ; public static setApiVersion ( version = 'api' ) { LoopBackConfig . version = version ; } public static getApiVersion ( ) { return LoopBackConfig . version ; } public static setBaseURL ( url = '/' ) { LoopBackConfig . path = url ; } public static getPath ( ) { return LoopBackConfig . path ; } public static setAuthPrefix ( authPrefix = '' ) { LoopBackConfig . authPrefix = authPrefix ; } public static getAuthPrefix ( ) { return LoopBackConfig . authPrefix ; } public static setDebugMode ( isEnabled ) { LoopBackConfig . debug = isEnabled ; } public static debuggable ( ) { return LoopBackConfig . debug ; } }