@esri/hub-common 15.42.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 (304) hide show
  1. package/dist/esm/ArcGISContextManager.js.map +1 -1
  2. package/dist/esm/access/can-edit-item.js +1 -1
  3. package/dist/esm/access/can-edit-site-content.js +2 -2
  4. package/dist/esm/access/can-edit-site-content.js.map +1 -1
  5. package/dist/esm/associations/internal/getIncludesAndReferencesQuery.js.map +1 -1
  6. package/dist/esm/channels/_internal/transformEntityPermissionPoliciesToFormValues.js +0 -14
  7. package/dist/esm/channels/_internal/transformEntityPermissionPoliciesToFormValues.js.map +1 -1
  8. package/dist/esm/channels/_internal/transformFormValuesToEntityPermissionPolicies.js +1 -14
  9. package/dist/esm/channels/_internal/transformFormValuesToEntityPermissionPolicies.js.map +1 -1
  10. package/dist/esm/collections.js +2 -2
  11. package/dist/esm/collections.js.map +1 -1
  12. package/dist/esm/content/_internal/computeProps.js.map +1 -1
  13. package/dist/esm/content/_internal/internalContentUtils.js.map +1 -1
  14. package/dist/esm/core/catalogContains.js +5 -2
  15. package/dist/esm/core/catalogContains.js.map +1 -1
  16. package/dist/esm/core/deepCatalogContains.js.map +1 -1
  17. package/dist/esm/core/fetchHubEntity.js.map +1 -1
  18. package/dist/esm/core/schemas/internal/events/EventGalleryCardUiSchema.js +1 -1
  19. package/dist/esm/core/schemas/internal/events/EventGalleryCardUiSchema.js.map +1 -1
  20. package/dist/esm/core/schemas/internal/getCardEditorSchemas.js +2 -0
  21. package/dist/esm/core/schemas/internal/getCardEditorSchemas.js.map +1 -1
  22. package/dist/esm/core/schemas/internal/getTagItems.js.map +1 -1
  23. package/dist/esm/core/schemas/types.js.map +1 -1
  24. package/dist/esm/core/types/Metrics.js.map +1 -1
  25. package/dist/esm/discussions/_internal/computeProps.js.map +1 -1
  26. package/dist/esm/discussions/api/types.js.map +1 -1
  27. package/dist/esm/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFile.js +1 -1
  28. package/dist/esm/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFile.js.map +1 -1
  29. package/dist/esm/downloads/_internal/getDownloadFlow.js.map +1 -1
  30. package/dist/esm/downloads/getHubDownloadApiFormats.js.map +1 -1
  31. package/dist/esm/events/_internal/EventUiSchemaEdit.js.map +1 -1
  32. package/dist/esm/events/_internal/PropertyMapper.js.map +1 -1
  33. package/dist/esm/extent.js.map +1 -1
  34. package/dist/esm/groups/HubGroups.js.map +1 -1
  35. package/dist/esm/groups/_internal/GroupUiSchemaCreateFollowers.js +0 -1
  36. package/dist/esm/groups/_internal/GroupUiSchemaCreateFollowers.js.map +1 -1
  37. package/dist/esm/groups/_internal/GroupUiSchemaSettings.js +0 -1
  38. package/dist/esm/groups/_internal/GroupUiSchemaSettings.js.map +1 -1
  39. package/dist/esm/groups/add-users-workflow/utils/_get-email-users.js +1 -1
  40. package/dist/esm/groups/add-users-workflow/utils/_get-email-users.js.map +1 -1
  41. package/dist/esm/groups/add-users-workflow/utils/_get-invite-users.js +1 -1
  42. package/dist/esm/groups/add-users-workflow/utils/_get-invite-users.js.map +1 -1
  43. package/dist/esm/hub-types.js.map +1 -1
  44. package/dist/esm/initiative-templates/_internal/computeProps.js.map +1 -1
  45. package/dist/esm/initiative-templates/edit.js +1 -1
  46. package/dist/esm/initiative-templates/edit.js.map +1 -1
  47. package/dist/esm/initiative-templates/fetch.js +1 -1
  48. package/dist/esm/initiative-templates/fetch.js.map +1 -1
  49. package/dist/esm/initiatives/HubInitiative.js.map +1 -1
  50. package/dist/esm/initiatives/_internal/computeProps.js.map +1 -1
  51. package/dist/esm/metrics/resolveMetric.js.map +1 -1
  52. package/dist/esm/models/index.js.map +1 -1
  53. package/dist/esm/objects/deepFilter.js.map +1 -1
  54. package/dist/esm/pages/HubPage.js +0 -1
  55. package/dist/esm/pages/HubPage.js.map +1 -1
  56. package/dist/esm/pages/_internal/computeProps.js.map +1 -1
  57. package/dist/esm/permissions/checkPermission.js +0 -1
  58. package/dist/esm/permissions/checkPermission.js.map +1 -1
  59. package/dist/esm/projects/HubProject.js.map +1 -1
  60. package/dist/esm/projects/_internal/computeProps.js.map +1 -1
  61. package/dist/esm/projects/edit.js.map +1 -1
  62. package/dist/esm/projects/fetch.js.map +1 -1
  63. package/dist/esm/resources/_internal/_validate-url-helpers.js +1 -1
  64. package/dist/esm/resources/_internal/_validate-url-helpers.js.map +1 -1
  65. package/dist/esm/resources/fetch-and-upload-resource.js +2 -2
  66. package/dist/esm/resources/fetch-and-upload-resource.js.map +1 -1
  67. package/dist/esm/resources/fetch-and-upload-thumbnail.js +6 -6
  68. package/dist/esm/resources/fetch-and-upload-thumbnail.js.map +1 -1
  69. package/dist/esm/search/Catalog.js.map +1 -1
  70. package/dist/esm/search/_internal/explainHelpers.js +2 -2
  71. package/dist/esm/search/_internal/explainHelpers.js.map +1 -1
  72. package/dist/esm/search/_internal/hubEventsHelpers/eventAttendeeToSearchResult.js.map +1 -1
  73. package/dist/esm/search/_internal/hubSearchEventAttendees.js.map +1 -1
  74. package/dist/esm/search/_internal/hubSearchEvents.js.map +1 -1
  75. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js +15 -0
  76. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js.map +1 -0
  77. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js +8 -2
  78. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js.map +1 -1
  79. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js +15 -0
  80. package/dist/esm/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js.map +1 -0
  81. package/dist/esm/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js +6 -0
  82. package/dist/esm/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js.map +1 -1
  83. package/dist/esm/search/explainQueryResult.js.map +1 -1
  84. package/dist/esm/search/negateGroupPredicates.js +1 -1
  85. package/dist/esm/search/negateGroupPredicates.js.map +1 -1
  86. package/dist/esm/sites/HubSites.js.map +1 -1
  87. package/dist/esm/sites/_internal/computeLinks.js.map +1 -1
  88. package/dist/esm/sites/_internal/computeProps.js.map +1 -1
  89. package/dist/esm/sites/feeds/getFeedTemplate.js.map +1 -1
  90. package/dist/esm/surveys/HubSurvey.js.map +1 -1
  91. package/dist/esm/surveys/_internal/computeProps.js.map +1 -1
  92. package/dist/esm/templates/_internal/computeProps.js.map +1 -1
  93. package/dist/esm/templates/edit.js.map +1 -1
  94. package/dist/esm/urls/getCardModelUrl.js.map +1 -1
  95. package/dist/esm/users/view.js +1 -1
  96. package/dist/esm/users/view.js.map +1 -1
  97. package/dist/esm/utils/asyncForEach.js.map +1 -1
  98. package/dist/node/ArcGISContextManager.js.map +1 -1
  99. package/dist/node/access/can-edit-item.js +1 -1
  100. package/dist/node/access/can-edit-site-content.js +2 -2
  101. package/dist/node/access/can-edit-site-content.js.map +1 -1
  102. package/dist/node/associations/internal/getIncludesAndReferencesQuery.js.map +1 -1
  103. package/dist/node/channels/_internal/transformEntityPermissionPoliciesToFormValues.js +0 -14
  104. package/dist/node/channels/_internal/transformEntityPermissionPoliciesToFormValues.js.map +1 -1
  105. package/dist/node/channels/_internal/transformFormValuesToEntityPermissionPolicies.js +0 -13
  106. package/dist/node/channels/_internal/transformFormValuesToEntityPermissionPolicies.js.map +1 -1
  107. package/dist/node/collections.js +2 -2
  108. package/dist/node/collections.js.map +1 -1
  109. package/dist/node/content/_internal/computeProps.js.map +1 -1
  110. package/dist/node/content/_internal/internalContentUtils.js.map +1 -1
  111. package/dist/node/core/catalogContains.js +5 -2
  112. package/dist/node/core/catalogContains.js.map +1 -1
  113. package/dist/node/core/deepCatalogContains.js.map +1 -1
  114. package/dist/node/core/fetchHubEntity.js.map +1 -1
  115. package/dist/node/core/schemas/internal/events/EventGalleryCardUiSchema.js.map +1 -1
  116. package/dist/node/core/schemas/internal/getCardEditorSchemas.js +2 -0
  117. package/dist/node/core/schemas/internal/getCardEditorSchemas.js.map +1 -1
  118. package/dist/node/core/schemas/internal/getTagItems.js.map +1 -1
  119. package/dist/node/core/schemas/types.js.map +1 -1
  120. package/dist/node/core/types/Metrics.js.map +1 -1
  121. package/dist/node/discussions/_internal/computeProps.js.map +1 -1
  122. package/dist/node/discussions/api/types.js.map +1 -1
  123. package/dist/node/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFile.js +1 -1
  124. package/dist/node/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFile.js.map +1 -1
  125. package/dist/node/downloads/_internal/getDownloadFlow.js.map +1 -1
  126. package/dist/node/downloads/getHubDownloadApiFormats.js.map +1 -1
  127. package/dist/node/events/_internal/EventUiSchemaEdit.js.map +1 -1
  128. package/dist/node/events/_internal/PropertyMapper.js.map +1 -1
  129. package/dist/node/extent.js.map +1 -1
  130. package/dist/node/groups/HubGroups.js.map +1 -1
  131. package/dist/node/groups/_internal/GroupUiSchemaCreateFollowers.js +0 -1
  132. package/dist/node/groups/_internal/GroupUiSchemaCreateFollowers.js.map +1 -1
  133. package/dist/node/groups/_internal/GroupUiSchemaSettings.js +0 -1
  134. package/dist/node/groups/_internal/GroupUiSchemaSettings.js.map +1 -1
  135. package/dist/node/groups/add-users-workflow/utils/_get-email-users.js +1 -1
  136. package/dist/node/groups/add-users-workflow/utils/_get-email-users.js.map +1 -1
  137. package/dist/node/groups/add-users-workflow/utils/_get-invite-users.js +1 -1
  138. package/dist/node/groups/add-users-workflow/utils/_get-invite-users.js.map +1 -1
  139. package/dist/node/hub-types.js.map +1 -1
  140. package/dist/node/initiative-templates/_internal/computeProps.js.map +1 -1
  141. package/dist/node/initiative-templates/edit.js.map +1 -1
  142. package/dist/node/initiative-templates/fetch.js.map +1 -1
  143. package/dist/node/initiatives/HubInitiative.js.map +1 -1
  144. package/dist/node/initiatives/_internal/computeProps.js.map +1 -1
  145. package/dist/node/metrics/resolveMetric.js.map +1 -1
  146. package/dist/node/models/index.js.map +1 -1
  147. package/dist/node/objects/deepFilter.js.map +1 -1
  148. package/dist/node/pages/HubPage.js +0 -1
  149. package/dist/node/pages/HubPage.js.map +1 -1
  150. package/dist/node/pages/_internal/computeProps.js.map +1 -1
  151. package/dist/node/permissions/checkPermission.js +0 -1
  152. package/dist/node/permissions/checkPermission.js.map +1 -1
  153. package/dist/node/projects/HubProject.js.map +1 -1
  154. package/dist/node/projects/_internal/computeProps.js.map +1 -1
  155. package/dist/node/projects/edit.js.map +1 -1
  156. package/dist/node/projects/fetch.js.map +1 -1
  157. package/dist/node/resources/_internal/_validate-url-helpers.js +1 -1
  158. package/dist/node/resources/_internal/_validate-url-helpers.js.map +1 -1
  159. package/dist/node/resources/fetch-and-upload-resource.js +1 -1
  160. package/dist/node/resources/fetch-and-upload-thumbnail.js +6 -6
  161. package/dist/node/resources/fetch-and-upload-thumbnail.js.map +1 -1
  162. package/dist/node/search/Catalog.js.map +1 -1
  163. package/dist/node/search/_internal/explainHelpers.js +2 -2
  164. package/dist/node/search/_internal/explainHelpers.js.map +1 -1
  165. package/dist/node/search/_internal/hubEventsHelpers/eventAttendeeToSearchResult.js.map +1 -1
  166. package/dist/node/search/_internal/hubSearchEventAttendees.js.map +1 -1
  167. package/dist/node/search/_internal/hubSearchEvents.js.map +1 -1
  168. package/dist/node/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js +19 -0
  169. package/dist/node/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.js.map +1 -0
  170. package/dist/node/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js +8 -2
  171. package/dist/node/search/_internal/hubSearchItemsHelpers/getFilterQueryParam.js.map +1 -1
  172. package/dist/node/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js +19 -0
  173. package/dist/node/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.js.map +1 -0
  174. package/dist/node/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js +6 -0
  175. package/dist/node/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.js.map +1 -1
  176. package/dist/node/search/explainQueryResult.js.map +1 -1
  177. package/dist/node/search/negateGroupPredicates.js +1 -1
  178. package/dist/node/search/negateGroupPredicates.js.map +1 -1
  179. package/dist/node/sites/HubSites.js.map +1 -1
  180. package/dist/node/sites/_internal/computeLinks.js.map +1 -1
  181. package/dist/node/sites/_internal/computeProps.js.map +1 -1
  182. package/dist/node/sites/feeds/getFeedTemplate.js.map +1 -1
  183. package/dist/node/surveys/HubSurvey.js.map +1 -1
  184. package/dist/node/surveys/_internal/computeProps.js.map +1 -1
  185. package/dist/node/templates/_internal/computeProps.js.map +1 -1
  186. package/dist/node/templates/edit.js.map +1 -1
  187. package/dist/node/urls/getCardModelUrl.js.map +1 -1
  188. package/dist/node/users/view.js +1 -1
  189. package/dist/node/users/view.js.map +1 -1
  190. package/dist/node/utils/asyncForEach.js.map +1 -1
  191. package/dist/types/access/can-edit-event.d.ts +1 -1
  192. package/dist/types/access/can-edit-item.d.ts +1 -1
  193. package/dist/types/access/can-edit-site-content.d.ts +1 -1
  194. package/dist/types/access/can-edit-site.d.ts +1 -1
  195. package/dist/types/access/has-base-priv.d.ts +1 -1
  196. package/dist/types/associations/internal/getIdsFromAssociationGroups.d.ts +1 -1
  197. package/dist/types/categories.d.ts +1 -1
  198. package/dist/types/channels/_internal/transformChannelToEntity.d.ts +1 -1
  199. package/dist/types/content/_internal/internalContentUtils.d.ts +3 -3
  200. package/dist/types/content/edit.d.ts +1 -1
  201. package/dist/types/content/manageSchedule.d.ts +1 -1
  202. package/dist/types/content/search.d.ts +1 -1
  203. package/dist/types/core/_internal/computeItemLinks.d.ts +1 -1
  204. package/dist/types/core/_internal/computeItemProps.d.ts +1 -1
  205. package/dist/types/core/behaviors/IWithFollowersBehavior.d.ts +1 -1
  206. package/dist/types/core/enrichEntity.d.ts +1 -1
  207. package/dist/types/core/traits/IWithBannerImage.d.ts +1 -1
  208. package/dist/types/core/traits/IWithLayout.d.ts +1 -1
  209. package/dist/types/core/types/IHubEditableContent.d.ts +1 -1
  210. package/dist/types/core/types/IHubLocation.d.ts +1 -1
  211. package/dist/types/core/types/Metrics.d.ts +2 -1
  212. package/dist/types/discussions/api/types.d.ts +5 -4
  213. package/dist/types/discussions/api/utils/channels/can-create-channel-v2.d.ts +1 -1
  214. package/dist/types/discussions/api/utils/channels/can-delete-channel-v2.d.ts +1 -1
  215. package/dist/types/discussions/api/utils/channels/can-edit-channel-v2.d.ts +1 -1
  216. package/dist/types/discussions/api/utils/channels/can-read-channel-v2.d.ts +1 -1
  217. package/dist/types/discussions/api/utils/channels/can-read-channel.d.ts +1 -1
  218. package/dist/types/discussions/api/utils/posts/can-create-post-v2.d.ts +1 -1
  219. package/dist/types/discussions/api/utils/posts/can-create-reply-v2.d.ts +1 -1
  220. package/dist/types/discussions/api/utils/posts/can-delete-post-v2.d.ts +1 -1
  221. package/dist/types/discussions/api/utils/posts/can-edit-post-status-v2.d.ts +1 -1
  222. package/dist/types/discussions/api/utils/posts/can-edit-post-v2.d.ts +1 -1
  223. package/dist/types/discussions/api/utils/reactions/can-create-reaction-v2.d.ts +1 -1
  224. package/dist/types/discussions/api/utils/reactions/can-create-reaction.d.ts +1 -1
  225. package/dist/types/discussions/utils.d.ts +1 -1
  226. package/dist/types/downloads/build-existing-exports-portal-query.d.ts +1 -1
  227. package/dist/types/events/HubEvent.d.ts +1 -1
  228. package/dist/types/extent.d.ts +2 -1
  229. package/dist/types/groups/HubGroups.d.ts +2 -2
  230. package/dist/types/groups/_internal/computeLinks.d.ts +1 -1
  231. package/dist/types/groups/_internal/computeProps.d.ts +1 -1
  232. package/dist/types/groups/_internal/convertGroupToHubGroup.d.ts +1 -1
  233. package/dist/types/groups/_internal/convertHubGroupToGroup.d.ts +1 -1
  234. package/dist/types/groups/_internal/getUniqueGroupTitle.d.ts +1 -1
  235. package/dist/types/groups/add-users-workflow/utils/_can-email-user.d.ts +1 -1
  236. package/dist/types/groups/add-users-workflow/utils/_get-email-users.d.ts +1 -1
  237. package/dist/types/groups/add-users-workflow/utils/_get-invite-users.d.ts +1 -1
  238. package/dist/types/groups/addGroupMembers.d.ts +1 -1
  239. package/dist/types/groups/autoAddUsers.d.ts +1 -1
  240. package/dist/types/groups/defaults.d.ts +1 -1
  241. package/dist/types/groups/deleteGroupThumbnail.d.ts +1 -1
  242. package/dist/types/groups/emailOrgUsers.d.ts +1 -1
  243. package/dist/types/groups/inviteUsers.d.ts +1 -1
  244. package/dist/types/groups/isOpenDataGroup.d.ts +1 -1
  245. package/dist/types/groups/setGroupThumbnail.d.ts +1 -1
  246. package/dist/types/hub-types.d.ts +3 -2
  247. package/dist/types/initiative-templates/_internal/computeLinks.d.ts +1 -1
  248. package/dist/types/initiative-templates/_internal/getRecommendedTemplatesCatalog.d.ts +1 -1
  249. package/dist/types/initiative-templates/edit.d.ts +1 -1
  250. package/dist/types/initiatives/HubInitiatives.d.ts +1 -1
  251. package/dist/types/initiatives/_internal/computeLinks.d.ts +1 -1
  252. package/dist/types/items/_internal/_prepare-upload-requests.d.ts +1 -1
  253. package/dist/types/items/_internal/_wait-for-item-ready.d.ts +1 -1
  254. package/dist/types/items/apply-properties-to-items.d.ts +1 -1
  255. package/dist/types/items/create-item-from-file.d.ts +2 -2
  256. package/dist/types/items/create-item-from-url-or-file.d.ts +2 -2
  257. package/dist/types/items/create-item-from-url.d.ts +2 -2
  258. package/dist/types/items/deleteItemThumbnail.d.ts +1 -1
  259. package/dist/types/items/fail-safe-update.d.ts +1 -1
  260. package/dist/types/items/is-services-directory-disabled.d.ts +1 -1
  261. package/dist/types/items/normalize-solution-template-item.d.ts +1 -1
  262. package/dist/types/items/setItemThumbnail.d.ts +1 -1
  263. package/dist/types/items/slugs.d.ts +1 -1
  264. package/dist/types/items/uploadImageResource.d.ts +1 -1
  265. package/dist/types/models/index.d.ts +1 -1
  266. package/dist/types/models/serializeModel.d.ts +1 -1
  267. package/dist/types/org/fetchOrgLimits.d.ts +1 -1
  268. package/dist/types/pages/HubPages.d.ts +1 -1
  269. package/dist/types/pages/_internal/computeLinks.d.ts +1 -1
  270. package/dist/types/projects/_internal/computeLinks.d.ts +1 -1
  271. package/dist/types/projects/edit.d.ts +1 -1
  272. package/dist/types/resources/_internal/_validate-url-helpers.d.ts +1 -1
  273. package/dist/types/resources/doesResourceExist.d.ts +1 -1
  274. package/dist/types/resources/fetch-and-upload-resource.d.ts +1 -1
  275. package/dist/types/resources/fetch-and-upload-thumbnail.d.ts +1 -1
  276. package/dist/types/resources/get-item-assets.d.ts +1 -1
  277. package/dist/types/resources/get-item-thumbnail-url.d.ts +1 -1
  278. package/dist/types/resources/removeResource.d.ts +1 -1
  279. package/dist/types/resources/upsertResource.d.ts +1 -1
  280. package/dist/types/search/_internal/hubSearchItemsHelpers/getFieldsQueryParam.d.ts +11 -0
  281. package/dist/types/search/_internal/hubSearchItemsHelpers/getFlattenQueryParam.d.ts +11 -0
  282. package/dist/types/search/_internal/hubSearchItemsHelpers/getOgcItemQueryParams.d.ts +2 -0
  283. package/dist/types/search/getUserGroupsByMembership.d.ts +1 -1
  284. package/dist/types/search/getUserGroupsFromQuery.d.ts +1 -1
  285. package/dist/types/search/types/IHubSearchOptions.d.ts +1 -1
  286. package/dist/types/search/wellKnownCatalog.d.ts +1 -1
  287. package/dist/types/sites/_internal/computeLinks.d.ts +1 -1
  288. package/dist/types/surveys/edit.d.ts +1 -1
  289. package/dist/types/surveys/fetch.d.ts +1 -1
  290. package/dist/types/surveys/utils/is-draft.d.ts +1 -1
  291. package/dist/types/surveys/utils/is-fieldworker-view.d.ts +1 -1
  292. package/dist/types/surveys/utils/is-survey123-connect.d.ts +1 -1
  293. package/dist/types/surveys/utils/should-display-map.d.ts +1 -1
  294. package/dist/types/templates/_internal/computeLinks.d.ts +1 -1
  295. package/dist/types/templates/edit.d.ts +1 -1
  296. package/dist/types/templates/utils.d.ts +1 -1
  297. package/dist/types/types/IArcGISContext.d.ts +1 -1
  298. package/dist/types/types/IArcGISContextManagerOptions.d.ts +2 -2
  299. package/dist/types/types/IArcGISContextOptions.d.ts +2 -2
  300. package/dist/types/users/HubUsers.d.ts +1 -1
  301. package/dist/types/users/_internal/computeProps.d.ts +1 -1
  302. package/dist/types/utils/asyncForEach.d.ts +1 -1
  303. package/dist/types/utils/is-update-group.d.ts +1 -1
  304. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { IItem, IPortal } from "@esri/arcgis-rest-portal";
