iamsanjay commented on code in PR #3511: URL: https://github.com/apache/solr/pull/3511#discussion_r2303737762
########## solr/ui/src/commonMain/kotlin/org/apache/solr/ui/components/collections/CollectionsComponent.kt: ########## @@ -0,0 +1,35 @@ +package org.apache.solr.ui.components.collections + +import kotlinx.coroutines.flow.Flow +import kotlinx.coroutines.flow.StateFlow +import org.apache.solr.ui.components.collections.data.CollectionData +import org.apache.solr.ui.components.collections.data.CollectionsList +import org.apache.solr.ui.components.collections.data.ListConfigSets +import org.apache.solr.ui.components.collections.store.CollectionsStore + +/** + * Component interface that represents the collection section. + */ +interface CollectionsComponent { + + val model: StateFlow<Model> + + val labels: Flow<CollectionsStore.Label> Review Comment: 1. We can move Labels out from CollectionStore 2. Or, create another set of Labels and use mappers to map -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org