mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-01 19:27:51 +00:00
64 lines
1.2 KiB
JavaScript
64 lines
1.2 KiB
JavaScript
import gql from 'graphql-tag';
|
|
|
|
export const GET_ALL_LOCATIONS = gql`
|
|
query GetAllLocations($customerId: Int!) {
|
|
getAllLocations(customerId: $customerId) {
|
|
id
|
|
name
|
|
parentId
|
|
}
|
|
}
|
|
`;
|
|
|
|
export const FILTER_EQUIPMENT = gql`
|
|
query FilterEquipment(
|
|
$locationIds: [Int]
|
|
$customerId: Int!
|
|
$equipmentType: String
|
|
$cursor: String
|
|
) {
|
|
filterEquipment(
|
|
customerId: $customerId
|
|
locationIds: $locationIds
|
|
equipmentType: $equipmentType
|
|
cursor: $cursor
|
|
) {
|
|
items {
|
|
name
|
|
id
|
|
locationId
|
|
profileId
|
|
inventoryId
|
|
channel
|
|
profile {
|
|
name
|
|
}
|
|
status {
|
|
protocol {
|
|
details {
|
|
reportedIpV4Addr
|
|
reportedMacAddr
|
|
}
|
|
}
|
|
osPerformance {
|
|
details {
|
|
uptimeInSeconds
|
|
}
|
|
}
|
|
radioUtilization {
|
|
details {
|
|
reportedIpV4Addr
|
|
capacityDetails
|
|
noiseFloorDetails
|
|
}
|
|
}
|
|
}
|
|
}
|
|
context {
|
|
lastPage
|
|
cursor
|
|
}
|
|
}
|
|
}
|
|
`;
|