@vertigis/arcgis-extensions 48.4.0 → 48.5.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.
Files changed (183) 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/tasks_identify_WMSSublayerIdentifyProvider.WMSSublayerIdentifyProvider.html +2 -2
  8. package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +1 -1
  9. package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
  10. package/docs/html/classes/utilities_log.ConsoleLogger.html +7 -7
  11. package/docs/html/classes/utilities_log.LoggerBase.html +7 -7
  12. package/docs/html/functions/utilities__gml.esriToGml.html +2 -2
  13. package/docs/html/functions/utilities__layers.getEquivalencyTypeForLayers.html +1 -0
  14. package/docs/html/functions/utilities__layers.getLayerUrl.html +2 -2
  15. package/docs/html/functions/utilities_geometry.buffer.html +5 -5
  16. package/docs/html/functions/utilities_geometry.esriToGml.html +2 -2
  17. package/docs/html/functions/utilities_iterable.find.html +2 -2
  18. package/docs/html/functions/utilities_iterable.first.html +2 -2
  19. package/docs/html/functions/utilities_mapping.getMapSpatialReference.html +2 -2
  20. package/docs/html/functions/utilities_object.deepSearchAndTransform.html +6 -4
  21. package/docs/html/functions/utilities_object.deepSearchAndTransformAsync.html +6 -4
  22. package/docs/html/functions/utilities_object.getPropertyDescriptor.html +2 -2
  23. package/docs/html/functions/utilities_object.isEmpty.html +1 -1
  24. package/docs/html/functions/utilities_object.map.html +1 -1
  25. package/docs/html/functions/utilities_object.toJSON.html +1 -1
  26. package/docs/html/functions/utilities_portal.getPortalItemHtmlUrl.html +2 -2
  27. package/docs/html/functions/utilities_portal.toPortalItem.html +4 -1
  28. package/docs/html/functions/utilities_set.find.html +2 -2
  29. package/docs/html/hierarchy.html +1 -1
  30. package/docs/html/interfaces/data_FieldExtension.FieldProperties.html +4 -2
  31. package/docs/html/interfaces/json_AnnotationLayerJson.AnnotationLayerJson.html +2 -2
  32. package/docs/html/interfaces/json_BasemapLayerJson.BasemapLayerJsonBase.html +2 -2
  33. package/docs/html/interfaces/json_BingLayerJson.BingLayerJson.html +2 -2
  34. package/docs/html/interfaces/json_BuildingSceneLayerJson.BuildingSceneLayerJson.html +2 -2
  35. package/docs/html/interfaces/json_CSVLayerJson.CSVLayerJson.html +2 -2
  36. package/docs/html/interfaces/json_FeatureLayerJson.FeatureLayerJson.html +5 -3
  37. package/docs/html/interfaces/json_FeatureSetJson.FeatureSetJson.html +4 -2
  38. package/docs/html/interfaces/json_FieldJson.FieldJson.html +4 -2
  39. package/docs/html/interfaces/json_GeoJSONLayerJson.GeoJSONLayerJson.html +2 -2
  40. package/docs/html/interfaces/json_GeoRSSLayerJson.GeoRSSLayerJson.html +2 -2
  41. package/docs/html/interfaces/json_GroupLayerJson.GroupLayerJson.html +2 -2
  42. package/docs/html/interfaces/json_ImageServiceLayerJson.ImageServiceLayerJson.html +2 -2
  43. package/docs/html/interfaces/json_ImageServiceVectorLayerJson.ImageServiceVectorLayerJson.html +2 -2
  44. package/docs/html/interfaces/json_IntegratedMeshLayerJson.IntegratedMeshLayerJson.html +2 -2
  45. package/docs/html/interfaces/json_ItemJson.ItemJson.html +5 -2
  46. package/docs/html/interfaces/json_KMLLayerJson.KMLLayerJson.html +2 -2
  47. package/docs/html/interfaces/json_LayerDefinitionJson.LayerDefinitionJson.html +2 -2
  48. package/docs/html/interfaces/json_LayerJson.LayerJsonBase.html +2 -2
  49. package/docs/html/interfaces/json_MapServiceLayerJson.MapServiceLayerJson.html +2 -2
  50. package/docs/html/interfaces/json_OpenStreetMapLayerJson.OpenStreetMapLayerJson.html +2 -2
  51. package/docs/html/interfaces/json_OperationalLayerJson.OperationalLayerJsonBase.html +2 -2
  52. package/docs/html/interfaces/json_PointCloudLayerJson.PointCloudLayerJson.html +2 -2
  53. package/docs/html/interfaces/json_RasterDataElevationLayerJson.RasterDataElevationLayerJson.html +2 -2
  54. package/docs/html/interfaces/json_SceneLayerJson.SceneLayerJson.html +2 -2
  55. package/docs/html/interfaces/json_StreamLayerJson.StreamLayerJson.html +6 -4
  56. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeGroupLayerJson.html +10 -5
  57. package/docs/html/interfaces/json_SubtypeGroupLayerJson.SubtypeSubtypeGroupLayerJson.html +10 -5
  58. package/docs/html/interfaces/json_SubtypeSublayerJson.SubtypeSublayerJson.html +9 -6
  59. package/docs/html/interfaces/json_SymbolJson.TextSymbolJson.html +2 -2
  60. package/docs/html/interfaces/json_TiledElevationServiceLayerJson.TiledElevationServiceLayerJson.html +2 -2
  61. package/docs/html/interfaces/json_TiledImageServiceLayerJson.TiledImageServiceLayerJson.html +2 -2
  62. package/docs/html/interfaces/json_TiledMapServiceLayerJson.TiledMapServiceLayerJson.html +2 -2
  63. package/docs/html/interfaces/json_VectorTileLayerJson.VectorTileLayerJson.html +2 -2
  64. package/docs/html/interfaces/json_WFSLayerJson.WFSLayerJson.html +2 -2
  65. package/docs/html/interfaces/json_WMSLayerJson.WMSLayerJson.html +2 -2
  66. package/docs/html/interfaces/json_WebTileLayerJson.TileInfoJson.html +2 -2
  67. package/docs/html/interfaces/json_WebTileLayerJson.WebTileLayerJson.html +2 -2
  68. package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +2 -2
  69. package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +6 -4
  70. package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +6 -4
  71. package/docs/html/interfaces/mapping_MapImageLayerExtension.MapImageLayerExtensionProperties.html +3 -3
  72. package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +2 -2
  73. package/docs/html/interfaces/utilities_format_FormatSettings.FormatSettings.html +1 -1
  74. package/docs/html/interfaces/utilities_log.LogMessageOptions.html +30 -0
  75. package/docs/html/interfaces/utilities_log.LogMessageResourceOptions.html +33 -0
  76. package/docs/html/interfaces/utilities_log.Logger.html +8 -8
  77. package/docs/html/modules/utilities_log.html +3 -1
  78. package/docs/html/types/utilities_log.LogOptions.html +2 -0
  79. package/docs/html/variables/version.version.html +1 -1
  80. package/json/AnnotationLayerJson.d.ts +7 -7
  81. package/json/BasemapJson.d.ts +4 -4
  82. package/json/BasemapJson.js +1 -1
  83. package/json/BasemapLayerJson.d.ts +1 -1
  84. package/json/BingLayerJson.d.ts +1 -1
  85. package/json/BuildingSceneLayerJson.d.ts +18 -18
  86. package/json/BuildingSceneSublayerJson.d.ts +8 -8
  87. package/json/CSVLayerJson.d.ts +12 -12
  88. package/json/DefinitionEditorJson.d.ts +9 -9
  89. package/json/DrawingInfoJson.d.ts +29 -29
  90. package/json/EnvironmentJson.d.ts +19 -19
  91. package/json/FeatureCollectionJson.d.ts +1 -1
  92. package/json/FeatureJson.d.ts +4 -4
  93. package/json/FeatureJson.js +1 -1
  94. package/json/FeatureLayerJson.d.ts +20 -16
  95. package/json/FeatureLayerJson.js +1 -1
  96. package/json/FeatureSetJson.d.ts +5 -0
  97. package/json/FieldJson.d.ts +11 -7
  98. package/json/FormInfoJson.d.ts +48 -48
  99. package/json/GeoJSONLayerJson.d.ts +6 -6
  100. package/json/GeoRSSLayerJson.d.ts +4 -4
  101. package/json/GeometryJson.d.ts +12 -12
  102. package/json/GroundJson.d.ts +4 -4
  103. package/json/GroupLayerJson.d.ts +3 -3
  104. package/json/ImageServiceLayerJson.d.ts +20 -20
  105. package/json/ImageServiceVectorLayerJson.d.ts +6 -6
  106. package/json/IntegratedMeshLayerJson.d.ts +2 -2
  107. package/json/ItemJson.d.ts +51 -46
  108. package/json/KMLLayerJson.d.ts +3 -3
  109. package/json/LayerDefinitionJson.d.ts +102 -102
  110. package/json/LayerJson.d.ts +21 -21
  111. package/json/LayerJson.js +1 -1
  112. package/json/MapServiceLayerJson.d.ts +6 -6
  113. package/json/MosaicRuleJson.d.ts +14 -14
  114. package/json/OpenStreetMapLayerJson.d.ts +1 -1
  115. package/json/OperationalLayerJson.d.ts +2 -2
  116. package/json/PointCloudLayerJson.d.ts +4 -4
  117. package/json/PopupInfoJson.d.ts +47 -47
  118. package/json/RasterDataElevationLayerJson.d.ts +1 -1
  119. package/json/RendererJson.d.ts +113 -113
  120. package/json/SceneLayerJson.d.ts +7 -7
  121. package/json/SpatialReferenceJson.d.ts +5 -5
  122. package/json/SublayerJson.d.ts +17 -17
  123. package/json/SublayerJson.js +1 -1
  124. package/json/SubtypeGroupLayerJson.d.ts +14 -5
  125. package/json/SubtypeSublayerJson.d.ts +13 -8
  126. package/json/SymbolJson.d.ts +122 -122
  127. package/json/TableJson.d.ts +10 -10
  128. package/json/TableJson.js +1 -1
  129. package/json/TemplateJson.d.ts +4 -4
  130. package/json/TiledElevationServiceLayerJson.d.ts +3 -3
  131. package/json/TiledImageServiceLayerJson.d.ts +3 -3
  132. package/json/TiledMapServiceLayerJson.d.ts +12 -12
  133. package/json/TypeJson.d.ts +4 -4
  134. package/json/VectorTileLayerJson.d.ts +4 -4
  135. package/json/ViewpointJson.d.ts +6 -6
  136. package/json/WFSLayerJson.d.ts +16 -16
  137. package/json/WMSLayerJson.d.ts +16 -16
  138. package/json/WMSSublayerJson.d.ts +5 -5
  139. package/json/WebMapJson.d.ts +134 -133
  140. package/json/WebMapJson.js +1 -1
  141. package/json/WebSceneJson.d.ts +6 -6
  142. package/json/WebTileLayerJson.d.ts +26 -26
  143. package/mapping/ImageryLayerExtension.js +1 -1
  144. package/mapping/MapExtension.js +1 -1
  145. package/package.json +1 -1
  146. package/tasks/identify/WMSLayerFeatureInfoIdentifyProvider.js +1 -1
  147. package/tasks/identify/WMSSublayerIdentifyProvider.d.ts +3 -2
  148. package/tasks/identify/WMSSublayerIdentifyProvider.js +1 -1
  149. package/utilities/ObservableSet.d.ts +1 -1
  150. package/utilities/ObservableSet.js +1 -1
  151. package/utilities/ObservableWeakSet.d.ts +1 -1
  152. package/utilities/ObservableWeakSet.js +1 -1
  153. package/utilities/_gml.d.ts +1 -1
  154. package/utilities/_gml.js +1 -1
  155. package/utilities/_layers.d.ts +5 -3
  156. package/utilities/_layers.js +1 -1
  157. package/utilities/_wkt.js +1 -1
  158. package/utilities/array.js +1 -1
  159. package/utilities/asyncIterable.js +1 -1
  160. package/utilities/checkArg.js +1 -1
  161. package/utilities/esri.js +1 -1
  162. package/utilities/format/date.d.ts +8 -8
  163. package/utilities/format/date.js +1 -1
  164. package/utilities/format/number.d.ts +9 -9
  165. package/utilities/format/number.js +1 -1
  166. package/utilities/format/string.d.ts +12 -12
  167. package/utilities/format/string.js +1 -1
  168. package/utilities/geometry.d.ts +4 -3
  169. package/utilities/geometry.js +1 -1
  170. package/utilities/iterable.d.ts +2 -2
  171. package/utilities/log.d.ts +26 -7
  172. package/utilities/log.js +1 -1
  173. package/utilities/mapping.d.ts +1 -1
  174. package/utilities/mapping.js +1 -1
  175. package/utilities/object.d.ts +10 -6
  176. package/utilities/object.js +1 -1
  177. package/utilities/portal.d.ts +4 -1
  178. package/utilities/portal.js +1 -1
  179. package/utilities/query.js +1 -1
  180. package/utilities/set.d.ts +1 -1
  181. package/version.d.ts +1 -1
  182. package/version.js +1 -1
  183. package/docs/html/interfaces/utilities_log.LogOptions.html +0 -33
