groupResourceByGroupType top-level constant

Map<EntityType, Resource> const groupResourceByGroupType

Implementation

const groupResourceByGroupType = <EntityType, Resource>{
  EntityType.CUSTOMER: Resource.CUSTOMER_GROUP,
  EntityType.DEVICE: Resource.DEVICE_GROUP,
  EntityType.ASSET: Resource.ASSET_GROUP,
  EntityType.USER: Resource.USER_GROUP,
  EntityType.ENTITY_VIEW: Resource.ENTITY_VIEW_GROUP,
  EntityType.DASHBOARD: Resource.DASHBOARD_GROUP,
  EntityType.EDGE: Resource.EDGE_GROUP
};