@accounter/server
Version:
The test suite is split into three Vitest projects for efficiency and isolation:
32 lines (27 loc) • 754 B
text/typescript
import { gql } from 'graphql-modules';
export default gql`
extend type Query {
incomeExpenseChart(filters: IncomeExpenseChartFilters!): IncomeExpenseChart!
(role: ACCOUNTANT)
}
" income chart information "
type IncomeExpenseChart {
fromDate: TimelessDate!
toDate: TimelessDate!
currency: Currency!
monthlyData: [IncomeExpenseChartMonthData!]!
}
" income chart month information "
type IncomeExpenseChartMonthData {
date: TimelessDate!
income: FinancialAmount!
expense: FinancialAmount!
balance: FinancialAmount!
}
" input variables for incomeExpenseChart filters "
input IncomeExpenseChartFilters {
fromDate: TimelessDate!
toDate: TimelessDate!
currency: Currency
}
`;