@arcgis/ai-agents 5.1.0-next.88 → 5.1.0-next.89
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/agents/dataExploration/utils/formatFeatureAttributes.d.ts +17 -0
- package/dist/index.js +1192 -1114
- package/dist/{summarize_query_response_prompt-DHuLLiUo.js → summarize_query_response_prompt-Dm47OAKf.js} +5 -0
- package/dist/utils/fieldStatistics.d.ts +4 -1
- package/dist/utils/getFieldStatistics.d.ts +6 -1
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer.js';
|
|
2
|
+
import { default as FeatureSet } from '@arcgis/core/rest/support/FeatureSet.js';
|
|
3
|
+
/**
|
|
4
|
+
* Formats a single field value for assistant output using domain mappings and field configuration.
|
|
5
|
+
*/
|
|
6
|
+
export declare const formatFieldValue: (layer: FeatureLayer, fieldName: string, rawValue: unknown, timeZone?: string | null) => unknown;
|
|
7
|
+
/**
|
|
8
|
+
* Returns the display label for a field, preferring alias values when available.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getDisplayFieldName: (layer: FeatureLayer, fieldName: string) => string;
|
|
11
|
+
/**
|
|
12
|
+
* Formats all fields in a feature set for assistant output and returns matching object IDs.
|
|
13
|
+
*/
|
|
14
|
+
export declare const formatFeatureSetAttributes: (layer: FeatureLayer, featureSet: FeatureSet, timeZone?: string | null) => {
|
|
15
|
+
objectIds: unknown[];
|
|
16
|
+
attributes: Record<string, unknown>[];
|
|
17
|
+
};
|