@vertigis/arcgis-extensions 48.4.0 → 48.4.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.
Files changed (179) hide show
  1. package/AppConfig.schema.json +29 -21
  2. package/data/FeatureSettings.js +1 -1
  3. package/data/_TableExtension.d.ts +1 -1
  4. package/docs/html/assets/navigation.js +1 -1
  5. package/docs/html/assets/search.js +1 -1
  6. package/docs/html/classes/data__TableExtension.TableSchema.html +2 -2
  7. package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +1 -1
  8. package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
  9. package/docs/html/classes/utilities_log.ConsoleLogger.html +7 -7
  10. package/docs/html/classes/utilities_log.LoggerBase.html +7 -7
  11. package/docs/html/functions/utilities__gml.esriToGml.html +2 -2
  12. package/docs/html/functions/utilities__layers.getEquivalencyTypeForLayers.html +1 -0
  13. package/docs/html/functions/utilities__layers.getLayerUrl.html +2 -2
  14. package/docs/html/functions/utilities_geometry.buffer.html +5 -5
  15. package/docs/html/functions/utilities_geometry.esriToGml.html +2 -2
  16. package/docs/html/functions/utilities_iterable.find.html +2 -2
  17. package/docs/html/functions/utilities_iterable.first.html +2 -2
  18. package/docs/html/functions/utilities_mapping.getMapSpatialReference.html +2 -2
  19. package/docs/html/functions/utilities_object.deepSearchAndTransform.html +6 -4
  20. package/docs/html/functions/utilities_object.deepSearchAndTransformAsync.html +6 -4
  21. package/docs/html/functions/utilities_object.getPropertyDescriptor.html +2 -2
  22. package/docs/html/functions/utilities_object.isEmpty.html +1 -1
  23. package/docs/html/functions/utilities_object.map.html +1 -1
  24. package/docs/html/functions/utilities_object.toJSON.html +1 -1
  25. package/docs/html/functions/utilities_portal.getPortalItemHtmlUrl.html +2 -2
  26. package/docs/html/functions/utilities_portal.toPortalItem.html +4 -1
  27. package/docs/html/functions/utilities_set.find.html +2 -2
  28. package/docs/html/hierarchy.html +1 -1
  29. package/docs/html/interfaces/data_FieldExtension.FieldProperties.html +4 -2
  30. package/docs/html/interfaces/json_AnnotationLayerJson.AnnotationLayerJson.html +2 -2
  31. package/docs/html/interfaces/json_BasemapLayerJson.BasemapLayerJsonBase.html +2 -2
  32. package/docs/html/interfaces/json_BingLayerJson.BingLayerJson.html +2 -2
  33. package/docs/html/interfaces/json_BuildingSceneLayerJson.BuildingSceneLayerJson.html +2 -2
  34. package/docs/html/interfaces/json_CSVLayerJson.CSVLayerJson.html +2 -2
  35. package/docs/html/interfaces/json_FeatureLayerJson.FeatureLayerJson.html +5 -3
  36. package/docs/html/interfaces/json_FeatureSetJson.FeatureSetJson.html +4 -2
  37. package/docs/html/interfaces/json_FieldJson.FieldJson.html +4 -2
  38. package/docs/html/interfaces/json_GeoJSONLayerJson.GeoJSONLayerJson.html +2 -2
  39. package/docs/html/interfaces/json_GeoRSSLayerJson.GeoRSSLayerJson.html +2 -2
  40. package/docs/html/interfaces/json_GroupLayerJson.GroupLayerJson.html +2 -2
  41. package/docs/html/interfaces/json_ImageServiceLayerJson.ImageServiceLayerJson.html +2 -2
  42. package/docs/html/interfaces/json_ImageServiceVectorLayerJson.ImageServiceVectorLayerJson.html +2 -2
  43. package/docs/html/interfaces/json_IntegratedMeshLayerJson.IntegratedMeshLayerJson.html +2 -2
  44. package/docs/html/interfaces/json_ItemJson.ItemJson.html +5 -2
  45. package/docs/html/interfaces/json_KMLLayerJson.KMLLayerJson.html +2 -2
  46. package/docs/html/interfaces/json_LayerDefinitionJson.LayerDefinitionJson.html +2 -2
  47. package/docs/html/interfaces/json_LayerJson.LayerJsonBase.html +2 -2
  48. package/docs/html/interfaces/json_MapServiceLayerJson.MapServiceLayerJson.html +2 -2
  49. package/docs/html/interfaces/json_OpenStreetMapLayerJson.OpenStreetMapLayerJson.html +2 -2
  50. package/docs/html/interfaces/json_OperationalLayerJson.OperationalLayerJsonBase.html +2 -2
  51. package/docs/html/interfaces/json_PointCloudLayerJson.PointCloudLayerJson.html +2 -2
  52. package/docs/html/interfaces/json_RasterDataElevationLayerJson.RasterDataElevationLayerJson.html +2 -2
  53. package/docs/html/interfaces/json_SceneLayerJson.SceneLayerJson.html +2 -2
  54. package/docs/html/interfaces/json_StreamLayerJson.StreamLayerJson.html +6 -4
  55. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeGroupLayerJson.html +10 -5
  56. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeSubtypeGroupLayerJson.html +10 -5
  57. package/docs/html/interfaces/json_SubtypeSublayerJson.SubtypeSublayerJson.html +9 -6
  58. package/docs/html/interfaces/json_SymbolJson.TextSymbolJson.html +2 -2
  59. package/docs/html/interfaces/json_TiledElevationServiceLayerJson.TiledElevationServiceLayerJson.html +2 -2
  60. package/docs/html/interfaces/json_TiledImageServiceLayerJson.TiledImageServiceLayerJson.html +2 -2
  61. package/docs/html/interfaces/json_TiledMapServiceLayerJson.TiledMapServiceLayerJson.html +2 -2
  62. package/docs/html/interfaces/json_VectorTileLayerJson.VectorTileLayerJson.html +2 -2
  63. package/docs/html/interfaces/json_WFSLayerJson.WFSLayerJson.html +2 -2
  64. package/docs/html/interfaces/json_WMSLayerJson.WMSLayerJson.html +2 -2
  65. package/docs/html/interfaces/json_WebTileLayerJson.TileInfoJson.html +2 -2
  66. package/docs/html/interfaces/json_WebTileLayerJson.WebTileLayerJson.html +2 -2
  67. package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +2 -2
  68. package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +6 -4
  69. package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +6 -4
  70. package/docs/html/interfaces/mapping_MapImageLayerExtension.MapImageLayerExtensionProperties.html +3 -3
  71. package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +2 -2
  72. package/docs/html/interfaces/utilities_format_FormatSettings.FormatSettings.html +1 -1
  73. package/docs/html/interfaces/utilities_log.LogMessageOptions.html +30 -0
  74. package/docs/html/interfaces/utilities_log.LogMessageResourceOptions.html +33 -0
  75. package/docs/html/interfaces/utilities_log.Logger.html +8 -8
  76. package/docs/html/modules/utilities_log.html +3 -1
  77. package/docs/html/types/utilities_log.LogOptions.html +2 -0
  78. package/docs/html/variables/version.version.html +1 -1
  79. package/json/AnnotationLayerJson.d.ts +7 -7
  80. package/json/BasemapJson.d.ts +4 -4
  81. package/json/BasemapJson.js +1 -1
  82. package/json/BasemapLayerJson.d.ts +1 -1
  83. package/json/BingLayerJson.d.ts +1 -1
  84. package/json/BuildingSceneLayerJson.d.ts +18 -18
  85. package/json/BuildingSceneSublayerJson.d.ts +8 -8
  86. package/json/CSVLayerJson.d.ts +12 -12
  87. package/json/DefinitionEditorJson.d.ts +9 -9
  88. package/json/DrawingInfoJson.d.ts +29 -29
  89. package/json/EnvironmentJson.d.ts +19 -19
  90. package/json/FeatureCollectionJson.d.ts +1 -1
  91. package/json/FeatureJson.d.ts +4 -4
  92. package/json/FeatureJson.js +1 -1
  93. package/json/FeatureLayerJson.d.ts +20 -16
  94. package/json/FeatureLayerJson.js +1 -1
  95. package/json/FeatureSetJson.d.ts +5 -0
  96. package/json/FieldJson.d.ts +11 -7
  97. package/json/FormInfoJson.d.ts +48 -48
  98. package/json/GeoJSONLayerJson.d.ts +6 -6
  99. package/json/GeoRSSLayerJson.d.ts +4 -4
  100. package/json/GeometryJson.d.ts +12 -12
  101. package/json/GroundJson.d.ts +4 -4
  102. package/json/GroupLayerJson.d.ts +3 -3
  103. package/json/ImageServiceLayerJson.d.ts +20 -20
  104. package/json/ImageServiceVectorLayerJson.d.ts +6 -6
  105. package/json/IntegratedMeshLayerJson.d.ts +2 -2
  106. package/json/ItemJson.d.ts +51 -46
  107. package/json/KMLLayerJson.d.ts +3 -3
  108. package/json/LayerDefinitionJson.d.ts +102 -102
  109. package/json/LayerJson.d.ts +21 -21
  110. package/json/LayerJson.js +1 -1
  111. package/json/MapServiceLayerJson.d.ts +6 -6
  112. package/json/MosaicRuleJson.d.ts +14 -14
  113. package/json/OpenStreetMapLayerJson.d.ts +1 -1
  114. package/json/OperationalLayerJson.d.ts +2 -2
  115. package/json/PointCloudLayerJson.d.ts +4 -4
  116. package/json/PopupInfoJson.d.ts +47 -47
  117. package/json/RasterDataElevationLayerJson.d.ts +1 -1
  118. package/json/RendererJson.d.ts +113 -113
  119. package/json/SceneLayerJson.d.ts +7 -7
  120. package/json/SpatialReferenceJson.d.ts +5 -5
  121. package/json/SublayerJson.d.ts +17 -17
  122. package/json/SublayerJson.js +1 -1
  123. package/json/SubtypeGroupLayerJson.d.ts +14 -5
  124. package/json/SubtypeSublayerJson.d.ts +13 -8
  125. package/json/SymbolJson.d.ts +122 -122
  126. package/json/TableJson.d.ts +10 -10
  127. package/json/TableJson.js +1 -1
  128. package/json/TemplateJson.d.ts +4 -4
  129. package/json/TiledElevationServiceLayerJson.d.ts +3 -3
  130. package/json/TiledImageServiceLayerJson.d.ts +3 -3
  131. package/json/TiledMapServiceLayerJson.d.ts +12 -12
  132. package/json/TypeJson.d.ts +4 -4
  133. package/json/VectorTileLayerJson.d.ts +4 -4
  134. package/json/ViewpointJson.d.ts +6 -6
  135. package/json/WFSLayerJson.d.ts +16 -16
  136. package/json/WMSLayerJson.d.ts +16 -16
  137. package/json/WMSSublayerJson.d.ts +5 -5
  138. package/json/WebMapJson.d.ts +134 -133
  139. package/json/WebMapJson.js +1 -1
  140. package/json/WebSceneJson.d.ts +6 -6
  141. package/json/WebTileLayerJson.d.ts +26 -26
  142. package/mapping/ImageryLayerExtension.js +1 -1
  143. package/mapping/MapExtension.js +1 -1
  144. package/package.json +1 -1
  145. package/utilities/ObservableSet.d.ts +1 -1
  146. package/utilities/ObservableSet.js +1 -1
  147. package/utilities/ObservableWeakSet.d.ts +1 -1
  148. package/utilities/ObservableWeakSet.js +1 -1
  149. package/utilities/_gml.d.ts +1 -1
  150. package/utilities/_gml.js +1 -1
  151. package/utilities/_layers.d.ts +5 -3
  152. package/utilities/_layers.js +1 -1
  153. package/utilities/_wkt.js +1 -1
  154. package/utilities/array.js +1 -1
  155. package/utilities/asyncIterable.js +1 -1
  156. package/utilities/checkArg.js +1 -1
  157. package/utilities/esri.js +1 -1
  158. package/utilities/format/date.d.ts +8 -8
  159. package/utilities/format/date.js +1 -1
  160. package/utilities/format/number.d.ts +9 -9
  161. package/utilities/format/number.js +1 -1
  162. package/utilities/format/string.d.ts +12 -12
  163. package/utilities/format/string.js +1 -1
  164. package/utilities/geometry.d.ts +4 -3
  165. package/utilities/geometry.js +1 -1
  166. package/utilities/iterable.d.ts +2 -2
  167. package/utilities/log.d.ts +26 -7
  168. package/utilities/log.js +1 -1
  169. package/utilities/mapping.d.ts +1 -1
  170. package/utilities/mapping.js +1 -1
  171. package/utilities/object.d.ts +10 -6
  172. package/utilities/object.js +1 -1
  173. package/utilities/portal.d.ts +4 -1
  174. package/utilities/portal.js +1 -1
  175. package/utilities/query.js +1 -1
  176. package/utilities/set.d.ts +1 -1
  177. package/version.d.ts +1 -1
  178. package/version.js +1 -1
  179. package/docs/html/interfaces/utilities_log.LogOptions.html +0 -33
