@hpcc-js/comms 2.99.0 → 3.2.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.js +6 -10397
- package/dist/index.js.map +7 -1
- package/dist/index.node.js +925 -10854
- package/dist/index.node.js.map +7 -1
- package/package.json +58 -63
- package/src/__package__.ts +2 -2
- package/src/clienttools/eclMeta.ts +1 -1
- package/src/clienttools/eclcc.ts +1 -1
- package/src/ecl/activity.ts +3 -3
- package/src/ecl/dfuWorkunit.ts +5 -5
- package/src/ecl/graph.ts +4 -4
- package/src/ecl/logicalFile.ts +3 -3
- package/src/ecl/machine.ts +2 -2
- package/src/ecl/query.ts +12 -12
- package/src/ecl/queryGraph.ts +3 -3
- package/src/ecl/resource.ts +1 -1
- package/src/ecl/result.ts +4 -4
- package/src/ecl/scope.ts +2 -2
- package/src/ecl/sourceFile.ts +2 -2
- package/src/ecl/store.ts +3 -3
- package/src/ecl/targetCluster.ts +4 -4
- package/src/ecl/timer.ts +2 -2
- package/src/ecl/topology.ts +3 -3
- package/src/ecl/workunit.ts +11 -11
- package/src/ecl/xsdParser.ts +0 -1
- package/src/espConnection.ts +1 -1
- package/src/index-common.ts +38 -38
- package/src/index.node.ts +9 -5
- package/src/index.ts +1 -3
- package/src/services/fileSpray.ts +1 -1
- package/src/services/wsAccess.ts +1 -1
- package/src/services/wsAccount.ts +2 -2
- package/src/services/wsCloud.ts +1 -1
- package/src/services/wsCodesign.ts +2 -2
- package/src/services/wsDFU.ts +1 -1
- package/src/services/wsDFUXRef.ts +2 -2
- package/src/services/wsDali.ts +1 -1
- package/src/services/wsEcl.ts +3 -3
- package/src/services/wsElk.ts +1 -1
- package/src/services/wsLogaccess.ts +3 -3
- package/src/services/wsMachine.ts +1 -1
- package/src/services/wsPackageProcess.ts +1 -1
- package/src/services/wsResources.ts +1 -1
- package/src/services/wsSMC.ts +2 -2
- package/src/services/wsSasha.ts +1 -1
- package/src/services/wsStore.ts +2 -2
- package/src/services/wsTopology.ts +2 -2
- package/src/services/wsWorkunits.ts +3 -2
- package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +828 -828
- package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +2 -2
- package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +2 -2
- package/src/services/wsdl/WsCloud/v1/WsCloud.ts +20 -20
- package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +165 -165
- package/src/services/wsdl/WsDali/v1.04/WsDali.ts +2 -2
- package/src/services/wsdl/WsDali/v1.07/WsDali.ts +2 -2
- package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +2 -2
- package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +2 -2
- package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +2 -2
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +86 -86
- package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +434 -434
- package/src/services/wsdl/WsResources/v1.01/WsResources.ts +2 -2
- package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +514 -514
- package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +2 -2
- package/src/services/wsdl/WsSasha/v1.01/WsSasha.ts +2 -2
- package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +2 -2
- package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +2 -2
- package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2415 -2415
- package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +2 -2
- package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +2 -2
- package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +2 -2
- package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +2 -2
- package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +2 -2
- package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +2 -2
- package/src/services/wsdl/ws_access/v1.16/ws_access.ts +953 -953
- package/src/services/wsdl/ws_access/v1.17/ws_access.ts +2 -2
- package/src/services/wsdl/ws_account/v1.05/ws_account.ts +78 -78
- package/src/services/wsdl/ws_account/v1.06/ws_account.ts +2 -2
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +68 -68
- package/src/services/wsdl/ws_elk/v1/ws_elk.ts +29 -29
- package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +54 -54
- package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +2 -2
- package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +2 -2
- package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +2 -2
- package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +2 -2
- package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +2 -2
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +213 -213
- package/types/__package__.d.ts +2 -3
- package/types/clienttools/eclMeta.d.ts +1 -2
- package/types/clienttools/eclcc.d.ts +1 -2
- package/types/connection.d.ts +0 -1
- package/types/ecl/activity.d.ts +3 -4
- package/types/ecl/dfuWorkunit.d.ts +4 -5
- package/types/ecl/graph.d.ts +4 -5
- package/types/ecl/logicalFile.d.ts +2 -3
- package/types/ecl/machine.d.ts +2 -3
- package/types/ecl/query.d.ts +6 -7
- package/types/ecl/queryGraph.d.ts +0 -1
- package/types/ecl/resource.d.ts +1 -2
- package/types/ecl/result.d.ts +4 -5
- package/types/ecl/scope.d.ts +2 -3
- package/types/ecl/sourceFile.d.ts +2 -3
- package/types/ecl/store.d.ts +3 -4
- package/types/ecl/targetCluster.d.ts +4 -5
- package/types/ecl/timer.d.ts +2 -3
- package/types/ecl/topology.d.ts +3 -4
- package/types/ecl/workunit.d.ts +10 -11
- package/types/ecl/xsdParser.d.ts +0 -1
- package/types/espConnection.d.ts +1 -2
- package/types/index-common.d.ts +38 -39
- package/types/index.node.d.ts +3 -4
- package/types/pem/trustwave.d.ts +0 -1
- package/types/services/fileSpray.d.ts +1 -2
- package/types/services/wsAccess.d.ts +1 -2
- package/types/services/wsAccount.d.ts +1 -2
- package/types/services/wsCloud.d.ts +1 -2
- package/types/services/wsCodesign.d.ts +1 -2
- package/types/services/wsDFU.d.ts +1 -2
- package/types/services/wsDFUXRef.d.ts +2 -3
- package/types/services/wsDali.d.ts +1 -2
- package/types/services/wsEcl.d.ts +3 -4
- package/types/services/wsElk.d.ts +1 -2
- package/types/services/wsLogaccess.d.ts +1 -2
- package/types/services/wsMachine.d.ts +1 -2
- package/types/services/wsPackageProcess.d.ts +1 -2
- package/types/services/wsResources.d.ts +1 -2
- package/types/services/wsSMC.d.ts +2 -3
- package/types/services/wsSasha.d.ts +1 -2
- package/types/services/wsStore.d.ts +2 -3
- package/types/services/wsTopology.d.ts +2 -3
- package/types/services/wsWorkunits.d.ts +2 -3
- package/types/services/wsdl/FileSpray/v1.26/FileSpray.d.ts +2 -3
- package/types/services/wsdl/WsCloud/v1/WsCloud.d.ts +2 -3
- package/types/services/wsdl/WsDali/v1.07/WsDali.d.ts +2 -3
- package/types/services/wsdl/WsDfu/v1.65/WsDfu.d.ts +2 -3
- package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +2 -3
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts +2 -3
- package/types/services/wsdl/WsSMC/v1.27/WsSMC.d.ts +2 -3
- package/types/services/wsdl/WsSasha/v1.01/WsSasha.d.ts +2 -3
- package/types/services/wsdl/WsTopology/v1.32/WsTopology.d.ts +2 -3
- package/types/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts +2 -3
- package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts +2 -3
- package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts +2 -3
- package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +2 -3
- package/types/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts +2 -3
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +2 -3
- package/dist/index.es6.js +0 -10713
- package/dist/index.es6.js.map +0 -1
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/dist/index.node.min.js +0 -2
- package/dist/index.node.min.js.map +0 -1
- package/lib-es6/__package__.js +0 -4
- package/lib-es6/__package__.js.map +0 -1
- package/lib-es6/__tests__/dfuXRef.js +0 -32
- package/lib-es6/__tests__/dfuXRef.js.map +0 -1
- package/lib-es6/__tests__/https.js +0 -60
- package/lib-es6/__tests__/https.js.map +0 -1
- package/lib-es6/__tests__/workunit.js +0 -71
- package/lib-es6/__tests__/workunit.js.map +0 -1
- package/lib-es6/clienttools/eclMeta.js +0 -463
- package/lib-es6/clienttools/eclMeta.js.map +0 -1
- package/lib-es6/clienttools/eclcc.js +0 -585
- package/lib-es6/clienttools/eclcc.js.map +0 -1
- package/lib-es6/connection.js +0 -254
- package/lib-es6/connection.js.map +0 -1
- package/lib-es6/ecl/activity.js +0 -172
- package/lib-es6/ecl/activity.js.map +0 -1
- package/lib-es6/ecl/dfuWorkunit.js +0 -591
- package/lib-es6/ecl/dfuWorkunit.js.map +0 -1
- package/lib-es6/ecl/graph.js +0 -289
- package/lib-es6/ecl/graph.js.map +0 -1
- package/lib-es6/ecl/logicalFile.js +0 -394
- package/lib-es6/ecl/logicalFile.js.map +0 -1
- package/lib-es6/ecl/machine.js +0 -159
- package/lib-es6/ecl/machine.js.map +0 -1
- package/lib-es6/ecl/query.js +0 -425
- package/lib-es6/ecl/query.js.map +0 -1
- package/lib-es6/ecl/queryGraph.js +0 -759
- package/lib-es6/ecl/queryGraph.js.map +0 -1
- package/lib-es6/ecl/resource.js +0 -47
- package/lib-es6/ecl/resource.js.map +0 -1
- package/lib-es6/ecl/result.js +0 -288
- package/lib-es6/ecl/result.js.map +0 -1
- package/lib-es6/ecl/scope.js +0 -234
- package/lib-es6/ecl/scope.js.map +0 -1
- package/lib-es6/ecl/sourceFile.js +0 -60
- package/lib-es6/ecl/sourceFile.js.map +0 -1
- package/lib-es6/ecl/store.js +0 -166
- package/lib-es6/ecl/store.js.map +0 -1
- package/lib-es6/ecl/targetCluster.js +0 -194
- package/lib-es6/ecl/targetCluster.js.map +0 -1
- package/lib-es6/ecl/timer.js +0 -76
- package/lib-es6/ecl/timer.js.map +0 -1
- package/lib-es6/ecl/topology.js +0 -159
- package/lib-es6/ecl/topology.js.map +0 -1
- package/lib-es6/ecl/workunit.js +0 -1553
- package/lib-es6/ecl/workunit.js.map +0 -1
- package/lib-es6/ecl/xsdParser.js +0 -253
- package/lib-es6/ecl/xsdParser.js.map +0 -1
- package/lib-es6/espConnection.js +0 -154
- package/lib-es6/espConnection.js.map +0 -1
- package/lib-es6/index-common.js +0 -39
- package/lib-es6/index-common.js.map +0 -1
- package/lib-es6/index.js +0 -3
- package/lib-es6/index.js.map +0 -1
- package/lib-es6/index.node.js +0 -64
- package/lib-es6/index.node.js.map +0 -1
- package/lib-es6/pem/trustwave.js +0 -2
- package/lib-es6/pem/trustwave.js.map +0 -1
- package/lib-es6/services/fileSpray.js +0 -40
- package/lib-es6/services/fileSpray.js.map +0 -1
- package/lib-es6/services/wsAccess.js +0 -12
- package/lib-es6/services/wsAccess.js.map +0 -1
- package/lib-es6/services/wsAccount.js +0 -27
- package/lib-es6/services/wsAccount.js.map +0 -1
- package/lib-es6/services/wsCloud.js +0 -23
- package/lib-es6/services/wsCloud.js.map +0 -1
- package/lib-es6/services/wsCodesign.js +0 -26
- package/lib-es6/services/wsCodesign.js.map +0 -1
- package/lib-es6/services/wsDFU.js +0 -19
- package/lib-es6/services/wsDFU.js.map +0 -1
- package/lib-es6/services/wsDFUXRef.js +0 -45
- package/lib-es6/services/wsDFUXRef.js.map +0 -1
- package/lib-es6/services/wsDali.js +0 -11
- package/lib-es6/services/wsDali.js.map +0 -1
- package/lib-es6/services/wsEcl.js +0 -111
- package/lib-es6/services/wsEcl.js.map +0 -1
- package/lib-es6/services/wsElk.js +0 -11
- package/lib-es6/services/wsElk.js.map +0 -1
- package/lib-es6/services/wsLogaccess.js +0 -226
- package/lib-es6/services/wsLogaccess.js.map +0 -1
- package/lib-es6/services/wsMachine.js +0 -57
- package/lib-es6/services/wsMachine.js.map +0 -1
- package/lib-es6/services/wsPackageProcess.js +0 -11
- package/lib-es6/services/wsPackageProcess.js.map +0 -1
- package/lib-es6/services/wsResources.js +0 -11
- package/lib-es6/services/wsResources.js.map +0 -1
- package/lib-es6/services/wsSMC.js +0 -22
- package/lib-es6/services/wsSMC.js.map +0 -1
- package/lib-es6/services/wsSasha.js +0 -12
- package/lib-es6/services/wsSasha.js.map +0 -1
- package/lib-es6/services/wsStore.js +0 -56
- package/lib-es6/services/wsStore.js.map +0 -1
- package/lib-es6/services/wsTopology.js +0 -45
- package/lib-es6/services/wsTopology.js.map +0 -1
- package/lib-es6/services/wsWorkunits.js +0 -130
- package/lib-es6/services/wsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/FileSpray/v1.23/FileSpray.js +0 -110
- package/lib-es6/services/wsdl/FileSpray/v1.23/FileSpray.js.map +0 -1
- package/lib-es6/services/wsdl/FileSpray/v1.25/FileSpray.js +0 -116
- package/lib-es6/services/wsdl/FileSpray/v1.25/FileSpray.js.map +0 -1
- package/lib-es6/services/wsdl/FileSpray/v1.26/FileSpray.js +0 -119
- package/lib-es6/services/wsdl/FileSpray/v1.26/FileSpray.js.map +0 -1
- package/lib-es6/services/wsdl/WsCloud/v1/WsCloud.js +0 -17
- package/lib-es6/services/wsdl/WsCloud/v1/WsCloud.js.map +0 -1
- package/lib-es6/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.js +0 -47
- package/lib-es6/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.js.map +0 -1
- package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js +0 -68
- package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js.map +0 -1
- package/lib-es6/services/wsdl/WsDali/v1.07/WsDali.js +0 -101
- package/lib-es6/services/wsdl/WsDali/v1.07/WsDali.js.map +0 -1
- package/lib-es6/services/wsdl/WsDfu/v1.62/WsDfu.js +0 -142
- package/lib-es6/services/wsdl/WsDfu/v1.62/WsDfu.js.map +0 -1
- package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js +0 -145
- package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js.map +0 -1
- package/lib-es6/services/wsdl/WsDfu/v1.65/WsDfu.js +0 -145
- package/lib-es6/services/wsdl/WsDfu/v1.65/WsDfu.js.map +0 -1
- package/lib-es6/services/wsdl/WsFileIO/v1.01/WsFileIO.js +0 -23
- package/lib-es6/services/wsdl/WsFileIO/v1.01/WsFileIO.js.map +0 -1
- package/lib-es6/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.js +0 -62
- package/lib-es6/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.js.map +0 -1
- package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js +0 -20
- package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js.map +0 -1
- package/lib-es6/services/wsdl/WsSMC/v1.24/WsSMC.js +0 -93
- package/lib-es6/services/wsdl/WsSMC/v1.24/WsSMC.js.map +0 -1
- package/lib-es6/services/wsdl/WsSMC/v1.27/WsSMC.js +0 -99
- package/lib-es6/services/wsdl/WsSMC/v1.27/WsSMC.js.map +0 -1
- package/lib-es6/services/wsdl/WsSasha/v1.01/WsSasha.js +0 -34
- package/lib-es6/services/wsdl/WsSasha/v1.01/WsSasha.js.map +0 -1
- package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js +0 -80
- package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js.map +0 -1
- package/lib-es6/services/wsdl/WsTopology/v1.32/WsTopology.js +0 -83
- package/lib-es6/services/wsdl/WsTopology/v1.32/WsTopology.js.map +0 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.88/WsWorkunits.js +0 -328
- package/lib-es6/services/wsdl/WsWorkunits/v1.88/WsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.94/WsWorkunits.js +0 -354
- package/lib-es6/services/wsdl/WsWorkunits/v1.94/WsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.95/WsWorkunits.js +0 -354
- package/lib-es6/services/wsdl/WsWorkunits/v1.95/WsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.97/WsWorkunits.js +0 -376
- package/lib-es6/services/wsdl/WsWorkunits/v1.97/WsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js +0 -370
- package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.99/WsWorkunits.js +0 -376
- package/lib-es6/services/wsdl/WsWorkunits/v1.99/WsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/WsWorkunits/v2/WsWorkunits.js +0 -376
- package/lib-es6/services/wsdl/WsWorkunits/v2/WsWorkunits.js.map +0 -1
- package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js +0 -203
- package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js.map +0 -1
- package/lib-es6/services/wsdl/ws_access/v1.17/ws_access.js +0 -200
- package/lib-es6/services/wsdl/ws_access/v1.17/ws_access.js.map +0 -1
- package/lib-es6/services/wsdl/ws_account/v1.05/ws_account.js +0 -26
- package/lib-es6/services/wsdl/ws_account/v1.05/ws_account.js.map +0 -1
- package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js +0 -26
- package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js.map +0 -1
- package/lib-es6/services/wsdl/ws_codesign/v1.1/ws_codesign.js +0 -27
- package/lib-es6/services/wsdl/ws_codesign/v1.1/ws_codesign.js.map +0 -1
- package/lib-es6/services/wsdl/ws_elk/v1/ws_elk.js +0 -17
- package/lib-es6/services/wsdl/ws_elk/v1/ws_elk.js.map +0 -1
- package/lib-es6/services/wsdl/ws_logaccess/v1/ws_logaccess.js +0 -28
- package/lib-es6/services/wsdl/ws_logaccess/v1/ws_logaccess.js.map +0 -1
- package/lib-es6/services/wsdl/ws_logaccess/v1.02/ws_logaccess.js +0 -47
- package/lib-es6/services/wsdl/ws_logaccess/v1.02/ws_logaccess.js.map +0 -1
- package/lib-es6/services/wsdl/ws_logaccess/v1.03/ws_logaccess.js +0 -63
- package/lib-es6/services/wsdl/ws_logaccess/v1.03/ws_logaccess.js.map +0 -1
- package/lib-es6/services/wsdl/ws_logaccess/v1.04/ws_logaccess.js +0 -85
- package/lib-es6/services/wsdl/ws_logaccess/v1.04/ws_logaccess.js.map +0 -1
- package/lib-es6/services/wsdl/ws_logaccess/v1.05/ws_logaccess.js +0 -88
- package/lib-es6/services/wsdl/ws_logaccess/v1.05/ws_logaccess.js.map +0 -1
- package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js +0 -41
- package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js.map +0 -1
- package/lib-es6/services/wsdl/wsstore/v1.02/wsstore.js +0 -44
- package/lib-es6/services/wsdl/wsstore/v1.02/wsstore.js.map +0 -1
- package/src/__tests__/dfuXRef.ts +0 -22
- package/src/__tests__/https.ts +0 -69
- package/src/__tests__/workunit.ts +0 -35
- package/types/__package__.d.ts.map +0 -1
- package/types/__tests__/dfuXRef.d.ts +0 -2
- package/types/__tests__/dfuXRef.d.ts.map +0 -1
- package/types/__tests__/https.d.ts +0 -2
- package/types/__tests__/https.d.ts.map +0 -1
- package/types/__tests__/workunit.d.ts +0 -2
- package/types/__tests__/workunit.d.ts.map +0 -1
- package/types/clienttools/eclMeta.d.ts.map +0 -1
- package/types/clienttools/eclcc.d.ts.map +0 -1
- package/types/connection.d.ts.map +0 -1
- package/types/ecl/activity.d.ts.map +0 -1
- package/types/ecl/dfuWorkunit.d.ts.map +0 -1
- package/types/ecl/graph.d.ts.map +0 -1
- package/types/ecl/logicalFile.d.ts.map +0 -1
- package/types/ecl/machine.d.ts.map +0 -1
- package/types/ecl/query.d.ts.map +0 -1
- package/types/ecl/queryGraph.d.ts.map +0 -1
- package/types/ecl/resource.d.ts.map +0 -1
- package/types/ecl/result.d.ts.map +0 -1
- package/types/ecl/scope.d.ts.map +0 -1
- package/types/ecl/sourceFile.d.ts.map +0 -1
- package/types/ecl/store.d.ts.map +0 -1
- package/types/ecl/targetCluster.d.ts.map +0 -1
- package/types/ecl/timer.d.ts.map +0 -1
- package/types/ecl/topology.d.ts.map +0 -1
- package/types/ecl/workunit.d.ts.map +0 -1
- package/types/ecl/xsdParser.d.ts.map +0 -1
- package/types/espConnection.d.ts.map +0 -1
- package/types/index-common.d.ts.map +0 -1
- package/types/index.d.ts +0 -3
- package/types/index.d.ts.map +0 -1
- package/types/index.node.d.ts.map +0 -1
- package/types/pem/trustwave.d.ts.map +0 -1
- package/types/services/fileSpray.d.ts.map +0 -1
- package/types/services/wsAccess.d.ts.map +0 -1
- package/types/services/wsAccount.d.ts.map +0 -1
- package/types/services/wsCloud.d.ts.map +0 -1
- package/types/services/wsCodesign.d.ts.map +0 -1
- package/types/services/wsDFU.d.ts.map +0 -1
- package/types/services/wsDFUXRef.d.ts.map +0 -1
- package/types/services/wsDali.d.ts.map +0 -1
- package/types/services/wsEcl.d.ts.map +0 -1
- package/types/services/wsElk.d.ts.map +0 -1
- package/types/services/wsLogaccess.d.ts.map +0 -1
- package/types/services/wsMachine.d.ts.map +0 -1
- package/types/services/wsPackageProcess.d.ts.map +0 -1
- package/types/services/wsResources.d.ts.map +0 -1
- package/types/services/wsSMC.d.ts.map +0 -1
- package/types/services/wsSasha.d.ts.map +0 -1
- package/types/services/wsStore.d.ts.map +0 -1
- package/types/services/wsTopology.d.ts.map +0 -1
- package/types/services/wsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +0 -830
- package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts.map +0 -1
- package/types/services/wsdl/FileSpray/v1.25/FileSpray.d.ts +0 -856
- package/types/services/wsdl/FileSpray/v1.25/FileSpray.d.ts.map +0 -1
- package/types/services/wsdl/FileSpray/v1.26/FileSpray.d.ts.map +0 -1
- package/types/services/wsdl/WsCloud/v1/WsCloud.d.ts.map +0 -1
- package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +0 -148
- package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts.map +0 -1
- package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts +0 -125
- package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts.map +0 -1
- package/types/services/wsdl/WsDali/v1.07/WsDali.d.ts.map +0 -1
- package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +0 -1224
- package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts.map +0 -1
- package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +0 -1233
- package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts.map +0 -1
- package/types/services/wsdl/WsDfu/v1.65/WsDfu.d.ts.map +0 -1
- package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +0 -77
- package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts.map +0 -1
- package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts.map +0 -1
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts.map +0 -1
- package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +0 -515
- package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts.map +0 -1
- package/types/services/wsdl/WsSMC/v1.27/WsSMC.d.ts.map +0 -1
- package/types/services/wsdl/WsSasha/v1.01/WsSasha.d.ts.map +0 -1
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +0 -694
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts.map +0 -1
- package/types/services/wsdl/WsTopology/v1.32/WsTopology.d.ts.map +0 -1
- package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +0 -2405
- package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts +0 -2520
- package/types/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts +0 -2521
- package/types/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts +0 -2529
- package/types/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts +0 -2623
- package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts +0 -2555
- package/types/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts.map +0 -1
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts +0 -778
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts.map +0 -1
- package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts.map +0 -1
- package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts +0 -74
- package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts.map +0 -1
- package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts.map +0 -1
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +0 -67
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts.map +0 -1
- package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts.map +0 -1
- package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +0 -56
- package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts.map +0 -1
- package/types/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts +0 -126
- package/types/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts.map +0 -1
- package/types/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts +0 -150
- package/types/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts.map +0 -1
- package/types/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts +0 -171
- package/types/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts.map +0 -1
- package/types/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts.map +0 -1
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts.map +0 -1
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +0 -179
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts.map +0 -1
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/__tests__/dfuXRef.d.ts +0 -2
- package/types-3.4/__tests__/https.d.ts +0 -2
- package/types-3.4/__tests__/workunit.d.ts +0 -2
- package/types-3.4/clienttools/eclMeta.d.ts +0 -124
- package/types-3.4/clienttools/eclcc.d.ts +0 -105
- package/types-3.4/connection.d.ts +0 -43
- package/types-3.4/ecl/activity.d.ts +0 -40
- package/types-3.4/ecl/dfuWorkunit.d.ts +0 -103
- package/types-3.4/ecl/graph.d.ts +0 -46
- package/types-3.4/ecl/logicalFile.d.ts +0 -91
- package/types-3.4/ecl/machine.d.ts +0 -40
- package/types-3.4/ecl/query.d.ts +0 -70
- package/types-3.4/ecl/queryGraph.d.ts +0 -101
- package/types-3.4/ecl/resource.d.ts +0 -16
- package/types-3.4/ecl/result.d.ts +0 -88
- package/types-3.4/ecl/scope.d.ts +0 -55
- package/types-3.4/ecl/sourceFile.d.ts +0 -19
- package/types-3.4/ecl/store.d.ts +0 -40
- package/types-3.4/ecl/targetCluster.d.ts +0 -43
- package/types-3.4/ecl/timer.d.ts +0 -24
- package/types-3.4/ecl/topology.d.ts +0 -33
- package/types-3.4/ecl/workunit.d.ts +0 -275
- package/types-3.4/ecl/xsdParser.d.ts +0 -42
- package/types-3.4/espConnection.d.ts +0 -44
- package/types-3.4/index-common.d.ts +0 -39
- package/types-3.4/index.d.ts +0 -3
- package/types-3.4/index.node.d.ts +0 -4
- package/types-3.4/pem/trustwave.d.ts +0 -2
- package/types-3.4/services/fileSpray.d.ts +0 -27
- package/types-3.4/services/wsAccess.d.ts +0 -5
- package/types-3.4/services/wsAccount.d.ts +0 -6
- package/types-3.4/services/wsCloud.d.ts +0 -6
- package/types-3.4/services/wsCodesign.d.ts +0 -57
- package/types-3.4/services/wsDFU.d.ts +0 -11
- package/types-3.4/services/wsDFUXRef.d.ts +0 -220
- package/types-3.4/services/wsDali.d.ts +0 -5
- package/types-3.4/services/wsEcl.d.ts +0 -18
- package/types-3.4/services/wsElk.d.ts +0 -5
- package/types-3.4/services/wsLogaccess.d.ts +0 -55
- package/types-3.4/services/wsMachine.d.ts +0 -29
- package/types-3.4/services/wsPackageProcess.d.ts +0 -5
- package/types-3.4/services/wsResources.d.ts +0 -5
- package/types-3.4/services/wsSMC.d.ts +0 -8
- package/types-3.4/services/wsSasha.d.ts +0 -5
- package/types-3.4/services/wsStore.d.ts +0 -147
- package/types-3.4/services/wsTopology.d.ts +0 -10
- package/types-3.4/services/wsWorkunits.d.ts +0 -61
- package/types-3.4/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +0 -830
- package/types-3.4/services/wsdl/FileSpray/v1.25/FileSpray.d.ts +0 -856
- package/types-3.4/services/wsdl/FileSpray/v1.26/FileSpray.d.ts +0 -736
- package/types-3.4/services/wsdl/WsCloud/v1/WsCloud.d.ts +0 -19
- package/types-3.4/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +0 -148
- package/types-3.4/services/wsdl/WsDali/v1.04/WsDali.d.ts +0 -125
- package/types-3.4/services/wsdl/WsDali/v1.07/WsDali.d.ts +0 -158
- package/types-3.4/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +0 -1224
- package/types-3.4/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +0 -1233
- package/types-3.4/services/wsdl/WsDfu/v1.65/WsDfu.d.ts +0 -1011
- package/types-3.4/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +0 -77
- package/types-3.4/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +0 -396
- package/types-3.4/services/wsdl/WsResources/v1.01/WsResources.d.ts +0 -85
- package/types-3.4/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +0 -515
- package/types-3.4/services/wsdl/WsSMC/v1.27/WsSMC.d.ts +0 -519
- package/types-3.4/services/wsdl/WsSasha/v1.01/WsSasha.d.ts +0 -65
- package/types-3.4/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +0 -694
- package/types-3.4/services/wsdl/WsTopology/v1.32/WsTopology.d.ts +0 -716
- package/types-3.4/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +0 -2405
- package/types-3.4/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts +0 -2520
- package/types-3.4/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts +0 -2521
- package/types-3.4/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts +0 -2529
- package/types-3.4/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts +0 -2623
- package/types-3.4/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts +0 -2555
- package/types-3.4/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts +0 -2549
- package/types-3.4/services/wsdl/ws_access/v1.16/ws_access.d.ts +0 -778
- package/types-3.4/services/wsdl/ws_access/v1.17/ws_access.d.ts +0 -721
- package/types-3.4/services/wsdl/ws_account/v1.05/ws_account.d.ts +0 -74
- package/types-3.4/services/wsdl/ws_account/v1.06/ws_account.d.ts +0 -71
- package/types-3.4/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +0 -67
- package/types-3.4/services/wsdl/ws_elk/v1/ws_elk.d.ts +0 -28
- package/types-3.4/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +0 -56
- package/types-3.4/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts +0 -126
- package/types-3.4/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts +0 -150
- package/types-3.4/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts +0 -171
- package/types-3.4/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts +0 -175
- package/types-3.4/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +0 -470
- package/types-3.4/services/wsdl/wsstore/v1.02/wsstore.d.ts +0 -179
|
@@ -1,394 +0,0 @@
|
|
|
1
|
-
import { __assign, __extends, __spreadArray } from "tslib";
|
|
2
|
-
import { Cache, scopedLogger, StateObject } from "@hpcc-js/util";
|
|
3
|
-
import { DFUService } from "../services/wsDFU";
|
|
4
|
-
var logger = scopedLogger("logicalFile.ts");
|
|
5
|
-
var LogicalFileCache = /** @class */ (function (_super) {
|
|
6
|
-
__extends(LogicalFileCache, _super);
|
|
7
|
-
function LogicalFileCache() {
|
|
8
|
-
return _super.call(this, function (obj) {
|
|
9
|
-
return "".concat(obj.BaseUrl, "-").concat(obj.Cluster, "-").concat(obj.Name);
|
|
10
|
-
}) || this;
|
|
11
|
-
}
|
|
12
|
-
return LogicalFileCache;
|
|
13
|
-
}(Cache));
|
|
14
|
-
export { LogicalFileCache };
|
|
15
|
-
var _store = new LogicalFileCache();
|
|
16
|
-
var LogicalFile = /** @class */ (function (_super) {
|
|
17
|
-
__extends(LogicalFile, _super);
|
|
18
|
-
function LogicalFile(optsConnection, Cluster, Name) {
|
|
19
|
-
var _this = _super.call(this) || this;
|
|
20
|
-
if (optsConnection instanceof DFUService) {
|
|
21
|
-
_this.connection = optsConnection;
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
_this.connection = new DFUService(optsConnection);
|
|
25
|
-
}
|
|
26
|
-
_this.clear({
|
|
27
|
-
Cluster: Cluster,
|
|
28
|
-
Name: Name
|
|
29
|
-
});
|
|
30
|
-
return _this;
|
|
31
|
-
}
|
|
32
|
-
Object.defineProperty(LogicalFile.prototype, "BaseUrl", {
|
|
33
|
-
get: function () { return this.connection.baseUrl; },
|
|
34
|
-
enumerable: false,
|
|
35
|
-
configurable: true
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(LogicalFile.prototype, "Cluster", {
|
|
38
|
-
get: function () { return this.get("Cluster"); },
|
|
39
|
-
enumerable: false,
|
|
40
|
-
configurable: true
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(LogicalFile.prototype, "Name", {
|
|
43
|
-
get: function () { return this.get("Name"); },
|
|
44
|
-
enumerable: false,
|
|
45
|
-
configurable: true
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(LogicalFile.prototype, "Filename", {
|
|
48
|
-
get: function () { return this.get("Filename"); },
|
|
49
|
-
enumerable: false,
|
|
50
|
-
configurable: true
|
|
51
|
-
});
|
|
52
|
-
Object.defineProperty(LogicalFile.prototype, "Prefix", {
|
|
53
|
-
get: function () { return this.get("Prefix"); },
|
|
54
|
-
enumerable: false,
|
|
55
|
-
configurable: true
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(LogicalFile.prototype, "NodeGroup", {
|
|
58
|
-
get: function () { return this.get("NodeGroup"); },
|
|
59
|
-
enumerable: false,
|
|
60
|
-
configurable: true
|
|
61
|
-
});
|
|
62
|
-
Object.defineProperty(LogicalFile.prototype, "NumParts", {
|
|
63
|
-
get: function () { return this.get("NumParts"); },
|
|
64
|
-
enumerable: false,
|
|
65
|
-
configurable: true
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(LogicalFile.prototype, "Description", {
|
|
68
|
-
get: function () { return this.get("Description"); },
|
|
69
|
-
enumerable: false,
|
|
70
|
-
configurable: true
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(LogicalFile.prototype, "Dir", {
|
|
73
|
-
get: function () { return this.get("Dir"); },
|
|
74
|
-
enumerable: false,
|
|
75
|
-
configurable: true
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(LogicalFile.prototype, "PathMask", {
|
|
78
|
-
get: function () { return this.get("PathMask"); },
|
|
79
|
-
enumerable: false,
|
|
80
|
-
configurable: true
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(LogicalFile.prototype, "Filesize", {
|
|
83
|
-
get: function () { return this.get("Filesize"); },
|
|
84
|
-
enumerable: false,
|
|
85
|
-
configurable: true
|
|
86
|
-
});
|
|
87
|
-
Object.defineProperty(LogicalFile.prototype, "FileSizeInt64", {
|
|
88
|
-
get: function () { return this.get("FileSizeInt64"); },
|
|
89
|
-
enumerable: false,
|
|
90
|
-
configurable: true
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(LogicalFile.prototype, "RecordSize", {
|
|
93
|
-
get: function () { return this.get("RecordSize"); },
|
|
94
|
-
enumerable: false,
|
|
95
|
-
configurable: true
|
|
96
|
-
});
|
|
97
|
-
Object.defineProperty(LogicalFile.prototype, "RecordCount", {
|
|
98
|
-
get: function () { return this.get("RecordCount"); },
|
|
99
|
-
enumerable: false,
|
|
100
|
-
configurable: true
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(LogicalFile.prototype, "RecordSizeInt64", {
|
|
103
|
-
get: function () { return this.get("RecordSizeInt64"); },
|
|
104
|
-
enumerable: false,
|
|
105
|
-
configurable: true
|
|
106
|
-
});
|
|
107
|
-
Object.defineProperty(LogicalFile.prototype, "RecordCountInt64", {
|
|
108
|
-
get: function () { return this.get("RecordCountInt64"); },
|
|
109
|
-
enumerable: false,
|
|
110
|
-
configurable: true
|
|
111
|
-
});
|
|
112
|
-
Object.defineProperty(LogicalFile.prototype, "Wuid", {
|
|
113
|
-
get: function () { return this.get("Wuid"); },
|
|
114
|
-
enumerable: false,
|
|
115
|
-
configurable: true
|
|
116
|
-
});
|
|
117
|
-
Object.defineProperty(LogicalFile.prototype, "Owner", {
|
|
118
|
-
get: function () { return this.get("Owner"); },
|
|
119
|
-
enumerable: false,
|
|
120
|
-
configurable: true
|
|
121
|
-
});
|
|
122
|
-
Object.defineProperty(LogicalFile.prototype, "JobName", {
|
|
123
|
-
get: function () { return this.get("JobName"); },
|
|
124
|
-
enumerable: false,
|
|
125
|
-
configurable: true
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(LogicalFile.prototype, "Persistent", {
|
|
128
|
-
get: function () { return this.get("Persistent"); },
|
|
129
|
-
enumerable: false,
|
|
130
|
-
configurable: true
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(LogicalFile.prototype, "Format", {
|
|
133
|
-
get: function () { return this.get("Format"); },
|
|
134
|
-
enumerable: false,
|
|
135
|
-
configurable: true
|
|
136
|
-
});
|
|
137
|
-
Object.defineProperty(LogicalFile.prototype, "MaxRecordSize", {
|
|
138
|
-
get: function () { return this.get("MaxRecordSize"); },
|
|
139
|
-
enumerable: false,
|
|
140
|
-
configurable: true
|
|
141
|
-
});
|
|
142
|
-
Object.defineProperty(LogicalFile.prototype, "CsvSeparate", {
|
|
143
|
-
get: function () { return this.get("CsvSeparate"); },
|
|
144
|
-
enumerable: false,
|
|
145
|
-
configurable: true
|
|
146
|
-
});
|
|
147
|
-
Object.defineProperty(LogicalFile.prototype, "CsvQuote", {
|
|
148
|
-
get: function () { return this.get("CsvQuote"); },
|
|
149
|
-
enumerable: false,
|
|
150
|
-
configurable: true
|
|
151
|
-
});
|
|
152
|
-
Object.defineProperty(LogicalFile.prototype, "CsvTerminate", {
|
|
153
|
-
get: function () { return this.get("CsvTerminate"); },
|
|
154
|
-
enumerable: false,
|
|
155
|
-
configurable: true
|
|
156
|
-
});
|
|
157
|
-
Object.defineProperty(LogicalFile.prototype, "CsvEscape", {
|
|
158
|
-
get: function () { return this.get("CsvEscape"); },
|
|
159
|
-
enumerable: false,
|
|
160
|
-
configurable: true
|
|
161
|
-
});
|
|
162
|
-
Object.defineProperty(LogicalFile.prototype, "Modified", {
|
|
163
|
-
get: function () { return this.get("Modified"); },
|
|
164
|
-
enumerable: false,
|
|
165
|
-
configurable: true
|
|
166
|
-
});
|
|
167
|
-
Object.defineProperty(LogicalFile.prototype, "Ecl", {
|
|
168
|
-
get: function () { return this.get("Ecl"); },
|
|
169
|
-
enumerable: false,
|
|
170
|
-
configurable: true
|
|
171
|
-
});
|
|
172
|
-
Object.defineProperty(LogicalFile.prototype, "Stat", {
|
|
173
|
-
get: function () { return this.get("Stat"); },
|
|
174
|
-
enumerable: false,
|
|
175
|
-
configurable: true
|
|
176
|
-
});
|
|
177
|
-
Object.defineProperty(LogicalFile.prototype, "DFUFilePartsOnClusters", {
|
|
178
|
-
get: function () { return this.get("DFUFilePartsOnClusters"); },
|
|
179
|
-
enumerable: false,
|
|
180
|
-
configurable: true
|
|
181
|
-
});
|
|
182
|
-
Object.defineProperty(LogicalFile.prototype, "isSuperfile", {
|
|
183
|
-
get: function () { return this.get("isSuperfile"); },
|
|
184
|
-
enumerable: false,
|
|
185
|
-
configurable: true
|
|
186
|
-
});
|
|
187
|
-
Object.defineProperty(LogicalFile.prototype, "ShowFileContent", {
|
|
188
|
-
get: function () { return this.get("ShowFileContent"); },
|
|
189
|
-
enumerable: false,
|
|
190
|
-
configurable: true
|
|
191
|
-
});
|
|
192
|
-
Object.defineProperty(LogicalFile.prototype, "subfiles", {
|
|
193
|
-
get: function () { return this.get("subfiles"); },
|
|
194
|
-
enumerable: false,
|
|
195
|
-
configurable: true
|
|
196
|
-
});
|
|
197
|
-
Object.defineProperty(LogicalFile.prototype, "Superfiles", {
|
|
198
|
-
get: function () { return this.get("Superfiles"); },
|
|
199
|
-
enumerable: false,
|
|
200
|
-
configurable: true
|
|
201
|
-
});
|
|
202
|
-
Object.defineProperty(LogicalFile.prototype, "ProtectList", {
|
|
203
|
-
get: function () { return this.get("ProtectList"); },
|
|
204
|
-
enumerable: false,
|
|
205
|
-
configurable: true
|
|
206
|
-
});
|
|
207
|
-
Object.defineProperty(LogicalFile.prototype, "FromRoxieCluster", {
|
|
208
|
-
get: function () { return this.get("FromRoxieCluster"); },
|
|
209
|
-
enumerable: false,
|
|
210
|
-
configurable: true
|
|
211
|
-
});
|
|
212
|
-
Object.defineProperty(LogicalFile.prototype, "Graphs", {
|
|
213
|
-
get: function () { return this.get("Graphs"); },
|
|
214
|
-
enumerable: false,
|
|
215
|
-
configurable: true
|
|
216
|
-
});
|
|
217
|
-
Object.defineProperty(LogicalFile.prototype, "UserPermission", {
|
|
218
|
-
get: function () { return this.get("UserPermission"); },
|
|
219
|
-
enumerable: false,
|
|
220
|
-
configurable: true
|
|
221
|
-
});
|
|
222
|
-
Object.defineProperty(LogicalFile.prototype, "ContentType", {
|
|
223
|
-
get: function () { return this.get("ContentType"); },
|
|
224
|
-
enumerable: false,
|
|
225
|
-
configurable: true
|
|
226
|
-
});
|
|
227
|
-
Object.defineProperty(LogicalFile.prototype, "CompressedFileSize", {
|
|
228
|
-
get: function () { return this.get("CompressedFileSize"); },
|
|
229
|
-
enumerable: false,
|
|
230
|
-
configurable: true
|
|
231
|
-
});
|
|
232
|
-
Object.defineProperty(LogicalFile.prototype, "PercentCompressed", {
|
|
233
|
-
get: function () { return this.get("PercentCompressed"); },
|
|
234
|
-
enumerable: false,
|
|
235
|
-
configurable: true
|
|
236
|
-
});
|
|
237
|
-
Object.defineProperty(LogicalFile.prototype, "IsCompressed", {
|
|
238
|
-
get: function () { return this.get("IsCompressed"); },
|
|
239
|
-
enumerable: false,
|
|
240
|
-
configurable: true
|
|
241
|
-
});
|
|
242
|
-
Object.defineProperty(LogicalFile.prototype, "BrowseData", {
|
|
243
|
-
get: function () { return this.get("BrowseData"); },
|
|
244
|
-
enumerable: false,
|
|
245
|
-
configurable: true
|
|
246
|
-
});
|
|
247
|
-
Object.defineProperty(LogicalFile.prototype, "jsonInfo", {
|
|
248
|
-
get: function () { return this.get("jsonInfo"); },
|
|
249
|
-
enumerable: false,
|
|
250
|
-
configurable: true
|
|
251
|
-
});
|
|
252
|
-
Object.defineProperty(LogicalFile.prototype, "binInfo", {
|
|
253
|
-
get: function () { return this.get("binInfo"); },
|
|
254
|
-
enumerable: false,
|
|
255
|
-
configurable: true
|
|
256
|
-
});
|
|
257
|
-
Object.defineProperty(LogicalFile.prototype, "PackageID", {
|
|
258
|
-
get: function () { return this.get("PackageID"); },
|
|
259
|
-
enumerable: false,
|
|
260
|
-
configurable: true
|
|
261
|
-
});
|
|
262
|
-
Object.defineProperty(LogicalFile.prototype, "Partition", {
|
|
263
|
-
get: function () { return this.get("Partition"); },
|
|
264
|
-
enumerable: false,
|
|
265
|
-
configurable: true
|
|
266
|
-
});
|
|
267
|
-
Object.defineProperty(LogicalFile.prototype, "Blooms", {
|
|
268
|
-
get: function () { return this.get("Blooms"); },
|
|
269
|
-
enumerable: false,
|
|
270
|
-
configurable: true
|
|
271
|
-
});
|
|
272
|
-
Object.defineProperty(LogicalFile.prototype, "ExpireDays", {
|
|
273
|
-
get: function () { return this.get("ExpireDays"); },
|
|
274
|
-
enumerable: false,
|
|
275
|
-
configurable: true
|
|
276
|
-
});
|
|
277
|
-
Object.defineProperty(LogicalFile.prototype, "KeyType", {
|
|
278
|
-
get: function () { return this.get("KeyType"); },
|
|
279
|
-
enumerable: false,
|
|
280
|
-
configurable: true
|
|
281
|
-
});
|
|
282
|
-
Object.defineProperty(LogicalFile.prototype, "IsRestricted", {
|
|
283
|
-
get: function () { return this.get("IsRestricted"); },
|
|
284
|
-
enumerable: false,
|
|
285
|
-
configurable: true
|
|
286
|
-
});
|
|
287
|
-
Object.defineProperty(LogicalFile.prototype, "AtRestCost", {
|
|
288
|
-
get: function () { return this.get("AtRestCost"); },
|
|
289
|
-
enumerable: false,
|
|
290
|
-
configurable: true
|
|
291
|
-
});
|
|
292
|
-
Object.defineProperty(LogicalFile.prototype, "AccessCost", {
|
|
293
|
-
get: function () { return this.get("AccessCost"); },
|
|
294
|
-
enumerable: false,
|
|
295
|
-
configurable: true
|
|
296
|
-
});
|
|
297
|
-
Object.defineProperty(LogicalFile.prototype, "StateID", {
|
|
298
|
-
get: function () { return this.get("StateID"); },
|
|
299
|
-
enumerable: false,
|
|
300
|
-
configurable: true
|
|
301
|
-
});
|
|
302
|
-
Object.defineProperty(LogicalFile.prototype, "ExpirationDate", {
|
|
303
|
-
get: function () { return this.get("ExpirationDate"); },
|
|
304
|
-
enumerable: false,
|
|
305
|
-
configurable: true
|
|
306
|
-
});
|
|
307
|
-
Object.defineProperty(LogicalFile.prototype, "ExtendedIndexInfo", {
|
|
308
|
-
get: function () { return this.get("ExtendedIndexInfo"); },
|
|
309
|
-
enumerable: false,
|
|
310
|
-
configurable: true
|
|
311
|
-
});
|
|
312
|
-
Object.defineProperty(LogicalFile.prototype, "properties", {
|
|
313
|
-
get: function () { return this.get(); },
|
|
314
|
-
enumerable: false,
|
|
315
|
-
configurable: true
|
|
316
|
-
});
|
|
317
|
-
LogicalFile.attach = function (optsConnection, Cluster, Name, state) {
|
|
318
|
-
var retVal = _store.get({ BaseUrl: optsConnection.baseUrl, Cluster: Cluster, Name: Name }, function () {
|
|
319
|
-
return new LogicalFile(optsConnection, Cluster, Name);
|
|
320
|
-
});
|
|
321
|
-
if (state) {
|
|
322
|
-
retVal.set(state);
|
|
323
|
-
}
|
|
324
|
-
return retVal;
|
|
325
|
-
};
|
|
326
|
-
LogicalFile.prototype.filePartsOnCluster = function () {
|
|
327
|
-
var _a;
|
|
328
|
-
return __spreadArray([], (((_a = this.DFUFilePartsOnClusters) === null || _a === void 0 ? void 0 : _a.DFUFilePartsOnCluster) || []), true);
|
|
329
|
-
};
|
|
330
|
-
LogicalFile.prototype.fileParts = function () {
|
|
331
|
-
var _a, _b;
|
|
332
|
-
var retVal = [];
|
|
333
|
-
for (var _i = 0, _c = ((_a = this.DFUFilePartsOnClusters) === null || _a === void 0 ? void 0 : _a.DFUFilePartsOnCluster) || []; _i < _c.length; _i++) {
|
|
334
|
-
var poc = _c[_i];
|
|
335
|
-
for (var _d = 0, _e = ((_b = poc === null || poc === void 0 ? void 0 : poc.DFUFileParts) === null || _b === void 0 ? void 0 : _b.DFUPart) || []; _d < _e.length; _d++) {
|
|
336
|
-
var part = _e[_d];
|
|
337
|
-
var row = __assign(__assign({}, poc), part);
|
|
338
|
-
delete row.DFUFileParts;
|
|
339
|
-
retVal.push(row);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
return retVal;
|
|
343
|
-
};
|
|
344
|
-
LogicalFile.prototype.update = function (request) {
|
|
345
|
-
var _this = this;
|
|
346
|
-
return this.connection.DFUInfo(__assign(__assign({}, request), {
|
|
347
|
-
Cluster: this.Cluster,
|
|
348
|
-
Name: this.Name
|
|
349
|
-
})).then(function (response) {
|
|
350
|
-
_this.set(__assign({ Cluster: _this.Cluster }, response.FileDetail));
|
|
351
|
-
return response;
|
|
352
|
-
});
|
|
353
|
-
};
|
|
354
|
-
LogicalFile.prototype.fetchInfo = function () {
|
|
355
|
-
var _this = this;
|
|
356
|
-
return this.connection.DFUInfo({ Cluster: this.Cluster, Name: this.Name }).then(function (response) {
|
|
357
|
-
_this.set(__assign({ Cluster: _this.Cluster }, response.FileDetail));
|
|
358
|
-
return response.FileDetail;
|
|
359
|
-
}).catch(function (e) {
|
|
360
|
-
// deleted ---
|
|
361
|
-
var fileMissing = e.Exception.some(function (exception) {
|
|
362
|
-
if (exception.Code === 20038) {
|
|
363
|
-
_this.set("Name", _this.Name + " (Deleted)");
|
|
364
|
-
_this.set("StateID", 999);
|
|
365
|
-
return true;
|
|
366
|
-
}
|
|
367
|
-
return false;
|
|
368
|
-
});
|
|
369
|
-
if (!fileMissing) {
|
|
370
|
-
logger.warning("Unexpected exception: ");
|
|
371
|
-
throw e;
|
|
372
|
-
}
|
|
373
|
-
return {};
|
|
374
|
-
});
|
|
375
|
-
};
|
|
376
|
-
LogicalFile.prototype.fetchDefFile = function (format) {
|
|
377
|
-
return this.connection.DFUFile({ Name: this.Name, Format: format });
|
|
378
|
-
};
|
|
379
|
-
LogicalFile.prototype.fetchListHistory = function () {
|
|
380
|
-
return this.connection.ListHistory({ Name: this.Name }).then(function (response) {
|
|
381
|
-
var _a;
|
|
382
|
-
return ((_a = response === null || response === void 0 ? void 0 : response.History) === null || _a === void 0 ? void 0 : _a.Origin) || [];
|
|
383
|
-
});
|
|
384
|
-
};
|
|
385
|
-
LogicalFile.prototype.eraseHistory = function () {
|
|
386
|
-
return this.connection.EraseHistory({ Name: this.Name }).then(function (response) {
|
|
387
|
-
var _a;
|
|
388
|
-
return ((_a = response === null || response === void 0 ? void 0 : response.History) === null || _a === void 0 ? void 0 : _a.Origin) || [];
|
|
389
|
-
});
|
|
390
|
-
};
|
|
391
|
-
return LogicalFile;
|
|
392
|
-
}(StateObject));
|
|
393
|
-
export { LogicalFile };
|
|
394
|
-
//# sourceMappingURL=logicalFile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logicalFile.js","sourceRoot":"","sources":["../../src/ecl/logicalFile.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAS,MAAM,mBAAmB,CAAC;AAGtD,IAAM,MAAM,GAAG,YAAY,CAAC,gBAAgB,CAAC,CAAC;AAE9C;IAAsC,oCAAsE;IACxG;QACI,OAAA,MAAK,YAAC,UAAC,GAAG;YACN,OAAO,UAAG,GAAG,CAAC,OAAO,cAAI,GAAG,CAAC,OAAO,cAAI,GAAG,CAAC,IAAI,CAAE,CAAC;QACvD,CAAC,CAAC,SAAC;IACP,CAAC;IACL,uBAAC;AAAD,CAAC,AAND,CAAsC,KAAK,GAM1C;;AACD,IAAM,MAAM,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAgBtC;IAAiC,+BAAuC;IAyEpE,qBAAsB,cAAmD,EAAE,OAAe,EAAE,IAAY;QACpG,YAAA,MAAK,WAAE,SAAC;QACR,IAAI,cAAc,YAAY,UAAU,EAAE,CAAC;YACvC,KAAI,CAAC,UAAU,GAAG,cAAc,CAAC;QACrC,CAAC;aAAM,CAAC;YACJ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,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,sCAAgB,GAAhB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,UAAA,QAAQ;;YACjE,OAAO,CAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,OAAO,0CAAE,MAAM,KAAI,EAAE,CAAC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC;IAED,kCAAY,GAAZ;QACI,OAAO,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,UAAA,QAAQ;;YAClE,OAAO,CAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,OAAO,0CAAE,MAAM,KAAI,EAAE,CAAC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC;IACL,kBAAC;AAAD,CAAC,AA/JD,CAAiC,WAAW,GA+J3C"}
|
package/lib-es6/ecl/machine.js
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Cache, StateObject } from "@hpcc-js/util";
|
|
3
|
-
import { MachineService } from "../services/wsMachine";
|
|
4
|
-
var MachineCache = /** @class */ (function (_super) {
|
|
5
|
-
__extends(MachineCache, _super);
|
|
6
|
-
function MachineCache() {
|
|
7
|
-
return _super.call(this, function (obj) {
|
|
8
|
-
return obj.Address;
|
|
9
|
-
}) || this;
|
|
10
|
-
}
|
|
11
|
-
return MachineCache;
|
|
12
|
-
}(Cache));
|
|
13
|
-
export { MachineCache };
|
|
14
|
-
var _machines = new MachineCache();
|
|
15
|
-
var Machine = /** @class */ (function (_super) {
|
|
16
|
-
__extends(Machine, _super);
|
|
17
|
-
function Machine(optsConnection) {
|
|
18
|
-
var _this = _super.call(this) || this;
|
|
19
|
-
if (optsConnection instanceof MachineService) {
|
|
20
|
-
_this.connection = optsConnection;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
_this.connection = new MachineService(optsConnection);
|
|
24
|
-
}
|
|
25
|
-
return _this;
|
|
26
|
-
}
|
|
27
|
-
Object.defineProperty(Machine.prototype, "Address", {
|
|
28
|
-
get: function () { return this.get("Address"); },
|
|
29
|
-
enumerable: false,
|
|
30
|
-
configurable: true
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(Machine.prototype, "ConfigAddress", {
|
|
33
|
-
get: function () { return this.get("ConfigAddress"); },
|
|
34
|
-
enumerable: false,
|
|
35
|
-
configurable: true
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(Machine.prototype, "Name", {
|
|
38
|
-
get: function () { return this.get("Name"); },
|
|
39
|
-
enumerable: false,
|
|
40
|
-
configurable: true
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(Machine.prototype, "ProcessType", {
|
|
43
|
-
get: function () { return this.get("ProcessType"); },
|
|
44
|
-
enumerable: false,
|
|
45
|
-
configurable: true
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(Machine.prototype, "DisplayType", {
|
|
48
|
-
get: function () { return this.get("DisplayType"); },
|
|
49
|
-
enumerable: false,
|
|
50
|
-
configurable: true
|
|
51
|
-
});
|
|
52
|
-
Object.defineProperty(Machine.prototype, "Description", {
|
|
53
|
-
get: function () { return this.get("Description"); },
|
|
54
|
-
enumerable: false,
|
|
55
|
-
configurable: true
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(Machine.prototype, "AgentVersion", {
|
|
58
|
-
get: function () { return this.get("AgentVersion"); },
|
|
59
|
-
enumerable: false,
|
|
60
|
-
configurable: true
|
|
61
|
-
});
|
|
62
|
-
Object.defineProperty(Machine.prototype, "Contact", {
|
|
63
|
-
get: function () { return this.get("Contact"); },
|
|
64
|
-
enumerable: false,
|
|
65
|
-
configurable: true
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(Machine.prototype, "Location", {
|
|
68
|
-
get: function () { return this.get("Location"); },
|
|
69
|
-
enumerable: false,
|
|
70
|
-
configurable: true
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(Machine.prototype, "UpTime", {
|
|
73
|
-
get: function () { return this.get("UpTime"); },
|
|
74
|
-
enumerable: false,
|
|
75
|
-
configurable: true
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(Machine.prototype, "ComponentName", {
|
|
78
|
-
get: function () { return this.get("ComponentName"); },
|
|
79
|
-
enumerable: false,
|
|
80
|
-
configurable: true
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(Machine.prototype, "ComponentPath", {
|
|
83
|
-
get: function () { return this.get("ComponentPath"); },
|
|
84
|
-
enumerable: false,
|
|
85
|
-
configurable: true
|
|
86
|
-
});
|
|
87
|
-
Object.defineProperty(Machine.prototype, "RoxieState", {
|
|
88
|
-
get: function () { return this.get("RoxieState"); },
|
|
89
|
-
enumerable: false,
|
|
90
|
-
configurable: true
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(Machine.prototype, "RoxieStateDetails", {
|
|
93
|
-
get: function () { return this.get("RoxieStateDetails"); },
|
|
94
|
-
enumerable: false,
|
|
95
|
-
configurable: true
|
|
96
|
-
});
|
|
97
|
-
Object.defineProperty(Machine.prototype, "OS", {
|
|
98
|
-
get: function () { return this.get("OS"); },
|
|
99
|
-
enumerable: false,
|
|
100
|
-
configurable: true
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(Machine.prototype, "ProcessNumber", {
|
|
103
|
-
get: function () { return this.get("ProcessNumber"); },
|
|
104
|
-
enumerable: false,
|
|
105
|
-
configurable: true
|
|
106
|
-
});
|
|
107
|
-
Object.defineProperty(Machine.prototype, "Channels", {
|
|
108
|
-
get: function () { return this.get("Channels"); },
|
|
109
|
-
enumerable: false,
|
|
110
|
-
configurable: true
|
|
111
|
-
});
|
|
112
|
-
Object.defineProperty(Machine.prototype, "Processors", {
|
|
113
|
-
get: function () { return this.get("Processors"); },
|
|
114
|
-
enumerable: false,
|
|
115
|
-
configurable: true
|
|
116
|
-
});
|
|
117
|
-
Object.defineProperty(Machine.prototype, "Storage", {
|
|
118
|
-
get: function () { return this.get("Storage"); },
|
|
119
|
-
enumerable: false,
|
|
120
|
-
configurable: true
|
|
121
|
-
});
|
|
122
|
-
Object.defineProperty(Machine.prototype, "Running", {
|
|
123
|
-
get: function () { return this.get("Running"); },
|
|
124
|
-
enumerable: false,
|
|
125
|
-
configurable: true
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(Machine.prototype, "PhysicalMemory", {
|
|
128
|
-
get: function () { return this.get("PhysicalMemory"); },
|
|
129
|
-
enumerable: false,
|
|
130
|
-
configurable: true
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(Machine.prototype, "VirtualMemory", {
|
|
133
|
-
get: function () { return this.get("VirtualMemory"); },
|
|
134
|
-
enumerable: false,
|
|
135
|
-
configurable: true
|
|
136
|
-
});
|
|
137
|
-
Object.defineProperty(Machine.prototype, "ComponentInfo", {
|
|
138
|
-
get: function () { return this.get("ComponentInfo"); },
|
|
139
|
-
enumerable: false,
|
|
140
|
-
configurable: true
|
|
141
|
-
});
|
|
142
|
-
Object.defineProperty(Machine.prototype, "Exception", {
|
|
143
|
-
get: function () { return this.get("Exception"); },
|
|
144
|
-
enumerable: false,
|
|
145
|
-
configurable: true
|
|
146
|
-
});
|
|
147
|
-
Machine.attach = function (optsConnection, address, state) {
|
|
148
|
-
var retVal = _machines.get({ Address: address }, function () {
|
|
149
|
-
return new Machine(optsConnection);
|
|
150
|
-
});
|
|
151
|
-
if (state) {
|
|
152
|
-
retVal.set(state);
|
|
153
|
-
}
|
|
154
|
-
return retVal;
|
|
155
|
-
};
|
|
156
|
-
return Machine;
|
|
157
|
-
}(StateObject));
|
|
158
|
-
export { Machine };
|
|
159
|
-
//# sourceMappingURL=machine.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|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