@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.
- package/dist/es2017/content/get-family.js +3 -1
- package/dist/es2017/content/get-family.js.map +1 -1
- package/dist/es2017/core/types/index.js +1 -0
- package/dist/es2017/core/types/index.js.map +1 -1
- package/dist/es2017/core/types/types.js +1 -0
- package/dist/es2017/core/types/types.js.map +1 -0
- package/dist/es2017/search/types/IHubApiSearchRequest.js +1 -0
- package/dist/es2017/search/types/IHubApiSearchRequest.js.map +1 -0
- package/dist/es2017/search/types/IHubSearchOptions.js +1 -0
- package/dist/es2017/search/types/IHubSearchOptions.js.map +1 -0
- package/dist/es2017/search/types/IHubSearchResult.js +1 -0
- package/dist/es2017/search/types/IHubSearchResult.js.map +1 -0
- package/dist/es2017/search/types/index.js +3 -0
- package/dist/es2017/search/types/index.js.map +1 -1
- package/dist/esm/content/get-family.js +3 -1
- package/dist/esm/content/get-family.js.map +1 -1
- package/dist/esm/core/types/index.js +1 -0
- package/dist/esm/core/types/index.js.map +1 -1
- package/dist/esm/core/types/types.js +1 -0
- package/dist/esm/core/types/types.js.map +1 -0
- package/dist/esm/search/types/IHubApiSearchRequest.js +1 -0
- package/dist/esm/search/types/IHubApiSearchRequest.js.map +1 -0
- package/dist/esm/search/types/IHubSearchOptions.js +1 -0
- package/dist/esm/search/types/IHubSearchOptions.js.map +1 -0
- package/dist/esm/search/types/IHubSearchResult.js +1 -0
- package/dist/esm/search/types/IHubSearchResult.js.map +1 -0
- package/dist/esm/search/types/index.js +3 -0
- package/dist/esm/search/types/index.js.map +1 -1
- package/dist/node/content/get-family.js +3 -1
- package/dist/node/content/get-family.js.map +1 -1
- package/dist/node/core/types/index.js +1 -0
- package/dist/node/core/types/index.js.map +1 -1
- package/dist/node/core/types/types.js +3 -0
- package/dist/node/core/types/types.js.map +1 -0
- package/dist/node/search/types/IHubApiSearchRequest.js +3 -0
- package/dist/node/search/types/IHubApiSearchRequest.js.map +1 -0
- package/dist/node/search/types/IHubSearchOptions.js +3 -0
- package/dist/node/search/types/IHubSearchOptions.js.map +1 -0
- package/dist/node/search/types/IHubSearchResult.js +3 -0
- package/dist/node/search/types/IHubSearchResult.js.map +1 -0
- package/dist/node/search/types/index.js +3 -0
- package/dist/node/search/types/index.js.map +1 -1
- package/dist/types/content/_internal.d.ts +1 -0
- package/dist/types/content/get-family.d.ts +1 -1
- package/dist/types/core/types/IHubEntityBase.d.ts +15 -5
- package/dist/types/core/types/IHubEntityManager.d.ts +2 -1
- package/dist/types/core/types/IHubTimeline.d.ts +2 -4
- package/dist/types/core/types/index.d.ts +1 -0
- package/dist/types/core/types/types.d.ts +4 -0
- package/dist/types/search/types/IFacet.d.ts +46 -5
- package/dist/types/search/types/IFacetOption.d.ts +23 -1
- package/dist/types/search/types/IHubApiSearchRequest.d.ts +16 -0
- package/dist/types/search/types/IHubSearchOptions.d.ts +26 -0
- package/dist/types/search/types/IHubSearchResult.d.ts +60 -0
- package/dist/types/search/types/index.d.ts +3 -0
- package/dist/types/search/types/types.d.ts +20 -25
- package/dist/types/types.d.ts +1 -1
- package/dist/umd/common.umd.js +4 -2
- package/dist/umd/common.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -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 = "
|
|
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
|
*/
|
package/dist/umd/common.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* @preserve
|
|
2
|
-
* @esri/hub-common - v9.31.
|
|
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
|
-
|
|
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;
|