I am using the DataSourceComponent to query a feature layer and it is successfully querying it and rendering my content. However I need access additional capabilities not directly supported in Experience Builder from what I can see. The datasource I am getting from the DataSourceComponent appears to correctly be a FeatureLayerDataSource which has an optional property of layer. It seems by default or by my configuration somehow layer is always undefined. Count is also undefined by default but if you set queryCount on the component to true then count is loaded as the documentation indicates. I don't see anything similar for the layer. I've looked at the type definition for DataSourceComponent/DataSourceComponentProps which does show a few more properties than the documentation does but nothing seems to indicate that it would cause layer to be loaded.