@hpcc-js/comms 2.92.2 → 2.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +37 -38
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +36 -39
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +46 -54
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/ecl/query.js.map +1 -1
- package/lib-es6/ecl/workunit.js +17 -1
- package/lib-es6/ecl/workunit.js.map +1 -1
- package/lib-es6/services/wsdl/ws_access/v1.17/ws_access.js +0 -9
- package/lib-es6/services/wsdl/ws_access/v1.17/ws_access.js.map +1 -1
- package/package.json +7 -7
- package/src/__package__.ts +2 -2
- package/src/ecl/query.ts +3 -3
- package/src/ecl/workunit.ts +22 -0
- package/src/services/wsdl/ws_access/v1.17/ws_access.ts +94 -174
- package/types/__package__.d.ts +2 -2
- package/types/ecl/workunit.d.ts +3 -0
- package/types/ecl/workunit.d.ts.map +1 -1
- package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts +90 -158
- package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/workunit.d.ts +3 -0
- package/types-3.4/services/wsdl/ws_access/v1.17/ws_access.d.ts +90 -158
package/dist/index.js
CHANGED
|
@@ -648,8 +648,8 @@
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
var PKG_NAME = "@hpcc-js/comms";
|
|
651
|
-
var PKG_VERSION = "2.
|
|
652
|
-
var BUILD_VERSION = "2.105.
|
|
651
|
+
var PKG_VERSION = "2.93.0";
|
|
652
|
+
var BUILD_VERSION = "2.105.13";
|
|
653
653
|
|
|
654
654
|
/******************************************************************************
|
|
655
655
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1391,18 +1391,12 @@
|
|
|
1391
1391
|
AccessServiceBase.prototype.PermissionAction = function (request) {
|
|
1392
1392
|
return this._connection.send("PermissionAction", request, "json", false, undefined, "PermissionActionResponse");
|
|
1393
1393
|
};
|
|
1394
|
-
AccessServiceBase.prototype.PermissionAddInput = function (request) {
|
|
1395
|
-
return this._connection.send("PermissionAddInput", request, "json", false, undefined, "PermissionAddResponse");
|
|
1396
|
-
};
|
|
1397
1394
|
AccessServiceBase.prototype.Permissions = function (request) {
|
|
1398
1395
|
return this._connection.send("Permissions", request, "json", false, undefined, "BasednsResponse");
|
|
1399
1396
|
};
|
|
1400
1397
|
AccessServiceBase.prototype.PermissionsReset = function (request) {
|
|
1401
1398
|
return this._connection.send("PermissionsReset", request, "json", false, undefined, "PermissionsResetResponse");
|
|
1402
1399
|
};
|
|
1403
|
-
AccessServiceBase.prototype.PermissionsResetInput = function (request) {
|
|
1404
|
-
return this._connection.send("PermissionsResetInput", request, "json", false, undefined, "PermissionsResetInputResponse");
|
|
1405
|
-
};
|
|
1406
1400
|
AccessServiceBase.prototype.Ping = function (request) {
|
|
1407
1401
|
return this._connection.send("Ping", request, "json", false, undefined, "ws_accessPingResponse");
|
|
1408
1402
|
};
|
|
@@ -1424,9 +1418,6 @@
|
|
|
1424
1418
|
AccessServiceBase.prototype.ResourceAdd = function (request) {
|
|
1425
1419
|
return this._connection.send("ResourceAdd", request, "json", false, undefined, "ResourceAddResponse");
|
|
1426
1420
|
};
|
|
1427
|
-
AccessServiceBase.prototype.ResourceAddInput = function (request) {
|
|
1428
|
-
return this._connection.send("ResourceAddInput", request, "json", false, undefined, "ResourceAddInputResponse");
|
|
1429
|
-
};
|
|
1430
1421
|
AccessServiceBase.prototype.ResourceDelete = function (request) {
|
|
1431
1422
|
return this._connection.send("ResourceDelete", request, "json", false, undefined, "ResourceDeleteResponse");
|
|
1432
1423
|
};
|
|
@@ -3695,8 +3686,6 @@
|
|
|
3695
3686
|
}, function(date) {
|
|
3696
3687
|
return date.getDate() - 1;
|
|
3697
3688
|
});
|
|
3698
|
-
|
|
3699
|
-
var timeDay = day;
|
|
3700
3689
|
day.range;
|
|
3701
3690
|
|
|
3702
3691
|
function weekday(i) {
|
|
@@ -3747,8 +3736,6 @@
|
|
|
3747
3736
|
date.setFullYear(date.getFullYear() + step * k);
|
|
3748
3737
|
});
|
|
3749
3738
|
};
|
|
3750
|
-
|
|
3751
|
-
var timeYear = year;
|
|
3752
3739
|
year.range;
|
|
3753
3740
|
|
|
3754
3741
|
var utcDay = newInterval(function(date) {
|
|
@@ -3760,8 +3747,6 @@
|
|
|
3760
3747
|
}, function(date) {
|
|
3761
3748
|
return date.getUTCDate() - 1;
|
|
3762
3749
|
});
|
|
3763
|
-
|
|
3764
|
-
var utcDay$1 = utcDay;
|
|
3765
3750
|
utcDay.range;
|
|
3766
3751
|
|
|
3767
3752
|
function utcWeekday(i) {
|
|
@@ -3812,8 +3797,6 @@
|
|
|
3812
3797
|
date.setUTCFullYear(date.getUTCFullYear() + step * k);
|
|
3813
3798
|
});
|
|
3814
3799
|
};
|
|
3815
|
-
|
|
3816
|
-
var utcYear$1 = utcYear;
|
|
3817
3800
|
utcYear.range;
|
|
3818
3801
|
|
|
3819
3802
|
function localDate(d) {
|
|
@@ -4004,7 +3987,7 @@
|
|
|
4004
3987
|
return function(string) {
|
|
4005
3988
|
var d = newDate(1900, undefined, 1),
|
|
4006
3989
|
i = parseSpecifier(d, specifier, string += "", 0),
|
|
4007
|
-
week, day;
|
|
3990
|
+
week, day$1;
|
|
4008
3991
|
if (i != string.length) return null;
|
|
4009
3992
|
|
|
4010
3993
|
// If a UNIX timestamp is specified, return it.
|
|
@@ -4025,25 +4008,25 @@
|
|
|
4025
4008
|
if (d.V < 1 || d.V > 53) return null;
|
|
4026
4009
|
if (!("w" in d)) d.w = 1;
|
|
4027
4010
|
if ("Z" in d) {
|
|
4028
|
-
week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
|
|
4029
|
-
week = day > 4 || day === 0 ? utcMonday.ceil(week) : utcMonday(week);
|
|
4030
|
-
week = utcDay
|
|
4011
|
+
week = utcDate(newDate(d.y, 0, 1)), day$1 = week.getUTCDay();
|
|
4012
|
+
week = day$1 > 4 || day$1 === 0 ? utcMonday.ceil(week) : utcMonday(week);
|
|
4013
|
+
week = utcDay.offset(week, (d.V - 1) * 7);
|
|
4031
4014
|
d.y = week.getUTCFullYear();
|
|
4032
4015
|
d.m = week.getUTCMonth();
|
|
4033
4016
|
d.d = week.getUTCDate() + (d.w + 6) % 7;
|
|
4034
4017
|
} else {
|
|
4035
|
-
week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
|
|
4036
|
-
week = day > 4 || day === 0 ? monday.ceil(week) : monday(week);
|
|
4037
|
-
week =
|
|
4018
|
+
week = localDate(newDate(d.y, 0, 1)), day$1 = week.getDay();
|
|
4019
|
+
week = day$1 > 4 || day$1 === 0 ? monday.ceil(week) : monday(week);
|
|
4020
|
+
week = day.offset(week, (d.V - 1) * 7);
|
|
4038
4021
|
d.y = week.getFullYear();
|
|
4039
4022
|
d.m = week.getMonth();
|
|
4040
4023
|
d.d = week.getDate() + (d.w + 6) % 7;
|
|
4041
4024
|
}
|
|
4042
4025
|
} else if ("W" in d || "U" in d) {
|
|
4043
4026
|
if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
|
|
4044
|
-
day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
|
|
4027
|
+
day$1 = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
|
|
4045
4028
|
d.m = 0;
|
|
4046
|
-
d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;
|
|
4029
|
+
d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day$1 + 5) % 7 : d.w + d.U * 7 - (day$1 + 6) % 7;
|
|
4047
4030
|
}
|
|
4048
4031
|
|
|
4049
4032
|
// If a time zone is specified, all fields are interpreted as UTC and then
|
|
@@ -4329,7 +4312,7 @@
|
|
|
4329
4312
|
}
|
|
4330
4313
|
|
|
4331
4314
|
function formatDayOfYear(d, p) {
|
|
4332
|
-
return pad(1 +
|
|
4315
|
+
return pad(1 + day.count(year(d), d), p, 3);
|
|
4333
4316
|
}
|
|
4334
4317
|
|
|
4335
4318
|
function formatMilliseconds(d, p) {
|
|
@@ -4358,7 +4341,7 @@
|
|
|
4358
4341
|
}
|
|
4359
4342
|
|
|
4360
4343
|
function formatWeekNumberSunday(d, p) {
|
|
4361
|
-
return pad(sunday.count(
|
|
4344
|
+
return pad(sunday.count(year(d) - 1, d), p, 2);
|
|
4362
4345
|
}
|
|
4363
4346
|
|
|
4364
4347
|
function dISO(d) {
|
|
@@ -4368,7 +4351,7 @@
|
|
|
4368
4351
|
|
|
4369
4352
|
function formatWeekNumberISO(d, p) {
|
|
4370
4353
|
d = dISO(d);
|
|
4371
|
-
return pad(thursday.count(
|
|
4354
|
+
return pad(thursday.count(year(d), d) + (year(d).getDay() === 4), p, 2);
|
|
4372
4355
|
}
|
|
4373
4356
|
|
|
4374
4357
|
function formatWeekdayNumberSunday(d) {
|
|
@@ -4376,7 +4359,7 @@
|
|
|
4376
4359
|
}
|
|
4377
4360
|
|
|
4378
4361
|
function formatWeekNumberMonday(d, p) {
|
|
4379
|
-
return pad(monday.count(
|
|
4362
|
+
return pad(monday.count(year(d) - 1, d), p, 2);
|
|
4380
4363
|
}
|
|
4381
4364
|
|
|
4382
4365
|
function formatYear(d, p) {
|
|
@@ -4418,7 +4401,7 @@
|
|
|
4418
4401
|
}
|
|
4419
4402
|
|
|
4420
4403
|
function formatUTCDayOfYear(d, p) {
|
|
4421
|
-
return pad(1 + utcDay
|
|
4404
|
+
return pad(1 + utcDay.count(utcYear(d), d), p, 3);
|
|
4422
4405
|
}
|
|
4423
4406
|
|
|
4424
4407
|
function formatUTCMilliseconds(d, p) {
|
|
@@ -4447,7 +4430,7 @@
|
|
|
4447
4430
|
}
|
|
4448
4431
|
|
|
4449
4432
|
function formatUTCWeekNumberSunday(d, p) {
|
|
4450
|
-
return pad(utcSunday.count(utcYear
|
|
4433
|
+
return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
|
|
4451
4434
|
}
|
|
4452
4435
|
|
|
4453
4436
|
function UTCdISO(d) {
|
|
@@ -4457,7 +4440,7 @@
|
|
|
4457
4440
|
|
|
4458
4441
|
function formatUTCWeekNumberISO(d, p) {
|
|
4459
4442
|
d = UTCdISO(d);
|
|
4460
|
-
return pad(utcThursday.count(utcYear
|
|
4443
|
+
return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
|
|
4461
4444
|
}
|
|
4462
4445
|
|
|
4463
4446
|
function formatUTCWeekdayNumberSunday(d) {
|
|
@@ -4465,7 +4448,7 @@
|
|
|
4465
4448
|
}
|
|
4466
4449
|
|
|
4467
4450
|
function formatUTCWeekNumberMonday(d, p) {
|
|
4468
|
-
return pad(utcMonday.count(utcYear
|
|
4451
|
+
return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
|
|
4469
4452
|
}
|
|
4470
4453
|
|
|
4471
4454
|
function formatUTCYear(d, p) {
|
|
@@ -5785,10 +5768,21 @@
|
|
|
5785
5768
|
var _a, _b;
|
|
5786
5769
|
return (_b = (_a = item.__formattedProps) === null || _a === void 0 ? void 0 : _a[key]) !== null && _b !== void 0 ? _b : item[key];
|
|
5787
5770
|
}
|
|
5771
|
+
function safeParseFloat(val) {
|
|
5772
|
+
if (val === undefined)
|
|
5773
|
+
return undefined;
|
|
5774
|
+
var retVal = parseFloat(val);
|
|
5775
|
+
return isNaN(retVal) ? undefined : retVal;
|
|
5776
|
+
}
|
|
5788
5777
|
function formatValues(item, key, dedup) {
|
|
5789
5778
|
var keyParts = splitMetric(key);
|
|
5790
5779
|
if (!dedup[keyParts.measure]) {
|
|
5791
5780
|
dedup[keyParts.label] = true;
|
|
5781
|
+
var avg = safeParseFloat(item["".concat(keyParts.measure, "Avg").concat(keyParts.label)]);
|
|
5782
|
+
var min = safeParseFloat(item["".concat(keyParts.measure, "Min").concat(keyParts.label)]);
|
|
5783
|
+
var max = safeParseFloat(item["".concat(keyParts.measure, "Max").concat(keyParts.label)]);
|
|
5784
|
+
var stdDev = safeParseFloat(item["".concat(keyParts.measure, "StdDev").concat(keyParts.label)]);
|
|
5785
|
+
var StdDevs = Math.max((avg - min) / stdDev, (max - avg) / stdDev);
|
|
5792
5786
|
return {
|
|
5793
5787
|
Key: "".concat(keyParts.measure).concat(keyParts.label),
|
|
5794
5788
|
Value: formatValue(item, "".concat(keyParts.measure).concat(keyParts.label)),
|
|
@@ -5798,6 +5792,7 @@
|
|
|
5798
5792
|
Max: formatValue(item, "".concat(keyParts.measure, "Max").concat(keyParts.label)),
|
|
5799
5793
|
Delta: formatValue(item, "".concat(keyParts.measure, "Delta").concat(keyParts.label)),
|
|
5800
5794
|
StdDev: formatValue(item, "".concat(keyParts.measure, "StdDev").concat(keyParts.label)),
|
|
5795
|
+
StdDevs: isNaN(StdDevs) ? undefined : StdDevs,
|
|
5801
5796
|
// Related properties ---
|
|
5802
5797
|
SkewMin: formatValue(item, "SkewMin".concat(keyParts.label)),
|
|
5803
5798
|
SkewMax: formatValue(item, "SkewMax".concat(keyParts.label)),
|
|
@@ -6696,7 +6691,7 @@
|
|
|
6696
6691
|
}
|
|
6697
6692
|
// Other properties ---
|
|
6698
6693
|
}
|
|
6699
|
-
var normalizedScope = __assign({ id: scope.Id, name: scope.ScopeName, type: scope.ScopeType, Kind: scope["Kind"], Label: scope["Label"], __formattedProps: formattedProps, __groupedProps: {} }, props);
|
|
6694
|
+
var normalizedScope = __assign({ id: scope.Id, name: scope.ScopeName, type: scope.ScopeType, Kind: scope["Kind"], Label: scope["Label"], __formattedProps: formattedProps, __groupedProps: {}, __groupedRawProps: {}, __StdDevs: 0, __StdDevsSource: "" }, props);
|
|
6700
6695
|
if (normalizedScope[DEFINITION_LIST]) {
|
|
6701
6696
|
try {
|
|
6702
6697
|
var definitionList = JSON.parse(normalizedScope[DEFINITION_LIST].split("\\").join("\\\\"));
|
|
@@ -6722,6 +6717,10 @@
|
|
|
6722
6717
|
var row = formatValues(normalizedScope, key, dedup);
|
|
6723
6718
|
if (row) {
|
|
6724
6719
|
normalizedScope.__groupedProps[row.Key] = row;
|
|
6720
|
+
if (!isNaN(row.StdDevs) && normalizedScope.__StdDevs < row.StdDevs) {
|
|
6721
|
+
normalizedScope.__StdDevs = row.StdDevs;
|
|
6722
|
+
normalizedScope.__StdDevsSource = row.Key;
|
|
6723
|
+
}
|
|
6725
6724
|
}
|
|
6726
6725
|
}
|
|
6727
6726
|
}
|
|
@@ -10245,7 +10244,5 @@
|
|
|
10245
10244
|
exports.splitMetric = splitMetric;
|
|
10246
10245
|
exports.targetClusters = targetClusters;
|
|
10247
10246
|
|
|
10248
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10249
|
-
|
|
10250
10247
|
}));
|
|
10251
10248
|
//# sourceMappingURL=index.js.map
|