@@ -21,74 +21,74 @@ export interface LayerDefinitionJson {
21
21
  * Boolean value indicating whether the geometry of the features in the
22
22
  * layer can be edited.
23
23
  */
24
- allowGeometryUpdates?: boolean;
24
+ allowGeometryUpdates?: boolean | null;
25
25
  /**
26
26
  * A comma-separated string listing which editing operations are allowed on
27
27
  * an editable feature service. Available operations include: Create |
28
28
  * Delete | Query | Update | Editing.
29
29
  */
30
- capabilities?: string;
30
+ capabilities?: string | null;
31
31
  /**
32
32
  * String value for the copyright text information for the layer.
33
33
  */
34
- copyrightText?: string;
34
+ copyrightText?: string | null;
35
35
  /**
36
36
  * Numeric value indicating the server version of the layer.
37
37
  */
38
- currentVersion?: number;
38
+ currentVersion?: number | null;
39
39
  /**
40
40
  * Boolean value indicating whether the layer's visibility is turned on.
41
41
  */
42
- defaultVisibility?: boolean;
42
+ defaultVisibility?: boolean | null;
43
43
  /**
44
44
  * Stores interactive filters.
45
45
  */
46
- definitionEditor?: DefinitionEditorJson;
46
+ definitionEditor?: DefinitionEditorJson | null;
47
47
  /**
48
48
  * An optional SQL-based definition expression that narrows down the data to
49
49
  * be displayed in the layer. Used with ArcGIS Server map services.
50
50
  */
51
- definitionExpression?: string;
51
+ definitionExpression?: string | null;
52
52
  /**
53
53
  * String value of the layer as defined in the map service.
54
54
  */
55
- description?: string;
55
+ description?: string | null;
56
56
  /**
57
57
  * The name of the field that best summarizes the feature. Values from this
58
58
  * field are used by default as the titles for pop-up windows.
59
59
  */
60
- displayField?: string;
60
+ displayField?: string | null;
61
61
  /**
62
62
  * A drawingInfo object containing drawing, labeling, and transparency
63
63
  * information for the layer.
64
64
  */
65
- drawingInfo?: DrawingInfoJson;
65
+ drawingInfo?: DrawingInfoJson | null;
66
66
  /**
67
67
  * Specifies how graphics are placed on the vertical axis (z). This property
68
68
  * may only be used in a SceneView.
69
69
  */
70
- elevationInfo?: ElevationInfoJson;
70
+ elevationInfo?: ElevationInfoJson | null;
71
71
  /**
72
72
  * The rectangular map extent that should be requested from the service,
73
73
  * given in the format [[xmin, ymin],[xmax,ymax]].
74
74
  */
75
- extent?: ExtentJson;
75
+ extent?: ExtentJson | null;
76
76
  /**
77
77
  * Feature reductions declutter the screen by hiding features that would
78
78
  * otherwise intersect with other features on screen.
79
79
  */
80
- featureReduction?: FeatureReductionJson;
80
+ featureReduction?: FeatureReductionJson | null;
81
81
  /**
82
82
  * The layer-specific overrides of field properties. Used by
83
83
  * SubtypeGroupLayer to modify field information for each subtype. Any field
84
84
  * missing from this array should be hidden.
85
85
  */
86
- fieldOverrides?: FieldOverrideJson[];
86
+ fieldOverrides?: FieldOverrideJson[] | null;
87
87
  /**
88
88
  * An array of Field objects containing information about the attribute
89
89
  * fields for the feature collection or layer.
90
90
  */
91
- fields?: FieldJson[];
91
+ fields?: FieldJson[] | null;
92
92
  /**
93
93
  * Contains floor-awareness information for the layer. See
94
94
  * {@link https://developers.arcgis.com/web-map-specification/objects/layerFloorInfo/}.
@@ -99,131 +99,131 @@ export interface LayerDefinitionJson {
99
99
  * for floor filtering.
100
100
  */
101
101
  floorField: string;
102
- };
102
+ } | null;
103
103
  /**
104
104
  * The type of geometry used in the layer definition. One of the
105
105
  * GeometryType constants.
106
106
  */
