react-code-dataset / spectrum /shared /graphql /fragments /community /communityChannelConnection.js
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
564 Bytes
// @flow
import gql from 'graphql-tag';
import channelInfoFragment from '../../fragments/channel/channelInfo';
import type { ChannelInfoType } from '../../fragments/channel/channelInfo';
type Edge = {
node: {
...$Exact<ChannelInfoType>,
},
};
export type CommunityChannelConnectionType = {
channelConnection: {
edges: Array<?Edge>,
},
};
export default gql`
fragment communityChannelConnection on Community {
channelConnection {
edges {
node {
...channelInfo
}
}
}
}
${channelInfoFragment}
`;