@arcgis/languages-sdk-spec 4.34.0-next.99 → 5.0.0-next.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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Licensing
2
2
 
3
- COPYRIGHT © 2025 Esri
3
+ COPYRIGHT © Esri
4
4
 
5
5
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
6
6
 
package/README.md CHANGED
@@ -8,18 +8,6 @@ It is not intended to be used directly, but rather used as a dependency by other
8
8
 
9
9
  ## License
10
10
 
11
- COPYRIGHT © 2025 Esri
11
+ COPYRIGHT © Esri
12
12
 
13
- All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
14
-
15
- This material is licensed for use under the [Esri Master License Agreement (MLA)](https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf), and is bound by the terms of that agreement.
16
- You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
17
-
18
- For additional information, contact:
19
- Environmental Systems Research Institute, Inc.
20
- Attn: Contracts and Legal Services Department
21
- 380 New York Street
22
- Redlands, California, USA 92373
23
- USA
24
-
25
- email: legal@esri.com
13
+ This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package.
@@ -3,7 +3,7 @@ import { BaseSdkPredefinedProfile } from './base';
3
3
  /**
4
4
  * The list of supported profiles
5
5
  */
6
- export 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-voxel" | "popup-element" | "popup-feature-reduction" | "popup-voxel" | "popup" | "quick-capture" | "tasks" | "velocity" | "visualization";
6
+ export 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" | "experience-builder-data" | "experience-builder-list-item-widget-formatting" | "experience-builder-widget-formatting" | "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-imagery" | "popup-element-voxel" | "popup-element" | "popup-feature-reduction" | "popup-imagery" | "popup-voxel" | "popup" | "quick-capture" | "tasks" | "velocity" | "visualization";
7
7
  /**
8
8
  * The predefined profiles for the Arcade language
9
9
  */
@@ -22,7 +22,7 @@ export interface BaseSdkPredefinedProfile<ProfileId extends string, Bundle exten
22
22
  /**
23
23
  * Supported profile variable types
24
24
  */
25
- export type SdkVariableType = "array" | "boolean" | "date" | "dateOnly" | "dictionary" | "feature" | "featureSet" | "featureSetCollection" | "geometry" | "knowledgeGraph" | "number" | "text" | "time" | "voxel";
25
+ export type SdkVariableType = "array" | "boolean" | "date" | "dateOnly" | "dictionary" | "feature" | "featureSet" | "featureSetCollection" | "geometry" | "knowledgeGraph" | "number" | "pixel" | "text" | "time" | "voxel";
26
26
  /**
27
27
  * Describes variables
28
28
  */
@@ -7,7 +7,7 @@ export type ArcadeBundleType = "ai" | "core" | "data-access" | "database" | "geo
7
7
  * The profile names this definition belongs to
8
8
  */
9
9
  export type ArcadeProfileType = "Attribute Rule Calculation" | "Attribute Rules" | "Dashboard Data" | "Field Calculation" | "Form Calculation" | "GeoAnalytics" | "Popups" | "Tasks" | "Velocity";
10
- export type ArcadeValueType = "Any" | "Array<Any>" | "Array<Attachment>" | "Array<Boolean>" | "Array<Date>" | "Array<DateOnly>" | "Array<Dictionary>" | "Array<Extent>" | "Array<Feature>" | "Array<Geometry>" | "Array<KnowledgeGraph>" | "Array<Multipoint>" | "Array<Number>" | "Array<Number|Text>" | "Array<Point>" | "Array<Polygon>" | "Array<Polyline>" | "Array<Text>" | "Array<Time>" | "Attachment" | "Boolean" | "Date" | "DateOnly" | "Dictionary" | "Extent" | "Feature" | "FeatureSet" | "FeatureSetCollection" | "Function" | "Geometry" | "KnowledgeGraph" | "Multipoint" | "Null" | "Number" | "Point" | "Polygon" | "Polyline" | "Portal" | "Text" | "Time" | "Voxel";
10
+ export type ArcadeValueType = "Any" | "Array<Any>" | "Array<Attachment>" | "Array<Boolean>" | "Array<Date>" | "Array<DateOnly>" | "Array<Dictionary>" | "Array<Extent>" | "Array<Feature>" | "Array<Geometry>" | "Array<KnowledgeGraph>" | "Array<Multipoint>" | "Array<Number>" | "Array<Number|Text>" | "Array<Point>" | "Array<Polygon>" | "Array<Polyline>" | "Array<Text>" | "Array<Time>" | "Attachment" | "Boolean" | "Date" | "DateOnly" | "Dictionary" | "Extent" | "Feature" | "FeatureSet" | "FeatureSetCollection" | "Function" | "Geometry" | "KnowledgeGraph" | "Multipoint" | "Null" | "Number" | "Pixel" | "Point" | "Polygon" | "Polyline" | "Portal" | "Text" | "Time" | "Voxel";
11
11
  export type ArcadeSchemaItemBase = GenericSchemaItemBase<ArcadeBundleType, ArcadeProfileType>;
