Migrate components to typescript

This commit is contained in:
Qolzam
2017-10-30 20:48:18 +07:00
parent 97c2e0f157
commit 7bbb1679ad
346 changed files with 6045 additions and 3946 deletions

View File

@@ -0,0 +1,7 @@
import { LoginUser } from './loginResult'
import { RegisterUserResult } from './registerUserResult'
export {
LoginUser,
RegisterUserResult
}

View File

@@ -0,0 +1,25 @@
import { BaseDomain } from 'core/domain/common'
export class LoginUser extends BaseDomain{
constructor(uid: string){
super()
this._uid = uid
}
/**
* User identifier
*
* @type {string}
* @memberof LoginUser
*/
private _uid : string
public get uid() : string {
return this._uid
}
}

View File

@@ -0,0 +1,23 @@
import { BaseDomain } from 'core/domain/common'
export class RegisterUserResult extends BaseDomain{
constructor(uid: string){
super()
this._uid = uid
}
/**
* User identifier
*
* @type {string}
* @memberof LoginUser
*/
private _uid : string
public get uid (): string {
return this._uid
}
}