@esri/hub-common 15.46.0 → 16.0.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.
@@ -3,7 +3,7 @@ import { searchCategoriesToCollections } from "../searchCategoriesToCollections"
3
3
  /**
4
4
  * In-Memory migration that adds default collections to site models that have the
5
5
  * new catalog structure. These default collections will have the same names and
6
- * display order found in `site.data.values.searchCategories`
6
+ * display order as found in `site.data.values.searchCategories`
7
7
  *
8
8
  * This migration simplifies display logic, as consuming components no longer
9
9
  * have to merge `catalog.collections` with the default collection definitions.
@@ -13,8 +13,6 @@ import { searchCategoriesToCollections } from "../searchCategoriesToCollections"
13
13
  * change the default labels, display order, or mark a default as "hidden" so the
14
14
  * public can't see it.
15
15
  *
16
- * NOTE: The changes made in this migration will not be persisted to AGO at this time
17
- *
18
16
  * @param model site model to migrate
19
17
  * @returns a migrated model with default `IHubCollection` objects added
20
18
  * to the catalog
@@ -1 +1 @@
1
- {"version":3,"file":"applyDefaultCollectionMigration.js","sourceRoot":"","sources":["../../../../src/sites/_internal/applyDefaultCollectionMigration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,UAAU,+BAA+B,CAAC,KAAa;IAC3D,MAAM,gBAAgB,GAAG,cAAc,CACrC,KAAK,CAAC,IAAI,EACV,yBAAyB,EACzB,SAAS,CACV,CAAC;IACF,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW;QAC5B,6BAA6B,CAAC,gBAAgB,CAAC,CAAC;IAElD,OAAO,KAAK,CAAC;AACf,CAAC"}
1
+ {"version":3,"file":"applyDefaultCollectionMigration.js","sourceRoot":"","sources":["../../../../src/sites/_internal/applyDefaultCollectionMigration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,+BAA+B,CAAC,KAAa;IAC3D,MAAM,gBAAgB,GAAG,cAAc,CACrC,KAAK,CAAC,IAAI,EACV,yBAAyB,EACzB,SAAS,CACV,CAAC;IACF,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW;QAC5B,6BAA6B,CAAC,gBAAgB,CAAC,CAAC;IAElD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -6,7 +6,7 @@ const searchCategoriesToCollections_1 = require("../searchCategoriesToCollection
6
6
  /**
7
7
  * In-Memory migration that adds default collections to site models that have the
8
8
  * new catalog structure. These default collections will have the same names and
9
- * display order found in `site.data.values.searchCategories`
9
+ * display order as found in `site.data.values.searchCategories`
10
10
  *
11
11
  * This migration simplifies display logic, as consuming components no longer
12
12
  * have to merge `catalog.collections` with the default collection definitions.
@@ -16,8 +16,6 @@ const searchCategoriesToCollections_1 = require("../searchCategoriesToCollection
16
16
  * change the default labels, display order, or mark a default as "hidden" so the
17
17
  * public can't see it.
18
18
  *
19
- * NOTE: The changes made in this migration will not be persisted to AGO at this time
20
- *
21
19
  * @param model site model to migrate
22
20
  * @returns a migrated model with default `IHubCollection` objects added
23
21
  * to the catalog
@@ -1 +1 @@
1
- {"version":3,"file":"applyDefaultCollectionMigration.js","sourceRoot":"","sources":["../../../../src/sites/_internal/applyDefaultCollectionMigration.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,oFAAiF;AAEjF;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IAC3D,MAAM,gBAAgB,GAAG,wBAAc,CACrC,KAAK,CAAC,IAAI,EACV,yBAAyB,EACzB,SAAS,CACV,CAAC;IACF,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW;QAC5B,6DAA6B,CAAC,gBAAgB,CAAC,CAAC;IAElD,OAAO,KAAK,CAAC;AACf,CAAC;AAVD,0EAUC"}
1
+ {"version":3,"file":"applyDefaultCollectionMigration.js","sourceRoot":"","sources":["../../../../src/sites/_internal/applyDefaultCollectionMigration.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,oFAAiF;AAEjF;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IAC3D,MAAM,gBAAgB,GAAG,wBAAc,CACrC,KAAK,CAAC,IAAI,EACV,yBAAyB,EACzB,SAAS,CACV,CAAC;IACF,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW;QAC5B,6DAA6B,CAAC,gBAAgB,CAAC,CAAC;IAElD,OAAO,KAAK,CAAC;AACf,CAAC;AAVD,0EAUC"}
@@ -2,7 +2,7 @@ import { IModel } from "../../hub-types";
2
2
  /**
3
3
  * In-Memory migration that adds default collections to site models that have the
4
4
  * new catalog structure. These default collections will have the same names and
5
- * display order found in `site.data.values.searchCategories`
5
+ * display order as found in `site.data.values.searchCategories`
6
6
  *
7
7
  * This migration simplifies display logic, as consuming components no longer
8
8
  * have to merge `catalog.collections` with the default collection definitions.
@@ -12,8 +12,6 @@ import { IModel } from "../../hub-types";
12
12
  * change the default labels, display order, or mark a default as "hidden" so the
13
13
  * public can't see it.
14
14
  *
15
- * NOTE: The changes made in this migration will not be persisted to AGO at this time
16
- *
17
15
  * @param model site model to migrate
18
16
  * @returns a migrated model with default `IHubCollection` objects added
19
17
  * to the catalog
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/hub-common",
3
- "version": "15.46.0",
3
+ "version": "16.0.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",