107
- geometryType?: string;
107
+ geometryType?: string | null;
108
108
  /**
109
109
  * The unique identifier for a feature or table row within a geodatabase.
110
110
  */
111
- globalIdField?: string;
111
+ globalIdField?: string | null;
112
112
  /**
113
113
  * Indicates whether attachments should be loaded for the layer.
114
114
  */
115
- hasAttachments?: boolean;
115
+ hasAttachments?: boolean | null;
116
116
  /**
117
117
  * Boolean value indicating whether layer has M values.
118
118
  */
119
- hasM?: boolean;
119
+ hasM?: boolean | null;
120
120
  /**
121
121
  * Boolean value indicating whether data changes. True if it does not.
122
122
  */
123
- hasStaticData?: boolean;
123
+ hasStaticData?: boolean | null;
124
124
  /**
125
125
  * Boolean value indicating whether layer has Z values.
126
126
  */
127
- hasZ?: boolean;
127
+ hasZ?: boolean | null;
128
128
  /**
129
129
  * String value indicating the HTML popup type. Possible values are listed
130
130
  * in the htmlPopupType table below.
131
131
  */
132
- htmlPopupType?: "esriServerHTMLPopupTypeAsHTMLText" | "esriServerHTMLPopupTypeAsURL" | "esriServerHTMLPopupTypeNone";
132
+ htmlPopupType?: "esriServerHTMLPopupTypeAsHTMLText" | "esriServerHTMLPopupTypeAsURL" | "esriServerHTMLPopupTypeNone" | null;
133
133
  /**
134
134
  * The identifier assigned to the layer.
135
135
  */
