feature/ts-and-profiles #2
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ import { IConfig, EConfigVersions } from './config';
|
|||
export default class Config004 {
|
||||
static parse(conf: IConfig004): IConfig {
|
||||
return {
|
||||
version: EConfigVersions.V005,
|
||||
version: EConfigVersions.V010,
|
||||
profiles: {
|
||||
default: {
|
||||
chat_id: conf.USER_ID,
|
||||
|
|
|
@ -11,10 +11,10 @@ const FILEPATH = `${HOME}/${CONFIG_FILE_NAME}`;
|
|||
|
||||
export enum EConfigVersions {
|
||||
V004 = '0.0.4',
|
||||
V005 = '0.0.5'
|
||||
V010 = '0.1.0'
|
||||
}
|
||||
|
||||
const CURRENT_CONFIG_VERSION = EConfigVersions.V005;
|
||||
const CURRENT_CONFIG_VERSION = EConfigVersions.V010;
|
||||
|
||||
export default class Config {
|
||||
static APP_NAME = 'telme';
|
||||
|
|
Loading…
Reference in a new issue