@@ -25,48 +25,48 @@ export interface FeatureLayerJson extends OperationalLayerJsonBase {
25
25
  * an editable feature service. Available operations include: Create |
26
26
  * Delete | Query | Update | Editing.
27
27
  */
28
- capabilities?: string;
28
+ capabilities?: string | null;
29
29
  /**
30
30
  * A sequence of custom parameters appended to the URL of all requests
31
31
  * related to supporting ArcGIS layer types.
32
32
  */
33
- customParameters?: Record<string, unknown>;
33
+ customParameters?: Record<string, unknown> | null;
34
34
  /**
35
35
  * Stores interactive filters.
36
36
  */
37
- definitionEditor?: DefinitionEditorJson;
37
+ definitionEditor?: DefinitionEditorJson | null;
38
38
  /**
39
39
  * Indicates whether to allow a client to ignore popups defined by the
40
40
  * service item.
41
41
  */
42
- disablePopup?: boolean;
42
+ disablePopup?: boolean | null;
43
43
  /**
44
44
  * A featureCollection object defining a layer of features whose geometry
45
45
  * and attributes will be stored directly within the web map. This is only
46
46
  * used when no url property is supplied.
47
47
  */
48
- featureCollection?: FeatureCollectionJson;
48
+ featureCollection?: FeatureCollectionJson | null;
49
49
  /**
50
50
  * Indicates the type of features in the feature collection. If
51
51
  * featureCollectionType is missing, it means the feature collection is a
52
52
  * regular single-layer or multi-layer feature collection.
53
53
  */
54
- featureCollectionType?: "markup" | "notes" | "route";
54
+ featureCollectionType?: "markup" | "notes" | "route" | null;
55
55
  /**
56
56
  * A formInfo object defining the content of the form when you are editing a
57
57
  * feature.
58
58
  */
59
- formInfo?: FormInfoJson;
59
+ formInfo?: FormInfoJson | null;
60
60
  /**
61
61
  * Optional string containing the item ID of the service if it's registered
62
62
  * on ArcGIS Online or your organization's portal.
63
63
  */
64
- itemId?: string;
64
+ itemId?: string | null;
65
65
  /**
66
66
  * A layerDefinition object defining the attribute schema and drawing
67
67
  * information for the layer.
68
68
  */
69
- layerDefinition?: LayerDefinitionJson;
69
+ layerDefinition?: LayerDefinitionJson | null;
70
70
  /**
71
71
  * The type of layer.
72
72
  */
@@ -87,34 +87,38 @@ export interface FeatureLayerJson extends OperationalLayerJsonBase {
87
87
  * service being used for display and the feature service used for
88
88
  * editing.
89
89
  */
90
- mode?: 0 | 1 | 2 | 6;
90
+ mode?: 0 | 1 | 2 | 6 | null;
91
91
  /**
92
92
  * A PopupInfo object defining the content of pop-up windows when you click
93
93
  * or query a feature.
94
94
  */
95
- popupInfo?: PopupInfoJson;
95
+ popupInfo?: PopupInfoJson | null;
96
96
  /**
97
97
  * Apply perspective scaling to screen-size symbols.
98
98
  */
99
- screenSizePerspective?: boolean;
99
+ screenSizePerspective?: boolean | null;
100
100
  /**
101
101
  * Indicates whether to display labels for this layer. If true, labels will
102
102
  * appear as defined in the labelingInfo property.
103
103
  */
104
- showLabels?: boolean;
104
+ showLabels?: boolean | null;
105
105
  /**
106
106
  * The feature subtype code identifying the layer. Used with
107
107
  * SubtypeGroupLayers.
108
108
  */
109
- subtypeCode?: string | number;
109
+ subtypeCode?: string | number | null;
110
+ /**
111
+ * Indicates whether to disable time animation if the layer supports it.
112
+ */
113
+ timeAnimation?: boolean | null;
110
114
  /**
111
115
  * The URL to the layer.If the layer is not from a web service but rather a
112
116
  * feature collection, than the url property is omitted.
113
117
  */
114
- url?: string;
118
+ url?: string | null;
115
119
  /**
116
120
  * An array of sublayer ids that should appear visible. Used with feature
117
121
  * layers that are based on feature collections.
118
122
  */
119
- visibleLayers?: number[];
123
+ visibleLayers?: number[] | null;
120
124
  }
@@ -1 +1 @@
1
- export const GRAPHICS_LAYER_ID="graphicsLayer-";export function _isGraphicsLayerJson(e){return e.id?.startsWith("graphicsLayer-")||e.$ref&&"graphics-layer"===e.$ref.subtype||"ArcGISFeatureLayer"===e.layerType&&e.featureCollection?.layers?.length>1}export function _isMapNotesLayerJson(e){return"notes"===e.featureCollectionType||e.$ref&&"map-notes-layer"===e.$ref.subtype}export function _isRouteLayerJson(e){return"route"===e.featureCollectionType||e.$ref&&"route-layer"===e.$ref.subtype}export function _isFeatureCollection(e){return!e.id?.startsWith("graphicsLayer-")&&e.$ref&&"feature-collection-layer"===e.$ref.subtype||1===e.featureCollection?.layers?.length}
1
+ export const GRAPHICS_LAYER_ID="graphicsLayer-";export function _isGraphicsLayerJson(e){return e.id?.startsWith("graphicsLayer-")||e.$ref&&"graphics-layer"===e.$ref.subtype||"ArcGISFeatureLayer"===e.layerType&&(e.featureCollection?.layers?.length??0)>1}export function _isMapNotesLayerJson(e){return"notes"===e.featureCollectionType||e.$ref&&"map-notes-layer"===e.$ref.subtype}export function _isRouteLayerJson(e){return"route"===e.featureCollectionType||e.$ref&&"route-layer"===e.$ref.subtype}export function _isFeatureCollection(e){return!e.id?.startsWith("graphicsLayer-")&&e.$ref&&"feature-collection-layer"===e.$ref.subtype||1===e.featureCollection?.layers?.length}
@@ -1,5 +1,6 @@
1
1
  import type { FeatureJson } from "./FeatureJson.js";
2
2
  import type { GeometryJsonType } from "./GeometryJson.js";
3
+ import type { SpatialReferenceJson } from "./SpatialReferenceJson.js";
3
4
  /**
4
5
  * Contains the geometry and attributes of features in a layer. This object is
5
6
  * used with feature collections only. For more information, see Layer.
@@ -18,4 +19,8 @@ export interface FeatureSetJson {
18
19
  * One of the GeometryType constants. See Geometry.GeometryJsonType.
19
20
  */
20
21
  geometryType: GeometryJsonType;
22
+ /**
23
+ * <not in spec>.
24
+ */
25
+ spatialReference?: SpatialReferenceJson | null;
21
26
  }