136
- id?: string;
136
+ id?: string | number | null;
137
137
  /**
138
138
  * Boolean value indicating whether the data is versioned.
139
139
  */
140
- isDataVersioned?: boolean;
140
+ isDataVersioned?: boolean | null;
141
141
  /**
142
142
  * Numeric value indicating the maximum number of records that will be
143
143
  * returned at once for a query.
144
144
  */
145
- maxRecordCount?: number;
145
+ maxRecordCount?: number | null;
146
146
  /**
147
147
  * A number representing the maximum scale at which the layer definition
148
148
  * will be applied. The number is the scale's denominator; thus, a value of
149
149
  * 2400 represents a scale of 1/2,400. A value of 0 indicates that the layer
150
150
  * definition will be applied no matter how far you zoom in.
151
151
  */
152
- maxScale?: number;
152
+ maxScale?: number | null;
153
153
  /**
154
154
  * A number representing the minimum scale at which the layer definition
155
155
  * will be applied. The number is the scale's denominator; thus, a value of
156
156
  * 2400 represents a scale of 1/2,400.
157
157
  */
158
- minScale?: number;
158
+ minScale?: number | null;
159
159
  /**
160
160
  * A string containing a unique name for the layer that could be displayed
161
161
  * in a legend.
162
162
  */
