import { gql } from '@apollo/client'; export const FRAGMENT_FULL_TASK = gql` fragment FullTask on Task { id label category { id label } estimations { optimistic likely pessimistic } } `; export const FRAGMENT_FULL_PROJECT_PARAMS = gql` fragment FullProjectParams on ProjectParams { timeUnit { label acronym } currency hideFinancialPreviewOnPrint } `; export const FRAGMENT_FULL_TASK_CATEGORY = gql` fragment FullTaskCategory on TaskCategory { id label costPerTimeUnit } `; export const FRAGMENT_FULL_PROJECT = gql` fragment FullProject on Project { id title taskCategories { ...FullTaskCategory } tasks { ...FullTask } params { ...FullProjectParams } } ${FRAGMENT_FULL_TASK} ${FRAGMENT_FULL_PROJECT_PARAMS} ${FRAGMENT_FULL_TASK_CATEGORY} `