import { freeze } from '../util/object-utils.js' ; import { OperationNode } from './operation-node.js' ; import { ReferenceExpressionNode } from './operation-node-utils.js' ; export interface GroupByItemNode extends OperationNode { readonly kind : 'GroupByItemNode' ; readonly groupBy : ReferenceExpressionNode ; } internal export const GroupByItemNode = freeze ( { is ( node ) { return node . kind === 'GroupByItemNode' ; } , create ( groupBy ) { return freeze ( { kind : 'GroupByItemNode' , groupBy , } ) ; } , } ) ;