@@ -11,24 +11,24 @@ export interface FieldJson {
11
11
  /**
12
12
  * The field alias (human-readable name).
13
13
  */
14
- alias?: string;
14
+ alias?: string | null;
15
15
  /**
16
16
  * A domain object that provides the attribute domain information for the
17
17
  * field, if a domain exists.
18
18
  */
19
- domain?: DomainJson;
19
+ domain?: DomainJson | null;
20
20
  /**
21
21
  * Whether this field is editable.
22
22
  */
23
- editable?: boolean;
23
+ editable?: boolean | null;
24
24
  /**
25
25
  * A Boolean defining whether or not the field is an exact match.
26
26
  */
27
- exactMatch?: boolean;
27
+ exactMatch?: boolean | null;
28
28
  /**
29
29
  * A number defining how many characters are allowed in a string field.
30
30
  */
31
- length?: number;
31
+ length?: number | null;
32
32
  /**
33
33
  * A string defining the field name.
34
34
  */
@@ -36,11 +36,15 @@ export interface FieldJson {
36
36
  /**
37
37
  * Whether this field can have a null value.
38
38
  */
39
- nullable?: boolean;
39
+ nullable?: boolean | null;
40
40
  /**
41
41
  * Type of the Field. See {@link FieldJsonType}.
42
42
  */
43
- type?: FieldJsonType;
43
+ type?: FieldJsonType | null;
44
+ /**
45
+ * <not in spec>.
46
+ */
47
+ visible?: boolean | null;
44
48
  }
45
49
  /**
46
50
  * The type of the Field.
@@ -7,20 +7,20 @@ export interface FormInfoJson {
7
7
  /**
8
8
  * A string that appears in the body of the form as a description.
9
9
  */
10
- description?: string;
10
+ description?: string | null;
11
11
  /**
12
12
  * List of Arcade expressions used in the form.
13
13
  */
14
- expressionInfos?: FormExpressionInfoJson[];
14
+ expressionInfos?: FormExpressionInfoJson[] | null;
15
15
  /**
16
16
  * An array of formElement objects that represent an ordered list of form
17
17
  * elements.
18
18
  */
19
- formElements?: (FormAttachmentElementJson | FormFieldElementJson | FormGroupElementJson | FormRelationshipElementJson)[];
19
+ formElements?: (FormAttachmentElementJson | FormFieldElementJson | FormGroupElementJson | FormRelationshipElementJson)[] | null;
20
20
  /**
21
21
  * A string that appears at the top of the form as a title.
22
22
  */
23
- title?: string;
23
+ title?: string | null;
24
24
  }