163
- name?: string;
163
+ name?: string | null;
164
164
  /**
165
165
  * Indicates the name of the object ID field in the dataset.
166
166
  */
167
- objectIdField?: string;
167
+ objectIdField?: string | null;
168
168
  /**
169
169
  * Determines the display order of features on the map.
170
170
  */
171
- orderBy?: OrderByClauseJson[];
171
+ orderBy?: OrderByClauseJson[] | null;
172
172
  /**
173
173
  * Dictates whether a client can support having an end user modify symbols
174
174
  * on individual features.
175
175
  */
176
- overrideSymbols?: boolean;
176
+ overrideSymbols?: boolean | null;
177
177
  /**
178
178
  * Indicates range information.
179
179
  */
180
- rangeInfos?: RangeInfoJson[];
180
+ rangeInfos?: RangeInfoJson[] | null;
181
181
  /**
182
182
  * An object indicating the layerDefinition's layer source. See
183
183
  * {@link https://developers.arcgis.com/web-map-specification/objects/source/}
184
184
  * {@link https://developers.arcgis.com/web-scene-specification/objects/source/}.
185
185
  */
186
- source?: DynamicDataLayerJson | DynamicMapLayerJson;
186
+ source?: DynamicDataLayerJson | DynamicMapLayerJson | null;
187
187
  /**
188
188
  * An object containing the WKID or WKT identifying the spatial reference of
189
189
  * the layer's geometry.
190
190
  */
191
- spatialReference?: SpatialReferenceJson;
191
+ spatialReference?: SpatialReferenceJson | null;
192
192
  /**
193
193
  * String value indicating the output formats that are supported in a query.
194
194
  */
195
- supportedQueryFormats?: string;
195
+ supportedQueryFormats?: string | null;
196
196
  /**
197
197
  * Boolean value indicating whether the layer supports orderByFields in a
198
198
  * query operation.
199
199
  */
200
- supportsAdvancedQueries?: boolean;
200
+ supportsAdvancedQueries?: boolean | null;
201
201
  /**
202
202
  * Boolean value indicating whether the layer supports uploading attachments
203
203
  * with the Uploads operation. This can be then used in the Add Attachment
204
204
  * and Update Attachment operations.
205
205
  */
206
- supportsAttachmentsByUploadId?: boolean;
206
+ supportsAttachmentsByUploadId?: boolean | null;
207
207
  /**
208
208
  * Boolean value indicating whether the layer supports the Calculate REST
209
209
  * operation when updating features.
210
210
  */
211
- supportsCalculate?: boolean;
211
+ supportsCalculate?: boolean | null;
212
212
  /**
213
213
  * Boolean value indicating whether the layer supports rolling back edits
214
214
  * made on a feature layer if some of the edits fail.
215
215
  */
216
- supportsRollbackOnFailureParameter?: boolean;
216
+ supportsRollbackOnFailureParameter?: boolean | null;
217
217
  /**
218
218
  * Boolean value indicating whether feature layer query operations support
219
219
  * statistical functions.
220
220
  */
221
- supportsStatistics?: boolean;
221
+ supportsStatistics?: boolean | null;
222
222
  /**
223
223
  * Boolean value indicating whether the validateSQL operation is supported
224
224
  * across a feature service layer.
225
225
  */
226
- supportsValidateSql?: boolean;
226
+ supportsValidateSql?: boolean | null;
227
227
  /**
228
228
  * An array of template objects describing features that can be created in
229
229
  * this layer. Templates are used with map notes, other feature collections,
@@ -234,23 +234,23 @@ export interface LayerDefinitionJson {
234
234
  * are no types defined; otherwise, templates are defined as properties of
235
235
  * the types.
236
236
  */
237
- templates?: TemplateJson[];
237
+ templates?: TemplateJson[] | null;
238
238
  /**
239
239
  * The time info metadata of the layer. May be set for feature layers inside
240
240
  * a feature collection item.
241
241
  */
242
- timeInfo?: LayerTimeInfoJson;
242
+ timeInfo?: LayerTimeInfoJson | null;
243
243
  /**
244
244
  * Indicates whether the layerDefinition applies to a "Feature Layer" or a
245
245
  * "Table".
246
246
  */
247
- type?: string;
247
+ type?: string | null;
248
248
  /**
249
249
  * The name of the field holding the type ID for the features, if types
250
250
  * exist for the dataset. Each available type has an ID, and each feature's
251
251
  * typeIdField can be read to determine the type for each feature.
252
252
  */
