@esri/hub-common 14.12.1 → 14.13.1
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/esm/content/_internal/ContentSchema.js +8 -1
- package/dist/esm/content/_internal/ContentSchema.js.map +1 -1
- package/dist/esm/content/_internal/ContentUiSchemaEdit.js.map +1 -1
- package/dist/esm/content/_internal/ContentUiSchemaSettings.js +59 -0
- package/dist/esm/content/_internal/ContentUiSchemaSettings.js.map +1 -0
- package/dist/esm/content/_internal/computeProps.js +5 -1
- package/dist/esm/content/_internal/computeProps.js.map +1 -1
- package/dist/esm/content/_internal/getPropertyMap.js +4 -0
- package/dist/esm/content/_internal/getPropertyMap.js.map +1 -1
- package/dist/esm/content/edit.js +25 -26
- package/dist/esm/content/edit.js.map +1 -1
- package/dist/esm/content/fetch.js +24 -14
- package/dist/esm/content/fetch.js.map +1 -1
- package/dist/esm/content/hostedServiceUtils.js +91 -0
- package/dist/esm/content/hostedServiceUtils.js.map +1 -0
- package/dist/esm/content/index.js +1 -0
- package/dist/esm/content/index.js.map +1 -1
- package/dist/esm/core/schemas/internal/getEntityEditorSchemas.js +1 -0
- package/dist/esm/core/schemas/internal/getEntityEditorSchemas.js.map +1 -1
- package/dist/esm/items/_enrichments.js.map +1 -1
- package/dist/node/content/_internal/ContentSchema.js +8 -1
- package/dist/node/content/_internal/ContentSchema.js.map +1 -1
- package/dist/node/content/_internal/ContentUiSchemaEdit.js.map +1 -1
- package/dist/node/content/_internal/ContentUiSchemaSettings.js +62 -0
- package/dist/node/content/_internal/ContentUiSchemaSettings.js.map +1 -0
- package/dist/node/content/_internal/computeProps.js +5 -1
- package/dist/node/content/_internal/computeProps.js.map +1 -1
- package/dist/node/content/_internal/getPropertyMap.js +4 -0
- package/dist/node/content/_internal/getPropertyMap.js.map +1 -1
- package/dist/node/content/edit.js +25 -26
- package/dist/node/content/edit.js.map +1 -1
- package/dist/node/content/fetch.js +24 -13
- package/dist/node/content/fetch.js.map +1 -1
- package/dist/node/content/hostedServiceUtils.js +98 -0
- package/dist/node/content/hostedServiceUtils.js.map +1 -0
- package/dist/node/content/index.js +1 -0
- package/dist/node/content/index.js.map +1 -1
- package/dist/node/core/schemas/internal/getEntityEditorSchemas.js +1 -0
- package/dist/node/core/schemas/internal/getEntityEditorSchemas.js.map +1 -1
- package/dist/node/items/_enrichments.js.map +1 -1
- package/dist/types/content/_internal/ContentSchema.d.ts +1 -1
- package/dist/types/content/_internal/ContentUiSchemaEdit.d.ts +3 -3
- package/dist/types/content/_internal/ContentUiSchemaSettings.d.ts +10 -0
- package/dist/types/content/_internal/computeProps.d.ts +2 -1
- package/dist/types/content/fetch.d.ts +9 -2
- package/dist/types/content/hostedServiceUtils.d.ts +35 -0
- package/dist/types/content/index.d.ts +1 -0
- package/dist/types/core/schemas/types.d.ts +1 -1
- package/dist/types/core/types/IHubEditableContent.d.ts +13 -0
- package/dist/types/items/_enrichments.d.ts +1 -0
- package/package.json +2 -1
|
@@ -9,6 +9,19 @@ export interface IHubEditableContent extends IHubItemEntity, IWithSlug, IWithPer
|
|
|
9
9
|
* perhaps using Pick from IHubContent
|
|
10
10
|
*/
|
|
11
11
|
licenseInfo: string;
|
|
12
|
+
/**
|
|
13
|
+
* If the item represents a service, shows whether the service has the "Extract"
|
|
14
|
+
* capability enabled. This is a pre-requisite for Hosted Downloads to work.
|
|
15
|
+
*/
|
|
16
|
+
serverExtractCapability?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether an item has opted into the hosted downloads experience
|
|
19
|
+
*
|
|
20
|
+
* NOTE: even if an item has opted into the hosted downloads experience, only items
|
|
21
|
+
* that meet specific criteria will actually see the hosted experience on the live view
|
|
22
|
+
* (i.e., the item is a Hosted Feature Service with the Extract capability enabled).
|
|
23
|
+
*/
|
|
24
|
+
hostedDownloads?: boolean;
|
|
12
25
|
}
|
|
13
26
|
export declare type IHubContentEditor = Omit<IHubEditableContent, "extent"> & {
|
|
14
27
|
/**
|
|
@@ -13,6 +13,7 @@ export interface IItemAndEnrichments extends IItemEnrichments, IServerEnrichment
|
|
|
13
13
|
* or from the server that the item points to
|
|
14
14
|
*/
|
|
15
15
|
export declare type ItemOrServerEnrichment = keyof IItemEnrichments | keyof IServerEnrichments;
|
|
16
|
+
export declare type IItemAndIServerEnrichments = IItemEnrichments & IServerEnrichments;
|
|
16
17
|
/**
|
|
17
18
|
* convert an error to an enrichment error info format
|
|
18
19
|
* and optionally append it to an existing array of those
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/hub-common",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.13.1",
|
|
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",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"@esri/arcgis-rest-feature-layer": "^3.2.0",
|
|
26
26
|
"@esri/arcgis-rest-portal": "^2.18.0 || 3",
|
|
27
27
|
"@esri/arcgis-rest-request": "^2.14.0 || 3",
|
|
28
|
+
"@esri/arcgis-rest-service-admin": "^3.6.0",
|
|
28
29
|
"@esri/arcgis-rest-types": "^2.15.0 || 3"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|