@esri/hub-common 10.0.0-next.2 → 10.0.0-next.3

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.
Files changed (100) hide show
  1. package/dist/es2017/categories.js +4 -2
  2. package/dist/es2017/categories.js.map +1 -1
  3. package/dist/es2017/collections.js +3 -8
  4. package/dist/es2017/collections.js.map +1 -1
  5. package/dist/es2017/content/compose.js +1 -18
  6. package/dist/es2017/content/compose.js.map +1 -1
  7. package/dist/es2017/content/get-family.js +1 -3
  8. package/dist/es2017/content/get-family.js.map +1 -1
  9. package/dist/es2017/content/index.js +8 -71
  10. package/dist/es2017/content/index.js.map +1 -1
  11. package/dist/es2017/extent.js +1 -14
  12. package/dist/es2017/extent.js.map +1 -1
  13. package/dist/es2017/index.js +1 -0
  14. package/dist/es2017/index.js.map +1 -1
  15. package/dist/es2017/projects/HubProjectManager.js +0 -8
  16. package/dist/es2017/projects/HubProjectManager.js.map +1 -1
  17. package/dist/es2017/search/hubSearch.js +0 -16
  18. package/dist/es2017/search/hubSearch.js.map +1 -1
  19. package/dist/es2017/search/index.js +0 -1
  20. package/dist/es2017/search/index.js.map +1 -1
  21. package/dist/es2017/search/upgradeCatalogSchema.js +0 -8
  22. package/dist/es2017/search/upgradeCatalogSchema.js.map +1 -1
  23. package/dist/es2017/sites/fetchSiteModel.js +0 -9
  24. package/dist/es2017/sites/fetchSiteModel.js.map +1 -1
  25. package/dist/es2017/types.js.map +1 -1
  26. package/dist/esm/categories.js +4 -2
  27. package/dist/esm/categories.js.map +1 -1
  28. package/dist/esm/collections.js +3 -8
  29. package/dist/esm/collections.js.map +1 -1
  30. package/dist/esm/content/compose.js +1 -18
  31. package/dist/esm/content/compose.js.map +1 -1
  32. package/dist/esm/content/get-family.js +1 -3
  33. package/dist/esm/content/get-family.js.map +1 -1
  34. package/dist/esm/content/index.js +8 -71
  35. package/dist/esm/content/index.js.map +1 -1
  36. package/dist/esm/extent.js +1 -14
  37. package/dist/esm/extent.js.map +1 -1
  38. package/dist/esm/index.js +1 -0
  39. package/dist/esm/index.js.map +1 -1
  40. package/dist/esm/projects/HubProjectManager.js +0 -12
  41. package/dist/esm/projects/HubProjectManager.js.map +1 -1
  42. package/dist/esm/search/hubSearch.js +0 -20
  43. package/dist/esm/search/hubSearch.js.map +1 -1
  44. package/dist/esm/search/index.js +0 -1
  45. package/dist/esm/search/index.js.map +1 -1
  46. package/dist/esm/search/upgradeCatalogSchema.js +0 -8
  47. package/dist/esm/search/upgradeCatalogSchema.js.map +1 -1
  48. package/dist/esm/sites/fetchSiteModel.js +0 -9
  49. package/dist/esm/sites/fetchSiteModel.js.map +1 -1
  50. package/dist/esm/types.js.map +1 -1
  51. package/dist/node/categories.js +4 -2
  52. package/dist/node/categories.js.map +1 -1
  53. package/dist/node/collections.js +3 -8
  54. package/dist/node/collections.js.map +1 -1
  55. package/dist/node/content/compose.js +1 -18
  56. package/dist/node/content/compose.js.map +1 -1
  57. package/dist/node/content/get-family.js +1 -3
  58. package/dist/node/content/get-family.js.map +1 -1
  59. package/dist/node/content/index.js +9 -73
  60. package/dist/node/content/index.js.map +1 -1
  61. package/dist/node/extent.js +2 -16
  62. package/dist/node/extent.js.map +1 -1
  63. package/dist/node/index.js +1 -0
  64. package/dist/node/index.js.map +1 -1
  65. package/dist/node/projects/HubProjectManager.js +0 -8
  66. package/dist/node/projects/HubProjectManager.js.map +1 -1
  67. package/dist/node/search/hubSearch.js +1 -18
  68. package/dist/node/search/hubSearch.js.map +1 -1
  69. package/dist/node/search/index.js +0 -1
  70. package/dist/node/search/index.js.map +1 -1
  71. package/dist/node/search/upgradeCatalogSchema.js +1 -10
  72. package/dist/node/search/upgradeCatalogSchema.js.map +1 -1
  73. package/dist/node/sites/fetchSiteModel.js +1 -11
  74. package/dist/node/sites/fetchSiteModel.js.map +1 -1
  75. package/dist/node/types.js.map +1 -1
  76. package/dist/types/collections.d.ts +1 -6
  77. package/dist/types/content/_internal.d.ts +0 -3
  78. package/dist/types/content/get-family.d.ts +1 -1
  79. package/dist/types/content/index.d.ts +3 -36
  80. package/dist/types/core/types/IHubContent.d.ts +0 -3
  81. package/dist/types/core/types/IServerEnrichments.d.ts +0 -2
  82. package/dist/types/extent.d.ts +0 -2
  83. package/dist/types/projects/HubProjectManager.d.ts +0 -1
  84. package/dist/types/search/hubSearch.d.ts +0 -13
  85. package/dist/types/search/index.d.ts +0 -1
  86. package/dist/types/search/types/IHubSearchOptions.d.ts +1 -17
  87. package/dist/types/search/types/IHubSearchResult.d.ts +0 -39
  88. package/dist/types/search/upgradeCatalogSchema.d.ts +0 -5
  89. package/dist/types/sites/fetchSiteModel.d.ts +2 -6
  90. package/dist/types/types.d.ts +0 -68
  91. package/dist/umd/common.umd.js +19 -194
  92. package/dist/umd/common.umd.js.map +1 -1
  93. package/package.json +1 -1
  94. package/dist/es2017/search/hub-api-search.js +0 -19
  95. package/dist/es2017/search/hub-api-search.js.map +0 -1
  96. package/dist/esm/search/hub-api-search.js +0 -20
  97. package/dist/esm/search/hub-api-search.js.map +0 -1
  98. package/dist/node/search/hub-api-search.js +0 -23
  99. package/dist/node/search/hub-api-search.js.map +0 -1
  100. package/dist/types/search/hub-api-search.d.ts +0 -10
@@ -1,5 +1,5 @@
1
1
  /* @preserve
2
- * @esri/hub-common - v10.0.0-next.1 - Fri Jul 22 2022 18:15:55 GMT+0000 (Coordinated Universal Time)
2
+ * @esri/hub-common - v10.0.0-next.2 - Thu Jul 28 2022 19:50:35 GMT+0000 (Coordinated Universal Time)
3
3
  * Copyright (c) 2022 Environmental Systems Research Institute, Inc.
4
4
  * Apache-2.0
5
5
  */
@@ -6188,15 +6188,10 @@
6188
6188
  ];
6189
6189
  var site$1 = ["Hub Site Application", "Site Application"];
6190
6190
  /**
6191
- * ```js
6192
- * import { getCollection } from "@esri/hub-common";
6193
- * //
6194
- * getCollection('Feature Layer')
6195
- * > 'dataset'
6196
- * ```
6197
6191
  * Get the Hub collection for a given item type
6198
6192
  * @param itemType The ArcGIS [item type](https://developers.arcgis.com/rest/users-groups-and-items/items-and-item-types.htm).
6199
6193
  * @returns the Hub collection of a given item type.
6194
+ * @private
6200
6195
  */
6201
6196
  var getCollection = function (type) {
6202
6197
  if (!type) {
@@ -6208,8 +6203,8 @@
6208
6203
  return collectionTypes.some(function (t) { return t.toLocaleLowerCase() === lowerCaseType; });
6209
6204
  });
6210
6205
  };
6211
- // TODO: remove this at the next breaking change
6212
- // it's only here to support deprecated categories
6206
+ // TODO: remove this when we remove the deprecated categories
6207
+ // and then move the above arrays and getCollection() logic to get-family
6213
6208
  var collections = {
6214
6209
  app: app$1,
6215
6210
  dataset: dataset$1,
@@ -6272,8 +6267,10 @@
6272
6267
  ];
6273
6268
  var downloadableTypeKeywords = ["Data"];
6274
6269
  var apiTypes = ["Feature Service", "Map Service", "Image Service"];
6275
- // TODO: remove this at next breaking version
6276
- // we're just keeping this for backwards compatibility
6270
+ // DEPRECATED: remove this at next breaking version
6271
+ // this is currently used by hub-search and opendata-ui
6272
+ // (in the dataset-display and content-library-engine)
6273
+ // TODO: remove this once it is no longer used in those places
6277
6274
  var categories = {
6278
6275
  app: app.concat(feedback),
6279
6276
  dataset: dataset,
@@ -6567,12 +6564,6 @@
6567
6564
  Array.isArray(extent[0]) &&
6568
6565
  Array.isArray(extent[1]));
6569
6566
  };
6570
- function isExtentCoordinateArray(extent) {
6571
- /* tslint:disable no-console */
6572
- console.warn("DEPRECATED: use isBBox() instead");
6573
- /* tslint:enable no-console */
6574
- return isBBox(extent);
6575
- }
6576
6567
  function isExtentJSON(extent) {
6577
6568
  return ["xmin", "ymin", "xmax", "ymax"].every(function (key) { return typeof extent[key] === "number"; });
6578
6569
  }
@@ -6582,15 +6573,8 @@
6582
6573
  * @return {Boolean} indicator
6583
6574
  */
6584
6575
  function isValidExtent(extent) {
6585
- return (!!extent &&
6586
- [isExtentCoordinateArray, isExtentJSON].some(function (test) { return test(extent); }));
6576
+ return !!extent && [isBBox, isExtentJSON].some(function (test) { return test(extent); });
6587
6577
  }
6588
- /* istanbul ignore next DEPRECATED, remove at next breaking change */
6589
- var bBoxToPolygon = function (bBox) {
6590
- /* tslint:disable no-console */
6591
- console.warn("DEPRECATED: use extentToPolygon(bBoxToExtent(bBox)) instead");
6592
- return extentToPolygon(bBoxToExtent(bBox));
6593
- };
6594
6578
  /**
6595
6579
  * Convert an extent object into a polygon object
6596
6580
  * @param extent
@@ -6641,9 +6625,7 @@
6641
6625
  var family;
6642
6626
  // override default behavior for the rows that are highlighted in yellow here:
6643
6627
  // https://esriis.sharepoint.com/:x:/r/sites/ArcGISHub/_layouts/15/Doc.aspx?sourcedoc=%7BADA1C9DC-4F6C-4DE4-92C6-693EF9571CFA%7D&file=Hub%20Routes.xlsx&nav=MTBfe0VENEREQzI4LUZFMDctNEI0Ri04NjcyLThCQUE2MTA0MEZGRn1fezIwMTIwMEJFLTA4MEQtNEExRC05QzA4LTE5MTAzOUQwMEE1RH0&action=default&mobileredirect=true&cid=df1c874b-c367-4cea-bc13-7bebfad3f2ac
6644
- // DEPRECATED: we should make type a required parameter
6645
- // and just do type.toLowerCase() at the next breaking change
6646
- switch ((type || "").toLowerCase()) {
6628
+ switch (type.toLowerCase()) {
6647
6629
  case "image service":
6648
6630
  family = "dataset";
6649
6631
  break;
@@ -8044,9 +8026,7 @@
8044
8026
  return item.properties && item.properties.metrics;
8045
8027
  }, get spatialReference() {
8046
8028
  var _a;
8047
- // NOTE: I had to add || null just so packages/content/test/portal.test.ts would pass
8048
- // we can remove that when that package is deprecated
8049
- return (((_a = layer === null || layer === void 0 ? void 0 : layer.extent) === null || _a === void 0 ? void 0 : _a.spatialReference) || getItemSpatialReference(item) || null);
8029
+ return ((_a = layer === null || layer === void 0 ? void 0 : layer.extent) === null || _a === void 0 ? void 0 : _a.spatialReference) || getItemSpatialReference(item);
8050
8030
  },
8051
8031
  get viewDefinition() {
8052
8032
  // if this is a layer view and we have the item data
@@ -8064,21 +8044,6 @@
8064
8044
  /* Note: only returns calcite-icons */
8065
8045
  return getContentTypeIcon(type);
8066
8046
  },
8067
- // deprecated properties
8068
- // TODO: should we add these in legacy wrappers
8069
- // like itemToContent or datasetToContent instead?
8070
- get license() {
8071
- /* tslint:disable no-console */
8072
- console.warn("DEPRECATED: use structuredLicense instead");
8073
- /* tslint:enable no-console */
8074
- return { name: "Custom License", description: item.accessInformation };
8075
- },
8076
- get hubType() {
8077
- /* tslint:disable no-console */
8078
- console.warn("DEPRECATED: use family instead");
8079
- /* tslint:enable no-console */
8080
- return getFamily(type);
8081
- },
8082
8047
  get additionalResources() {
8083
8048
  return getAdditionalResources(item, metadata);
8084
8049
  } });
@@ -12200,15 +12165,16 @@
12200
12165
  * getCategory('Feature Layer')
12201
12166
  * > 'dataset'
12202
12167
  * ```
12203
- * **DEPRECATED: Use getCollection() instead**
12168
+ * **DEPRECATED: Use getFamily() instead**
12204
12169
  * returns the Hub category for a given item type
12205
12170
  * @param itemType The ArcGIS [item type](https://developers.arcgis.com/rest/users-groups-and-items/items-and-item-types.htm).
12206
12171
  * @returns the category of a given item type.
12207
12172
  */
12173
+ /* istanbul ignore next deprecated */
12208
12174
  function getCategory(itemType) {
12209
12175
  if (itemType === void 0) { itemType = ""; }
12210
12176
  /* tslint:disable no-console */
12211
- console.warn("DEPRECATED: Use getCollection() instead. getCategory will be removed at v10.0.0");
12177
+ console.warn("DEPRECATED: Use getFamily() instead. getCategory will be removed at the next breaking version");
12212
12178
  /* tslint:enable no-console */
12213
12179
  var collection = getCollection(itemType);
12214
12180
  // for backwards compatibility
@@ -12237,12 +12203,17 @@
12237
12203
  * getTypeCategories(item)
12238
12204
  * > [ 'Hub Site Application' ]
12239
12205
  * ```
12206
+ * **DEPRECATED: getTypeCategories will be removed at the next breaking version**
12240
12207
  * @param item Item object.
12241
12208
  * @returns typeCategory of the input item.
12242
12209
  *
12243
12210
  */
12211
+ /* istanbul ignore next deprecated */
12244
12212
  function getTypeCategories(item) {
12245
12213
  if (item === void 0) { item = {}; }
12214
+ /* tslint:disable no-console */
12215
+ console.warn("DEPRECATED: getTypeCategories will be removed at the next breaking version");
12216
+ /* tslint:enable no-console */
12246
12217
  var type = normalizeItemType(item);
12247
12218
  var category = getCategory(type);
12248
12219
  if (category) {
@@ -12307,24 +12278,6 @@
12307
12278
  }
12308
12279
  return content.hubId || content.id;
12309
12280
  }
12310
- /**
12311
- * DEPRECATED: Use getFamily() instead.
12312
- *
12313
- * get the HubType for a given item or item type
12314
- *
12315
- * @param itemOrType an item or item.type
12316
- */
12317
- function getItemHubType(itemOrType) {
12318
- /* tslint:disable no-console */
12319
- console.warn("DEPRECATED: Use getFamily() instead. getItemHubType() will be removed at v10.0.0");
12320
- /* tslint:enable no-console */
12321
- if (typeof itemOrType === "string") {
12322
- itemOrType = { type: itemOrType };
12323
- }
12324
- var itemType = normalizeItemType(itemOrType);
12325
- // TODO: not all categories are Hub types, may need to validate
12326
- return getCollection(itemType);
12327
- }
12328
12281
  /**
12329
12282
  * Convert a Portal item to Hub content
12330
12283
  *
@@ -12498,8 +12451,6 @@
12498
12451
  var contentTypeIcon = getContentTypeIcon(normalizedType);
12499
12452
  var contentTypeLabel = getContentTypeLabel(normalizedType, content.isProxied);
12500
12453
  var updated = __assign(__assign({}, content), { type: normalizedType, family: family,
12501
- // TODO: remove this at next breaking change now that it has been deprecated
12502
- normalizedType: normalizedType,
12503
12454
  contentTypeIcon: contentTypeIcon,
12504
12455
  contentTypeLabel: contentTypeLabel });
12505
12456
  // update the relative URL to the content
@@ -12517,55 +12468,6 @@
12517
12468
  var getContentTypeLabel = function (contentType, isProxied) {
12518
12469
  return isProxied ? "CSV" : camelize(contentType || "");
12519
12470
  };
12520
- /**
12521
- * DEPRECATED returns a new content that has the specified hubId and updated identifier
12522
- * @param content orignal content
12523
- * @param hubId new hubId
12524
- * @returns new content
12525
- */
12526
- /* istanbul ignore next DEPRECATED and no longer in use */
12527
- var setContentHubId = function (content, hubId) {
12528
- var id = content.id, slug = content.slug;
12529
- // get the identifier which is based on hubId
12530
- var identifier = slug || hubId || id;
12531
- var updated = __assign(__assign({}, content), { hubId: hubId, identifier: identifier });
12532
- // update the relative URL to the content
12533
- // which is based on identifier
12534
- return appendContentUrls(updated, {
12535
- relative: getContentRelativeUrl(updated),
12536
- });
12537
- };
12538
- /**
12539
- * DEPRECATED: Calculates the relative and absolute urls for a given content on a specific site
12540
- *
12541
- * @param content
12542
- * @param siteModel
12543
- * @returns relative and absolute urls
12544
- */
12545
- var getContentSiteUrls = function (content, siteModel) {
12546
- // compute relative URL using a site specific identifier
12547
- var siteIdentifier = getContentIdentifier(content, siteModel);
12548
- var relative = getContentRelativeUrl(content, siteIdentifier);
12549
- // get the absolute URL to this content on the site
12550
- var siteUrl = getProp(siteModel, "item.url").replace(/\/$/, "");
12551
- var absolute = "" + siteUrl + relative;
12552
- return { relative: relative, absolute: absolute };
12553
- };
12554
- /**
12555
- * append the absolute URL to the content on the site
12556
- * also updates the relative URL in case the
12557
- * @param content
12558
- * @param siteModel
12559
- * @returns
12560
- */
12561
- var setContentSiteUrls = function (content, siteModel) {
12562
- var _a = getContentSiteUrls(content, siteModel), relative = _a.relative, site = _a.absolute;
12563
- // append the updated URLs to a new content
12564
- return appendContentUrls(content, {
12565
- relative: relative,
12566
- site: site,
12567
- });
12568
- };
12569
12471
  // URL helpers
12570
12472
  var appendContentUrls = function (content, newUrls) {
12571
12473
  // merge new urls into existing ones and return a new content
@@ -13350,24 +13252,6 @@
13350
13252
  });
13351
13253
  }
13352
13254
 
13353
- /**
13354
- * Search the Hub API
13355
- *
13356
- * @param requestOptions
13357
- * @returns JSONAPI response
13358
- */
13359
- function hubApiSearch(requestOptions) {
13360
- // derive default headers if authentication
13361
- var authentication = requestOptions.authentication;
13362
- var headers = authentication &&
13363
- authentication.serialize && { authentication: authentication.serialize() };
13364
- var defaults = {
13365
- headers: headers,
13366
- httpMethod: "POST",
13367
- };
13368
- return hubApiRequest("/search", __assign(__assign({}, defaults), requestOptions));
13369
- }
13370
-
13371
13255
  /* Copyright (c) 2018-2021 Environmental Systems Research Institute, Inc.
13372
13256
  * Apache-2.0 */
13373
13257
  /**
@@ -13618,14 +13502,6 @@
13618
13502
  return catalog;
13619
13503
  }
13620
13504
  }
13621
- /**
13622
- * DEPRECATED: Use upgradeCatalogSchema(...)
13623
- * @param original
13624
- */
13625
- /* istanbul ignore next */
13626
- function convertCatalog(original) {
13627
- return upgradeCatalogSchema(original);
13628
- }
13629
13505
 
13630
13506
  /**
13631
13507
  * @private
@@ -14883,18 +14759,6 @@
14883
14759
  });
14884
14760
  });
14885
14761
  };
14886
- // DEPRECATED IN FAVOR OF .fetch()
14887
- // TODO: REMOVE AT NEXT MAJOR
14888
- /* istanbul ignore next */
14889
- HubProjectManager.prototype.get = function (identifier, requestOptions) {
14890
- return __awaiter(this, void 0, void 0, function () {
14891
- return __generator(this, function (_a) {
14892
- // tslint:disable-next-line
14893
- console.warn("HubProjectManager.get is deprecated and will be removed. Use .fetch() instead.");
14894
- return [2 /*return*/, this.fetch(identifier, requestOptions)];
14895
- });
14896
- });
14897
- };
14898
14762
  /**
14899
14763
  * Fetch a Project via id or it's slug
14900
14764
  *
@@ -15507,15 +15371,6 @@
15507
15371
  }
15508
15372
  return prms;
15509
15373
  }
15510
- /**
15511
- * @private // keep out of docs
15512
- */
15513
- /* istanbul ignore next */
15514
- function fetchSite(identifier, hubRequestOptions) {
15515
- // tslint:disable-next-line
15516
- console.warn("@esri/hub-common::fetchSite is deprecated. Please use @esri/hub-common::fetchSiteModel instead");
15517
- return fetchSiteModel(identifier, hubRequestOptions);
15518
- }
15519
15374
 
15520
15375
  /**
15521
15376
  * Get a Site Model by it's Item Id, and apply schema upgrades
@@ -17129,26 +16984,6 @@
17129
16984
  });
17130
16985
  }
17131
16986
 
17132
- /**
17133
- * @private
17134
- * TEMPORARY - this function only exists to allow incremental
17135
- * changes and should be removed as soon as arcgis-hub-gallery
17136
- * is changed to call `hubSearch(...)` directly
17137
- *
17138
- * Default's to search ArcGIS Portal but can delegate
17139
- * to Hub API when it's available.
17140
- * @param filterGroups
17141
- * @param options
17142
- * @returns
17143
- */
17144
- function hubSearchQuery(query, options) {
17145
- return __awaiter(this, void 0, void 0, function () {
17146
- return __generator(this, function (_a) {
17147
- // delegate
17148
- return [2 /*return*/, hubSearch(query, options)];
17149
- });
17150
- });
17151
- }
17152
16987
  /**
17153
16988
  * Main entrypoint for searching via Hub
17154
16989
  *
@@ -19443,7 +19278,6 @@
19443
19278
  exports.atob = abab.atob;
19444
19279
  exports.autoAddUsers = autoAddUsers;
19445
19280
  exports.bBoxToExtent = bBoxToExtent;
19446
- exports.bBoxToPolygon = bBoxToPolygon;
19447
19281
  exports.batch = batch;
19448
19282
  exports.btoa = abab.btoa;
19449
19283
  exports.buildDraft = buildDraft;
@@ -19463,7 +19297,6 @@
19463
19297
  exports.compose = compose;
19464
19298
  exports.composeContent = composeContent;
19465
19299
  exports.constructSlug = constructSlug;
19466
- exports.convertCatalog = convertCatalog;
19467
19300
  exports.convertItemToProject = convertItemToProject;
19468
19301
  exports.convertItemToSite = convertItemToSite;
19469
19302
  exports.convertSolutionTemplateResourcesToAssets = convertSolutionTemplateResourcesToAssets;
@@ -19519,7 +19352,6 @@
19519
19352
  exports.fetchOrg = fetchOrg;
19520
19353
  exports.fetchOrgLimits = fetchOrgLimits;
19521
19354
  exports.fetchProject = fetchProject;
19522
- exports.fetchSite = fetchSite;
19523
19355
  exports.fetchSiteModel = fetchSiteModel;
19524
19356
  exports.filterBy = filterBy;
19525
19357
  exports.findBy = findBy;
@@ -19528,7 +19360,6 @@
19528
19360
  exports.generateRandomString = generateRandomString;
19529
19361
  exports.getCategory = getCategory;
19530
19362
  exports.getContentIdentifier = getContentIdentifier;
19531
- exports.getContentSiteUrls = getContentSiteUrls;
19532
19363
  exports.getContentTypeIcon = getContentTypeIcon;
19533
19364
  exports.getContentTypeLabel = getContentTypeLabel;
19534
19365
  exports.getCulture = getCulture;
@@ -19553,7 +19384,6 @@
19553
19384
  exports.getItemDataUrl = getItemDataUrl;
19554
19385
  exports.getItemHomeUrl = getItemHomeUrl;
19555
19386
  exports.getItemHubId = getItemHubId;
19556
- exports.getItemHubType = getItemHubType;
19557
19387
  exports.getItemLayer = getItemLayer;
19558
19388
  exports.getItemLayerId = getItemLayerId;
19559
19389
  exports.getItemThumbnailUrl = getItemThumbnailUrl;
@@ -19591,9 +19421,7 @@
19591
19421
  exports.getWithDefault = getWithDefault$1;
19592
19422
  exports.hasBasePriv = hasBasePriv;
19593
19423
  exports.hubApiRequest = hubApiRequest;
19594
- exports.hubApiSearch = hubApiSearch;
19595
19424
  exports.hubSearch = hubSearch;
19596
- exports.hubSearchQuery = hubSearchQuery;
19597
19425
  exports.includes = includes;
19598
19426
  exports.incrementString = incrementString;
19599
19427
  exports.interpolate = interpolate;
@@ -19603,7 +19431,6 @@
19603
19431
  exports.isDomainForLegacySite = isDomainForLegacySite;
19604
19432
  exports.isDomainUsedElsewhere = isDomainUsedElsewhere;
19605
19433
  exports.isDownloadable = isDownloadable;
19606
- exports.isExtentCoordinateArray = isExtentCoordinateArray;
19607
19434
  exports.isFeatureService = isFeatureService$1;
19608
19435
  exports.isFieldworkerView = isFieldworkerView;
19609
19436
  exports.isGuid = isGuid;
@@ -19646,8 +19473,6 @@
19646
19473
  exports.serializeModel = serializeModel;
19647
19474
  exports.serializeQueryForPortal = serializeQueryForPortal;
19648
19475
  exports.serializeSpatialReference = serializeSpatialReference;
19649
- exports.setContentHubId = setContentHubId;
19650
- exports.setContentSiteUrls = setContentSiteUrls;
19651
19476
  exports.setContentType = setContentType;
19652
19477
  exports.setItemThumbnail = setItemThumbnail;
19653
19478
  exports.setProp = setProp;