2
- import { IExtent, ILayerDefinition, ISpatialReference, IUser } from "@esri/arcgis-rest-types";
1
+ import type { IItem, IPortal, IUser } from "@esri/arcgis-rest-portal";
2
+ import type { IExtent, ILayerDefinition, ISpatialReference } from "@esri/arcgis-rest-feature-layer";
3
3
  import { IHubContent, IHubLocation, PublisherSource } from "../../core/types";
4
4
  import { IHubGeography, GeographyProvenance, IHubRequestOptions } from "../../hub-types";
5
5
  import { IHubAdditionalResource } from "../../core/types/IHubAdditionalResource";
6
6
  import { IRequestOptions } from "@esri/arcgis-rest-request";
7
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
7
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
8
8
  /**
9
9
  * Create a new content with updated boundary properties
10
10
  * @param content original content
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IPortal } from "@esri/arcgis-rest-portal";
3
3
  import { IHubContentEditor, IHubEditableContent } from "../core";
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  import { IHubSchedule, IHubScheduleResponse } from "../core/types/IHubSchedule";
2
2
  import { AccessLevel, IHubEditableContent } from "../core";
3
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
3
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
4
4
  import { IHubRequestOptions } from "../hub-types";
5
5
  /**
6
6
  * Get the schedule for an item. If no schedule is found, returns null.
@@ -1,4 +1,4 @@
1
- import { IItem } from "@esri/arcgis-rest-types";
1
+ import type { IItem } from "@esri/arcgis-rest-portal";
2
2
  import { IHubSearchResult } from "../search";
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
  import { IRequestOptions } from "@esri/arcgis-rest-request";
3
3
  import { IHubEntityLinks } from "../../core/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
  import { IHubItemEntity } from "../types";
3
3
  /**
4
4
  * Base property mapping for item backed entity types
@@ -1,4 +1,4 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  import { SettableAccessLevel } from "../types";
3
3
  /**
4
4
  * Followers behavior for Item-Backed Entities
@@ -1,4 +1,4 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  import { HubEntity } from "./types";
3
3
  import { IHubRequestOptions } from "../hub-types";
4
4
  interface IEntityEnrichments {
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IHubImage, IHubImageOptions } from "../types/IHubImage";
3
3
  /**
4
4
  * WithBannerImage Trait
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IRequestOptions } from "@esri/arcgis-rest-request";
3
3
  import { IHubLayout } from "../types/IHubLayout";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IFeatureServiceDefinition } from "@esri/arcgis-rest-types";
1
+ import type { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer";
2
2
  import { IWithPermissions, IWithSlug } from "../traits/index";
3
3
  import { IHubAdditionalResource } from "./IHubAdditionalResource";
4
4
  import { IHubItemEntity, IHubItemEntityEditor } from "./IHubItemEntity";
@@ -1,4 +1,4 @@
1
- import { ISpatialReference } from "@esri/arcgis-rest-types";
1
+ import type { ISpatialReference } from "@esri/arcgis-rest-feature-layer";
2
2
  import { IHubLocationType } from "./types";
3
3
  import { HubEntityType } from "./HubEntityType";
4
4
  import { IGeometryInstance } from "../..";
@@ -1,5 +1,6 @@
1
1
  import { IQuery } from "../../search/types/IHubCatalog";
2
- import { FieldType, IField } from "@esri/arcgis-rest-types";
2
+ import type { IField } from "@esri/arcgis-rest-feature-layer";
3
+ import type { FieldType } from "@esri/arcgis-rest-types";
3
4
  import { IReference } from "./IReference";
4
5
  import { IGeometryInstance, ServiceAggregation } from "../../core/types";
5
6
  /**
@@ -1,4 +1,4 @@
1
- import { IPagingParams, IPagedResponse as IRestPagedResponse, IUser } from "@esri/arcgis-rest-types";
1
+ import { IPagingParams, IPagedResponse as IRestPagedResponse, IUser } from "@esri/arcgis-rest-portal";
2
2
  import { Geometry, Polygon } from "geojson";
3
3
  import { IHubRequestOptions } from "../../hub-types";
4
4
  /**
@@ -929,12 +929,13 @@ export interface IFetchChannel {
929
929
  * @extends {Partial<IWithEditor>}
930
930
  */