253
- typeIdField?: string;
253
+ typeIdField?: string | null;
254
254
  /**
255
255
  * An array of Type objects available for the dataset. This is used when the
256
256
  * typeIdField is populated.
@@ -259,14 +259,14 @@ export interface LayerDefinitionJson {
259
259
  * allowed for features in the dataset. Each feature in the dataset can have
260
260
  * a type, indicated in its typeIdField.
261
261
  */
262
- types?: TypeJson[];
262
+ types?: TypeJson[] | null;
263
263
  /**
264
264
  * String value indicating the attribute field that is used to control the
265
265
  * visibility of a feature. If applicable, when rendering a feature the
266
266
  * client should use this field to control visibility. The field's values
267
267
  * are 0 = do not display, 1 = display.
268
268
  */
269
- visibilityField?: string;
269
+ visibilityField?: string | null;
270
270
  }
271
271
  /**
272
272
  * Defines overridden properties on a field for a specific view of the data. See
@@ -276,15 +276,15 @@ export interface FieldOverrideJson {
276
276
  /**
277
277
  * A string containing the overridden field alias.
278
278
  */
279
- alias?: string;
279
+ alias?: string | null;
280
280
  /**
281
281
  * A Boolean determining whether users can edit this field.
282
282
  */
283
- editable?: boolean;
283
+ editable?: boolean | null;
284
284
  /**
285
285
  * A string containing the field name as defined by the service.
286
286
  */
287
- name?: string;
287
+ name?: string | null;
288
288
  }
289
289
  /**
290
290
  * Time info if the layer/table supports querying and exporting maps based on
@@ -295,32 +295,32 @@ export interface LayerTimeInfoJson {
295
295
  /**
296
296
  * The name of the attribute field that contains the end time information.
297
297
  */
298
- endTimeField?: string;
298
+ endTimeField?: string | null;
299
299
  /**
300
300
  * The default time-related export options for this layer.
301
301
  */
302
- exportOptions?: TimeInfoExportOptionsJson;
302
+ exportOptions?: TimeInfoExportOptionsJson | null;
303
303
  /**
304
304
  * Indicates whether service has live data.
305
305
  */
306
- hasLiveData?: boolean;
306
+ hasLiveData?: boolean | null;
307
307
  /**
308
308
  * The name of the attribute field that contains the start time information.
309
309
  */
310
- startTimeField?: string;
310
+ startTimeField?: string | null;
311
311
  /**
312
312
  * The time extent for all the data in the layer.
313
313
  */
314
- timeExtent?: [number, number];
314
+ timeExtent?: [number, number] | null;
315
315
  /**
316
316
  * Time interval of the data in the layer. Typically used for the TimeSlider
317
317
  * when animating the layer.
318
318
  */
319
- timeInterval?: number;
319
+ timeInterval?: number | null;
320
320
  /**
321
321
  * Temporal unit in which the time interval is measured.
322
322
  */
323
- timeIntervalUnits?: TemporalUnitJsonType;
323
+ timeIntervalUnits?: TemporalUnitJsonType | null;
324
324
  /**
325
325
  * Defines information about daylight savings time and the time zone in
326
326
  * which data was collected. See
@@ -335,8 +335,8 @@ export interface LayerTimeInfoJson {
335
335
  /**
336
336
  * The time zone in which the data was captured.
337
337
  */
338
- timeZone?: string;
339
- };
338
+ timeZone?: string | null;
339
+ } | null;
340
340
  /**
341
341
  * The field that contains the trackId.
342
342
  */
@@ -350,20 +350,20 @@ export interface TimeInfoExportOptionsJson {
350
350
  /**
351
351
  * If true, draw all the features from the beginning of time for that data.
352
352
  */
353
- timeDataCumulative?: boolean;
353
+ timeDataCumulative?: boolean | null;
354
354
  /**
355
355
  * Time offset value for this layer so that it can be overlaid on the top of
356
356
  * a previous or future time period.
357
357
  */
358
- timeOffset?: number;
358
+ timeOffset?: number | null;
359
359
  /**
360
360
  * Temporal unit in which the time offset is measured.
361
361
  */
362
- timeOffsetUnits?: TemporalUnitJsonType;
362
+ timeOffsetUnits?: TemporalUnitJsonType | null;
363
363
  /**
364
364
  * If true, use the time extent specified by the time parameter.
365
365
  */
366
- useTime?: boolean;
366
+ useTime?: boolean | null;
367
367
  }
368
368
  /**
369
369
  * Temporal units in which a time value can be measured.
@@ -376,7 +376,7 @@ export interface OrderByClauseJson {
376
376
  /**
377
377
  * The number or date field whose values will be used to sort features.
378
378
  */
379
- field?: string;
379
+ field?: string | null;
380
380
  /**
381
381
  * The [Arcade
382
382
  * expression](https://developers.arcgis.com/javascript/latest/arcade/)
@@ -386,11 +386,11 @@ export interface OrderByClauseJson {
386
386
  * [Read
387
387
  * more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-OrderedLayer.html#orderBy).
388
388
  */
