@esri/hub-common 9.31.1 → 9.32.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 (60) hide show
  1. package/dist/es2017/content/get-family.js +3 -1
  2. package/dist/es2017/content/get-family.js.map +1 -1
  3. package/dist/es2017/core/types/index.js +1 -0
  4. package/dist/es2017/core/types/index.js.map +1 -1
  5. package/dist/es2017/core/types/types.js +1 -0
  6. package/dist/es2017/core/types/types.js.map +1 -0
  7. package/dist/es2017/search/types/IHubApiSearchRequest.js +1 -0
  8. package/dist/es2017/search/types/IHubApiSearchRequest.js.map +1 -0
  9. package/dist/es2017/search/types/IHubSearchOptions.js +1 -0
  10. package/dist/es2017/search/types/IHubSearchOptions.js.map +1 -0
  11. package/dist/es2017/search/types/IHubSearchResult.js +1 -0
  12. package/dist/es2017/search/types/IHubSearchResult.js.map +1 -0
  13. package/dist/es2017/search/types/index.js +3 -0
  14. package/dist/es2017/search/types/index.js.map +1 -1
  15. package/dist/esm/content/get-family.js +3 -1
  16. package/dist/esm/content/get-family.js.map +1 -1
  17. package/dist/esm/core/types/index.js +1 -0
  18. package/dist/esm/core/types/index.js.map +1 -1
  19. package/dist/esm/core/types/types.js +1 -0
  20. package/dist/esm/core/types/types.js.map +1 -0
  21. package/dist/esm/search/types/IHubApiSearchRequest.js +1 -0
  22. package/dist/esm/search/types/IHubApiSearchRequest.js.map +1 -0
  23. package/dist/esm/search/types/IHubSearchOptions.js +1 -0
  24. package/dist/esm/search/types/IHubSearchOptions.js.map +1 -0
  25. package/dist/esm/search/types/IHubSearchResult.js +1 -0
  26. package/dist/esm/search/types/IHubSearchResult.js.map +1 -0
  27. package/dist/esm/search/types/index.js +3 -0
  28. package/dist/esm/search/types/index.js.map +1 -1
  29. package/dist/node/content/get-family.js +3 -1
  30. package/dist/node/content/get-family.js.map +1 -1
  31. package/dist/node/core/types/index.js +1 -0
  32. package/dist/node/core/types/index.js.map +1 -1
  33. package/dist/node/core/types/types.js +3 -0
  34. package/dist/node/core/types/types.js.map +1 -0
  35. package/dist/node/search/types/IHubApiSearchRequest.js +3 -0
  36. package/dist/node/search/types/IHubApiSearchRequest.js.map +1 -0
  37. package/dist/node/search/types/IHubSearchOptions.js +3 -0
  38. package/dist/node/search/types/IHubSearchOptions.js.map +1 -0
  39. package/dist/node/search/types/IHubSearchResult.js +3 -0
  40. package/dist/node/search/types/IHubSearchResult.js.map +1 -0
  41. package/dist/node/search/types/index.js +3 -0
  42. package/dist/node/search/types/index.js.map +1 -1
  43. package/dist/types/content/_internal.d.ts +1 -0
  44. package/dist/types/content/get-family.d.ts +1 -1
  45. package/dist/types/core/types/IHubEntityBase.d.ts +15 -5
  46. package/dist/types/core/types/IHubEntityManager.d.ts +2 -1
  47. package/dist/types/core/types/IHubTimeline.d.ts +2 -4
  48. package/dist/types/core/types/index.d.ts +1 -0
  49. package/dist/types/core/types/types.d.ts +4 -0
  50. package/dist/types/search/types/IFacet.d.ts +46 -5
  51. package/dist/types/search/types/IFacetOption.d.ts +23 -1
  52. package/dist/types/search/types/IHubApiSearchRequest.d.ts +16 -0
  53. package/dist/types/search/types/IHubSearchOptions.d.ts +26 -0
  54. package/dist/types/search/types/IHubSearchResult.d.ts +60 -0
  55. package/dist/types/search/types/index.d.ts +3 -0
  56. package/dist/types/search/types/types.d.ts +20 -25
  57. package/dist/types/types.d.ts +1 -1
  58. package/dist/umd/common.umd.js +4 -2
  59. package/dist/umd/common.umd.js.map +1 -1
  60. package/package.json +1 -1
@@ -134,7 +134,7 @@ export declare type IRevertableTaskResult = IRevertableTaskSuccess | IRevertable
134
134
  * DEPRECATED: Use HubFamily instead
135
135
  */
136
136
  export declare type HubType = "member" | "team" | "event" | "dataset" | "document" | "map" | "app" | "site" | "initiative" | "template" | "organization";
137
- export declare type HubFamily = "people" | "team" | "event" | "dataset" | "document" | "feedback" | "map" | "app" | "site" | "initiative" | "template" | "content";
137
+ export declare type HubFamily = "app" | "content" | "dataset" | "document" | "event" | "feedback" | "initiative" | "map" | "people" | "site" | "team" | "template";
138
138
  /**
139
139
  * Visibility levels of a Hub resource
140
140
  */
@@ -1,5 +1,5 @@
1
1
  /* @preserve
2
- * @esri/hub-common - v9.31.0 - Thu May 12 2022 17:09:06 GMT+0000 (Coordinated Universal Time)
2
+ * @esri/hub-common - v9.31.3 - Tue May 17 2022 15:35:53 GMT+0000 (Coordinated Universal Time)
3
3
  * Copyright (c) 2022 Environmental Systems Research Institute, Inc.
4
4
  * Apache-2.0
5
5
  */
@@ -6547,7 +6547,9 @@
6547
6547
  var family;
6548
6548
  // override default behavior for the rows that are highlighted in yellow here:
6549
6549
  // 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
6550
- switch (type.toLowerCase()) {
6550
+ // DEPRECATED: we should make type a required parameter
6551
+ // and just do type.toLowerCase() at the next breaking change
6552
+ switch ((type || "").toLowerCase()) {
6551
6553
  case "image service":
6552
6554
  family = "dataset";
6553
6555
  break;