25
25
  /**
26
26
  * Arcade expression used in the form. See
@@ -30,21 +30,21 @@ export interface FormExpressionInfoJson {
30
30
  /**
31
31
  * The Arcade expression.
32
32
  */
33
- expression?: string;
33
+ expression?: string | null;
34
34
  /**
35
35
  * Unique identifier for the expression.
36
36
  */
37
- name?: string;
37
+ name?: string | null;
38
38
  /**
39
39
  * Return type of the Arcade expression. This can be determined by the
40
40
  * authoring client by executing the expression using a sample feature(s),
41
41
  * although it can be corrected by the user.
42
42
  */
43
- returnType?: "boolean";
43
+ returnType?: "boolean" | null;
44
44
  /**
45
45
  * Title of the expression.
46
46
  */
47
- title?: string;
47
+ title?: string | null;
48
48
  }
49
49
  /**
50
50
  * Defines how one or more attachments can participate in the form. When present
@@ -60,16 +60,16 @@ export interface FormAttachmentElementJson {
60
60
  * property is used to query attachments using an exact match on the
61
61
  * keywords field.
62
62
  */
63
- attachmentKeyword?: string;
63
+ attachmentKeyword?: string | null;
64
64
  /**
65
65
  * A string that describes the element in detail.
66
66
  */
