Improvment in tslint standard (#16)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { BaseDomain } from "domain/common";
|
||||
import { User } from "domain/users";
|
||||
import { BaseDomain } from 'domain/common'
|
||||
import { User } from 'domain/users'
|
||||
|
||||
export class Circle extends BaseDomain {
|
||||
|
||||
@@ -9,7 +9,7 @@ export class Circle extends BaseDomain {
|
||||
* @type {string}
|
||||
* @memberof User
|
||||
*/
|
||||
public id?: string | null;
|
||||
public id?: string | null
|
||||
|
||||
/**
|
||||
* Circle creation date time
|
||||
@@ -17,7 +17,7 @@ export class Circle extends BaseDomain {
|
||||
* @type {Date}
|
||||
* @memberof Circle
|
||||
*/
|
||||
public creationDate?: number;
|
||||
public creationDate?: number
|
||||
|
||||
/**
|
||||
* Circle owner identifier
|
||||
@@ -25,7 +25,7 @@ export class Circle extends BaseDomain {
|
||||
* @type {string}
|
||||
* @memberof Circle
|
||||
*/
|
||||
public ownerId?: string | null;
|
||||
public ownerId?: string | null
|
||||
|
||||
/**
|
||||
* Circle name
|
||||
@@ -33,7 +33,7 @@ export class Circle extends BaseDomain {
|
||||
* @type {string}
|
||||
* @memberof User
|
||||
*/
|
||||
public name: string;
|
||||
public name: string
|
||||
|
||||
/**
|
||||
* The users in a circle
|
||||
@@ -41,7 +41,7 @@ export class Circle extends BaseDomain {
|
||||
* @type {string}
|
||||
* @memberof User
|
||||
*/
|
||||
public users: {[userId:string]: User};
|
||||
public users: {[userId:string]: User}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Circle} from './circle';
|
||||
import {UserFollower} from './userFollower';
|
||||
import {Circle} from './circle'
|
||||
import {UserFollower} from './userFollower'
|
||||
|
||||
export {
|
||||
Circle,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BaseDomain } from "domain/common";
|
||||
import { BaseDomain } from 'domain/common'
|
||||
|
||||
export class UserFollower extends BaseDomain {
|
||||
|
||||
@@ -9,7 +9,7 @@ export class UserFollower extends BaseDomain {
|
||||
* @type {Date}
|
||||
* @memberof Circle
|
||||
*/
|
||||
public creationDate?: number;
|
||||
public creationDate?: number
|
||||
|
||||
/**
|
||||
* User full name
|
||||
@@ -17,7 +17,7 @@ export class UserFollower extends BaseDomain {
|
||||
* @type {string}
|
||||
* @memberof UserFollower
|
||||
*/
|
||||
public fullName: string;
|
||||
public fullName: string
|
||||
|
||||
/**
|
||||
* Avatar URL address
|
||||
@@ -25,7 +25,7 @@ export class UserFollower extends BaseDomain {
|
||||
* @type {string}
|
||||
* @memberof UserFollower
|
||||
*/
|
||||
public avatar: string;
|
||||
public avatar: string
|
||||
|
||||
/**
|
||||
* If following user approved {true} or not {false}
|
||||
@@ -33,7 +33,7 @@ export class UserFollower extends BaseDomain {
|
||||
* @type {Boolean}
|
||||
* @memberof UserFollower
|
||||
*/
|
||||
public approved: Boolean;
|
||||
public approved: Boolean
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user