"use strict";

exports.__esModule = true;
exports.transformSortToWQL = void 0;
const transformSortToWQL = sort => {
  return (sort == null ? void 0 : sort.map(sortField => ({
    fieldName: sortField.fieldName,
    order: sortField.order.toUpperCase()
  }))) ?? [];
};
exports.transformSortToWQL = transformSortToWQL;
//# sourceMappingURL=transformSortToWQL.js.map