@hpcc-js/comms 2.92.1 → 2.92.2
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 +19 -6
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +19 -6
- 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 +19 -6
- 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/__package__.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +17 -4
- package/lib-es6/services/wsLogaccess.js.map +1 -1
- package/package.json +2 -2
- package/src/__package__.ts +2 -2
- package/src/services/wsLogaccess.ts +18 -5
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts +1 -1
- package/types/services/wsLogaccess.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/services/wsLogaccess.d.ts +1 -1
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.92.
|
|
652
|
-
var BUILD_VERSION = "2.105.
|
|
651
|
+
var PKG_VERSION = "2.92.2";
|
|
652
|
+
var BUILD_VERSION = "2.105.10";
|
|
653
653
|
|
|
654
654
|
/******************************************************************************
|
|
655
655
|
Copyright (c) Microsoft Corporation.
|
|
@@ -2114,7 +2114,14 @@
|
|
|
2114
2114
|
LogLineStartFrom: (_a = request.LogLineStartFrom) !== null && _a !== void 0 ? _a : 0,
|
|
2115
2115
|
LogLineLimit: (_b = request.LogLineLimit) !== null && _b !== void 0 ? _b : 100,
|
|
2116
2116
|
SelectColumnMode: exports.WsLogaccess.LogSelectColumnMode.DEFAULT,
|
|
2117
|
-
Format: "JSON"
|
|
2117
|
+
Format: "JSON",
|
|
2118
|
+
SortBy: {
|
|
2119
|
+
SortCondition: [{
|
|
2120
|
+
BySortType: exports.WsLogaccess.SortColumType.ByDate,
|
|
2121
|
+
ColumnName: "",
|
|
2122
|
+
Direction: 0
|
|
2123
|
+
}]
|
|
2124
|
+
}
|
|
2118
2125
|
};
|
|
2119
2126
|
filters = [];
|
|
2120
2127
|
_loop_1 = function (key) {
|
|
@@ -2122,11 +2129,17 @@
|
|
|
2122
2129
|
if (key in columnMap) {
|
|
2123
2130
|
searchField = columnMap[key];
|
|
2124
2131
|
}
|
|
2132
|
+
var logCategory = exports.WsLogaccess.LogAccessType.ByFieldName;
|
|
2125
2133
|
if (searchField) {
|
|
2134
|
+
switch (searchField) {
|
|
2135
|
+
case "hpcc.log.audience":
|
|
2136
|
+
logCategory = exports.WsLogaccess.LogAccessType.ByTargetAudience;
|
|
2137
|
+
break;
|
|
2138
|
+
}
|
|
2126
2139
|
if (Array.isArray(request[key])) {
|
|
2127
2140
|
request[key].forEach(function (value) {
|
|
2128
2141
|
filters.push({
|
|
2129
|
-
LogCategory:
|
|
2142
|
+
LogCategory: logCategory,
|
|
2130
2143
|
SearchField: searchField,
|
|
2131
2144
|
SearchByValue: value
|
|
2132
2145
|
});
|
|
@@ -2134,7 +2147,7 @@
|
|
|
2134
2147
|
}
|
|
2135
2148
|
else {
|
|
2136
2149
|
filters.push({
|
|
2137
|
-
LogCategory:
|
|
2150
|
+
LogCategory: logCategory,
|
|
2138
2151
|
SearchField: searchField,
|
|
2139
2152
|
SearchByValue: request[key]
|
|
2140
2153
|
});
|
|
@@ -2189,7 +2202,7 @@
|
|
|
2189
2202
|
getLogsRequest.Filter.Operator = exports.WsLogaccess.LogAccessFilterOperator.OR;
|
|
2190
2203
|
}
|
|
2191
2204
|
getLogsRequest.Filter.rightFilter = {
|
|
2192
|
-
LogCategory: (_h = filters[
|
|
2205
|
+
LogCategory: (_h = filters[1]) === null || _h === void 0 ? void 0 : _h.LogCategory,
|
|
2193
2206
|
SearchField: (_j = filters[1]) === null || _j === void 0 ? void 0 : _j.SearchField,
|
|
2194
2207
|
SearchByValue: (_k = filters[1]) === null || _k === void 0 ? void 0 : _k.SearchByValue
|
|
2195
2208
|
};
|