Update protocol

This commit is contained in:
Gao Hongtao 2018-02-02 17:18:45 +08:00 committed by GitHub
parent f1bf46a348
commit 0851b5612e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
type Alarm {
items: [AlarmItem!]!
count: Int!
total: Int!
}
type AlarmItem {
@ -10,7 +10,7 @@ type AlarmItem {
# such as: threshold, trigger value, relation(greater or lower), last time
content: String!
startTime: String!
alertType: AlarmType!
alarmType: AlarmType!
causeType: CauseType!
}
@ -26,5 +26,5 @@ enum CauseType {
}
extend type Query {
loadAlertList(keyword: String, alertType: AlarmType, duration:Duration!, paging: Pagination!): Alarm
}
loadAlarmList(keyword: String, alarmType: AlarmType, duration:Duration!, paging: Pagination!): Alarm
}