@esri/hub-common 12.19.0 → 12.21.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/esm/content/_internal/{index.js → internalContentUtils.js} +1 -1
- package/dist/esm/content/_internal/internalContentUtils.js.map +1 -0
- package/dist/esm/content/compose.js +1 -1
- package/dist/esm/content/compose.js.map +1 -1
- package/dist/esm/content/contentUtils.js +328 -0
- package/dist/esm/content/contentUtils.js.map +1 -0
- package/dist/esm/content/fetch.js +1 -1
- package/dist/esm/content/fetch.js.map +1 -1
- package/dist/esm/content/index.js +7 -331
- package/dist/esm/content/index.js.map +1 -1
- package/dist/esm/content/search.js +1 -1
- package/dist/esm/content/search.js.map +1 -1
- package/dist/esm/core/types/DynamicValues.js +1 -0
- package/dist/esm/core/types/DynamicValues.js.map +1 -0
- package/dist/esm/core/types/index.js +1 -0
- package/dist/esm/core/types/index.js.map +1 -1
- package/dist/esm/initiatives/HubInitiatives.js +1 -1
- package/dist/esm/initiatives/HubInitiatives.js.map +1 -1
- package/dist/esm/items/_enrichments.js +1 -1
- package/dist/esm/items/_enrichments.js.map +1 -1
- package/dist/esm/pages/HubPages.js +2 -2
- package/dist/esm/pages/HubPages.js.map +1 -1
- package/dist/esm/projects/fetch.js +1 -1
- package/dist/esm/projects/fetch.js.map +1 -1
- package/dist/esm/search/_internal/combineQueries.js +25 -0
- package/dist/esm/search/_internal/combineQueries.js.map +1 -0
- package/dist/esm/search/_internal/portalSearchItems.js +2 -2
- package/dist/esm/search/_internal/portalSearchItems.js.map +1 -1
- package/dist/esm/search/wellKnownCatalog.js +1 -1
- package/dist/esm/search/wellKnownCatalog.js.map +1 -1
- package/dist/esm/sites/HubSites.js +1 -1
- package/dist/esm/sites/HubSites.js.map +1 -1
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/internal/aggregateValues.js +35 -0
- package/dist/esm/utils/internal/aggregateValues.js.map +1 -0
- package/dist/esm/utils/internal/resolveDynamicValue.js +34 -0
- package/dist/esm/utils/internal/resolveDynamicValue.js.map +1 -0
- package/dist/esm/utils/internal/resolveDynamicValues.js +19 -0
- package/dist/esm/utils/internal/resolveDynamicValues.js.map +1 -0
- package/dist/esm/utils/internal/resolveItemQueryValues.js +73 -0
- package/dist/esm/utils/internal/resolveItemQueryValues.js.map +1 -0
- package/dist/esm/utils/internal/resolvePortalValues.js +24 -0
- package/dist/esm/utils/internal/resolvePortalValues.js.map +1 -0
- package/dist/esm/utils/internal/resolveServiceQueryValues.js +38 -0
- package/dist/esm/utils/internal/resolveServiceQueryValues.js.map +1 -0
- package/dist/esm/utils/memoize.js +38 -0
- package/dist/esm/utils/memoize.js.map +1 -0
- package/dist/esm/versioning/_internal/constants.js +1 -0
- package/dist/esm/versioning/_internal/constants.js.map +1 -1
- package/dist/esm/versioning/_internal/getIncludeListFromItemType.js +1 -1
- package/dist/esm/versioning/_internal/getIncludeListFromItemType.js.map +1 -1
- package/dist/esm/versioning/createVersion.js +2 -0
- package/dist/esm/versioning/createVersion.js.map +1 -1
- package/dist/node/content/_internal/{index.js → internalContentUtils.js} +1 -1
- package/dist/node/content/_internal/internalContentUtils.js.map +1 -0
- package/dist/node/content/compose.js +17 -17
- package/dist/node/content/compose.js.map +1 -1
- package/dist/node/content/contentUtils.js +338 -0
- package/dist/node/content/contentUtils.js.map +1 -0
- package/dist/node/content/fetch.js +2 -2
- package/dist/node/content/fetch.js.map +1 -1
- package/dist/node/content/index.js +7 -339
- package/dist/node/content/index.js.map +1 -1
- package/dist/node/content/search.js +2 -2
- package/dist/node/content/search.js.map +1 -1
- package/dist/node/core/types/DynamicValues.js +3 -0
- package/dist/node/core/types/DynamicValues.js.map +1 -0
- package/dist/node/core/types/index.js +1 -0
- package/dist/node/core/types/index.js.map +1 -1
- package/dist/node/initiatives/HubInitiatives.js +2 -2
- package/dist/node/initiatives/HubInitiatives.js.map +1 -1
- package/dist/node/items/_enrichments.js +2 -2
- package/dist/node/items/_enrichments.js.map +1 -1
- package/dist/node/pages/HubPages.js +4 -4
- package/dist/node/pages/HubPages.js.map +1 -1
- package/dist/node/projects/fetch.js +2 -2
- package/dist/node/projects/fetch.js.map +1 -1
- package/dist/node/search/_internal/combineQueries.js +28 -0
- package/dist/node/search/_internal/combineQueries.js.map +1 -0
- package/dist/node/search/_internal/portalSearchItems.js +3 -3
- package/dist/node/search/_internal/portalSearchItems.js.map +1 -1
- package/dist/node/search/wellKnownCatalog.js +7 -7
- package/dist/node/search/wellKnownCatalog.js.map +1 -1
- package/dist/node/sites/HubSites.js +2 -2
- package/dist/node/sites/HubSites.js.map +1 -1
- package/dist/node/utils/index.js +1 -0
- package/dist/node/utils/index.js.map +1 -1
- package/dist/node/utils/internal/aggregateValues.js +39 -0
- package/dist/node/utils/internal/aggregateValues.js.map +1 -0
- package/dist/node/utils/internal/resolveDynamicValue.js +38 -0
- package/dist/node/utils/internal/resolveDynamicValue.js.map +1 -0
- package/dist/node/utils/internal/resolveDynamicValues.js +22 -0
- package/dist/node/utils/internal/resolveDynamicValues.js.map +1 -0
- package/dist/node/utils/internal/resolveItemQueryValues.js +77 -0
- package/dist/node/utils/internal/resolveItemQueryValues.js.map +1 -0
- package/dist/node/utils/internal/resolvePortalValues.js +28 -0
- package/dist/node/utils/internal/resolvePortalValues.js.map +1 -0
- package/dist/node/utils/internal/resolveServiceQueryValues.js +41 -0
- package/dist/node/utils/internal/resolveServiceQueryValues.js.map +1 -0
- package/dist/node/utils/memoize.js +41 -0
- package/dist/node/utils/memoize.js.map +1 -0
- package/dist/node/versioning/_internal/constants.js +1 -0
- package/dist/node/versioning/_internal/constants.js.map +1 -1
- package/dist/node/versioning/_internal/getIncludeListFromItemType.js +2 -2
- package/dist/node/versioning/_internal/getIncludeListFromItemType.js.map +1 -1
- package/dist/node/versioning/createVersion.js +2 -0
- package/dist/node/versioning/createVersion.js.map +1 -1
- package/dist/types/content/contentUtils.d.ts +103 -0
- package/dist/types/content/index.d.ts +7 -106
- package/dist/types/core/types/DynamicValues.d.ts +140 -0
- package/dist/types/core/types/index.d.ts +1 -0
- package/dist/types/search/_internal/combineQueries.d.ts +12 -0
- package/dist/types/search/_internal/portalSearchItems.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/internal/aggregateValues.d.ts +9 -0
- package/dist/types/utils/internal/resolveDynamicValue.d.ts +10 -0
- package/dist/types/utils/internal/resolveDynamicValues.d.ts +11 -0
- package/dist/types/utils/internal/resolveItemQueryValues.d.ts +12 -0
- package/dist/types/utils/internal/resolvePortalValues.d.ts +11 -0
- package/dist/types/utils/internal/resolveServiceQueryValues.d.ts +10 -0
- package/dist/types/utils/memoize.d.ts +13 -0
- package/dist/types/versioning/types/ICreateVersionOptions.d.ts +4 -0
- package/dist/types/versioning/types/IVersionMetadata.d.ts +4 -0
- package/package.json +1 -1
- package/dist/esm/content/_internal/index.js.map +0 -1
- package/dist/node/content/_internal/index.js.map +0 -1
- /package/dist/types/content/_internal/{index.d.ts → internalContentUtils.d.ts} +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { IItem } from "@esri/arcgis-rest-portal";
|
|
2
|
+
import { IModel } from "../types";
|
|
3
|
+
import { IHubContent } from "../core";
|
|
4
|
+
import { DatasetResource } from "./types";
|
|
5
|
+
/**
|
|
6
|
+
* ```js
|
|
7
|
+
* import { getCategory } from "@esri/hub-common";
|
|
8
|
+
* //
|
|
9
|
+
* getCategory('Feature Layer')
|
|
10
|
+
* > 'dataset'
|
|
11
|
+
* ```
|
|
12
|
+
* **DEPRECATED: Use getFamily() instead**
|
|
13
|
+
* returns the Hub category for a given item type
|
|
14
|
+
* @param itemType The ArcGIS [item type](https://developers.arcgis.com/rest/users-groups-and-items/items-and-item-types.htm).
|
|
15
|
+
* @returns the category of a given item type.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getCategory(itemType?: string): string;
|
|
18
|
+
/**
|
|
19
|
+
* ```js
|
|
20
|
+
* import { getTypes } from "@esri/hub-common";
|
|
21
|
+
* //
|
|
22
|
+
* getTypes('site')
|
|
23
|
+
* > [ 'hub site application' ]
|
|
24
|
+
* ```
|
|
25
|
+
* To do.
|
|
26
|
+
* @param category The ArcGIS Hub category.
|
|
27
|
+
* @returns all the item types for the given category.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare function getTypes(category?: string): string[];
|
|
31
|
+
/**
|
|
32
|
+
* ```js
|
|
33
|
+
* import { getTypeCategories } from "@esri/hub-common";
|
|
34
|
+
* //
|
|
35
|
+
* getTypeCategories(item)
|
|
36
|
+
* > [ 'Hub Site Application' ]
|
|
37
|
+
* ```
|
|
38
|
+
* **DEPRECATED: getTypeCategories will be removed at the next breaking version**
|
|
39
|
+
* @param item Item object.
|
|
40
|
+
* @returns typeCategory of the input item.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export declare function getTypeCategories(item?: any): string[];
|
|
44
|
+
/**
|
|
45
|
+
* ```js
|
|
46
|
+
* import { getContentIdentifier } from "@esri/hub-common";
|
|
47
|
+
* //
|
|
48
|
+
* getContentIdentifier(content, site)
|
|
49
|
+
* > 'f12hhjk32' // id
|
|
50
|
+
* // OR
|
|
51
|
+
* > 'content-slug' // human-readable slug
|
|
52
|
+
* ```
|
|
53
|
+
* Returns the preferred identifier for a piece of content (determined by content type):
|
|
54
|
+
* - Content from the 'template' and 'feedback' families return the standard id field
|
|
55
|
+
* - Pages that are linked to the site parameter will return the slug defined by the site. Otherwise, the page id will be returned
|
|
56
|
+
* - All other content will return the highest available item in the following hierarchy:
|
|
57
|
+
* 1. slug - includes org prefix if the site parameter is a portal or has an orgKey different from the slug prefix
|
|
58
|
+
* 2. hubId
|
|
59
|
+
* 3. id
|
|
60
|
+
* @param content The IHubContent item
|
|
61
|
+
* @param site The site to compare content against
|
|
62
|
+
* @returns the preferred id for the given content.
|
|
63
|
+
*/
|
|
64
|
+
export declare function getContentIdentifier(content: IHubContent, site?: IModel): string;
|
|
65
|
+
/**
|
|
66
|
+
* Convert a Portal item to Hub content
|
|
67
|
+
*
|
|
68
|
+
* @param item Portal Item
|
|
69
|
+
* @returns Hub content
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare function itemToContent(item: IItem): IHubContent;
|
|
73
|
+
/**
|
|
74
|
+
* Convert a Hub API dataset resource to Hub Content
|
|
75
|
+
*
|
|
76
|
+
* @param {DatasetResource} Dataset resource
|
|
77
|
+
* @returns {IHubContent} Hub content object
|
|
78
|
+
* @export
|
|
79
|
+
*/
|
|
80
|
+
export declare function datasetToContent(dataset: DatasetResource): IHubContent;
|
|
81
|
+
/**
|
|
82
|
+
* Convert a Hub API dataset resource to a portal item
|
|
83
|
+
*
|
|
84
|
+
* @param {DatasetResource} Dataset resource
|
|
85
|
+
* @returns {IItem} portal item
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare function datasetToItem(dataset: DatasetResource): IItem;
|
|
89
|
+
/**
|
|
90
|
+
* returns a new content that has the specified type and
|
|
91
|
+
* and updated related properties like, family, etc
|
|
92
|
+
* @param content orignal content
|
|
93
|
+
* @param type new type
|
|
94
|
+
* @returns new content
|
|
95
|
+
*/
|
|
96
|
+
export declare const setContentType: (content: IHubContent, type: string) => IHubContent;
|
|
97
|
+
/**
|
|
98
|
+
* Compute the content type label
|
|
99
|
+
* @param contentType
|
|
100
|
+
* @param isProxied
|
|
101
|
+
* @returns content type label
|
|
102
|
+
*/
|
|
103
|
+
export declare const getContentTypeLabel: (contentType: string, isProxied: boolean) => string;
|
|
@@ -1,110 +1,11 @@
|
|
|
1
|
-
import { IItem } from "@esri/arcgis-rest-portal";
|
|
2
|
-
import { IModel } from "../types";
|
|
3
|
-
import { IHubContent } from "../core";
|
|
4
|
-
import { DatasetResource } from "./types";
|
|
5
1
|
export * from "./compose";
|
|
6
2
|
export * from "./get-family";
|
|
7
|
-
export * from "./
|
|
3
|
+
export * from "./compose";
|
|
4
|
+
export * from "./contentUtils";
|
|
5
|
+
export * from "./edit";
|
|
8
6
|
export * from "./fetch";
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./search";
|
|
7
|
+
export * from "./get-family";
|
|
11
8
|
export * from "./HubContent";
|
|
12
|
-
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* //
|
|
16
|
-
* getCategory('Feature Layer')
|
|
17
|
-
* > 'dataset'
|
|
18
|
-
* ```
|
|
19
|
-
* **DEPRECATED: Use getFamily() instead**
|
|
20
|
-
* returns the Hub category for a given item type
|
|
21
|
-
* @param itemType The ArcGIS [item type](https://developers.arcgis.com/rest/users-groups-and-items/items-and-item-types.htm).
|
|
22
|
-
* @returns the category of a given item type.
|
|
23
|
-
*/
|
|
24
|
-
export declare function getCategory(itemType?: string): string;
|
|
25
|
-
/**
|
|
26
|
-
* ```js
|
|
27
|
-
* import { getTypes } from "@esri/hub-common";
|
|
28
|
-
* //
|
|
29
|
-
* getTypes('site')
|
|
30
|
-
* > [ 'hub site application' ]
|
|
31
|
-
* ```
|
|
32
|
-
* To do.
|
|
33
|
-
* @param category The ArcGIS Hub category.
|
|
34
|
-
* @returns all the item types for the given category.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export declare function getTypes(category?: string): string[];
|
|
38
|
-
/**
|
|
39
|
-
* ```js
|
|
40
|
-
* import { getTypeCategories } from "@esri/hub-common";
|
|
41
|
-
* //
|
|
42
|
-
* getTypeCategories(item)
|
|
43
|
-
* > [ 'Hub Site Application' ]
|
|
44
|
-
* ```
|
|
45
|
-
* **DEPRECATED: getTypeCategories will be removed at the next breaking version**
|
|
46
|
-
* @param item Item object.
|
|
47
|
-
* @returns typeCategory of the input item.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export declare function getTypeCategories(item?: any): string[];
|
|
51
|
-
/**
|
|
52
|
-
* ```js
|
|
53
|
-
* import { getContentIdentifier } from "@esri/hub-common";
|
|
54
|
-
* //
|
|
55
|
-
* getContentIdentifier(content, site)
|
|
56
|
-
* > 'f12hhjk32' // id
|
|
57
|
-
* // OR
|
|
58
|
-
* > 'content-slug' // human-readable slug
|
|
59
|
-
* ```
|
|
60
|
-
* Returns the preferred identifier for a piece of content (determined by content type):
|
|
61
|
-
* - Content from the 'template' and 'feedback' families return the standard id field
|
|
62
|
-
* - Pages that are linked to the site parameter will return the slug defined by the site. Otherwise, the page id will be returned
|
|
63
|
-
* - All other content will return the highest available item in the following hierarchy:
|
|
64
|
-
* 1. slug - includes org prefix if the site parameter is a portal or has an orgKey different from the slug prefix
|
|
65
|
-
* 2. hubId
|
|
66
|
-
* 3. id
|
|
67
|
-
* @param content The IHubContent item
|
|
68
|
-
* @param site The site to compare content against
|
|
69
|
-
* @returns the preferred id for the given content.
|
|
70
|
-
*/
|
|
71
|
-
export declare function getContentIdentifier(content: IHubContent, site?: IModel): string;
|
|
72
|
-
/**
|
|
73
|
-
* Convert a Portal item to Hub content
|
|
74
|
-
*
|
|
75
|
-
* @param item Portal Item
|
|
76
|
-
* @returns Hub content
|
|
77
|
-
* @export
|
|
78
|
-
*/
|
|
79
|
-
export declare function itemToContent(item: IItem): IHubContent;
|
|
80
|
-
/**
|
|
81
|
-
* Convert a Hub API dataset resource to Hub Content
|
|
82
|
-
*
|
|
83
|
-
* @param {DatasetResource} Dataset resource
|
|
84
|
-
* @returns {IHubContent} Hub content object
|
|
85
|
-
* @export
|
|
86
|
-
*/
|
|
87
|
-
export declare function datasetToContent(dataset: DatasetResource): IHubContent;
|
|
88
|
-
/**
|
|
89
|
-
* Convert a Hub API dataset resource to a portal item
|
|
90
|
-
*
|
|
91
|
-
* @param {DatasetResource} Dataset resource
|
|
92
|
-
* @returns {IItem} portal item
|
|
93
|
-
* @export
|
|
94
|
-
*/
|
|
95
|
-
export declare function datasetToItem(dataset: DatasetResource): IItem;
|
|
96
|
-
/**
|
|
97
|
-
* returns a new content that has the specified type and
|
|
98
|
-
* and updated related properties like, family, etc
|
|
99
|
-
* @param content orignal content
|
|
100
|
-
* @param type new type
|
|
101
|
-
* @returns new content
|
|
102
|
-
*/
|
|
103
|
-
export declare const setContentType: (content: IHubContent, type: string) => IHubContent;
|
|
104
|
-
/**
|
|
105
|
-
* Compute the content type label
|
|
106
|
-
* @param contentType
|
|
107
|
-
* @param isProxied
|
|
108
|
-
* @returns content type label
|
|
109
|
-
*/
|
|
110
|
-
export declare const getContentTypeLabel: (contentType: string, isProxied: boolean) => string;
|
|
9
|
+
export * from "./search";
|
|
10
|
+
export * from "./slugs";
|
|
11
|
+
export * from "./types";
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { IQuery } from "../../search/types/IHubCatalog";
|
|
2
|
+
import { IConfigurationSchema } from "../schemas";
|
|
3
|
+
/**
|
|
4
|
+
* The source for a dynamic value. Used to determine how to resolve the value
|
|
5
|
+
*/
|
|
6
|
+
export declare type DynamicValueType = "static-value" | "item-query" | "service-query" | "portal";
|
|
7
|
+
/**
|
|
8
|
+
* Options used to defined a feature service query
|
|
9
|
+
*/
|
|
10
|
+
export interface IServiceQueryOptions {
|
|
11
|
+
/**
|
|
12
|
+
* The url of the feature service, including the layer
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* Field on which to run an aggregation
|
|
17
|
+
*/
|
|
18
|
+
field: string;
|
|
19
|
+
/**
|
|
20
|
+
* The type of server-side aggregation to run
|
|
21
|
+
*/
|
|
22
|
+
statisticType: ServiceAggregation;
|
|
23
|
+
/**
|
|
24
|
+
* Where clause to apply to the query. Defaults to "1=1" if not provided
|
|
25
|
+
*/
|
|
26
|
+
where?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Aggregations that can be done on a service
|
|
30
|
+
*/
|
|
31
|
+
export declare type ServiceAggregation = "count" | "sum" | "min" | "max" | "avg";
|
|
32
|
+
/**
|
|
33
|
+
* Aggregations that can be applied to a set of dynamic values
|
|
34
|
+
*/
|
|
35
|
+
export declare type DynamicAggregation = ServiceAggregation | "countByValue";
|
|
36
|
+
/**
|
|
37
|
+
* Properties shared by all DynamicValueDefinitions
|
|
38
|
+
*/
|
|
39
|
+
interface IBaseValueDefinition {
|
|
40
|
+
type: DynamicValueType;
|
|
41
|
+
/**
|
|
42
|
+
* The property path used to connect the resolved value to the parent object
|
|
43
|
+
*/
|
|
44
|
+
outPath: string;
|
|
45
|
+
/**
|
|
46
|
+
* JSON schema used to validate the value. If not provided, the value will not be validated
|
|
47
|
+
* NOTE: This may be swapped for a smaller set of props that would be used to generate the schema
|
|
48
|
+
*/
|
|
49
|
+
schema?: Partial<IConfigurationSchema>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Definition for a static value that is not resolved via a query.
|
|
53
|
+
* Enables workflows where the dynamic value source is not yet configured, or the value is known ahead of time
|
|
54
|
+
*/
|
|
55
|
+
export interface IStaticValueDefinition extends IBaseValueDefinition {
|
|
56
|
+
type: "static-value";
|
|
57
|
+
/**
|
|
58
|
+
* Enables a static value to be provided vs forcing a dynamic value
|
|
59
|
+
*/
|
|
60
|
+
value: string | number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Definition for a dynamic value that is resolved from the portal/self
|
|
64
|
+
*/
|
|
65
|
+
export interface IDynamicPortalSelfDefinition extends IBaseValueDefinition {
|
|
66
|
+
type: "portal";
|
|
67
|
+
/**
|
|
68
|
+
* The path to the property on the portal/self response to return
|
|
69
|
+
*/
|
|
70
|
+
sourcePath: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Interface for a reference to another value in the same object graph.
|
|
74
|
+
* Can be used with `getProp(obj, ref.$use)` to get the value of the referenced property
|
|
75
|
+
*/
|
|
76
|
+
export interface IReference {
|
|
77
|
+
$use: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Definition for a dynamic value that is resolved from an item query to the portal
|
|
81
|
+
*/
|
|
82
|
+
export interface IDynamicItemQueryDefinition extends IBaseValueDefinition {
|
|
83
|
+
type: "item-query";
|
|
84
|
+
/**
|
|
85
|
+
* The path to the property on the item to return
|
|
86
|
+
*/
|
|
87
|
+
sourcePath: string;
|
|
88
|
+
/**
|
|
89
|
+
* Portal Query to be exectute to return the set of items
|
|
90
|
+
*/
|
|
91
|
+
query?: IQuery | IReference;
|
|
92
|
+
/**
|
|
93
|
+
* The type of aggregation to apply to the set of results
|
|
94
|
+
*/
|
|
95
|
+
aggregation: DynamicAggregation;
|
|
96
|
+
scope?: IQuery | IReference;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates if the raw values should be returned
|
|
99
|
+
*/
|
|
100
|
+
includeRawValues?: boolean;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Definition for a dynamic value that is resolved from a feature service query
|
|
104
|
+
*/
|
|
105
|
+
export interface IDynamicServiceQueryDefinition extends IBaseValueDefinition {
|
|
106
|
+
type: "service-query";
|
|
107
|
+
/**
|
|
108
|
+
* Options used for the service query
|
|
109
|
+
*/
|
|
110
|
+
options: IServiceQueryOptions;
|
|
111
|
+
/**
|
|
112
|
+
* The type of aggregation to apply to the set of results
|
|
113
|
+
*/
|
|
114
|
+
aggregation: DynamicAggregation;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Union of all the dynamic value definitions
|
|
118
|
+
*/
|
|
119
|
+
export declare type DynamicValueDefinition = IStaticValueDefinition | IDynamicPortalSelfDefinition | IDynamicItemQueryDefinition | IDynamicServiceQueryDefinition;
|
|
120
|
+
/**
|
|
121
|
+
* Type to hold a count-by-value result
|
|
122
|
+
* ```js
|
|
123
|
+
* { "value1": 2, "value2": 1}
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
export declare type CountByValue = Record<string, number>;
|
|
127
|
+
/**
|
|
128
|
+
* A dynamic value can be a string, number, or another definition
|
|
129
|
+
* which will be recursively resolved.
|
|
130
|
+
*/
|
|
131
|
+
export declare type DynamicValue = string | number | DynamicValueDefinition;
|
|
132
|
+
/**
|
|
133
|
+
* The output of the resolution of a dynamic value
|
|
134
|
+
*/
|
|
135
|
+
export declare type DynamicValueResult = string | number | CountByValue;
|
|
136
|
+
/**
|
|
137
|
+
* A set of dynamic values, keyed by the outPath
|
|
138
|
+
*/
|
|
139
|
+
export declare type DynamicValues = Record<string, DynamicValue>;
|
|
140
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IQuery } from "../types/IHubCatalog";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* Naieve implementation to merge two queries into one. This
|
|
5
|
+
* simply combines the filters of the two queries. It does not attempt
|
|
6
|
+
* to disabiguate the filters or predicates. It is up to the caller
|
|
7
|
+
* to ensure that the queries are compatible and don't result in a null set
|
|
8
|
+
* of results.
|
|
9
|
+
* @param queries
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare const combineQueries: (queries: IQuery[]) => IQuery;
|
|
@@ -3,7 +3,7 @@ import { IHubRequestOptions } from "../../types";
|
|
|
3
3
|
import { IHubSearchOptions, IHubSearchResponse, IHubSearchResult, IMatchOptions, IPredicate, IQuery } from "../types";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
|
-
* Portal Search Implementation for Items
|
|
6
|
+
* Portal Search Implementation for Items returning IHubSearchResults
|
|
7
7
|
* @param query
|
|
8
8
|
* @param options
|
|
9
9
|
* @returns
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DynamicAggregation } from "../../core/types/DynamicValues";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* Aggregate a set of values based on the aggregation type
|
|
5
|
+
* @param values
|
|
6
|
+
* @param aggregation
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare function aggregateValues(values: any[], aggregation: DynamicAggregation): any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IArcGISContext } from "../../ArcGISContext";
|
|
2
|
+
import { DynamicValueDefinition, DynamicValueResult } from "../../core/types/DynamicValues";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
* Resolve a single dynamic value. The definition can be of many types (item-query, portal etc), each of which has their own logic for resolving the value.
|
|
6
|
+
* @param valueDef
|
|
7
|
+
* @param context
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveDynamicValue(valueDef: DynamicValueDefinition, context: IArcGISContext): Promise<Record<string, DynamicValueResult>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IArcGISContext } from "../../ArcGISContext";
|
|
2
|
+
import { DynamicValueDefinition, DynamicValueResult } from "../../core/types/DynamicValues";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
* Resolve a set of dynamic values.
|
|
6
|
+
* The individual definitions can be of many types (item-query, portal etc), each of which has their own logic for resolving the value.
|
|
7
|
+
* @param dynamicValues Array of dynamic value definitions to resolve
|
|
8
|
+
* @param context ArcGIS context of the current user.
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare const resolveDynamicValues: (dynamicValues: DynamicValueDefinition[], context: IArcGISContext) => Promise<Record<string, DynamicValueResult>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IArcGISContext } from "../../ArcGISContext";
|
|
2
|
+
import { DynamicValues, IDynamicItemQueryDefinition } from "../../core/types/DynamicValues";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
* Resolve a set of dynamic values based on an item query.
|
|
6
|
+
* This is used to query for a set of items, extract a specific value from each
|
|
7
|
+
* then run an aggregation on the set of values.
|
|
8
|
+
* @param valueDef Item Query Definition that will be resolved by querying for items and extracting a specific value from each
|
|
9
|
+
* @param context ArcGIS context of the current user.
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare function resolveItemQueryValues(valueDef: IDynamicItemQueryDefinition, context: IArcGISContext): Promise<DynamicValues>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IArcGISContext } from "../../ArcGISContext";
|
|
2
|
+
import { DynamicValues, IDynamicPortalSelfDefinition } from "../../core/types/DynamicValues";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
* Resolve a set of dynamic values by extracting properties
|
|
6
|
+
* from the current user's portal/self
|
|
7
|
+
* @param valueDef Portal Query Definition that wil be resolved using properties from the current user's portal/self
|
|
8
|
+
* @param context ArcGIS context of the current user.
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare function resolvePortalValues(valueDef: IDynamicPortalSelfDefinition, context: IArcGISContext): Promise<DynamicValues>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IArcGISContext } from "../../ArcGISContext";
|
|
2
|
+
import { DynamicValues, IDynamicServiceQueryDefinition } from "../../core/types/DynamicValues";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
* Resolve a dynamic value that is derived from a service query
|
|
6
|
+
* @param valueDef Service Query Definition that will be resolved by executing an aggregation querying on service and returning that value
|
|
7
|
+
* @param context ArcGIS context of the current user.
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare const resolveServiceQueryValues: (valueDef: IDynamicServiceQueryDefinition, context: IArcGISContext) => Promise<DynamicValues>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wrap a function into a memoized version of itself. Multiple calls for the same function
|
|
3
|
+
* will return the same memoized function - thus enabling a shared cache of results.
|
|
4
|
+
* `const memoizedItemSearch = memoize(searchItems);`
|
|
5
|
+
* @param fn
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare const memoize: <ARGS extends unknown[], RET>(fn: (...args: ARGS) => RET) => any;
|
|
9
|
+
/**
|
|
10
|
+
* Clear the cache of a memoized function
|
|
11
|
+
* @param fn
|
|
12
|
+
*/
|
|
13
|
+
export declare const clearMemoizedCache: (fnName: string) => void;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|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