ing
This commit is contained in:
parent
7610a40bed
commit
f3076b7a91
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
|
|
||||||
interface Domain {
|
interface Domain {
|
||||||
id: number;
|
id?: number;
|
||||||
name: string;
|
name?: string;
|
||||||
createDate: Date;
|
createDate?: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user