12
12
  /**
13
13
  * Definition for Arcade Api function
@@ -307,6 +307,7 @@
307
307
  "Multipoint",
308
308
  "Null",
309
309
  "Number",
310
+ "Pixel",
310
311
  "Point",
311
312
  "Polygon",
312
313
  "Polyline",
@@ -296,6 +296,7 @@
296
296
  "Multipoint",
297
297
  "Null",
298
298
  "Number",
299
+ "Pixel",
299
300
  "Point",
300
301
  "Polygon",
301
302
  "Polyline",
@@ -57,6 +57,9 @@
57
57
  "dashboard-table-formatting",
58
58
  "data-pipelines",
59
59
  "dictionary-renderer",
60
+ "experience-builder-data",
61
+ "experience-builder-list-item-widget-formatting",
62
+ "experience-builder-widget-formatting",
60
63
  "feature-display-title",
61
64
  "feature-z",
62
65
  "field-calculation",
@@ -72,9 +75,11 @@
72
75
  "minimalist",
73
76
  "model-builder",
74
77
  "popup-element-feature-reduction",
78
+ "popup-element-imagery",
75
79
  "popup-element-voxel",
76
80
  "popup-element",
77
81
  "popup-feature-reduction",
82
+ "popup-imagery",
78
83
  "popup-voxel",
79
84
  "popup",
80
85
  "quick-capture",
@@ -160,6 +165,7 @@
160
165
  "geometry",
161
166
  "knowledgeGraph",
162
167
  "number",
168
+ "pixel",
163
169
  "text",
164
170
  "time",
165
171
  "voxel"
@@ -71,6 +71,9 @@
71
71
  "dashboard-table-formatting",
72
72
  "data-pipelines",
73
73
  "dictionary-renderer",
74
+ "experience-builder-data",
75
+ "experience-builder-list-item-widget-formatting",
76
+ "experience-builder-widget-formatting",
74
77
  "feature-display-title",
75
78
  "feature-z",
76
79
  "field-calculation",
@@ -86,9 +89,11 @@
86
89
  "minimalist",
87
90
  "model-builder",
88
91
  "popup-element-feature-reduction",
92
+ "popup-element-imagery",
89
93
  "popup-element-voxel",
90
94
  "popup-element",
91
95
  "popup-feature-reduction",
96
+ "popup-imagery",
92
97
  "popup-voxel",
93
98
  "popup",
94
99
  "quick-capture",
@@ -174,6 +179,7 @@
174
179
  "geometry",
175
180
  "knowledgeGraph",
176
181
  "number",
182
+ "pixel",
177
183
  "text",
178
184
  "time",
179
185
  "voxel"
@@ -119,6 +119,7 @@
119
119
  "geometry",
120
120
  "knowledgeGraph",
121
121
  "number",
122
+ "pixel",
122
123
  "text",
123
124
  "time",
124
125
  "voxel"
@@ -1,5 +1,5 @@
1
- import b from "node:path";
2
- import h from "node:fs/promises";
1
+ import b from "path";
2
+ import h from "fs/promises";
3
3
  function V(e) {
4
4
  return Array.isArray(e?.properties);
5
5
  }
@@ -17,7 +17,7 @@ async function P(e) {
17
17
  return [];
18
18
  }
19
19
  }
20
- const R = {
20
+ const x = {
21
21
  parameter: "Parameter",
22
22
  parameters: "Parameters",
23
23
  sinceversion: "Since version",
@@ -26,7 +26,7 @@ const R = {
26
26
  examples: "Examples",
27
27
  additionalResources: "Additional resources"
28
28
  };
29
- function x(e) {
29
+ function R(e) {
30
30
  return !Array.isArray(e) && !e.isConstant;
31
31
  }
32
32
  function E(e) {
@@ -48,7 +48,7 @@ async function C() {
48
48
  })
49
49
  ), e[r] = { definition: i, items: a };
50
50
  })
51
- ), { categories: e, resources: { ...R } };
51
+ ), { categories: e, resources: { ...x } };
52
52
  }
53
53
  function L(e) {
54
54
  return typeof e != "object" || e === null || Array.isArray(e) ? !1 : "description" in e || "examples" in e || "returnValue" in e || "parameters" in e;
@@ -67,7 +67,7 @@ async function B(e) {
67
67
  const u = i.items[c];
68
68
  if (u) {
69
69
  if (L(u))
70
- E(o) ? F(o, u) : x(o) && S(o, u);
70
+ E(o) ? F(o, u) : R(o) && S(o, u);
71
71
  else if (Array.isArray(o)) {
72
72
  const p = f(u);
73
73
  o.length === p?.length && o.forEach((l, d) => {
@@ -203,6 +203,7 @@ function y(e, t, r = !0) {
203
203
  case "text":
204
204
  case "time":
205
205
  case "voxel":
206
+ case "pixel":
206
207
  return `[${a}](${n}guide/types/#${o})`;
207
208
  default: {
208
209
  const c = i.match(/Array<(.*?)>/u);
@@ -287,7 +288,7 @@ function I(e) {
287
288
  return "isSpecialRegister" in e;
288
289
  }
289
290
  export {
290
- R as DefaultApiResources,
291
+ x as DefaultApiResources,
291
292
  G as apiItemName,
292
293
  A as assembleMarkdownString,
293
294
  f as convertObjectToArray,
@@ -307,7 +308,7 @@ export {
307
308
  W as isFunction,
308
309
  E as isSchemaConstant,
309
310
  V as isSchemaDictionaryVariable,
310
- x as isSchemaFunction,
311
+ R as isSchemaFunction,
311
312
  N as isSchemaReturnDefinition,
312
313
  I as isSqlApiFunction,
313
314
  B as loadApiDatabase,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/languages-sdk-spec",
3
- "version": "4.34.0-next.99",
3
+ "version": "5.0.0-next.0",
4
4
  "description": "ArcGIS languages types and schemas for design a language sdk",
5
5
  "homepage": "https://developers.arcgis.com/javascript/latest/",
6
6
  "type": "module",