jmapserver-ng-core-types 2.0.4 → 2.0.6
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/index.ts +1 -1
- package/package.json +1 -1
- package/public/core.d.ts +1 -1
- package/public/jmap/layer.d.ts +4 -0
package/index.ts
CHANGED
|
@@ -842,7 +842,7 @@ export interface JLayerService {
|
|
|
842
842
|
exists(layerId: JId): boolean
|
|
843
843
|
attributeExists(layerId: JId, attributeName: string): boolean
|
|
844
844
|
getById(layerId: JId): JLayerTreeElement
|
|
845
|
-
getLayerAttributesWithStatistics(layerId: JId): Promise<
|
|
845
|
+
getLayerAttributesWithStatistics(layerId: JId): Promise<JLayerAttributeWithStatistics[]>
|
|
846
846
|
getSelfOrChildren(layerId: JId): JLayer[]
|
|
847
847
|
getName(layerId: JId): string
|
|
848
848
|
getDescription(layerId: JId): string
|
package/package.json
CHANGED
package/public/core.d.ts
CHANGED
|
@@ -1802,7 +1802,7 @@ declare namespace JMap {
|
|
|
1802
1802
|
* JMap.Layer.getLayerAttributesWithStatistics(3)
|
|
1803
1803
|
* ```
|
|
1804
1804
|
*/
|
|
1805
|
-
function getLayerAttributesWithStatistics(layerId: JId): Promise<
|
|
1805
|
+
function getLayerAttributesWithStatistics(layerId: JId): Promise<JLayerAttributeWithStatistics[]>
|
|
1806
1806
|
|
|
1807
1807
|
/**
|
|
1808
1808
|
* **JMap.Layer.getSelfOrChildren**
|
package/public/jmap/layer.d.ts
CHANGED
|
@@ -350,6 +350,10 @@ declare interface JLayerAttribute {
|
|
|
350
350
|
attributeStatistics: JLayerAttributeStatistics | null
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
+
declare interface JLayerAttributeWithStatistics extends JLayerAttribute {
|
|
354
|
+
attributeStatistics: JLayerAttributeStatistics
|
|
355
|
+
}
|
|
356
|
+
|
|
353
357
|
declare interface JLayerAttributeStatistics {
|
|
354
358
|
tooManyUniqueValues: boolean
|
|
355
359
|
uniqueValues?: any[]
|