ing
This commit is contained in:
parent
7610a40bed
commit
f3076b7a91
|
@ -1,9 +1,9 @@
|
|||
|
||||
|
||||
interface Domain {
|
||||
id: number;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
id?: number;
|
||||
name?: string;
|
||||
createDate?: Date;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5,19 +5,19 @@ import InfraHost from '@overflow/infra/api/model/InfraHost';
|
|||
|
||||
interface Probe {
|
||||
id?: number;
|
||||
status: MetaProbeStatus; // INITIAL / NORMAL
|
||||
description: string;
|
||||
createDate: Date;
|
||||
domain: Domain;
|
||||
probeKey: string;
|
||||
encryptionKey: string;
|
||||
targetCount: number;
|
||||
sensorCount: number;
|
||||
displayName: string;
|
||||
cidr: string;
|
||||
authorizeDate: Date;
|
||||
authorizeMember: Member;
|
||||
host: InfraHost;
|
||||
status?: MetaProbeStatus; // INITIAL / NORMAL
|
||||
description?: string;
|
||||
createDate?: Date;
|
||||
domain?: Domain;
|
||||
probeKey?: string;
|
||||
encryptionKey?: string;
|
||||
targetCount?: number;
|
||||
sensorCount?: number;
|
||||
displayName?: string;
|
||||
cidr?: string;
|
||||
authorizeDate?: Date;
|
||||
authorizeMember?: Member;
|
||||
host?: InfraHost;
|
||||
}
|
||||
|
||||
export default Probe;
|
||||
|
|
|
@ -33,6 +33,10 @@ export class ProbeList extends React.Component<Props, State> {
|
|||
}
|
||||
|
||||
public componentWillMount(): void {
|
||||
// let domain: Domain = {
|
||||
// id: 1,
|
||||
// };
|
||||
// this.props.onReadAllByDomain(domain);
|
||||
this.data = [
|
||||
{
|
||||
'id': 11,
|
||||
|
|
Loading…
Reference in New Issue
Block a user