feature/ts-and-profiles #2

Merged
sagi merged 4 commits from feature/ts-and-profiles into master 2020-03-23 02:10:17 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 1f1b57597b - Show all commits

View file

@ -3,7 +3,7 @@ import { IConfig, EConfigVersions } from './config';
export default class Config004 { export default class Config004 {
static parse(conf: IConfig004): IConfig { static parse(conf: IConfig004): IConfig {
return { return {
version: EConfigVersions.V005, version: EConfigVersions.V010,
profiles: { profiles: {
default: { default: {
chat_id: conf.USER_ID, chat_id: conf.USER_ID,

View file

@ -11,10 +11,10 @@ const FILEPATH = `${HOME}/${CONFIG_FILE_NAME}`;
export enum EConfigVersions { export enum EConfigVersions {
V004 = '0.0.4', 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 { export default class Config {
static APP_NAME = 'telme'; static APP_NAME = 'telme';