UNPKG

@accounter/server

Version:

The test suite is split into three Vitest projects for efficiency and isolation:

28 lines (22 loc) 677 B
import { gql } from 'graphql-modules'; export default gql` extend type Query { " get similar transactions " similarTransactions(transactionId: UUID!, withMissingInfo: Boolean): [Transaction!]! @auth(role: ACCOUNTANT) } extend interface Transaction { " missing info suggestions data " missingInfoSuggestions: TransactionSuggestions } extend type CommonTransaction { missingInfoSuggestions: TransactionSuggestions } extend type ConversionTransaction { missingInfoSuggestions: TransactionSuggestions } " represent transaction suggestions for missing info " type TransactionSuggestions { business: FinancialEntity! } `;