un-cli 0.0.78 → 0.0.79
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/index.mjs +4 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { AdminLog } from "./adminlog.mjs"
|
|
|
7
7
|
import logger from "./logger.mjs"
|
|
8
8
|
import fetch from "node-fetch"
|
|
9
9
|
//update version
|
|
10
|
-
let version = "0.0.
|
|
10
|
+
let version = "0.0.79";
|
|
11
11
|
const GENERATE_TOKEN_TIME_MIN = 30;
|
|
12
12
|
|
|
13
13
|
let rl = null;
|
|
@@ -176,7 +176,7 @@ const inputs = {
|
|
|
176
176
|
"export subnetworks --deleted": "Export all subnetworks with ACK that are deleted ",
|
|
177
177
|
"updateisconnected": "Run update is connected ",
|
|
178
178
|
|
|
179
|
-
"count": "Lists the number of rows in all feature layers.",
|
|
179
|
+
"count": "Lists the number of rows in all feature layers and tables.",
|
|
180
180
|
"count --system": "Lists the number of rows in system layers.",
|
|
181
181
|
"connect --service": "Connects to the another service",
|
|
182
182
|
"tracelogs --age <minutes>": "Lists utility network trace summary logs for the last x minutes (requires admin)",
|
|
@@ -748,8 +748,8 @@ const inputs = {
|
|
|
748
748
|
let totalRows =0;
|
|
749
749
|
serviceDef.layers.forEach (l=> Object.keys(l).forEach (k => !layerProperties.includes(k) ? delete l[k] : ""))
|
|
750
750
|
//all layers except system ones
|
|
751
|
-
|
|
752
|
-
|
|
751
|
+
let allLayers = serviceDef.layers.filter(l => l.type === 'Feature Layer' && !systemLayers.find(a=> a.id === l.id ))
|
|
752
|
+
allLayers = allLayers.concat(serviceDef.tables);
|
|
753
753
|
|
|
754
754
|
for (let i = 0; i < allLayers.length; i++ )
|
|
755
755
|
{
|