fix(core): update

This commit is contained in:
2018-12-27 22:28:19 +01:00
commit 4c4168fafd
9 changed files with 1860 additions and 0 deletions

33
ts/index.ts Normal file
View File

@@ -0,0 +1,33 @@
export interface IWebConfigConstructorOptions {
/**
* the name of the website
*/
name: string;
/**
* description
*/
description: string;
/**
* The Google analytics code
*/
gaCode: string;
/**
* the fullstory organizationCode
*/
fsCode: string;
}
export class WebConfig implements IWebConfigConstructorOptions {
public name: string;
public description: string;
public gaCode: string;
public fsCode: string;
constructor(optionsArg: IWebConfigConstructorOptions) {
Object.keys(optionsArg).map(key => {
this[key] = optionsArg[key];
});
}
}