model pathes are modifying

This commit is contained in:
insanity 2018-05-02 17:09:39 +09:00
parent f538060cef
commit 2eb902c1cd
126 changed files with 182 additions and 312 deletions

2
package-lock.json generated
View File

@ -259,7 +259,7 @@
"@overflow/commons-typescript": { "@overflow/commons-typescript": {
"version": "0.0.1", "version": "0.0.1",
"resolved": "https://nexus.loafle.net/repository/npm-all/@overflow/commons-typescript/-/commons-typescript-0.0.1.tgz", "resolved": "https://nexus.loafle.net/repository/npm-all/@overflow/commons-typescript/-/commons-typescript-0.0.1.tgz",
"integrity": "sha512-Y9PdJ06koyJgR7GlGnQPSVaWNLlnDIUCyWgXCZcAbTUpOrreSUpTHG/T5dyYzaEaNJUoDowTWKq2oEzrpSD8TQ==", "integrity": "sha512-TQYJfBlRgkti8lPiwDi8FtKUkWUKNOBE4+uUGQyLBCPHzchjbN4edVtyKsQzHcDHqI+rIIJutYU3eaB1hhKl4A==",
"dev": true "dev": true
}, },
"@schematics/angular": { "@schematics/angular": {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { DiscoveryStartInfo } from '../../model'; import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
export interface State { export interface State {
error: RPCClientError | null; error: RPCClientError | null;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { DiscoveryStartInfo } from '../../model'; import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
export enum ActionType { export enum ActionType {
Setting = '[discovery.setting] Setting', Setting = '[discovery.setting] Setting',

View File

@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { DiscoveryStartInfo } from '../../model'; import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
import { DiscoveryService } from '../../service/discovery.service'; import { DiscoveryService } from '../../service/discovery.service';
import { import {

View File

@ -9,7 +9,7 @@ import {
initialState, initialState,
} from './setting.state'; } from './setting.state';
import { DiscoveryStartInfo } from '../../model'; import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { DiscoveryStartInfo } from '../../model'; import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
export interface State { export interface State {
isStart: boolean; isStart: boolean;

View File

@ -12,15 +12,15 @@ import * as ListStore from '../../store/list';
import { ListSelector } from '../../store'; import { ListSelector } from '../../store';
import { Page, PageParams } from 'app/commons/model'; import { Page, PageParams } from 'app/commons/model';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Target } from '@overflow/commons-typescript/src/model/target'; import { Target } from '@overflow/commons-typescript/model/target';
import { Infra, InfraHost, InfraOSApplication, InfraService } from '@overflow/commons-typescript/src/model/infra'; import { Infra, InfraHost, InfraOSApplication, InfraService } from '@overflow/commons-typescript/model/infra';
import { Domain } from '@overflow/commons-typescript/src/model/domain'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { AuthSelector } from 'packages/member/store'; import { AuthSelector } from 'packages/member/store';
import { sensorListSelector } from 'packages/sensor/store'; import { sensorListSelector } from 'packages/sensor/store';
import * as SensorListStore from 'packages/sensor/store/list'; import * as SensorListStore from 'packages/sensor/store/list';
import { Sensor } from '@overflow/commons-typescript/src/model/sensor'; import { Sensor } from '@overflow/commons-typescript/model/sensor';
import * as _ from 'lodash'; import * as _ from 'lodash';

View File

@ -4,7 +4,7 @@ import { RPCClientError } from '@loafer/ng-rpc/protocol';
import * as DetailStore from 'packages/probe/store/probe-host'; import * as DetailStore from 'packages/probe/store/probe-host';
import { ProbeHostSelector } from 'packages/probe/store'; import { ProbeHostSelector } from 'packages/probe/store';
import { Probe, ProbeHost } from 'packages/probe/model'; import { Probe, ProbeHost } from '@overflow/commons-typescript/model/probe';
@Component({ @Component({

View File

@ -1,5 +1,5 @@
import { Component, OnInit, AfterContentInit, Input, OnChanges } from '@angular/core'; import { Component, OnInit, AfterContentInit, Input, OnChanges } from '@angular/core';
import { InfraHost } from '../../model'; import { InfraHost } from '@overflow/commons-typescript/model/infra';
import { InfraService } from '../../service/infra.service'; import { InfraService } from '../../service/infra.service';

View File

@ -5,10 +5,10 @@ import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { Infra } from '../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
import { Page, PageParams } from 'app/commons/model'; import { Page, PageParams } from 'app/commons/model';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { Probe } from 'packages/probe/model'; import { Probe } from '@overflow/commons-typescript/model/probe';
@Injectable() @Injectable()
export class InfraService { export class InfraService {

View File

@ -1,6 +1,6 @@
import { Action } from '@ngrx/store'; import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Infra } from '../../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
export enum ActionType { export enum ActionType {
Read = '[Infra.list] Read', Read = '[Infra.list] Read',

View File

@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Infra } from '../../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
import { import {
Read, Read,

View File

@ -1,7 +1,7 @@
import { Actions, ActionType } from './detail.action'; import { Actions, ActionType } from './detail.action';
import { State, initialState } from './detail.state'; import { State, initialState } from './detail.state';
import { Infra } from '../../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Infra } from '../../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
export interface State { export interface State {
error: RPCClientError | null; error: RPCClientError | null;

View File

@ -3,8 +3,8 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { PageParams, Page } from 'app/commons/model'; import { PageParams, Page } from 'app/commons/model';
import { Domain } from '../../../domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { Probe } from '../../../probe/model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export enum ActionType { export enum ActionType {
ReadAllByDomain = '[Infra.list] ReadAllByDomain', ReadAllByDomain = '[Infra.list] ReadAllByDomain',

View File

@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Infra } from '../../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
import { InfraService } from '../../service/infra.service'; import { InfraService } from '../../service/infra.service';
import { import {
@ -27,7 +27,7 @@ import {
ReadAllByProbeFailure, ReadAllByProbeFailure,
ActionType, ActionType,
} from './list.action'; } from './list.action';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
@Injectable() @Injectable()
export class Effects { export class Effects {

View File

@ -2,7 +2,7 @@ import { Actions, ActionType } from './list.action';
import { State, initialState } from './list.state'; import { State, initialState } from './list.state';
import { Infra } from '../../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Infra } from '../../model'; import { Infra } from '@overflow/commons-typescript/model/infra';
import { Page } from 'app/commons/model'; import { Page } from 'app/commons/model';
export interface State { export interface State {

View File

@ -5,7 +5,7 @@ import { PagesComponent } from 'app/pages/pages.component';
import * as AuthStore from '../../store/auth'; import * as AuthStore from '../../store/auth';
import * as ModifyStore from '../../store/modify'; import * as ModifyStore from '../../store/modify';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
import { AuthSelector } from '../../store'; import { AuthSelector } from '../../store';
import { Store, select } from '@ngrx/store'; import { Store, select } from '@ngrx/store';
import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { FormBuilder, FormGroup, Validators } from '@angular/forms';
@ -17,7 +17,6 @@ import { RPCClientError } from '@loafer/ng-rpc/protocol';
@Component({ @Component({
selector: 'of-member-profile', selector: 'of-member-profile',
templateUrl: './profile.component.html', templateUrl: './profile.component.html',
styleUrls: ['./profile.component.scss']
}) })
export class ProfileComponent implements OnInit, OnDestroy { export class ProfileComponent implements OnInit, OnDestroy {

View File

@ -5,7 +5,6 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
@Component({ @Component({
selector: 'of-member-reset-password', selector: 'of-member-reset-password',
templateUrl: './reset-password.component.html', templateUrl: './reset-password.component.html',
styleUrls: ['./reset-password.component.scss']
}) })
export class ResetPasswordComponent implements OnInit { export class ResetPasswordComponent implements OnInit {

View File

@ -13,8 +13,8 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import * as TotpStore from 'packages/member/store/totp'; import * as TotpStore from 'packages/member/store/totp';
import { AuthSelector } from 'packages/member/store'; import { AuthSelector } from 'packages/member/store';
import { TotpSelector } from 'packages/member/store'; import { TotpSelector } from 'packages/member/store';
import { Member } from 'packages/member/model/Member'; import { Member } from '@overflow/commons-typescript/model/member';
import { MemberTotp } from 'packages/member/model/MemberTotp'; import { MemberTotp } from '@overflow/commons-typescript/model/member';
import {RPCClientError} from '../../../../../../@loafer/ng-rpc/protocol'; import {RPCClientError} from '../../../../../../@loafer/ng-rpc/protocol';
@Component({ @Component({

View File

@ -5,12 +5,11 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import * as TotpStore from 'packages/member/store/totp'; import * as TotpStore from 'packages/member/store/totp';
import { AuthSelector } from 'packages/member/store'; import { AuthSelector } from 'packages/member/store';
import { Member } from 'packages/member/model/Member'; import { Member } from '@overflow/commons-typescript/model/member';
@Component({ @Component({
selector: 'of-settings-totp', selector: 'of-settings-totp',
templateUrl: './totp.component.html', templateUrl: './totp.component.html',
styleUrls: ['./totp.component.scss']
}) })
export class TotpComponent implements OnInit, AfterContentInit { export class TotpComponent implements OnInit, AfterContentInit {
member: Member; member: Member;

View File

@ -9,7 +9,6 @@ import { AuthSelector } from '../../store';
@Component({ @Component({
selector: 'of-member-signin', selector: 'of-member-signin',
templateUrl: './signin.component.html', templateUrl: './signin.component.html',
styleUrls: ['./signin.component.scss']
}) })
export class SigninComponent implements OnInit { export class SigninComponent implements OnInit {
pending$ = this.store.pipe(select(AuthSelector.select('pending'))); pending$ = this.store.pipe(select(AuthSelector.select('pending')));

View File

@ -1,14 +1,13 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { FormGroup, FormBuilder, Validators, AbstractControl, FormControl } from '@angular/forms'; import { FormGroup, FormBuilder, Validators, AbstractControl, FormControl } from '@angular/forms';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
import * as AuthStore from '../../store/signup'; import * as AuthStore from '../../store/signup';
import {Store} from '@ngrx/store'; import {Store} from '@ngrx/store';
@Component({ @Component({
selector: 'of-member-signup', selector: 'of-member-signup',
templateUrl: './signup.component.html', templateUrl: './signup.component.html',
styleUrls: ['./signup.component.scss']
}) })
export class SignupComponent implements OnInit { export class SignupComponent implements OnInit {

View File

@ -1,8 +1,8 @@
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';
import { MemberTotp } from '../model/MemberTotp'; import { MemberTotp } from '@overflow/commons-typescript/model/member';
import { Member } from '../model'; import { Member } from '@overflow/commons-typescript/model/member';
@Injectable() @Injectable()
export class MemberTotpService { export class MemberTotpService {

View File

@ -5,9 +5,9 @@ import 'rxjs/add/operator/map';
import { RESTService } from '@loafer/ng-rest/service'; import { RESTService } from '@loafer/ng-rest/service';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { DomainMember } from 'packages/domain/model'; import { DomainMember } from '@overflow/commons-typescript/model/domain';
import { Member } from '../model'; import { Member } from '@overflow/commons-typescript/model/member';
@Injectable() @Injectable()
export class MemberService { export class MemberService {

View File

@ -2,8 +2,8 @@ import { Action } from '@ngrx/store';
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { DomainMember } from 'packages/domain/model'; import { DomainMember } from '@overflow/commons-typescript/model/domain';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export enum ActionType { export enum ActionType {
Signin = '[member.auth] Signin', Signin = '[member.auth] Signin',

View File

@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { DomainMember } from 'packages/domain/model'; import { DomainMember } from '@overflow/commons-typescript/model/domain';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
import { MemberService } from '../../service/member.service'; import { MemberService } from '../../service/member.service';
import { import {

View File

@ -9,8 +9,8 @@ import {
initialState, initialState,
} from './auth.state'; } from './auth.state';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
import { DomainMember } from '../../../domain/model'; import { DomainMember } from '@overflow/commons-typescript/model/domain';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export interface State { export interface State {
signined: boolean; signined: boolean;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export enum ActionType { export enum ActionType {
Modify = '[member.modify] Modify', Modify = '[member.modify] Modify',

View File

@ -1,6 +1,6 @@
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export interface State { export interface State {
error: RESTClientError | null; error: RESTClientError | null;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export enum ActionType { export enum ActionType {
Signup = '[member.signup] Signup', Signup = '[member.signup] Signup',

View File

@ -13,7 +13,7 @@ import 'rxjs/add/operator/exhaustMap';
import 'rxjs/add/operator/map'; import 'rxjs/add/operator/map';
import 'rxjs/add/operator/take'; import 'rxjs/add/operator/take';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
import { MemberService } from '../../service/member.service'; import { MemberService } from '../../service/member.service';
import { import {

View File

@ -8,7 +8,7 @@ import {
initialState, initialState,
} from './signup.state'; } from './signup.state';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export interface State { export interface State {
error: RESTClientError | null; error: RESTClientError | null;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RESTClientError } from '@loafer/ng-rest/protocol'; import { RESTClientError } from '@loafer/ng-rest/protocol';
import { Member } from '../../model'; import { Member } from '@overflow/commons-typescript/model/member';
export enum ActionType { export enum ActionType {
CreateTotp = '[member.totp] CreateTotp', CreateTotp = '[member.totp] CreateTotp',

View File

@ -1,23 +1,22 @@
// import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
// import { CommonModule } from '@angular/common'; import { CommonModule } from '@angular/common';
// import { } from './crawler.module'; import { } from './crawler.module';
// import { MaterialModule } from 'packages/commons/material/material.module'; import { SERVICES } from './service';
// import { SERVICES } from './service'; import { MetaCrawlerInputItemStoreModule } from './crawler-input-store.module';
// import { MetaCrawlerInputItemStoreModule } from './crawler-input-store.module';
// @NgModule({ @NgModule({
// imports: [ imports: [
// CommonModule, CommonModule,
// MetaCrawlerInputItemStoreModule MetaCrawlerInputItemStoreModule
// ], ],
// declarations: [ declarations: [
// ], ],
// exports: [ exports: [
// ], ],
// providers: [ providers: [
// SERVICES, SERVICES,
// ] ]
// }) })
// export class MetaCrawlerInputItemModule { } export class MetaCrawlerInputItemModule { }

View File

@ -4,8 +4,8 @@ import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map'; import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { MetaCrawlerInputItem } from '../model/MetaCrawlerInputItem'; import { MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta';
import { MetaCrawler } from '../../crawler/model/MetaCrawler'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
@Injectable() @Injectable()

View File

@ -1,8 +1,8 @@
import { Action } from '@ngrx/store'; import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { MetaCrawler } from '../../../crawler/model/MetaCrawler'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
import { MetaCrawlerInputItem } from '../../model/MetaCrawlerInputItem'; import { MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta';
export enum ActionType { export enum ActionType {

View File

@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { DomainMember } from 'packages/domain/model'; import { DomainMember } from '@overflow/commons-typescript/model/domain';
import { import {

View File

@ -1,5 +1,5 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { MetaCrawlerInputItem } from '../../model/MetaCrawlerInputItem'; import { MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta';
export interface State { export interface State {

View File

@ -5,7 +5,7 @@ import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { MetaCrawler } from '../model/MetaCrawler'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
@Injectable() @Injectable()
export class MetaCrawlerService { export class MetaCrawlerService {

View File

@ -1,7 +1,7 @@
import { Action } from '@ngrx/store'; import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { MetaCrawler } from '../../model/MetaCrawler'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
export enum ActionType { export enum ActionType {

View File

@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { DomainMember } from 'packages/domain/model'; import { DomainMember } from '@overflow/commons-typescript/model/domain';
import { import {

View File

@ -1,5 +1,5 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { MetaCrawler } from '../../model/MetaCrawler'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
export interface State { export interface State {

View File

@ -4,8 +4,8 @@ import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map'; import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { MetaCrawler } from 'packages/meta/crawler/model/MetaCrawler'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
import { MetaSensorDisplayItem } from 'packages/meta/sensor-display-item/model/MetaSensorDisplayItem'; import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
@Injectable() @Injectable()

View File

@ -1,8 +1,8 @@
import { Action } from '@ngrx/store'; import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { MetaCrawler } from '../../../crawler/model/MetaCrawler'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
import { MetaSensorDisplayItem } from '../../model/MetaSensorDisplayItem'; import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
export enum ActionType { export enum ActionType {

View File

@ -16,8 +16,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { DomainMember } from 'packages/domain/model'; import { DomainMember } from '@overflow/commons-typescript/model/domain';
import { import {
ReadAllByCrawler, ReadAllByCrawler,
@ -25,7 +24,7 @@ import {
ReadAllByCrawlerFailure, ReadAllByCrawlerFailure,
ActionType, ActionType,
} from './list.action'; } from './list.action';
import { MetaSensorDisplayItem } from '../../model/MetaSensorDisplayItem'; import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
import { MetaSensorDisplayItemService } from '../../service/sensor-display-item.service'; import { MetaSensorDisplayItemService } from '../../service/sensor-display-item.service';
@Injectable() @Injectable()

View File

@ -1,5 +1,5 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { MetaSensorDisplayItem } from '../../model/MetaSensorDisplayItem'; import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
export interface State { export interface State {

View File

@ -4,10 +4,10 @@ import { Router } from '@angular/router';
import { Store, select } from '@ngrx/store'; import { Store, select } from '@ngrx/store';
import { AuthSelector } from 'packages/member/store'; import { AuthSelector } from 'packages/member/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import * as ListStore from '../../store/noauth-probe'; import * as ListStore from '../../store/noauth-probe';
import { NoAuthProbeSelector } from '../../store'; import { NoAuthProbeSelector } from '../../store';
import { NoAuthProbe } from '../../model'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
import { ConfirmationService, Message } from 'primeng/primeng'; import { ConfirmationService, Message } from 'primeng/primeng';
import { MessageService } from 'primeng/components/common/messageservice'; import { MessageService } from 'primeng/components/common/messageservice';
import { Subscription } from 'rxjs/Subscription'; import { Subscription } from 'rxjs/Subscription';

View File

@ -5,9 +5,9 @@ import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { NoAuthProbe } from '../model'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
@Injectable() @Injectable()

View File

@ -2,9 +2,9 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { NoAuthProbe } from '../../model'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
export enum ActionType { export enum ActionType {
ReadAllByDomain = '[noauth-proboe.noauth-proboe] ReadAllByDomain', ReadAllByDomain = '[noauth-proboe.noauth-proboe] ReadAllByDomain',

View File

@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { NoAuthProbe } from '../../model'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
import { NoAuthProbeService } from '../../service/noauth-probe.service'; import { NoAuthProbeService } from '../../service/noauth-probe.service';
import { import {

View File

@ -17,7 +17,7 @@ import {
initialState, initialState,
} from './noauth-probe.state'; } from './noauth-probe.state';
import { NoAuthProbe } from '../../model'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { NoAuthProbe } from '../../model'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
export interface State { export interface State {
error: RPCClientError | null; error: RPCClientError | null;

View File

@ -2,12 +2,12 @@ import { Component, OnInit, Input, AfterContentInit } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { Store, select } from '@ngrx/store'; import { Store, select } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Notification } from '../../model'; import { Notification } from '@overflow/commons-typescript/model/notification';
import * as ListStore from '../../store/list'; import * as ListStore from '../../store/list';
import * as DetailStore from '../../store/detail'; import * as DetailStore from '../../store/detail';
import { ReadAllByMemberSelector, ReadSelector } from '../../store'; import { ReadAllByMemberSelector, ReadSelector } from '../../store';
import { AuthSelector } from 'packages/member/store'; import { AuthSelector } from 'packages/member/store';
import { Member } from '../../../member/model'; import { Member } from '@overflow/commons-typescript/model/member';
import { PageParams, Page } from 'app/commons/model'; import { PageParams, Page } from 'app/commons/model';
import { MarkAsRead } from '../../store/detail'; import { MarkAsRead } from '../../store/detail';

View File

@ -2,12 +2,12 @@ import { Component, OnInit, Input, ViewChild, AfterContentInit, OnDestroy } from
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { Store, select } from '@ngrx/store'; import { Store, select } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Notification } from '../../model'; import { Notification } from '@overflow/commons-typescript/model/notification';
import * as DetailStore from '../../store/detail'; import * as DetailStore from '../../store/detail';
import * as ListStore from '../../store/list'; import * as ListStore from '../../store/list';
import { ReadAllByMemberSelector, ReadSelector } from '../../store'; import { ReadAllByMemberSelector, ReadSelector } from '../../store';
import { AuthSelector } from 'packages/member/store'; import { AuthSelector } from 'packages/member/store';
import { Member } from '../../../member/model'; import { Member } from '@overflow/commons-typescript/model/member';
import { PageParams, Page } from 'app/commons/model'; import { PageParams, Page } from 'app/commons/model';
import { Subscription } from 'rxjs/Subscription'; import { Subscription } from 'rxjs/Subscription';

View File

@ -5,8 +5,8 @@ import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { Notification } from '../model'; import { Notification } from '@overflow/commons-typescript/model/notification';
import { Member } from '../../member/model'; import { Member } from '@overflow/commons-typescript/model/member';
import { PageParams, Page } from 'app/commons/model'; import { PageParams, Page } from 'app/commons/model';
@Injectable() @Injectable()

View File

@ -2,9 +2,9 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Member } from '../../../member/model'; import { Member } from '@overflow/commons-typescript/model/member';
import { PageParams, Page } from 'app/commons/model'; import { PageParams, Page } from 'app/commons/model';
import { Notification } from '../../model'; import { Notification } from '@overflow/commons-typescript/model/notification';
export enum ActionType { export enum ActionType {
MarkAsRead = '[Notification.notification] MarkAsRead', MarkAsRead = '[Notification.notification] MarkAsRead',

View File

@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Notification } from '../../model'; import { Notification } from '@overflow/commons-typescript/model/notification';
import { NotificationService } from '../../service/notification.service'; import { NotificationService } from '../../service/notification.service';
import { import {

View File

@ -1,5 +1,5 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Notification } from '../../model'; import { Notification } from '@overflow/commons-typescript/model/notification';
export interface State { export interface State {
error: RPCClientError | null; error: RPCClientError | null;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Member } from '../../../member/model'; import { Member } from '@overflow/commons-typescript/model/member';
import { PageParams, Page } from 'app/commons/model'; import { PageParams, Page } from 'app/commons/model';
export enum ActionType { export enum ActionType {

View File

@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Notification } from '../../model'; import { Notification } from '@overflow/commons-typescript/model/notification';
import { NotificationService } from '../../service/notification.service'; import { NotificationService } from '../../service/notification.service';
import { import {

View File

@ -5,7 +5,7 @@ import { RPCClientError } from '@loafer/ng-rpc/protocol';
import * as DetailStore from '../../store/detail'; import * as DetailStore from '../../store/detail';
import * as ModifyStore from '../../store/modify'; import * as ModifyStore from '../../store/modify';
import { DetailSelector, ModifySelector } from '../../store'; import { DetailSelector, ModifySelector } from '../../store';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { ConfirmationService, Message } from 'primeng/primeng'; import { ConfirmationService, Message } from 'primeng/primeng';
import * as CIDR from 'ip-cidr'; import * as CIDR from 'ip-cidr';
import { Subscription } from 'rxjs/Subscription'; import { Subscription } from 'rxjs/Subscription';

View File

@ -3,7 +3,6 @@ import { Component, OnInit } from '@angular/core';
@Component({ @Component({
selector: 'of-download', selector: 'of-download',
templateUrl: './download.component.html', templateUrl: './download.component.html',
styleUrls: ['./download.component.scss']
}) })
export class DownloadComponent implements OnInit { export class DownloadComponent implements OnInit {

View File

@ -1,25 +0,0 @@
<h1>Probes</h1>
<p-table [value]="probes" selectionMode="single" (onRowSelect)="onRowSelect($event)" [resizableColumns]="true">
<ng-template pTemplate="header">
<tr>
<th>Probe Name</th>
<th style="width:10em">IP</th>
<th style="width:8em">OS</th>
<th style="width:10em">CIDR</th>
<th pResizableColumn>Targets</th>
<th style="width:8em">Authroized at</th>
<th style="width:9em">Authroized by</th>
</tr>
</ng-template>
<ng-template pTemplate="body" let-probe>
<tr [pSelectableRow]="probe">
<td>{{probe.displayName}}</td>
<td>?</td>
<td>?</td>
<td>{{probe.cidr}}</td>
<td>??</td>
<td>{{probe.authorizeDate | date: 'dd.MM.yyyy'}}</td>
<td>{{probe.authorizeMember.name}}</td>
</tr>
</ng-template>
</p-table>

View File

@ -1,25 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ListComponent } from './list.component';
describe('ListComponent', () => {
let component: ListComponent;
let fixture: ComponentFixture<ListComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ListComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -1,54 +0,0 @@
import { Component, OnInit, AfterViewInit, AfterContentInit, ViewChild } from '@angular/core';
import { Router } from '@angular/router';
import { Store, select } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model';
import { AuthSelector } from 'packages/member/store';
import { Probe } from '../../model';
import * as ListStore from '../../store/list';
import { ListSelector } from '../../store';
@Component({
selector: 'of-probe-list',
templateUrl: './list.component.html',
})
export class ListComponent implements OnInit, AfterContentInit {
probes$ = this.store.pipe(select(ListSelector.select('probes')));
probes: Probe[];
constructor(
private router: Router,
private store: Store<ListStore.State>
) {
}
ngOnInit() {
this.probes$.subscribe(
(probes: Probe[]) => {
this.probes = probes;
},
(error: RPCClientError) => {
console.log(error.response.message);
}
);
}
ngAfterContentInit() {
this.store.select(AuthSelector.select('domain')).subscribe(
(domain: Domain) => {
this.store.dispatch(new ListStore.ReadAllByDomain(domain));
},
(error) => {
console.log(error);
}
);
}
onRowSelect(event) {
this.router.navigate(['probe', event.data.id, 'info']);
}
}

View File

@ -4,10 +4,10 @@ import { Router } from '@angular/router';
import { Store, select } from '@ngrx/store'; import { Store, select } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { AuthSelector } from 'packages/member/store'; import { AuthSelector } from 'packages/member/store';
import { Probe, ProbeHost } from '../../model'; import { Probe, ProbeHost } from '@overflow/commons-typescript/model/probe';
import * as ListStore from '../../store/probe-host-list'; import * as ListStore from '../../store/probe-host-list';
import { ProbeHostListSelector } from '../../store'; import { ProbeHostListSelector } from '../../store';
import { Subscription } from 'rxjs/Subscription'; import { Subscription } from 'rxjs/Subscription';

View File

@ -2,8 +2,8 @@ import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map'; import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { Probe, ProbeHost } from '../model'; import { Probe, ProbeHost } from '@overflow/commons-typescript/model/probe';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
@Injectable() @Injectable()

View File

@ -5,9 +5,9 @@ import 'rxjs/add/operator/map';
import { RPCService } from '@loafer/ng-rpc/service'; import { RPCService } from '@loafer/ng-rpc/service';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { Probe } from '../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
@Injectable() @Injectable()

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export enum ActionType { export enum ActionType {

View File

@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { ProbeService } from '../../service/probe.service'; import { ProbeService } from '../../service/probe.service';
import { import {

View File

@ -11,7 +11,7 @@ import {
initialState, initialState,
} from './detail.state'; } from './detail.state';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity';

View File

@ -2,8 +2,8 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export enum ActionType { export enum ActionType {

View File

@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { ProbeService } from '../../service/probe.service'; import { ProbeService } from '../../service/probe.service';
import { import {

View File

@ -11,7 +11,7 @@ import {
initialState, initialState,
} from './list.state'; } from './list.state';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export interface State { export interface State {
error: RPCClientError | null; error: RPCClientError | null;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export enum ActionType { export enum ActionType {

View File

@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { ProbeService } from '../../service/probe.service'; import { ProbeService } from '../../service/probe.service';
import { import {

View File

@ -8,7 +8,7 @@ import {
initialState, initialState,
} from './modify.state'; } from './modify.state';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity';

View File

@ -2,8 +2,8 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { ProbeHost } from '../../model'; import { ProbeHost } from '@overflow/commons-typescript/model/probe';
export enum ActionType { export enum ActionType {

View File

@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Domain } from 'packages/domain/model'; import { Domain } from '@overflow/commons-typescript/model/domain';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { import {
ReadAllByDomain, ReadAllByDomain,

View File

@ -11,7 +11,7 @@ import {
initialState, initialState,
} from './list.state'; } from './list.state';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {
switch (action.type) { switch (action.type) {

View File

@ -1,6 +1,6 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { ProbeHost } from '../../model'; import { ProbeHost } from '@overflow/commons-typescript/model/probe';
export interface State { export interface State {
error: RPCClientError | null; error: RPCClientError | null;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { ProbeHost, Probe } from '../../model'; import { ProbeHost, Probe } from '@overflow/commons-typescript/model/probe';
export enum ActionType { export enum ActionType {

View File

@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
import { ProbeHostService } from '../../service/probe-host.service'; import { ProbeHostService } from '../../service/probe-host.service';
import { import {

View File

@ -11,7 +11,7 @@ import {
initialState, initialState,
} from './probe-host.state'; } from './probe-host.state';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export function reducer(state = initialState, action: Actions): State { export function reducer(state = initialState, action: Actions): State {

View File

@ -1,5 +1,5 @@
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { ProbeHost } from '../../model'; import { ProbeHost } from '@overflow/commons-typescript/model/probe';
export interface State { export interface State {
error: RPCClientError | null; error: RPCClientError | null;

View File

@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc/protocol'; import { RPCClientError } from '@loafer/ng-rpc/protocol';
import { Probe } from '../../model'; import { Probe } from '@overflow/commons-typescript/model/probe';
export enum ActionType { export enum ActionType {

Some files were not shown because too many files have changed in this diff Show More