updated changes (without useMemo)

This commit is contained in:
Irtiza-h30
2020-07-15 13:14:17 -04:00
parent 2317b6a4ab
commit a056e4286c
3 changed files with 40 additions and 17 deletions

View File

@@ -206,6 +206,25 @@ export const GET_ALL_PROFILES = gql`
`;
export const GET_ALL_STATUS = gql`
query GetAllStatus($customerId: Int!, $statusDataTypes: [String]) {
getAllStatus(customerId: $customerId, statusDataTypes: $statusDataTypes) {
items {
customerId
detailsJSON
details {
equipmentCountPerOui
clientCountPerOui
}
}
context {
lastPage
cursor
}
}
}
`;
export const GET_ALL_STATUS_ALARMS = gql`
query GetAllStatus($customerId: Int!, $statusDataTypes: [String]) {
getAllStatus(customerId: $customerId, statusDataTypes: $statusDataTypes) {
items {