@accounter/server
Version:
15 lines (12 loc) • 311 B
text/typescript
import { gql } from 'graphql-modules';
// eslint-disable-next-line import/no-default-export
export default gql`
extend type Query {
employeesByEmployerId(employerId: UUID!): [Employee!]! (role: ACCOUNTANT)
}
" represent employee record"
type Employee {
id: UUID!
name: String!
}
`;