@arcgis/arcade-languageservice 4.32.0-next.80 → 4.32.0-next.82
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/index.d.ts +22 -51
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -72,71 +72,42 @@ var ProfileSettingsStrings = {
|
|
|
72
72
|
/**
|
|
73
73
|
* Supported function bundles
|
|
74
74
|
*/
|
|
75
|
-
type
|
|
75
|
+
type SqlBundleType = "core";
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* This file contains union types that are used to constrain
|
|
79
|
+
* base schema types. It's a bit of a chicken and egg scenario
|
|
80
|
+
* where fields in the base schema types need a reference
|
|
81
|
+
* to the language specific Bundle and Profile types, creating
|
|
82
|
+
* a bit of circular dependency. This file breaks that cycle.
|
|
79
83
|
*/
|
|
80
|
-
type ProfileId = "minimalist" | "aggregate-field" | "alias" | "attribute-rule-calculation" | "attribute-rule-constraint" | "attribute-rule-validation" | "data-pipelines" | "dashboard-indicator-formatting" | "dashboard-list-formatting" | "dashboard-table-formatting" | "dashboard-data" | "dictionary-renderer" | "feature-display-title" | "feature-z" | "field-calculation" | "field-mapping" | "form-calculation" | "form-constraint" | "geoanalytics" | "geotrigger-notification" | "labeling" | "layout" | "location-update-constraint" | "measure-visualization" | "model-builder" | "popup" | "popup-element" | "popup-feature-reduction" | "popup-element-feature-reduction" | "quick-capture" | "tasks" | "velocity" | "visualization";
|
|
81
84
|
/**
|
|
82
|
-
*
|
|
85
|
+
* Union of bundle types that can be used in any sdk schema
|
|
83
86
|
*/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
* Profile name for UI
|
|
87
|
-
*/
|
|
88
|
-
name: string;
|
|
89
|
-
/**
|
|
90
|
-
* Profile id for docs
|
|
91
|
-
*/
|
|
92
|
-
id: ProfileId;
|
|
93
|
-
/**
|
|
94
|
-
* Function bundles enabled for this profile
|
|
95
|
-
*/
|
|
96
|
-
bundles: BundleType[];
|
|
97
|
-
/**
|
|
98
|
-
* Variable describing name, type, and providing description
|
|
99
|
-
*/
|
|
100
|
-
variables: SdkVariable[];
|
|
101
|
-
}
|
|
87
|
+
type BundleType = ArcadeBundleType | SqlBundleType;
|
|
88
|
+
|
|
102
89
|
/**
|
|
103
|
-
* Supported
|
|
90
|
+
* Supported function bundles
|
|
104
91
|
*/
|
|
105
|
-
type
|
|
92
|
+
type ArcadeBundleType = "core" | "data-access" | "database" | "geometry" | "knowledge-graph" | "portal-access" | "track";
|
|
106
93
|
/**
|
|
107
|
-
*
|
|
94
|
+
* Supported profile variable types
|
|
108
95
|
*/
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
* Name of the variable.
|
|
112
|
-
*/
|
|
113
|
-
name: string;
|
|
114
|
-
/**
|
|
115
|
-
* Type of the variable.
|
|
116
|
-
*/
|
|
117
|
-
type: SdkVariableType;
|
|
118
|
-
/**
|
|
119
|
-
* Description of the variable.
|
|
120
|
-
*/
|
|
121
|
-
description?: string;
|
|
122
|
-
}
|
|
96
|
+
type SdkVariableType = "array" | "boolean" | "date" | "dateOnly" | "dictionary" | "feature" | "featureSet" | "featureSetCollection" | "geometry" | "knowledgeGraph" | "number" | "text" | "time";
|
|
97
|
+
|
|
123
98
|
/**
|
|
124
|
-
*
|
|
99
|
+
* The list of supported profiles
|
|
125
100
|
*/
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
101
|
+
type ArcadeProfileId = "aggregate-field" | "alias" | "attribute-rule-calculation" | "attribute-rule-constraint" | "attribute-rule-validation" | "dashboard-data" | "dashboard-indicator-formatting" | "dashboard-list-formatting" | "dashboard-table-formatting" | "data-pipelines" | "dictionary-renderer" | "feature-display-title" | "feature-z" | "field-calculation" | "field-mapping" | "form-calculation" | "form-constraint" | "geoanalytics" | "geotrigger-notification" | "labeling" | "layout" | "location-update-constraint" | "measure-visualization" | "minimalist" | "model-builder" | "popup-element-feature-reduction" | "popup-element" | "popup-feature-reduction" | "popup" | "quick-capture" | "tasks" | "velocity" | "visualization";
|
|
102
|
+
|
|
129
103
|
/**
|
|
130
|
-
*
|
|
104
|
+
* The list of supported profiles
|
|
131
105
|
*/
|
|
132
|
-
|
|
133
|
-
type: "dictionary";
|
|
134
|
-
properties: SdkVariable[];
|
|
135
|
-
}
|
|
106
|
+
type SqlProfileId = "field-calculation";
|
|
136
107
|
/**
|
|
137
|
-
*
|
|
108
|
+
* A union of all language profile ids
|
|
138
109
|
*/
|
|
139
|
-
type
|
|
110
|
+
type ProfileId = ArcadeProfileId | SqlProfileId;
|
|
140
111
|
|
|
141
112
|
/**
|
|
142
113
|
* Represents an api category and its items
|
|
@@ -541,4 +512,4 @@ declare class ArcadeLanguageService {
|
|
|
541
512
|
|
|
542
513
|
type ProfileStrings = typeof ProfileSettingsStrings;
|
|
543
514
|
|
|
544
|
-
export { type
|
|
515
|
+
export { type ArcadeApiContext, ArcadeKeywords, ArcadeLanguageService, ArcadeLiterals, ArcadeReservedKeywords, type Diagnostic, type DiagnosticCodes, type DiagnosticData, DiagnosticMessages, type ProfileStrings, ValidationDiagnosticCodes, arcadeFormat, format };
|