model pathes are modifying
This commit is contained in:
parent
f538060cef
commit
2eb902c1cd
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -259,7 +259,7 @@
|
|||
"@overflow/commons-typescript": {
|
||||
"version": "0.0.1",
|
||||
"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
|
||||
},
|
||||
"@schematics/angular": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { DiscoveryStartInfo } from '../../model';
|
||||
import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
|
||||
|
||||
export interface State {
|
||||
error: RPCClientError | null;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { DiscoveryStartInfo } from '../../model';
|
||||
import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
|
||||
|
||||
export enum ActionType {
|
||||
Setting = '[discovery.setting] Setting',
|
||||
|
|
|
@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -9,7 +9,7 @@ import {
|
|||
initialState,
|
||||
} from './setting.state';
|
||||
|
||||
import { DiscoveryStartInfo } from '../../model';
|
||||
import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { DiscoveryStartInfo } from '../../model';
|
||||
import { DiscoveryStartInfo } from '@overflow/commons-typescript/model/discovery';
|
||||
|
||||
export interface State {
|
||||
isStart: boolean;
|
||||
|
|
|
@ -12,15 +12,15 @@ import * as ListStore from '../../store/list';
|
|||
import { ListSelector } from '../../store';
|
||||
import { Page, PageParams } from 'app/commons/model';
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { Target } from '@overflow/commons-typescript/src/model/target';
|
||||
import { Infra, InfraHost, InfraOSApplication, InfraService } from '@overflow/commons-typescript/src/model/infra';
|
||||
import { Domain } from '@overflow/commons-typescript/src/model/domain';
|
||||
import { Target } from '@overflow/commons-typescript/model/target';
|
||||
import { Infra, InfraHost, InfraOSApplication, InfraService } from '@overflow/commons-typescript/model/infra';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
import { AuthSelector } from 'packages/member/store';
|
||||
|
||||
import { sensorListSelector } from 'packages/sensor/store';
|
||||
|
||||
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';
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
|||
|
||||
import * as DetailStore from 'packages/probe/store/probe-host';
|
||||
import { ProbeHostSelector } from 'packages/probe/store';
|
||||
import { Probe, ProbeHost } from 'packages/probe/model';
|
||||
import { Probe, ProbeHost } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
@Component({
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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';
|
||||
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
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 { Domain } from 'packages/domain/model';
|
||||
import { Probe } from 'packages/probe/model';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
@Injectable()
|
||||
export class InfraService {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Action } from '@ngrx/store';
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { Infra } from '../../model';
|
||||
import { Infra } from '@overflow/commons-typescript/model/infra';
|
||||
|
||||
export enum ActionType {
|
||||
Read = '[Infra.list] Read',
|
||||
|
|
|
@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Infra } from '../../model';
|
||||
import { Infra } from '@overflow/commons-typescript/model/infra';
|
||||
|
||||
import {
|
||||
Read,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Actions, ActionType } from './detail.action';
|
||||
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 {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Infra } from '../../model';
|
||||
import { Infra } from '@overflow/commons-typescript/model/infra';
|
||||
|
||||
export interface State {
|
||||
error: RPCClientError | null;
|
||||
|
|
|
@ -3,8 +3,8 @@ import { Action } from '@ngrx/store';
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { PageParams, Page } from 'app/commons/model';
|
||||
import { Domain } from '../../../domain/model';
|
||||
import { Probe } from '../../../probe/model';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
export enum ActionType {
|
||||
ReadAllByDomain = '[Infra.list] ReadAllByDomain',
|
||||
|
|
|
@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
@ -27,7 +27,7 @@ import {
|
|||
ReadAllByProbeFailure,
|
||||
ActionType,
|
||||
} from './list.action';
|
||||
import { Domain } from 'packages/domain/model';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
|
||||
@Injectable()
|
||||
export class Effects {
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Actions, ActionType } from './list.action';
|
|||
|
||||
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 {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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';
|
||||
|
||||
export interface State {
|
||||
|
|
|
@ -5,7 +5,7 @@ import { PagesComponent } from 'app/pages/pages.component';
|
|||
import * as AuthStore from '../../store/auth';
|
||||
import * as ModifyStore from '../../store/modify';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
import { AuthSelector } from '../../store';
|
||||
import { Store, select } from '@ngrx/store';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
|
@ -17,7 +17,6 @@ import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
|||
@Component({
|
||||
selector: 'of-member-profile',
|
||||
templateUrl: './profile.component.html',
|
||||
styleUrls: ['./profile.component.scss']
|
||||
})
|
||||
export class ProfileComponent implements OnInit, OnDestroy {
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
|||
@Component({
|
||||
selector: 'of-member-reset-password',
|
||||
templateUrl: './reset-password.component.html',
|
||||
styleUrls: ['./reset-password.component.scss']
|
||||
})
|
||||
export class ResetPasswordComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
|||
import * as TotpStore from 'packages/member/store/totp';
|
||||
import { AuthSelector } from 'packages/member/store';
|
||||
import { TotpSelector } from 'packages/member/store';
|
||||
import { Member } from 'packages/member/model/Member';
|
||||
import { MemberTotp } from 'packages/member/model/MemberTotp';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
import { MemberTotp } from '@overflow/commons-typescript/model/member';
|
||||
import {RPCClientError} from '../../../../../../@loafer/ng-rpc/protocol';
|
||||
|
||||
@Component({
|
||||
|
|
|
@ -5,12 +5,11 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
|||
|
||||
import * as TotpStore from 'packages/member/store/totp';
|
||||
import { AuthSelector } from 'packages/member/store';
|
||||
import { Member } from 'packages/member/model/Member';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
@Component({
|
||||
selector: 'of-settings-totp',
|
||||
templateUrl: './totp.component.html',
|
||||
styleUrls: ['./totp.component.scss']
|
||||
})
|
||||
export class TotpComponent implements OnInit, AfterContentInit {
|
||||
member: Member;
|
||||
|
|
|
@ -9,7 +9,6 @@ import { AuthSelector } from '../../store';
|
|||
@Component({
|
||||
selector: 'of-member-signin',
|
||||
templateUrl: './signin.component.html',
|
||||
styleUrls: ['./signin.component.scss']
|
||||
})
|
||||
export class SigninComponent implements OnInit {
|
||||
pending$ = this.store.pipe(select(AuthSelector.select('pending')));
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
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 {Store} from '@ngrx/store';
|
||||
|
||||
@Component({
|
||||
selector: 'of-member-signup',
|
||||
templateUrl: './signup.component.html',
|
||||
styleUrls: ['./signup.component.scss']
|
||||
})
|
||||
export class SignupComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { RPCService } from '@loafer/ng-rpc/service';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { MemberTotp } from '../model/MemberTotp';
|
||||
import { Member } from '../model';
|
||||
import { MemberTotp } from '@overflow/commons-typescript/model/member';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
@Injectable()
|
||||
export class MemberTotpService {
|
||||
|
|
|
@ -5,9 +5,9 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
import { RESTService } from '@loafer/ng-rest/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()
|
||||
export class MemberService {
|
||||
|
|
|
@ -2,8 +2,8 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
||||
|
||||
import { DomainMember } from 'packages/domain/model';
|
||||
import { Member } from '../../model';
|
||||
import { DomainMember } from '@overflow/commons-typescript/model/domain';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export enum ActionType {
|
||||
Signin = '[member.auth] Signin',
|
||||
|
|
|
@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -9,8 +9,8 @@ import {
|
|||
initialState,
|
||||
} from './auth.state';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { DomainMember } from '../../../domain/model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
import { DomainMember } from '@overflow/commons-typescript/model/domain';
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
||||
import { Domain } from 'packages/domain/model';
|
||||
import { Member } from '../../model';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export interface State {
|
||||
signined: boolean;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export enum ActionType {
|
||||
Modify = '[member.modify] Modify',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export interface State {
|
||||
error: RESTClientError | null;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export enum ActionType {
|
||||
Signup = '[member.signup] Signup',
|
||||
|
|
|
@ -13,7 +13,7 @@ import 'rxjs/add/operator/exhaustMap';
|
|||
import 'rxjs/add/operator/map';
|
||||
import 'rxjs/add/operator/take';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
import { MemberService } from '../../service/member.service';
|
||||
|
||||
import {
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
initialState,
|
||||
} from './signup.state';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export interface State {
|
||||
error: RESTClientError | null;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RESTClientError } from '@loafer/ng-rest/protocol';
|
||||
|
||||
import { Member } from '../../model';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
|
||||
export enum ActionType {
|
||||
CreateTotp = '[member.totp] CreateTotp',
|
||||
|
|
|
@ -1,23 +1,22 @@
|
|||
// import { NgModule } from '@angular/core';
|
||||
// import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
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 { MetaCrawlerInputItemStoreModule } from './crawler-input-store.module';
|
||||
import { SERVICES } from './service';
|
||||
import { MetaCrawlerInputItemStoreModule } from './crawler-input-store.module';
|
||||
|
||||
// @NgModule({
|
||||
// imports: [
|
||||
// CommonModule,
|
||||
// MetaCrawlerInputItemStoreModule
|
||||
// ],
|
||||
// declarations: [
|
||||
// ],
|
||||
// exports: [
|
||||
// ],
|
||||
// providers: [
|
||||
// SERVICES,
|
||||
// ]
|
||||
// })
|
||||
// export class MetaCrawlerInputItemModule { }
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
MetaCrawlerInputItemStoreModule
|
||||
],
|
||||
declarations: [
|
||||
],
|
||||
exports: [
|
||||
],
|
||||
providers: [
|
||||
SERVICES,
|
||||
]
|
||||
})
|
||||
export class MetaCrawlerInputItemModule { }
|
||||
|
|
|
@ -4,8 +4,8 @@ import { Observable } from 'rxjs/Observable';
|
|||
import 'rxjs/add/operator/map';
|
||||
|
||||
import { RPCService } from '@loafer/ng-rpc/service';
|
||||
import { MetaCrawlerInputItem } from '../model/MetaCrawlerInputItem';
|
||||
import { MetaCrawler } from '../../crawler/model/MetaCrawler';
|
||||
import { MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta';
|
||||
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
@Injectable()
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { MetaCrawler } from '../../../crawler/model/MetaCrawler';
|
||||
import { MetaCrawlerInputItem } from '../../model/MetaCrawlerInputItem';
|
||||
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||||
import { MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { DomainMember } from 'packages/domain/model';
|
||||
import { DomainMember } from '@overflow/commons-typescript/model/domain';
|
||||
|
||||
|
||||
import {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { MetaCrawlerInputItem } from '../../model/MetaCrawlerInputItem';
|
||||
import { MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
export interface State {
|
||||
|
|
|
@ -5,7 +5,7 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
import { RPCService } from '@loafer/ng-rpc/service';
|
||||
|
||||
import { MetaCrawler } from '../model/MetaCrawler';
|
||||
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
@Injectable()
|
||||
export class MetaCrawlerService {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { MetaCrawler } from '../../model/MetaCrawler';
|
||||
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { DomainMember } from 'packages/domain/model';
|
||||
import { DomainMember } from '@overflow/commons-typescript/model/domain';
|
||||
|
||||
|
||||
import {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { MetaCrawler } from '../../model/MetaCrawler';
|
||||
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
export interface State {
|
||||
|
|
|
@ -4,8 +4,8 @@ import { Observable } from 'rxjs/Observable';
|
|||
import 'rxjs/add/operator/map';
|
||||
|
||||
import { RPCService } from '@loafer/ng-rpc/service';
|
||||
import { MetaCrawler } from 'packages/meta/crawler/model/MetaCrawler';
|
||||
import { MetaSensorDisplayItem } from 'packages/meta/sensor-display-item/model/MetaSensorDisplayItem';
|
||||
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||||
import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
@Injectable()
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { MetaCrawler } from '../../../crawler/model/MetaCrawler';
|
||||
import { MetaSensorDisplayItem } from '../../model/MetaSensorDisplayItem';
|
||||
import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
|
||||
import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,8 +16,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { DomainMember } from 'packages/domain/model';
|
||||
|
||||
import { DomainMember } from '@overflow/commons-typescript/model/domain';
|
||||
|
||||
import {
|
||||
ReadAllByCrawler,
|
||||
|
@ -25,7 +24,7 @@ import {
|
|||
ReadAllByCrawlerFailure,
|
||||
ActionType,
|
||||
} from './list.action';
|
||||
import { MetaSensorDisplayItem } from '../../model/MetaSensorDisplayItem';
|
||||
import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
|
||||
import { MetaSensorDisplayItemService } from '../../service/sensor-display-item.service';
|
||||
|
||||
@Injectable()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { MetaSensorDisplayItem } from '../../model/MetaSensorDisplayItem';
|
||||
import { MetaSensorDisplayItem } from '@overflow/commons-typescript/model/meta';
|
||||
|
||||
|
||||
export interface State {
|
||||
|
|
|
@ -4,10 +4,10 @@ import { Router } from '@angular/router';
|
|||
import { Store, select } from '@ngrx/store';
|
||||
import { AuthSelector } from 'packages/member/store';
|
||||
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 { NoAuthProbeSelector } from '../../store';
|
||||
import { NoAuthProbe } from '../../model';
|
||||
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
||||
import { ConfirmationService, Message } from 'primeng/primeng';
|
||||
import { MessageService } from 'primeng/components/common/messageservice';
|
||||
import { Subscription } from 'rxjs/Subscription';
|
||||
|
|
|
@ -5,9 +5,9 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
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()
|
||||
|
|
|
@ -2,9 +2,9 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
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 {
|
||||
ReadAllByDomain = '[noauth-proboe.noauth-proboe] ReadAllByDomain',
|
||||
|
|
|
@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -17,7 +17,7 @@ import {
|
|||
initialState,
|
||||
} from './noauth-probe.state';
|
||||
|
||||
import { NoAuthProbe } from '../../model';
|
||||
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { NoAuthProbe } from '../../model';
|
||||
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
||||
|
||||
export interface State {
|
||||
error: RPCClientError | null;
|
||||
|
|
|
@ -2,12 +2,12 @@ import { Component, OnInit, Input, AfterContentInit } from '@angular/core';
|
|||
import { Router } from '@angular/router';
|
||||
import { Store, select } from '@ngrx/store';
|
||||
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 DetailStore from '../../store/detail';
|
||||
import { ReadAllByMemberSelector, ReadSelector } from '../../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 { MarkAsRead } from '../../store/detail';
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@ import { Component, OnInit, Input, ViewChild, AfterContentInit, OnDestroy } from
|
|||
import { Router } from '@angular/router';
|
||||
import { Store, select } from '@ngrx/store';
|
||||
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 ListStore from '../../store/list';
|
||||
import { ReadAllByMemberSelector, ReadSelector } from '../../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 { Subscription } from 'rxjs/Subscription';
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
import { RPCService } from '@loafer/ng-rpc/service';
|
||||
|
||||
import { Notification } from '../model';
|
||||
import { Member } from '../../member/model';
|
||||
import { Notification } from '@overflow/commons-typescript/model/notification';
|
||||
import { Member } from '@overflow/commons-typescript/model/member';
|
||||
import { PageParams, Page } from 'app/commons/model';
|
||||
|
||||
@Injectable()
|
||||
|
|
|
@ -2,9 +2,9 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
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 { Notification } from '../../model';
|
||||
import { Notification } from '@overflow/commons-typescript/model/notification';
|
||||
|
||||
export enum ActionType {
|
||||
MarkAsRead = '[Notification.notification] MarkAsRead',
|
||||
|
|
|
@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { Notification } from '../../model';
|
||||
import { Notification } from '@overflow/commons-typescript/model/notification';
|
||||
|
||||
export interface State {
|
||||
error: RPCClientError | null;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
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';
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -15,7 +15,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -5,7 +5,7 @@ import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
|||
import * as DetailStore from '../../store/detail';
|
||||
import * as ModifyStore from '../../store/modify';
|
||||
import { DetailSelector, ModifySelector } from '../../store';
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
import { ConfirmationService, Message } from 'primeng/primeng';
|
||||
import * as CIDR from 'ip-cidr';
|
||||
import { Subscription } from 'rxjs/Subscription';
|
||||
|
|
|
@ -3,7 +3,6 @@ import { Component, OnInit } from '@angular/core';
|
|||
@Component({
|
||||
selector: 'of-download',
|
||||
templateUrl: './download.component.html',
|
||||
styleUrls: ['./download.component.scss']
|
||||
})
|
||||
export class DownloadComponent implements OnInit {
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -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();
|
||||
});
|
||||
});
|
|
@ -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']);
|
||||
}
|
||||
}
|
|
@ -4,10 +4,10 @@ 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 { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
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 { ProbeHostListSelector } from '../../store';
|
||||
import { Subscription } from 'rxjs/Subscription';
|
||||
|
|
|
@ -2,8 +2,8 @@ import { Injectable } from '@angular/core';
|
|||
import { Observable } from 'rxjs/Observable';
|
||||
import 'rxjs/add/operator/map';
|
||||
import { RPCService } from '@loafer/ng-rpc/service';
|
||||
import { Probe, ProbeHost } from '../model';
|
||||
import { Domain } from 'packages/domain/model';
|
||||
import { Probe, ProbeHost } from '@overflow/commons-typescript/model/probe';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
|
||||
|
||||
@Injectable()
|
||||
|
|
|
@ -5,9 +5,9 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
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()
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
initialState,
|
||||
} from './detail.state';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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';
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Domain } from 'packages/domain/model';
|
||||
import { Probe } from '../../model';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
initialState,
|
||||
} from './list.state';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
export interface State {
|
||||
error: RPCClientError | null;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
initialState,
|
||||
} from './modify.state';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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';
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Domain } from 'packages/domain/model';
|
||||
import { ProbeHost } from '../../model';
|
||||
import { Domain } from '@overflow/commons-typescript/model/domain';
|
||||
import { ProbeHost } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,9 +16,9 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
ReadAllByDomain,
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
initialState,
|
||||
} from './list.state';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
switch (action.type) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { ProbeHost } from '../../model';
|
||||
import { ProbeHost } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
export interface State {
|
||||
error: RPCClientError | null;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { ProbeHost, Probe } from '../../model';
|
||||
import { ProbeHost, Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
|
@ -16,7 +16,7 @@ import 'rxjs/add/operator/take';
|
|||
|
||||
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 {
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
initialState,
|
||||
} from './probe-host.state';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export function reducer(state = initialState, action: Actions): State {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
import { ProbeHost } from '../../model';
|
||||
import { ProbeHost } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
export interface State {
|
||||
error: RPCClientError | null;
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Action } from '@ngrx/store';
|
|||
|
||||
import { RPCClientError } from '@loafer/ng-rpc/protocol';
|
||||
|
||||
import { Probe } from '../../model';
|
||||
import { Probe } from '@overflow/commons-typescript/model/probe';
|
||||
|
||||
|
||||
export enum ActionType {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user