389
- valueExpression?: string;
389
+ valueExpression?: string | null;
390
390
  /**
391
391
  * The sort order.
392
392
  */
393
- order?: "asc" | "desc";
393
+ order?: "asc" | "desc" | null;
394
394
  }
395
395
  /**
396
396
  * Defines how the graphic is placed with respect to the terrain surface.
@@ -433,28 +433,28 @@ export interface ElevationInfoJson {
433
433
  * Deprecated with 1.8, use featureExpressionInfo instead. Ignores geometry
434
434
  * z-values.
435
435
  */
436
- featureExpression?: unknown;
436
+ featureExpression?: unknown | null;
437
437
  /**
438
438
  * Sets the offset distance, type and other parameters.
439
439
  */
440
- featureExpressionInfo?: FeatureExpressionInfoJson;
440
+ featureExpressionInfo?: FeatureExpressionInfoJson | null;
441
441
  /**
442
442
  * Determines how the service elevation values are combined with the basemap
443
443
  * elevation.
444
444
  */
445
- mode?: ElevationModeJsonType;
445
+ mode?: ElevationModeJsonType | null;
446
446
  /**
447
447
  * Offset is always added to the result of the above logic except for
448
448
  * `"onTheGround"` where offset is ignored.
449
449
  */
450
- offset?: number;
450
+ offset?: number | null;
451
451
  /**
452
452
  * A string value indicating the unit for the values in elevationInfo.
453
453
  * Applies to both offset and featureExpressionInfo. Defaults to meter if
454
454
  * not set. Supported units: "foot", "kilometer", "meter", "mile",
455
455
  * "us-foot", "yard".
456
456
  */
457
- unit?: string;
457
+ unit?: string | null;
458
458
  }
459
459
  /**
460
460
  * An object that defines an expression for per-feature elevation. If not set,
@@ -466,11 +466,11 @@ export interface FeatureExpressionInfoJson {
466
466
  * An Arcade expression evaluating to a number. Value of "0" does not use
467
467
  * geometry.z values.
468
468
  */
469
- expression?: string;
469
+ expression?: string | null;
470
470
  /**
471
471
  * Title of the expression.
472
472
  */
473
- title?: string;
473
+ title?: string | null;
474
474
  }
475
475
  /**
476
476
  * Range Information.
@@ -482,19 +482,19 @@ export interface RangeInfoJson {
482
482
  /**
483
483
  * Contains the min and max values within which the features are visible.
484
484
  */
485
- currentRangeExtent?: [number, number];
485
+ currentRangeExtent?: [number, number] | null;
486
486
  /**
487
487
  * Field name to used for the range.
488
488
  */
489
- field?: string;
489
+ field?: string | null;
490
490
  /**
491
491
  * Contains the min and max values of all the features for this rangeInfo.
492
492
  */
493
- fullRangeExtent?: [number, number];
493
+ fullRangeExtent?: [number, number] | null;
494
494
  /**
495
495
  * A unique name that can be referenced by webMap.activeRanges.
496
496
  */
497
- name?: string;
497
+ name?: string | null;
498
498
  /**
499
499
  * Type of range object. Value of this property must be rangeInfo.
500
500
  */
