Updated version numbers
This commit is contained in:
parent
d7ff8aafee
commit
1f1b57597b
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue