@esri/hub-common 15.43.0 → 15.44.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.
Files changed (160) hide show
  1. package/dist/esm/access/can-edit-item.js +1 -1
  2. package/dist/esm/access/can-edit-site-content.js +2 -2
  3. package/dist/esm/access/can-edit-site-content.js.map +1 -1
  4. package/dist/esm/content/_internal/internalContentUtils.js.map +1 -1
  5. package/dist/esm/core/types/Metrics.js.map +1 -1
  6. package/dist/esm/extent.js.map +1 -1
  7. package/dist/esm/groups/add-users-workflow/utils/_get-email-users.js +1 -1
  8. package/dist/esm/groups/add-users-workflow/utils/_get-email-users.js.map +1 -1
  9. package/dist/esm/groups/add-users-workflow/utils/_get-invite-users.js +1 -1
  10. package/dist/esm/groups/add-users-workflow/utils/_get-invite-users.js.map +1 -1
  11. package/dist/esm/hub-types.js.map +1 -1
  12. package/dist/esm/metrics/resolveMetric.js.map +1 -1
  13. package/dist/esm/resources/fetch-and-upload-resource.js +2 -2
  14. package/dist/esm/resources/fetch-and-upload-resource.js.map +1 -1
  15. package/dist/esm/resources/fetch-and-upload-thumbnail.js +6 -6
  16. package/dist/esm/resources/fetch-and-upload-thumbnail.js.map +1 -1
  17. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js +15 -0
  18. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js.map +1 -0
  19. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js +8 -2
  20. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js.map +1 -1
  21. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js +15 -0
  22. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js.map +1 -0
  23. package/dist/esm/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js +6 -0
  24. package/dist/esm/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js.map +1 -1
  25. package/dist/node/access/can-edit-item.js +1 -1
  26. package/dist/node/access/can-edit-site-content.js +2 -2
  27. package/dist/node/access/can-edit-site-content.js.map +1 -1
  28. package/dist/node/content/_internal/internalContentUtils.js.map +1 -1
  29. package/dist/node/core/types/Metrics.js.map +1 -1
  30. package/dist/node/extent.js.map +1 -1
  31. package/dist/node/groups/add-users-workflow/utils/_get-email-users.js +1 -1
  32. package/dist/node/groups/add-users-workflow/utils/_get-email-users.js.map +1 -1
  33. package/dist/node/groups/add-users-workflow/utils/_get-invite-users.js +1 -1
  34. package/dist/node/groups/add-users-workflow/utils/_get-invite-users.js.map +1 -1
  35. package/dist/node/hub-types.js.map +1 -1
  36. package/dist/node/metrics/resolveMetric.js.map +1 -1
  37. package/dist/node/resources/fetch-and-upload-resource.js +1 -1
  38. package/dist/node/resources/fetch-and-upload-thumbnail.js +6 -6
  39. package/dist/node/resources/fetch-and-upload-thumbnail.js.map +1 -1
  40. package/dist/node/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js +19 -0
  41. package/dist/node/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js.map +1 -0
  42. package/dist/node/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js +8 -2
  43. package/dist/node/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js.map +1 -1
  44. package/dist/node/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js +19 -0
  45. package/dist/node/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js.map +1 -0
  46. package/dist/node/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js +6 -0
  47. package/dist/node/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js.map +1 -1
  48. package/dist/types/access/can-edit-event.d.ts +1 -1
  49. package/dist/types/access/can-edit-item.d.ts +1 -1
  50. package/dist/types/access/can-edit-site-content.d.ts +1 -1
  51. package/dist/types/access/can-edit-site.d.ts +1 -1
  52. package/dist/types/access/has-base-priv.d.ts +1 -1
  53. package/dist/types/associations/internal/getIdsFromAssociationGroups.d.ts +1 -1
  54. package/dist/types/categories.d.ts +1 -1
  55. package/dist/types/channels/_internal/transformChannelToEntity.d.ts +1 -1
  56. package/dist/types/content/_internal/internalContentUtils.d.ts +3 -3
  57. package/dist/types/content/edit.d.ts +1 -1
  58. package/dist/types/content/manageSchedule.d.ts +1 -1
  59. package/dist/types/content/search.d.ts +1 -1
  60. package/dist/types/core/_internal/computeItemLinks.d.ts +1 -1
  61. package/dist/types/core/_internal/computeItemProps.d.ts +1 -1
  62. package/dist/types/core/behaviors/IWithFollowersBehavior.d.ts +1 -1
  63. package/dist/types/core/enrichEntity.d.ts +1 -1
  64. package/dist/types/core/traits/IWithBannerImage.d.ts +1 -1
  65. package/dist/types/core/traits/IWithLayout.d.ts +1 -1
  66. package/dist/types/core/types/IHubEditableContent.d.ts +1 -1
  67. package/dist/types/core/types/IHubLocation.d.ts +1 -1
  68. package/dist/types/core/types/Metrics.d.ts +2 -1
  69. package/dist/types/discussions/api/types.d.ts +1 -1
  70. package/dist/types/discussions/api/utils/channels/can-create-channel-v2.d.ts +1 -1
  71. package/dist/types/discussions/api/utils/channels/can-delete-channel-v2.d.ts +1 -1
  72. package/dist/types/discussions/api/utils/channels/can-edit-channel-v2.d.ts +1 -1
  73. package/dist/types/discussions/api/utils/channels/can-read-channel-v2.d.ts +1 -1
  74. package/dist/types/discussions/api/utils/channels/can-read-channel.d.ts +1 -1
  75. package/dist/types/discussions/api/utils/posts/can-create-post-v2.d.ts +1 -1
  76. package/dist/types/discussions/api/utils/posts/can-create-reply-v2.d.ts +1 -1
  77. package/dist/types/discussions/api/utils/posts/can-delete-post-v2.d.ts +1 -1
  78. package/dist/types/discussions/api/utils/posts/can-edit-post-status-v2.d.ts +1 -1
  79. package/dist/types/discussions/api/utils/posts/can-edit-post-v2.d.ts +1 -1
  80. package/dist/types/discussions/api/utils/reactions/can-create-reaction-v2.d.ts +1 -1
  81. package/dist/types/discussions/api/utils/reactions/can-create-reaction.d.ts +1 -1
  82. package/dist/types/discussions/utils.d.ts +1 -1
  83. package/dist/types/downloads/build-existing-exports-portal-query.d.ts +1 -1
  84. package/dist/types/events/HubEvent.d.ts +1 -1
  85. package/dist/types/extent.d.ts +2 -1
  86. package/dist/types/groups/HubGroups.d.ts +2 -2
  87. package/dist/types/groups/_internal/computeLinks.d.ts +1 -1
  88. package/dist/types/groups/_internal/computeProps.d.ts +1 -1
  89. package/dist/types/groups/_internal/convertGroupToHubGroup.d.ts +1 -1
  90. package/dist/types/groups/_internal/convertHubGroupToGroup.d.ts +1 -1
  91. package/dist/types/groups/_internal/getUniqueGroupTitle.d.ts +1 -1
  92. package/dist/types/groups/add-users-workflow/utils/_can-email-user.d.ts +1 -1
  93. package/dist/types/groups/add-users-workflow/utils/_get-email-users.d.ts +1 -1
  94. package/dist/types/groups/add-users-workflow/utils/_get-invite-users.d.ts +1 -1
  95. package/dist/types/groups/addGroupMembers.d.ts +1 -1
  96. package/dist/types/groups/autoAddUsers.d.ts +1 -1
  97. package/dist/types/groups/defaults.d.ts +1 -1
  98. package/dist/types/groups/deleteGroupThumbnail.d.ts +1 -1
  99. package/dist/types/groups/emailOrgUsers.d.ts +1 -1
  100. package/dist/types/groups/inviteUsers.d.ts +1 -1
  101. package/dist/types/groups/isOpenDataGroup.d.ts +1 -1
  102. package/dist/types/groups/setGroupThumbnail.d.ts +1 -1
  103. package/dist/types/hub-types.d.ts +3 -2
  104. package/dist/types/initiative-templates/_internal/computeLinks.d.ts +1 -1
  105. package/dist/types/initiative-templates/_internal/getRecommendedTemplatesCatalog.d.ts +1 -1
  106. package/dist/types/initiative-templates/edit.d.ts +1 -1
  107. package/dist/types/initiatives/HubInitiatives.d.ts +1 -1
  108. package/dist/types/initiatives/_internal/computeLinks.d.ts +1 -1
  109. package/dist/types/items/_internal/_prepare-upload-requests.d.ts +1 -1
  110. package/dist/types/items/_internal/_wait-for-item-ready.d.ts +1 -1
  111. package/dist/types/items/apply-properties-to-items.d.ts +1 -1
  112. package/dist/types/items/create-item-from-file.d.ts +2 -2
  113. package/dist/types/items/create-item-from-url-or-file.d.ts +2 -2
  114. package/dist/types/items/create-item-from-url.d.ts +2 -2
  115. package/dist/types/items/deleteItemThumbnail.d.ts +1 -1
  116. package/dist/types/items/fail-safe-update.d.ts +1 -1
  117. package/dist/types/items/is-services-directory-disabled.d.ts +1 -1
  118. package/dist/types/items/normalize-solution-template-item.d.ts +1 -1
  119. package/dist/types/items/setItemThumbnail.d.ts +1 -1
  120. package/dist/types/items/slugs.d.ts +1 -1
  121. package/dist/types/items/uploadImageResource.d.ts +1 -1
  122. package/dist/types/models/index.d.ts +1 -1
  123. package/dist/types/models/serializeModel.d.ts +1 -1
  124. package/dist/types/org/fetchOrgLimits.d.ts +1 -1
  125. package/dist/types/pages/HubPages.d.ts +1 -1
  126. package/dist/types/pages/_internal/computeLinks.d.ts +1 -1
  127. package/dist/types/projects/_internal/computeLinks.d.ts +1 -1
  128. package/dist/types/projects/edit.d.ts +1 -1
  129. package/dist/types/resources/_internal/_validate-url-helpers.d.ts +1 -1
  130. package/dist/types/resources/doesResourceExist.d.ts +1 -1
  131. package/dist/types/resources/fetch-and-upload-resource.d.ts +1 -1
  132. package/dist/types/resources/fetch-and-upload-thumbnail.d.ts +1 -1
  133. package/dist/types/resources/get-item-assets.d.ts +1 -1
  134. package/dist/types/resources/get-item-thumbnail-url.d.ts +1 -1
  135. package/dist/types/resources/removeResource.d.ts +1 -1
  136. package/dist/types/resources/upsertResource.d.ts +1 -1
  137. package/dist/types/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.d.ts +11 -0
  138. package/dist/types/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.d.ts +11 -0
  139. package/dist/types/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.d.ts +2 -0
  140. package/dist/types/search/getUserGroupsByMembership.d.ts +1 -1
  141. package/dist/types/search/getUserGroupsFromQuery.d.ts +1 -1
  142. package/dist/types/search/types/IHubSearchOptions.d.ts +1 -1
  143. package/dist/types/search/wellKnownCatalog.d.ts +1 -1
  144. package/dist/types/sites/_internal/computeLinks.d.ts +1 -1
  145. package/dist/types/surveys/edit.d.ts +1 -1
  146. package/dist/types/surveys/fetch.d.ts +1 -1
  147. package/dist/types/surveys/utils/is-draft.d.ts +1 -1
  148. package/dist/types/surveys/utils/is-fieldworker-view.d.ts +1 -1
  149. package/dist/types/surveys/utils/is-survey123-connect.d.ts +1 -1
  150. package/dist/types/surveys/utils/should-display-map.d.ts +1 -1
  151. package/dist/types/templates/_internal/computeLinks.d.ts +1 -1
  152. package/dist/types/templates/edit.d.ts +1 -1
  153. package/dist/types/templates/utils.d.ts +1 -1
  154. package/dist/types/types/IArcGISContext.d.ts +1 -1
  155. package/dist/types/types/IArcGISContextManagerOptions.d.ts +2 -2
  156. package/dist/types/types/IArcGISContextOptions.d.ts +2 -2
  157. package/dist/types/users/HubUsers.d.ts +1 -1
  158. package/dist/types/users/_internal/computeProps.d.ts +1 -1
  159. package/dist/types/utils/is-update-group.d.ts +1 -1
  160. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { HubFamily } from "../hub-types";
3
3
  import { EntityType, IFilter, IHubCatalog, IHubCollection } from "./types";
4
4
  import type { IArcGISContext } from "../types/IArcGISContext";
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  import { IRequestOptions } from "@esri/arcgis-rest-request";
3
3
  import { IHubEntityLinks } from "../../core/types";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IHubSurvey } from "../core/types/IHubSurvey";
3
3
  /**
4
4
  * @private
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  import { IHubSurvey } from "../core/types/IHubSurvey";
3
3
  import { IHubRequestOptions } from "../hub-types";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * Determines if a given Form item is a draft
4
4
  * @param {IItem} formItem A Form item
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * Determines if the provided Feature Service item is a
4
4
  * Fieldworker View
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * Returns true if the given Form item is a Survey123 Connect
4
4
  * survey
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * Determines the display mode of the given survey
4
4
  * @param {Object} formItem A Form item
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  import { IRequestOptions } from "@esri/arcgis-rest-request";
3
3
  import { IHubEntityLinks } from "../../core/types";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IHubTemplate, IHubTemplateEditor } from "../core/types/IHubTemplate";
3
3
  import { IPortal } from "@esri/arcgis-rest-portal";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * We do our best to glean what the solution template
4
4
  * is supposed to become when deployed. This util
@@ -1,7 +1,7 @@
1
1
  import { UserSession, IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import type { IPortal } from "@esri/arcgis-rest-portal";
3
3
  import type { IRequestOptions } from "@esri/arcgis-rest-request";
4
- import type { IUser } from "@esri/arcgis-rest-types";
4
+ import type { IUser } from "@esri/arcgis-rest-portal";
5
5
  import { HubServiceStatus, HubEntity } from "../core";
6
6
  import type { IHubHistory, IHubHistoryEntry } from "../core/hubHistory";
7
7
  import type { HubLicense, HubEnvironment, IFeatureFlags, Permission, IPermissionAccessResponse } from "../permissions";
@@ -1,6 +1,6 @@
1
- import { UserSession } from "@esri/arcgis-rest-auth";
1
+ import type { UserSession } from "@esri/arcgis-rest-auth";
2
2
  import { IPortal } from "@esri/arcgis-rest-portal";
3
- import { IUser } from "@esri/arcgis-rest-types";
3
+ import type { IUser } from "@esri/arcgis-rest-portal";
4
4
  import { IUserResourceToken } from "./IUserResourceToken";
5
5
  import { IUserResourceConfig } from "./IUserResourceConfig";
6
6
  import { HubServiceStatus } from "../core/types/ISystemStatus";
@@ -1,6 +1,6 @@
1
- import { UserSession } from "@esri/arcgis-rest-auth";
1
+ import type { UserSession } from "@esri/arcgis-rest-auth";
2
2
  import type { IPortal } from "@esri/arcgis-rest-portal";
3
- import type { IUser } from "@esri/arcgis-rest-types";
3
+ import type { IUser } from "@esri/arcgis-rest-portal";
4
4
  import type { IUserResourceToken } from "./IUserResourceToken";
5
5
  import type { HubServiceStatus } from "../core/types/ISystemStatus";
6
6
  import type { IFeatureFlags } from "../permissions";
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IHubUser } from "../core/types/IHubUser";
3
3
  import { IHubRequestOptions } from "../hub-types";
4
4
  import { IHubSearchResult } from "../search/types/IHubSearchResult";
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import type { IArcGISContext } from "../../types/IArcGISContext";
3
3
  import { IHubUser } from "../../core/types";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * Determines if a given IGroup is an update group
4
4
  * @param {IGroup} group The group to evaluate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/hub-common",
3
- "version": "15.43.0",
3
+ "version": "15.44.0",
4
4
  "description": "Common TypeScript types and utility functions for @esri/hub.js.",
5
5
  "main": "dist/node/index.js",
6
6
  "module": "dist/esm/index.js",