@accounter/server
Version:
The test suite is split into three Vitest projects for efficiency and isolation:
27 lines (22 loc) • 503 B
text/typescript
import { gql } from 'graphql-modules';
export default gql`
extend type Query {
allPensionFunds: [PensionFund!]! (role: ACCOUNTANT)
allTrainingFunds: [TrainingFund!]! (role: ACCOUNTANT)
}
" fund entity prototype "
interface Fund {
id: UUID!
name: String!
}
" represent pension fund"
type PensionFund implements Fund {
id: UUID!
name: String!
}
" represent training fund"
type TrainingFund implements Fund {
id: UUID!
name: String!
}
`;