67
- description?: string;
67
+ description?: string | null;
68
68
  /**
69
69
  * Indicates whether the attachments can be edited. If not present, the
70
70
  * default is true.
71
71
  */
72
- editable?: boolean;
72
+ editable?: boolean | null;
73
73
  /**
74
74
  * The input user interface to use for the attachment.
75
75
  */
@@ -78,11 +78,11 @@ export interface FormAttachmentElementJson {
78
78
  * The input type identifier.
79
79
  */
80
80
  type: "attachment" | "audio" | "document" | "image" | "signature" | "video";
81
- };
81
+ } | null;
82
82
  /**
83
83
  * A string value indicating what the element represents.
84
84
  */
85
- label?: string;
85
+ label?: string | null;
86
86
  /**
87
87
  * String value indicating which type of element to use.
88
88
  */
@@ -94,7 +94,7 @@ export interface FormAttachmentElementJson {
94
94
  * expression is provided, the default behavior is that the element is
95
95
  * displayed.
96
96
  */
97
- visibilityExpression?: string;
97
+ visibilityExpression?: string | null;
98
98
  }
99
99
  /**
100
100
  * Defines how a field in the dataset participates in the form. See
@@ -104,35 +104,35 @@ export interface FormFieldElementJson {
104
104
  /**
105
105
  * A string that describes the element in detail.
106
106
  */
107
- description?: string;
107
+ description?: string | null;
108
108
  /**
109
109
  * The domain to apply to this field. If defined, it takes precedence over
110
110
  * domains defined in field, type, or subtype.
111
111
  */
112
- domain?: DomainJson;
112
+ domain?: DomainJson | null;
113
113
  /**
114
114
  * A Boolean determining whether users can edit this form element. If not
115
115
  * supplied, the editable state is derived from the editable property of
116
116
  * referenced field in the service.
117
117
  */
