export namespace AuthAction { export class Login { static readonly type = '[Login] User login' ; constructor ( public userId , public isAuth = true ) { } } export class Logout { static readonly type = '[Logout] User logout' ; constructor ( public isAuth = false ) { } } }