This commit is contained in:
insanity 2017-07-31 12:37:00 +09:00
parent 7610a40bed
commit f3076b7a91
3 changed files with 20 additions and 16 deletions

View File

@ -1,9 +1,9 @@
interface Domain { interface Domain {
id: number; id?: number;
name: string; name?: string;
createDate: Date; createDate?: Date;
} }

View File

@ -5,19 +5,19 @@ import InfraHost from '@overflow/infra/api/model/InfraHost';
interface Probe { interface Probe {
id?: number; id?: number;
status: MetaProbeStatus; // INITIAL / NORMAL status?: MetaProbeStatus; // INITIAL / NORMAL
description: string; description?: string;
createDate: Date; createDate?: Date;
domain: Domain; domain?: Domain;
probeKey: string; probeKey?: string;
encryptionKey: string; encryptionKey?: string;
targetCount: number; targetCount?: number;
sensorCount: number; sensorCount?: number;
displayName: string; displayName?: string;
cidr: string; cidr?: string;
authorizeDate: Date; authorizeDate?: Date;
authorizeMember: Member; authorizeMember?: Member;
host: InfraHost; host?: InfraHost;
} }
export default Probe; export default Probe;

View File

@ -33,6 +33,10 @@ export class ProbeList extends React.Component<Props, State> {
} }
public componentWillMount(): void { public componentWillMount(): void {
// let domain: Domain = {
// id: 1,
// };
// this.props.onReadAllByDomain(domain);
this.data = [ this.data = [
{ {
'id': 11, 'id': 11,