Download spectrum/shared/graphql/fragments/community/communityChannelConnection.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/shared/graphql/fragments/community/communityChannelConnection.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/shared/graphql/fragments/community/communityChannelConnection.js
-
curl -L -o communityChannelConnection.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/shared/graphql/fragments/community/communityChannelConnection.js
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} | |
| `; | |