Sign in

devs / chromedia-snippets · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • chromedia-snippets
  • ReactNative
  • graphql
  • queries
  • findUserSeasonPlayer
  • index.ts
  • Sample snippets
    112ccc18
    Allejo Chris Velarde authored
    2020-12-01 18:05:21 +0800  
    Browse Directory »
index.ts 505 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import { gql } from '@apollo/client';

// eslint-disable-next-line import/prefer-default-export
export const FIND_USER_CURRENT_NFL_SEASON_PLAYER = gql`
  query FindCurrentNflSeasonPlayer($playerId: String!) {
    currentNflSeason {
      id
      player(id: $playerId) {
        id
        lastName
        firstName
        fantasyPointsPerGame
        playerPositions
        value
        details {
          profilePhotos
        }
        team {
          abbreviation
        }
      }
    }
  }
`;