odata-query
Advanced tools
Comparing version 7.0.3 to 7.0.4
@@ -786,3 +786,5 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
var aggregateValue = aggregateItem[aggregateKey]; | ||
// TODO: Are these always required? Can/should we default them if so? | ||
if (!aggregateValue.with && aggregateValue.as) { | ||
return "".concat(aggregateKey, " as ").concat(aggregateValue.as); | ||
} | ||
if (!aggregateValue.with) { | ||
@@ -789,0 +791,0 @@ throw new Error("'with' property required for '".concat(aggregateKey, "'")); |
@@ -457,3 +457,5 @@ "use strict"; | ||
var aggregateValue = aggregateItem[aggregateKey]; | ||
// TODO: Are these always required? Can/should we default them if so? | ||
if (!aggregateValue.with && aggregateValue.as) { | ||
return "".concat(aggregateKey, " as ").concat(aggregateValue.as); | ||
} | ||
if (!aggregateValue.with) { | ||
@@ -460,0 +462,0 @@ throw new Error("'with' property required for '".concat(aggregateKey, "'")); |
@@ -446,3 +446,5 @@ import { __assign, __rest } from "tslib"; | ||
var aggregateValue = aggregateItem[aggregateKey]; | ||
// TODO: Are these always required? Can/should we default them if so? | ||
if (!aggregateValue.with && aggregateValue.as) { | ||
return "".concat(aggregateKey, " as ").concat(aggregateValue.as); | ||
} | ||
if (!aggregateValue.with) { | ||
@@ -449,0 +451,0 @@ throw new Error("'with' property required for '".concat(aggregateKey, "'")); |
{ | ||
"name": "odata-query", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"author": "Sean Lynch <techniq35@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
104475
1920