(groupings: Grouping[])
| 60 | } |
| 61 | |
| 62 | export function getGroupBy(groupings: Grouping[]) { |
| 63 | const groupby = groupings.map(g => g.groupby); |
| 64 | return groupby.reduce((acc, val) => acc.concat(val), []); |
| 65 | } |
| 66 | |
| 67 | export function addOffsets(...offsets: string[]) { |
| 68 | return offsets.filter(Boolean).join(' + '); |
no outgoing calls
no test coverage detected