@esri/arcgis-rest-service-admin
Advanced tools
Comparing version 3.0.0-beta.0 to 3.0.0
/* @preserve | ||
* @esri/arcgis-rest-service-admin - v3.0.0-beta.0 - Apache-2.0 | ||
* @esri/arcgis-rest-service-admin - v3.0.0 - Apache-2.0 | ||
* Copyright (c) 2017-2021 Esri, Inc. | ||
* Fri Jan 15 2021 13:15:01 GMT-0800 (Pacific Standard Time) | ||
* Mon Jan 25 2021 15:22:36 GMT-0700 (Mountain Standard Time) | ||
*/ | ||
@@ -6,0 +6,0 @@ (function (global, factory) { |
/* @preserve | ||
* @esri/arcgis-rest-service-admin - v3.0.0-beta.0 - Apache-2.0 | ||
* @esri/arcgis-rest-service-admin - v3.0.0 - Apache-2.0 | ||
* Copyright (c) 2017-2021 Esri, Inc. | ||
* Fri Jan 15 2021 13:15:03 GMT-0800 (Pacific Standard Time) | ||
* Mon Jan 25 2021 15:22:42 GMT-0700 (Mountain Standard Time) | ||
*/ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@esri/arcgis-rest-request"),require("@esri/arcgis-rest-portal")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request","@esri/arcgis-rest-portal"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).arcgisRest=e.arcgisRest||{},e.arcgisRest,e.arcgisRest)}(this,function(e,i,a){"use strict";var s=function(){return(s=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e}).apply(this,arguments)};e.addToServiceDefinition=function(e,r){return e=i.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/addToDefinition",r.params=s({addToDefinition:{}},r.params),r.layers&&0<r.layers.length&&(r.params.addToDefinition.layers=r.layers),r.tables&&0<r.tables.length&&(r.params.addToDefinition.tables=r.tables),i.request(e,r)},e.createFeatureService=function(t){return a.determineOwner(t).then(function(e){var r=s(s({},t),{rawResponse:!1}),e=a.getPortalUrl(t)+"/content/users/"+e+(r.folderId&&"/"!==r.folderId?"/"+r.folderId:"")+"/createService";return r.params=s({createParameters:r.item,outputType:"featureService"},r.params),i.request(e,r)})},e.updateServiceDefinition=function(e,r){return e=i.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/updateDefinition",r.params=s({updateDefinition:{}},r.params),r.updateDefinition&&(r.params.updateDefinition=r.updateDefinition),i.request(e,r)},Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@esri/arcgis-rest-request"),require("@esri/arcgis-rest-portal")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request","@esri/arcgis-rest-portal"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).arcgisRest=e.arcgisRest||{},e.arcgisRest,e.arcgisRest)}(this,function(e,a,s){"use strict";var n=function(){return(n=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e}).apply(this,arguments)};e.addToServiceDefinition=function(e,r){var t=a.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/addToDefinition";return r.params=n({addToDefinition:{}},r.params),r.layers&&0<r.layers.length&&(r.params.addToDefinition.layers=r.layers),r.tables&&0<r.tables.length&&(r.params.addToDefinition.tables=r.tables),a.request(t,r)},e.createFeatureService=function(i){return s.determineOwner(i).then(function(e){var r=n(n({},i),{rawResponse:!1}),t=s.getPortalUrl(i)+"/content/users/"+e+(r.folderId&&"/"!==r.folderId?"/"+r.folderId:"")+"/createService";return r.params=n({createParameters:r.item,outputType:"featureService"},r.params),a.request(t,r)})},e.updateServiceDefinition=function(e,r){var t=a.cleanUrl(e).replace("/rest/services","/rest/admin/services")+"/updateDefinition";return r.params=n({updateDefinition:{}},r.params),r.updateDefinition&&(r.params.updateDefinition=r.updateDefinition),a.request(t,r)},Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=service-admin.umd.min.js.map |
{ | ||
"name": "@esri/arcgis-rest-service-admin", | ||
"version": "3.0.0-beta.0", | ||
"version": "3.0.0", | ||
"description": "Service administration helpers for @esri/arcgis-rest-js", | ||
@@ -16,14 +16,14 @@ "main": "dist/node/index.js", | ||
"dependencies": { | ||
"@esri/arcgis-rest-types": "^3.0.0-beta.0", | ||
"@esri/arcgis-rest-types": "^3.0.0", | ||
"tslib": "^1.13.0" | ||
}, | ||
"devDependencies": { | ||
"@esri/arcgis-rest-auth": "^3.0.0-beta.0", | ||
"@esri/arcgis-rest-portal": "^3.0.0-beta.0", | ||
"@esri/arcgis-rest-request": "^3.0.0-beta.0" | ||
"@esri/arcgis-rest-auth": "^3.0.0", | ||
"@esri/arcgis-rest-portal": "^3.0.0", | ||
"@esri/arcgis-rest-request": "^3.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@esri/arcgis-rest-auth": "^2.0.0", | ||
"@esri/arcgis-rest-portal": "^2.0.0", | ||
"@esri/arcgis-rest-request": "^2.0.0" | ||
"@esri/arcgis-rest-auth": "^3.0.0", | ||
"@esri/arcgis-rest-portal": "^3.0.0", | ||
"@esri/arcgis-rest-request": "^3.0.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
57004
+ Added@esri/arcgis-rest-auth@3.7.0(transitive)
+ Added@esri/arcgis-rest-portal@3.7.0(transitive)
+ Added@esri/arcgis-rest-request@3.7.0(transitive)
- Removed@esri/arcgis-rest-auth@2.25.0(transitive)
- Removed@esri/arcgis-rest-portal@2.25.0(transitive)
- Removed@esri/arcgis-rest-request@2.25.0(transitive)
- Removed@esri/arcgis-rest-types@2.25.0(transitive)