118
- editable?: boolean;
118
+ editable?: boolean | null;
119
119
  /**
120
120
  * A string containing the field name as defined by the feature layer.
121
121
  */
122
- fieldName?: string;
122
+ fieldName?: string | null;
123
123
  /**
124
124
  * The input user interface to use for the element. If an input type is not
125
125
  * supplied or the client application does not understand the supplied input
126
126
  * type, the client application is responsible for defining the default user
127
127
  * interface.
128
128
  */
129
- inputType?: FormBarcodeScannerInputJson | FormComboBoxInputJson | FormDateTimePickerInputJson | FormRadioButtonsInputJson | FormSwitchInputJson | FormTextAreaInputJson | FormTextBoxInputJson;
129
+ inputType?: FormBarcodeScannerInputJson | FormComboBoxInputJson | FormDateTimePickerInputJson | FormRadioButtonsInputJson | FormSwitchInputJson | FormTextAreaInputJson | FormTextBoxInputJson | null;
130
130
  /**
131
131
  * A string indicating what the element represents. If not supplied, the
132
132
  * label is derived from the alias property in the referenced field in the
133
133
  * service.
134
134
  */
135
- label?: string;
135
+ label?: string | null;
136
136
  /**
137
137
  * A reference to an Arcade expression that returns a boolean value. When
138
138
  * this expression evaluates to true and the element is visible, the element
@@ -142,7 +142,7 @@ export interface FormFieldElementJson {
142
142
  * required. If the referenced field is non-nullable, the required
143
143
  * expression is ignored and the element is always required.
144
144
  */
145
- requiredExpression?: string;
145
+ requiredExpression?: string | null;
146
146
  /**
147
147
  * A string indicating which type of element to use.
148
148
  */
@@ -157,7 +157,7 @@ export interface FormFieldElementJson {
157
157
  * values or are made visible to users so that they can provide a value
158
158
  * before submitting the form.
159
159
  */
160
- visibilityExpression?: string;
160
+ visibilityExpression?: string | null;
161
161
  }
162
162
  /**
163
163
  * Defines a container that holds a set of form elements that can be expanded,
@@ -168,21 +168,21 @@ export interface FormGroupElementJson {
168
168
  /**
169
169
  * A string that describes the element in detail.
170
170
  */
171
- description?: string;
171
+ description?: string | null;
172
172
  /**
173
173
  * An array of Form Element objects that represent an ordered list of form
174
174
  * elements. Nested group elements are not supported.
175
175
  */
176
- formElements?: (FormAttachmentElementJson | FormFieldElementJson | FormRelationshipElementJson)[];
176
+ formElements?: (FormAttachmentElementJson | FormFieldElementJson | FormRelationshipElementJson)[] | null;
177
177
  /**
178
178
  * Defines if the group should be expanded or collapsed when the form is
179
179
  * initially displayed. If not provided, the default value is expanded.
180
180
  */
181
- initialState?: "collapsed" | "expanded";
181
+ initialState?: "collapsed" | "expanded" | null;
182
182
  /**
183
183
  * A string value indicating what the element represents.
184
184
  */
185
- label?: string;
185
+ label?: string | null;
186
186
  /**
187
187
  * String value indicating which type of element to use.
188
188
  */
@@ -194,7 +194,7 @@ export interface FormGroupElementJson {
194
194
  * expression is provided, the default behavior is that the element is
195
195
  * displayed.
196
196
  */
197
- visibilityExpression?: string;
197
+ visibilityExpression?: string | null;
198
198
  }
199
199
  /**
200
200
  * Defines how a relationship between feature layers and tables can participate
@@ -206,24 +206,24 @@ export interface FormRelationshipElementJson {
206
206
  /**
207
207
  * A string that describes the element in detail.
208
208
  */
209
- description?: string;
209
+ description?: string | null;
210
210
  /**
211
211
  * An integer that indicates the maximum number of records to display.
212
212
  */
213
- displayCount?: number;
213
+ displayCount?: number | null;
214
214
  /**
215
215
  * A string that defines how the related records should be displayed.
216
216
  */
217
- displayType?: "list";
217
+ displayType?: "list" | null;
218
218
  /**
219
219
  * A Boolean determining whether users can edit this form element. If not
220
220
  * supplied the default value is true.
221
221
  */
222
- editable?: boolean;
222
+ editable?: boolean | null;
223
223
  /**
224
224
  * A string value indicating what the element represents.
225
225
  */
226
- label?: string;
226
+ label?: string | null;
227
227
  /**
228
228
  * String value indicating which type of element to use.
229
229
  */
@@ -235,7 +235,7 @@ export interface FormRelationshipElementJson {
235
235
  * expression is provided, the default behavior is that the element is
236
236
  * displayed.
237
237
  */
238
- visibilityExpression?: string;
238
+ visibilityExpression?: string | null;
239
239
  }
240
240
  /**
241
241
  * Defines the desired user interface is a barcode or QR code scanner. If the
@@ -249,13 +249,13 @@ export interface FormBarcodeScannerInputJson {
249
249
  * applies for string fields. If not supplied, the value is derived from the
250
250
  * length property of the referenced field in the service.
251
251
  */
