move ComponentType to ComponentAggResult