@@ -513,11 +513,11 @@ export interface DynamicDataLayerJson {
513
513
  * {@link https://developers.arcgis.com/web-map-specification/objects/dataSource/}
514
514
  * {@link https://developers.arcgis.com/web-scene-specification/objects/dataSource/}.
515
515
  */
516
- dataSource?: DataSourceJson;
516
+ dataSource?: DataSourceJson | null;
517
517
  /**
518
518
  * An array of objects specifying information about an attribute field.
519
519
  */
520
- fields?: FieldJson[];
520
+ fields?: FieldJson[] | null;
521
521
  /**
522
522
  * A string value indicating the type. This value is dataLayer.
523
523
  */
@@ -533,11 +533,11 @@ export interface DynamicMapLayerJson {
533
533
  /**
534
534
  * If applicable, specify this to use an alternate geodatabase version.
535
535
  */
536
- gdbVersion?: string;
536
+ gdbVersion?: string | null;
537
537
  /**
538
538
  * The current map layer's ID.
539
539
  */
540
- mapLayerId?: number;
540
+ mapLayerId?: number | null;
541
541
  /**
542
542
  * A string value indicating the type. This value is mapLayer.
543
543
  */
@@ -563,7 +563,7 @@ export interface DataSourceJsonBase {
563
563
  /**
564
564
  * The unique string value used to identify the data-source's workspace.
565
565
  */
566
- workspaceId?: string;
566
+ workspaceId?: string | null;
567
567
  }
568
568
  /**
569
569
  * Join Table data source is the result of a join operation. Nested joins are
@@ -576,25 +576,25 @@ export interface JoinTableDataSourceJson extends DataSourceJsonBase {
576
576
  /**
577
577
  * The type of join (left outer or left inner).
578
578
  */
579
- joinType?: JoinJsonType;
579
+ joinType?: JoinJsonType | null;
580
580
  /**
581
581
  * Field name from the left table.
582
582
  */
583
- leftTableKey?: string;
583
+ leftTableKey?: string | null;
584
584
  /**
585
585
  * The left source. If the leftTableSource is a table, the resulting
586
586
  * joinTable is a table. If the leftTableSource is a layer, the resulting
587
587
  * joinTable is a layer.
588
588
  */
589
- leftTableSource?: DynamicDataLayerJson | DynamicMapLayerJson;
589
+ leftTableSource?: DynamicDataLayerJson | DynamicMapLayerJson | null;
590
590
  /**
591
591
  * Field name from the right table.
592
592
  */
593
- rightTableKey?: string;
593
+ rightTableKey?: string | null;
594
594
  /**
595
595
  * The right table source.
596
596
  */
597
- rightTableSource?: DynamicDataLayerJson | DynamicMapLayerJson;
597
+ rightTableSource?: DynamicDataLayerJson | DynamicMapLayerJson | null;
598
598
  /**
599
599
  * @inheritDoc
600
600
  */
@@ -614,7 +614,7 @@ export interface QueryTableDataSourceJson extends DataSourceJsonBase {
614
614
  * The geometry type. When querying a table that does not have a geometry
615
615
  * column, do not include geometryType.
616
616
  */
617
- geometryType?: "esriGeometryPoint" | "esriGeometryMultipoint" | "esriGeometryPolyline" | "esriGeometryPolygon";
617
+ geometryType?: "esriGeometryPoint" | "esriGeometryMultipoint" | "esriGeometryPolyline" | "esriGeometryPolygon" | null;
618
618
  /**
619
619
  * Comma separated list of identifier fields. There are only certain field
620
620
  * types that can be used as a unique identifier. These field types include
@@ -624,16 +624,16 @@ export interface QueryTableDataSourceJson extends DataSourceJsonBase {
624
624
  * string field or a group of fields is used as the unique identifier, map
625
625
  * server maps those unique values to an integer.
626
626
  */
627
- oidFields?: string;
627
+ oidFields?: string | null;
628
628
  /**
629
629
  * The SQL query.
630
630
  */
631
- query?: string;
631
+ query?: string | null;
632
632
  /**
633
633
  * The spatial reference of the geometry column. When querying a table that
634
634
  * does not have a geometry column, do not include spatialReference.
635
635
  */
636
- spatialReference?: SpatialReferenceJson;
636
+ spatialReference?: SpatialReferenceJson | null;
637
637
  /**
638
638
  * @inheritDoc
639
639
  */
@@ -650,7 +650,7 @@ export interface RasterDataSourceJson extends DataSourceJsonBase {
650
650
  * The fully-qualified string value used to specify where the dataSource is
651
651
  * derived.
652
652
  */
653
- dataSourceName?: string;
653
+ dataSourceName?: string | null;
654
654
  /**
655
655
  * @inheritDoc
656
656
  */
@@ -670,11 +670,11 @@ export interface TableDataSourceJson extends DataSourceJsonBase {
670
670
  * The fully-qualified string value used to specify where the dataSource is
671
671
  * derived.
672
672
  */
673
- dataSourceName?: string;
673
+ dataSourceName?: string | null;
674
674
  /**
675
675
  * If applicable, the value indicating the version of the geodatabase.
676
676
  */
677
- gdbVersion?: string;
677
+ gdbVersion?: string | null;
678
678
  /**
679
679
  * @inheritDoc
680
680
  */
@@ -698,32 +698,32 @@ export interface FeatureReductionClusterJson {
698
698
  /**
699
699
  * Size of the largest cluster, in screen units (points).
700
700
  */
701
- clusterMaxSize?: number;
701
+ clusterMaxSize?: number | null;
702
702
  /**
703
703
  * Size of the smallest cluster, in screen units (points).
704
704
  */
705
- clusterMinSize?: number;
705
+ clusterMinSize?: number | null;
706
706
  /**
707
707
  * Strength of clustering, in screen units (points).
708
708
  */
709
- clusterRadius?: number;
709
+ clusterRadius?: number | null;
710
710
  /**
711
711
  * Indicates whether to ignore popups defined by the service item.
712
712
  */
713
- disablePopup?: boolean;
713
+ disablePopup?: boolean | null;
714
714
  /**
715
715
  * Contains labeling information for the cluster.
716
716
  */
717
- drawingInfo?: DrawingInfoJson;
717
+ drawingInfo?: DrawingInfoJson | null;
718
718
  /**
719
719
  * Defines the look and feel of popup windows when a user clicks or queries
720
720
  * a feature.
721
721
  */
722
- popupInfo?: PopupInfoJson;
722
+ popupInfo?: PopupInfoJson | null;
723
723
  /**
724
724
  * Defines whether labels should be shown in the clusters.
725
725
  */
726
- showLabels?: boolean;
726
+ showLabels?: boolean | null;
727
727
  }
728
728
  /**
729
729
  * Feature reduction of type selection declutters the screen by hiding features