252
- maxLength?: number;
252
+ maxLength?: number | null;
253
253
  /**
254
254
  * This represents the minimum number of characters allowed. This only
255
255
  * applies for string fields. If not supplied, the value is 0, meaning there
256
256
  * is no minimum constraint.
257
257
  */
258
- minLength?: number;
258
+ minLength?: number | null;
259
259
  /**
260
260
  * The input type identifier.
261
261
  */
@@ -270,13 +270,13 @@ export interface FormComboBoxInputJson {
270
270
  /**
271
271
  * The text used to represent a null value.
272
272
  */
273
- noValueOptionLabel?: string;
273
+ noValueOptionLabel?: string | null;
274
274
  /**
275
275
  * Determines whether null value option is displayed. This only applies to
276
276
  * fields that support null values. If not provided, the default value is
277
277
  * false.
278
278
  */
279
- showNoValueOption?: boolean;
279
+ showNoValueOption?: boolean | null;
280
280
  /**
281
281
  * The input type identifier.
282
282
  */
@@ -291,17 +291,17 @@ export interface FormDateTimePickerInputJson {
291
291
  * Indicates if the datetime picker should provide an option to select the
292
292
  * time. If not provided, the default value is false.
293
293
  */
294
- includeTime?: boolean;
294
+ includeTime?: boolean | null;
295
295
  /**
296
296
  * The maximum date to allow. The number represents the number of
297
297
  * milliseconds since epoch (January 1, 1970) in UTC.
298
298
  */
299
- max?: number;
299
+ max?: number | null;
300
300
  /**
301
301
  * The minimum date to allow. The number represents the number of
302
302
  * milliseconds since epoch (January 1, 1970) in UTC.
303
303
  */
304
- min?: number;
304
+ min?: number | null;
305
305
  /**
306
306
  * The input type identifier.
307
307
  */
@@ -315,13 +315,13 @@ export interface FormRadioButtonsInputJson {
315
315
  /**
316
316
  * The text used to represent a null value.
317
317
  */
318
- noValueOptionLabel?: string;
318
+ noValueOptionLabel?: string | null;
319
319
  /**
320
320
  * Determines whether null value option is displayed. This only applies to
321
321
  * fields that support null values. If not provided, the default value is
322
322
  * false.
323
323
  */
324
- showNoValueOption?: boolean;
324
+ showNoValueOption?: boolean | null;
325
325
  /**
326
326
  * The input type identifier.
327
327
  */
@@ -336,11 +336,11 @@ export interface FormSwitchInputJson {
336
336
  /**
337
337
  * The coded value when switch state is off.
338
338
  */
339
- offValue?: string | number;
339
+ offValue?: string | number | null;
340
340
  /**
341
341
  * The coded value when switch state is on.
342
342
  */
343
- onValue?: string | number;
343
+ onValue?: string | number | null;
344
344
  /**
345
345
  * The input type identifier.
346
346
  */
@@ -356,12 +356,12 @@ export interface FormTextAreaInputJson {
356
356
  * supplied, the value is derived from the length property of the referenced
357
357
  * field in the service.
358
358
  */
359
- maxLength?: number;
359
+ maxLength?: number | null;
360
360
  /**
361
361
  * This represents the minimum number of characters allowed. If not
362
362
  * supplied, the value is 0, meaning there is no minimum constraint.
363
363
  */
364
- minLength?: number;
364
+ minLength?: number | null;
365
365
  /**
366
366
  * The input type identifier.
367
367
  */
@@ -377,13 +377,13 @@ export interface FormTextBoxInputJson {
377
377
  * applies for string fields. If not supplied, the value is derived from the
378
378
  * length property of the referenced field in the service.
379
379
  */
380
- maxLength?: number;
380
+ maxLength?: number | null;
381
381
  /**
382
382
  * This represents the minimum number of characters allowed. This only
383
383
  * applies for string fields. If not supplied, the value is 0, meaning there
384
384
  * is no minimum constraint.
385
385
  */
386
- minLength?: number;
386
+ minLength?: number | null;
387
387
  /**
388
388
  * The input type identifier.
389
389
  */
@@ -16,12 +16,12 @@ export interface GeoJSONLayerJson extends OperationalLayerJsonBase {
16
16
  * Indicates whether to allow a client to ignore popups defined by the
17
17
  * service item.
18
18
  */
19
- disablePopup?: boolean;
19
+ disablePopup?: boolean | null;
20
20
  /**
21
21
  * A layerDefinition object defining the attribute schema and drawing
22
22
  * information for the layer.
23
23
  */
24
- layerDefinition?: LayerDefinitionJson;
24
+ layerDefinition?: LayerDefinitionJson | null;
25
25
  /**
26
26
  * The type of layer.
27
27
  */
@@ -30,18 +30,18 @@ export interface GeoJSONLayerJson extends OperationalLayerJsonBase {
30
30
  * A PopupInfo object defining the content of pop-up windows when you click
31
31
  * or query a feature.
32
32
  */
33
- popupInfo?: PopupInfoJson;
33
+ popupInfo?: PopupInfoJson | null;
34
34
  /**
35
35
  * Apply perspective scaling to screen-size symbols.
36
36
  */
37
- screenSizePerspective?: boolean;
37
+ screenSizePerspective?: boolean | null;
38
38
  /**
39
39
  * Indicates whether to display labels for this layer. If true, labels will
40
40
  * appear as defined in the labelingInfo property.
41
41
  */
42
- showLabels?: boolean;
42
+ showLabels?: boolean | null;
43
43
  /**
44
44
  * The URL to the GeoJSON file that backs the layer.
45
45
  */
46
- url?: string;
46
+ url?: string | null;
47
47
  }
@@ -19,19 +19,19 @@ export interface GeoRSSLayerJson extends OperationalLayerJsonBase {
19
19
  * Defined by the GeoRSS to JSON request service. If the GeoRSS feed does
20
20
  * not have lines, this property is not added to the layer JSON.
21
21
  */
22
- lineSymbol?: SimpleLineSymbolJson;
22
+ lineSymbol?: SimpleLineSymbolJson | null;
23
23
  /**
24
24
  * Defined by the GeoRSS to JSON request service. If the GeoRSS feed does
25
25
  * not have points, this property is not added to the layer JSON.
26
26
  */
27
- pointSymbol?: PictureMarkerSymbolJson;
27
+ pointSymbol?: PictureMarkerSymbolJson | null;
28
28
  /**
29
29
  * Defined by the GeoRSS to JSON request service. If the GeoRSS feed does
30
30
  * not have polygons, this property is not added to the layer JSON.
31
31
  */
32
- polygonSymbol?: SimpleFillSymbolJson;
32
+ polygonSymbol?: SimpleFillSymbolJson | null;
33
33
  /**
34
34
  * The URL to the layer.
35
35
  */
36
- url?: string;
36
+ url?: string | null;
37
37
  }
@@ -21,7 +21,7 @@ export interface GeometryJsonBase {
21
21
  * The spatial reference can be defined using a well-known ID (WKID) or
22
22
  * well-known text (WKT).
23
23
  */
24
- spatialReference?: SpatialReferenceJson;
24
+ spatialReference?: SpatialReferenceJson | null;
25
25
  }
26
26
  /**
27
27
  * This object defines the bounding geometry given the lower-left and
@@ -36,22 +36,22 @@ export interface ExtentJson extends GeometryJsonBase {
36
36
  * A numeric value indicating the bottom-left X-coordinate of an extent
37
37
  * envelope.
38
38
  */
39
- xmin?: number;
39
+ xmin?: number | null;
40
40
  /**
41
41
  * A numeric value indicating the top-right X-coordinate of an extent
42
42
  * envelope.
43
43
  */
44
- xmax?: number;
44
+ xmax?: number | null;
45
45
  /**
46
46
  * A numeric value indicating the bottom-left Y-coordinate of an extent
47
47
  * envelope.
48
48
  */
49
- ymin?: number;
49
+ ymin?: number | null;
50
50
  /**
51
51
  * A numeric value indicating the top-right Y-coordinate of an extent
52
52
  * envelope.
53
53
  */
54
- ymax?: number;
54
+ ymax?: number | null;
55
55
  }
56
56
  /**
57
57
  * Defines the JSON formats of the point and spatial reference objects. See
@@ -63,7 +63,7 @@ export interface PointJson extends GeometryJsonBase {
63
63
  /**
64
64
  * M coordinate which contains measures used for linear referencing.
65
65
  */
66
- m?: number;
66
+ m?: number | null;
67
67
  /**
68
68
  * X coordinate which is measured along the east/west axis.
69
69
  */
@@ -86,11 +86,11 @@ export interface MultipointJson extends GeometryJsonBase {
86
86
  /**
87
87
  * Indicates whether the geometry contains M coordinate values.
88
88
  */
89
- hasM?: boolean;
89
+ hasM?: boolean | null;
90
90
  /**
91
91
  * Indicates whether the geometry contains Z coordinate values.
92
92
  */
93
- hasZ?: boolean;
93
+ hasZ?: boolean | null;
94
94
  /**
95
95
  * An array that corresponds to 2D and 3D points.
96
96
  */
@@ -105,11 +105,11 @@ export interface PolylineJson extends GeometryJsonBase {
105
105
  /**
106
106
  * Indicates whether the geometry contains M coordinate values.
107
107
  */
108
- hasM?: boolean;
108
+ hasM?: boolean | null;
109
109
  /**
110
110
  * Indicates whether the geometry contains Z coordinate values.
111
111
  */
112
- hasZ?: boolean;
112
+ hasZ?: boolean | null;
113
113
  /**
114
114
  * Three nested arrays which corresponds to a polyline.
115
115
  */
@@ -124,11 +124,11 @@ export interface PolygonJson extends GeometryJsonBase {
124
124
  /**
125
125
  * Indicates whether the geometry contains M coordinate values.
126
126
  */
127
- hasM?: boolean;
127
+ hasM?: boolean | null;
128
128
  /**
129
129
  * Indicates whether the geometry contains Z coordinate values.
130
130
  */
131
- hasZ?: boolean;
131
+ hasZ?: boolean | null;
132
132
  /**
133
133
  * Represents an array of points. Each point is an array of numbers.
134
134
  */