931
931
  export interface ISearchChannels extends Partial<IPagingParams>, Partial<IWithSorting<ChannelSort>>, Partial<IWithTimeQueries>, Partial<IWithFiltering<ChannelFilter>>, Partial<IWithAuthor>, Partial<IWithEditor> {
932
- groups?: string[];
933
932
  access?: SharingAccess[];
934
- relations?: ChannelRelation[];
933
+ discussion?: string;
934
+ groups?: string[];
935
+ ids?: string[];
935
936
  name?: string;
936
937
  orgIds?: string[];
937
- discussion?: string;
938
+ relations?: ChannelRelation[];
938
939
  }
939
940
  /**
940
941
  * request params for creating a channel
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to create a channel with the defined 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 { IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to delete a channel
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser, IUpdateChannelV2 } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to edit a channel
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User can view channel posts and channel attributes
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User can view channel posts and channel attributes
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to create a post in a channel
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to create a reply in a channel
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser, IPost } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to delete a post
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to modify the status of a post
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IChannel, IDiscussionsUser, IPost } from "../../types";
3
3
  /**
4
4
  * Utility to determine if User has privileges to modify a post
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { PostReaction, IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility that determines whether a Channel allows a given PostReaction
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { PostReaction, IChannel, IDiscussionsUser } from "../../types";
3
3
  /**
4
4
  * Utility that determines whether a Channel allows a given PostReaction
@@ -1,4 +1,4 @@
1
- import { IGroup, IItem } from "@esri/arcgis-rest-types";
1
+ import type { IGroup, IItem } from "@esri/arcgis-rest-portal";
2
2
  import { IHubContent, IHubItemEntity } from "../core";
3
3
  import { IChannel, SharingAccess } from "./api/types";
4
4
  import { IHubSearchResult, IQuery } from "../search";
@@ -1,4 +1,4 @@
1
- import { ISpatialReference } from "@esri/arcgis-rest-types";
1
+ import type { ISpatialReference } from "@esri/arcgis-rest-feature-layer";
2
2
  export declare const WGS84_WKID = "4326";
3
3
  interface IExistingExportsPortalQueryOptions {
4
4
  layerId?: number | string;
@@ -1,4 +1,4 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  import { HubItemEntity } from "../core/HubItemEntity";
3
3
  import { IHubEventEditor, IHubEvent } from "../core/types/IHubEvent";
4
4
  import { IWithEditorBehavior } from "../core/behaviors";
@@ -1,4 +1,5 @@
1
- import { IExtent, IPoint, IPolygon } from "@esri/arcgis-rest-types";
1
+ import type { IExtent } from "@esri/arcgis-rest-feature-layer";
2
+ import type { IPoint, IPolygon } from "@esri/arcgis-rest-types";
2
3
  import { IHubRequestOptions, BBox } from "./hub-types";
3
4
  import { Polygon } from "geojson";
4
5
  /**
@@ -1,8 +1,8 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  import { IHubRequestOptions } from "../hub-types";
3
3
  import { IRequestOptions } from "@esri/arcgis-rest-request";
4
4
  import { IHubGroup } from "../core/types/IHubGroup";
5
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
5
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
6
6
  import { IHubSearchResult } from "../search/types/IHubSearchResult";
7
7
  /**
8
8
  * Enrich a generic search result
@@ -1,4 +1,4 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  import { IRequestOptions } from "@esri/arcgis-rest-request";
3
3
  import { IHubEntityLinks } from "../../core/types";
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  import { IRequestOptions } from "@esri/arcgis-rest-request";
2
2
  import { IHubGroup } from "../../core/types/IHubGroup";
3
- import { IGroup } from "@esri/arcgis-rest-types";
3
+ import type { IGroup } from "@esri/arcgis-rest-portal";
4
4
  /**
5
5
  * Given a model and a group, set various computed properties that can't be directly mapped
6
6
  * @private
@@ -1,4 +1,4 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  import { IHubGroup } from "../../core/types/IHubGroup";
3
3
  import { IHubRequestOptions } from "../../hub-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
  import { IHubGroup } from "../../core/types/IHubGroup";
3
3
  /**
4
4
  * Convert a Hub Group to an IGroup
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  /**
3
3
  * @private
4
4
  * Given a title, construct a group title that is unique
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * @private
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * @private
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  /**
3
3
  * @private
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import { IAddGroupMembersResult } from "./types";
2
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
3
3
  /**
4
4
  * Add or invite N users to a single group.
5
5
  * If autoAdd is true (if the user doing the adding has the 'portal:admin:assignToGroups' priv)
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IAddGroupUsersResult } from "@esri/arcgis-rest-portal";
3
3
  import { IAuthenticationManager } from "@esri/arcgis-rest-request";
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
  import { IHubGroup } from "../core/types/IHubGroup";
3
3
  export declare const HUB_GROUP_TYPE = "Hub Group";
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
  /**
3
3
  * Delete a group's thumbnail
4
4
  * @param id
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { ICreateOrgNotificationResult } from "@esri/arcgis-rest-portal";
3
3
  import { IAuthenticationManager } from "@esri/arcgis-rest-request";
4
4
  import { IEmail } from "./types";
@@ -1,4 +1,4 @@
1
- import { IUser } from "@esri/arcgis-rest-auth";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  import { IInviteGroupUsersResult } from "@esri/arcgis-rest-portal";
3
3
  import { IAuthenticationManager } from "@esri/arcgis-rest-request";
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { IGroup } from "@esri/arcgis-rest-types";
1
+ import type { IGroup } from "@esri/arcgis-rest-portal";
2
2
  export declare const isOpenDataGroup: (group: IGroup) => boolean;
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  /**
3
3
  * Upload a file to be used as the thumbnail for a group
4
4
  * @param id
@@ -1,6 +1,7 @@
1
- import { IItem, IUser, IGroup, IPolygon, ISpatialReference, IGeometry } from "@esri/arcgis-rest-types";
1
+ import type { IItem, IUser, IGroup } from "@esri/arcgis-rest-portal";
2
+ import type { IPolygon, ISpatialReference, IGeometry } from "@esri/arcgis-rest-types";
2
3
  import { IPortal, ISearchResult } from "@esri/arcgis-rest-portal";
3
- import { UserSession } from "@esri/arcgis-rest-auth";
4
+ import type { UserSession } from "@esri/arcgis-rest-auth";
4
5
  import { IRequestOptions } from "@esri/arcgis-rest-request";
5
6
  /**
6
7
  * App keys for User Resources used in Hub
@@ -1,5 +1,5 @@
1
1
  import { IRequestOptions } from "@esri/arcgis-rest-request";
2
- import { IItem } from "@esri/arcgis-rest-types";
2
+ import type { IItem } from "@esri/arcgis-rest-portal";
3
3
  import { IHubEntityLinks } from "../../core";
4
4
  /**
5
5
  * Compute the links that get appended to a Hub Initiative Template
@@ -1,2 +1,2 @@
1
- import { IUser } from "@esri/arcgis-rest-types";
1
+ import type { IUser } from "@esri/arcgis-rest-portal";
2
2
  export declare const getRecommendedTemplatesCatalog: (user: IUser, i18nScope: string) => import("../../search").IHubCatalog[];
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IHubInitiativeTemplate } from "../core/types/IHubInitiativeTemplate";
3
3
  /**
4
4
  * @private
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IHubRequestOptions, IHubInitiativeEditor } from "../index";
3
3
  import { IQuery } from "../search/types/IHubCatalog";
4
4
  import { IItem } from "@esri/arcgis-rest-portal";
@@ -1,5 +1,5 @@
1
1
  import { IRequestOptions } from "@esri/arcgis-rest-request";
2
- import { IItem } from "@esri/arcgis-rest-types";
2
+ import type { IItem } from "@esri/arcgis-rest-portal";
3
3
  import { IHubEntityLinks } from "../../core";
4
4
  /**
5
5
  * Compute the links that get appended to a Hub Initiative
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IBatch } from "../../hub-types";
3
3
  /**
4
4
  * Takes a file, file owner, and file AGO item id along with a size limit
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  /**
3
3
  * Helper function which takes an itemId and checks the status
4
4
  * of the item every 2 seconds until it is either complete or failed.
@@ -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
  * Apply a hash of properties to an array of items.
4
4
  * Extracted to simplify testing.
@@ -1,6 +1,6 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { ICreateItemResponse } from "@esri/arcgis-rest-portal";
3
- import { IItemAdd } from "@esri/arcgis-rest-types";
3
+ import type { IItemAdd } from "@esri/arcgis-rest-portal";
4
4
  /**
5
5
  * Creates an item in online from a local file/item.
6
6
  * Upload is multithreaded as the item is chunked up.
@@ -1,6 +1,6 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { ICreateItemResponse, ISharingResponse } from "@esri/arcgis-rest-portal";
3
- import { IGroup, IItemAdd } from "@esri/arcgis-rest-types";
3
+ import type { IGroup, IItemAdd } from "@esri/arcgis-rest-portal";
4
4
  interface ICreateItemFromUrlOrFileOptions extends IUserRequestOptions {
5
5
  item: IItemAdd;
6
6
  groups?: IGroup[];
@@ -1,6 +1,6 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { ICreateItemResponse } from "@esri/arcgis-rest-portal";
3
- import { IItemAdd } from "@esri/arcgis-rest-types";
3
+ import type { IItemAdd } from "@esri/arcgis-rest-portal";
4
4
  /**
5
5
  * Create AGO item from a URL
6
6
  *
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  /**
3
3
  * Delete an item's thumbnail
4
4
  * @param id
@@ -1,5 +1,5 @@
1
1
  import { IModel } from "../hub-types";
2
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
3
3
  /**
4
4
  * Update a model's item, wrapped in a failSafe so this will not blow up if
5
5
  * the user lacks rights somehow. This should be used in places where there is
@@ -1,5 +1,5 @@
1
1
  import { IRequestOptions } from "@esri/arcgis-rest-request";
2
- import { IItem } from "@esri/arcgis-rest-types";
2
+ import type { IItem } from "@esri/arcgis-rest-portal";
3
3
  /**
4
4
  * Checks if a server's services directory is disabled. Consider hoisting this to RESTJS
5
5
  * @param idOrItem A feature service ID or 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 { IItemTemplate } from "../hub-types";
3
3
  export declare const itemPropsNotInTemplates: string[];
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
  /**
3
3
  * Upload a file to be used as the thumbnail for an item
4
4
  * @param id
@@ -1,5 +1,5 @@
1
1
  import { IRequestOptions } from "@esri/arcgis-rest-request";
2
- import { IItem } from "@esri/arcgis-rest-types";
2
+ import type { IItem } from "@esri/arcgis-rest-portal";
3
3
  /**
4
4
  * Create a slug, namespaced to an org and accounting for the 256 character limit
5
5
  * of individual typekeywords. Typically used to lookup items by a human readable name in urls
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  /**
3
3
  * Given an item, and owner, add a image resource to the item and returns its url
4
4
  * @param id
@@ -1,5 +1,5 @@
1
1
  export * from "./serializeModel";
2
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
3
3
  import { IItem } from "@esri/arcgis-rest-portal";
4
4
  import { IRequestOptions } from "@esri/arcgis-rest-request";
5
5
  import { IModel } from "../hub-types";
@@ -1,5 +1,5 @@
1
1
  import { IModel } from "../hub-types";
2
- import { IItem } from "@esri/arcgis-rest-types";
2
+ import type { IItem } from "@esri/arcgis-rest-portal";
3
3
  interface ISerializedModel extends IItem {
4
4
  text: string;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  export declare type OrgLimitType = "ScheduleTask" | "Collaboration" | "Community" | "Groups" | "Content";
3
3
  /**
4
4
  * Definiton of the org limits response.
@@ -3,7 +3,7 @@ import { IHubRequestOptions, IModel } from "../hub-types";
3
3
  import { IRequestOptions } from "@esri/arcgis-rest-request";
4
4
  import { IItem } from "@esri/arcgis-rest-portal";
5
5
  import { IHubPage } from "../core";
6
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
6
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
7
7
  import { IFetchItemOptions } from "../items/fetch";
8
8
  /**
9
9
  * @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 { IRequestOptions } from "@esri/arcgis-rest-request";
3
3
  import { IHubEntityLinks } from "../../core/types";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { IRequestOptions } from "@esri/arcgis-rest-request";
2
- import { IItem } from "@esri/arcgis-rest-types";
2
+ import type { IItem } from "@esri/arcgis-rest-portal";
3
3
  import { IHubEntityLinks } from "../../core";
4
4
  /**
5
5
  * Compute the links that get appended to a Hub Project
@@ -1,4 +1,4 @@
1
- import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
1
+ import type { IUserRequestOptions } from "@esri/arcgis-rest-auth";
2
2
  import { IPortal } from "@esri/arcgis-rest-portal";
3
3
  import { IHubProject, IHubProjectEditor } from "../core/types";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IExtent, IFeatureServiceDefinition, ILayerDefinition } from "@esri/arcgis-rest-types";
1
+ import type { IExtent, IFeatureServiceDefinition, ILayerDefinition } from "@esri/arcgis-rest-feature-layer";
2
2
  import { ItemType } from "../../hub-types";
3
3
  /**
4
4
  * Feature service / Doc Links Should not have data urls. Let"s exclude them from that.