@feltmaps/js-sdk 1.5.0-next.10 → 1.5.0-next.12
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/client.cjs +1 -1
- package/dist/client.d.cts +20 -3
- package/dist/client.d.ts +20 -3
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +52 -41
- package/dist/handler.d.ts +52 -41
- package/dist/handler.js +1 -1
- package/dist/{types-CWwhAtt1.d.cts → types-C_wMpqIu.d.cts} +189 -19
- package/dist/{types-CWwhAtt1.d.ts → types-C_wMpqIu.d.ts} +189 -19
- package/handler.d.ts +52 -41
- package/handler.js +1 -1
- package/package.json +1 -1
- package/{types-CWwhAtt1.d.ts → types-C_wMpqIu.d.ts} +189 -19
|
@@ -2071,6 +2071,176 @@ declare const GetRenderedFeaturesConstraintSchema: z.ZodObject<{
|
|
|
2071
2071
|
boundary: [number, number, number, number];
|
|
2072
2072
|
} | undefined;
|
|
2073
2073
|
}>;
|
|
2074
|
+
/**
|
|
2075
|
+
* The schema that describes the structure of the features in a layer.
|
|
2076
|
+
*
|
|
2077
|
+
* @remarks This can be useful to build generic UIs that need to know the structure of the data in
|
|
2078
|
+
* a layer, such as a dropdown to choose an attribute.
|
|
2079
|
+
*
|
|
2080
|
+
* @group Layer Schema
|
|
2081
|
+
*/
|
|
2082
|
+
interface LayerSchema {
|
|
2083
|
+
/**
|
|
2084
|
+
* The total number of features in the layer.
|
|
2085
|
+
*/
|
|
2086
|
+
featureCount: number;
|
|
2087
|
+
/**
|
|
2088
|
+
* Array of attribute schemas describing the properties available on features in this layer.
|
|
2089
|
+
*/
|
|
2090
|
+
attributes: Array<LayerSchemaAttribute>;
|
|
2091
|
+
}
|
|
2092
|
+
/**
|
|
2093
|
+
* A single attribute from the layer schema.
|
|
2094
|
+
*
|
|
2095
|
+
* @remarks Each feature in a layer has a set of attributes, and these types describe the
|
|
2096
|
+
* structure of a single attribute, including things like id, display name, type, and sample values.
|
|
2097
|
+
*
|
|
2098
|
+
* @group Layer Schema
|
|
2099
|
+
*/
|
|
2100
|
+
type LayerSchemaAttribute = LayerSchemaNumericAttribute | LayerSchemaTextAttribute | LayerSchemaBooleanAttribute | LayerSchemaDateAttribute | LayerSchemaDateTimeAttribute;
|
|
2101
|
+
/**
|
|
2102
|
+
* The common schema for all attributes.
|
|
2103
|
+
*
|
|
2104
|
+
* @group Layer Schema
|
|
2105
|
+
*/
|
|
2106
|
+
interface LayerSchemaCommonAttribute {
|
|
2107
|
+
/**
|
|
2108
|
+
* The unique identifier for this attribute.
|
|
2109
|
+
*
|
|
2110
|
+
* This can be used to fetch statistics, categories, histograms etc. for this attribute
|
|
2111
|
+
* via the {@link LayersController.getCategoryData}, {@link LayersController.getHistogramData},
|
|
2112
|
+
* and {@link LayersController.getAggregates} methods.
|
|
2113
|
+
*/
|
|
2114
|
+
id: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* The human-readable name of this attribute.
|
|
2117
|
+
*/
|
|
2118
|
+
displayName: string;
|
|
2119
|
+
/**
|
|
2120
|
+
* The specific data type of this attribute, providing more detail than the basic type.
|
|
2121
|
+
*
|
|
2122
|
+
* For instance, a numeric attribute might be "INTEGER", "FLOAT, etc.
|
|
2123
|
+
*/
|
|
2124
|
+
detailedType: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* The number of distinct values present for this attribute across all features.
|
|
2127
|
+
*/
|
|
2128
|
+
distinctCount: number;
|
|
2129
|
+
}
|
|
2130
|
+
/**
|
|
2131
|
+
* The schema for a numeric attribute on a layer.
|
|
2132
|
+
*
|
|
2133
|
+
* @group Layer Schema
|
|
2134
|
+
*/
|
|
2135
|
+
interface LayerSchemaNumericAttribute extends LayerSchemaCommonAttribute {
|
|
2136
|
+
/**
|
|
2137
|
+
* Indicates this is a numeric attribute.
|
|
2138
|
+
*/
|
|
2139
|
+
type: "numeric";
|
|
2140
|
+
/**
|
|
2141
|
+
* A small sample of values for this attribute and their frequency.
|
|
2142
|
+
*/
|
|
2143
|
+
sampleValues: Array<{
|
|
2144
|
+
value: number;
|
|
2145
|
+
count: number;
|
|
2146
|
+
}>;
|
|
2147
|
+
/**
|
|
2148
|
+
* The minimum value present for this attribute across all features.
|
|
2149
|
+
*/
|
|
2150
|
+
min: number;
|
|
2151
|
+
/**
|
|
2152
|
+
* The maximum value present for this attribute across all features.
|
|
2153
|
+
*/
|
|
2154
|
+
max: number;
|
|
2155
|
+
}
|
|
2156
|
+
/**
|
|
2157
|
+
* The schema for a text attribute on a layer.
|
|
2158
|
+
*
|
|
2159
|
+
* @group Layer Schema
|
|
2160
|
+
*/
|
|
2161
|
+
interface LayerSchemaTextAttribute extends LayerSchemaCommonAttribute {
|
|
2162
|
+
/**
|
|
2163
|
+
* Indicates this is a text attribute.
|
|
2164
|
+
*/
|
|
2165
|
+
type: "text";
|
|
2166
|
+
/**
|
|
2167
|
+
* A small sample of string values for this attribute and their frequency.
|
|
2168
|
+
*/
|
|
2169
|
+
sampleValues: Array<{
|
|
2170
|
+
value: string;
|
|
2171
|
+
count: number;
|
|
2172
|
+
}>;
|
|
2173
|
+
}
|
|
2174
|
+
/**
|
|
2175
|
+
* The schema for a boolean attribute on a layer.
|
|
2176
|
+
*
|
|
2177
|
+
* @group Layer Schema
|
|
2178
|
+
*/
|
|
2179
|
+
interface LayerSchemaBooleanAttribute extends LayerSchemaCommonAttribute {
|
|
2180
|
+
/**
|
|
2181
|
+
* Indicates this is a boolean attribute.
|
|
2182
|
+
*/
|
|
2183
|
+
type: "boolean";
|
|
2184
|
+
/**
|
|
2185
|
+
* A representative sample of boolean values for this attribute and their frequency.
|
|
2186
|
+
*/
|
|
2187
|
+
sampleValues: Array<{
|
|
2188
|
+
value: boolean;
|
|
2189
|
+
count: number;
|
|
2190
|
+
}>;
|
|
2191
|
+
}
|
|
2192
|
+
/**
|
|
2193
|
+
* The schema for a date attribute on a layer.
|
|
2194
|
+
*
|
|
2195
|
+
* @group Layer Schema
|
|
2196
|
+
*/
|
|
2197
|
+
interface LayerSchemaDateAttribute extends LayerSchemaCommonAttribute {
|
|
2198
|
+
/**
|
|
2199
|
+
* Indicates this is a date attribute.
|
|
2200
|
+
*/
|
|
2201
|
+
type: "date";
|
|
2202
|
+
/**
|
|
2203
|
+
* The earliest date present for this attribute in truncated ISO8601 format (YYYY-MM-DD).
|
|
2204
|
+
*/
|
|
2205
|
+
min: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* The latest date present for this attribute in truncated ISO8601 format (YYYY-MM-DD).
|
|
2208
|
+
*/
|
|
2209
|
+
max: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* A representative sample of date values for this attribute and their frequency.
|
|
2212
|
+
*/
|
|
2213
|
+
sampleValues: Array<{
|
|
2214
|
+
value: string;
|
|
2215
|
+
count: number;
|
|
2216
|
+
}>;
|
|
2217
|
+
}
|
|
2218
|
+
/**
|
|
2219
|
+
* The schema for a datetime attribute on a layer.
|
|
2220
|
+
*
|
|
2221
|
+
* @group Layer Schema
|
|
2222
|
+
*/
|
|
2223
|
+
interface LayerSchemaDateTimeAttribute extends LayerSchemaCommonAttribute {
|
|
2224
|
+
/**
|
|
2225
|
+
* Indicates this is a datetime attribute.
|
|
2226
|
+
*/
|
|
2227
|
+
type: "datetime";
|
|
2228
|
+
/**
|
|
2229
|
+
* The earliest datetime present for this attribute in ISO8601 format.
|
|
2230
|
+
*/
|
|
2231
|
+
min: string;
|
|
2232
|
+
/**
|
|
2233
|
+
* The latest datetime present for this attribute in ISO8601 format.
|
|
2234
|
+
*/
|
|
2235
|
+
max: string;
|
|
2236
|
+
/**
|
|
2237
|
+
* A representative sample of datetime values for this attribute and their frequency.
|
|
2238
|
+
*/
|
|
2239
|
+
sampleValues: Array<{
|
|
2240
|
+
value: string;
|
|
2241
|
+
count: number;
|
|
2242
|
+
}>;
|
|
2243
|
+
}
|
|
2074
2244
|
|
|
2075
2245
|
/**
|
|
2076
2246
|
* @group Filters
|
|
@@ -2347,21 +2517,21 @@ declare const ValueConfigurationSchema: z.ZodObject<{
|
|
|
2347
2517
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2348
2518
|
}>>;
|
|
2349
2519
|
}, "strip", z.ZodTypeAny, {
|
|
2350
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2351
2520
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2352
2521
|
type: "Polygon";
|
|
2353
2522
|
coordinates: [number, number][][];
|
|
2354
2523
|
} | undefined;
|
|
2524
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2355
2525
|
aggregation?: {
|
|
2356
2526
|
attribute: string;
|
|
2357
2527
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2358
2528
|
} | undefined;
|
|
2359
2529
|
}, {
|
|
2360
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2361
2530
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2362
2531
|
type: "Polygon";
|
|
2363
2532
|
coordinates: [number, number][][];
|
|
2364
2533
|
} | undefined;
|
|
2534
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2365
2535
|
aggregation?: {
|
|
2366
2536
|
attribute: string;
|
|
2367
2537
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
@@ -2449,21 +2619,21 @@ declare const GetLayerCategoriesParamsSchema: z.ZodObject<{
|
|
|
2449
2619
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2450
2620
|
}>>;
|
|
2451
2621
|
}, "strip", z.ZodTypeAny, {
|
|
2452
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2453
2622
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2454
2623
|
type: "Polygon";
|
|
2455
2624
|
coordinates: [number, number][][];
|
|
2456
2625
|
} | undefined;
|
|
2626
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2457
2627
|
aggregation?: {
|
|
2458
2628
|
attribute: string;
|
|
2459
2629
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2460
2630
|
} | undefined;
|
|
2461
2631
|
}, {
|
|
2462
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2463
2632
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2464
2633
|
type: "Polygon";
|
|
2465
2634
|
coordinates: [number, number][][];
|
|
2466
2635
|
} | undefined;
|
|
2636
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2467
2637
|
aggregation?: {
|
|
2468
2638
|
attribute: string;
|
|
2469
2639
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
@@ -2473,41 +2643,41 @@ declare const GetLayerCategoriesParamsSchema: z.ZodObject<{
|
|
|
2473
2643
|
attribute: string;
|
|
2474
2644
|
layerId: string;
|
|
2475
2645
|
values?: {
|
|
2476
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2477
2646
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2478
2647
|
type: "Polygon";
|
|
2479
2648
|
coordinates: [number, number][][];
|
|
2480
2649
|
} | undefined;
|
|
2650
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2481
2651
|
aggregation?: {
|
|
2482
2652
|
attribute: string;
|
|
2483
2653
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2484
2654
|
} | undefined;
|
|
2485
2655
|
} | undefined;
|
|
2486
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2487
2656
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2488
2657
|
type: "Polygon";
|
|
2489
2658
|
coordinates: [number, number][][];
|
|
2490
2659
|
} | undefined;
|
|
2660
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2491
2661
|
limit?: number | undefined;
|
|
2492
2662
|
}, {
|
|
2493
2663
|
attribute: string;
|
|
2494
2664
|
layerId: string;
|
|
2495
2665
|
values?: {
|
|
2496
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2497
2666
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2498
2667
|
type: "Polygon";
|
|
2499
2668
|
coordinates: [number, number][][];
|
|
2500
2669
|
} | undefined;
|
|
2670
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2501
2671
|
aggregation?: {
|
|
2502
2672
|
attribute: string;
|
|
2503
2673
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2504
2674
|
} | undefined;
|
|
2505
2675
|
} | undefined;
|
|
2506
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2507
2676
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2508
2677
|
type: "Polygon";
|
|
2509
2678
|
coordinates: [number, number][][];
|
|
2510
2679
|
} | undefined;
|
|
2680
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2511
2681
|
limit?: number | undefined;
|
|
2512
2682
|
}>;
|
|
2513
2683
|
/**
|
|
@@ -2640,21 +2810,21 @@ declare const GetLayerHistogramParamsSchema: z.ZodObject<{
|
|
|
2640
2810
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2641
2811
|
}>>;
|
|
2642
2812
|
}, "strip", z.ZodTypeAny, {
|
|
2643
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2644
2813
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2645
2814
|
type: "Polygon";
|
|
2646
2815
|
coordinates: [number, number][][];
|
|
2647
2816
|
} | undefined;
|
|
2817
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2648
2818
|
aggregation?: {
|
|
2649
2819
|
attribute: string;
|
|
2650
2820
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2651
2821
|
} | undefined;
|
|
2652
2822
|
}, {
|
|
2653
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2654
2823
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2655
2824
|
type: "Polygon";
|
|
2656
2825
|
coordinates: [number, number][][];
|
|
2657
2826
|
} | undefined;
|
|
2827
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2658
2828
|
aggregation?: {
|
|
2659
2829
|
attribute: string;
|
|
2660
2830
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
@@ -2671,21 +2841,21 @@ declare const GetLayerHistogramParamsSchema: z.ZodObject<{
|
|
|
2671
2841
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2672
2842
|
};
|
|
2673
2843
|
values?: {
|
|
2674
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2675
2844
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2676
2845
|
type: "Polygon";
|
|
2677
2846
|
coordinates: [number, number][][];
|
|
2678
2847
|
} | undefined;
|
|
2848
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2679
2849
|
aggregation?: {
|
|
2680
2850
|
attribute: string;
|
|
2681
2851
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2682
2852
|
} | undefined;
|
|
2683
2853
|
} | undefined;
|
|
2684
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2685
2854
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2686
2855
|
type: "Polygon";
|
|
2687
2856
|
coordinates: [number, number][][];
|
|
2688
2857
|
} | undefined;
|
|
2858
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2689
2859
|
}, {
|
|
2690
2860
|
attribute: string;
|
|
2691
2861
|
layerId: string;
|
|
@@ -2697,21 +2867,21 @@ declare const GetLayerHistogramParamsSchema: z.ZodObject<{
|
|
|
2697
2867
|
interval: "hour" | "day" | "week" | "month" | "year";
|
|
2698
2868
|
};
|
|
2699
2869
|
values?: {
|
|
2700
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2701
2870
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2702
2871
|
type: "Polygon";
|
|
2703
2872
|
coordinates: [number, number][][];
|
|
2704
2873
|
} | undefined;
|
|
2874
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2705
2875
|
aggregation?: {
|
|
2706
2876
|
attribute: string;
|
|
2707
2877
|
method: "avg" | "max" | "min" | "sum" | "median";
|
|
2708
2878
|
} | undefined;
|
|
2709
2879
|
} | undefined;
|
|
2710
|
-
filters?: boolean | FilterTernary | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | null | undefined;
|
|
2711
2880
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2712
2881
|
type: "Polygon";
|
|
2713
2882
|
coordinates: [number, number][][];
|
|
2714
2883
|
} | undefined;
|
|
2884
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2715
2885
|
}>;
|
|
2716
2886
|
/**
|
|
2717
2887
|
* The params used to request a histogram of values from a layer, passed to
|
|
@@ -2789,27 +2959,27 @@ declare const GetLayerCalculationParamsSchema: z.ZodObject<{
|
|
|
2789
2959
|
attribute?: string | undefined;
|
|
2790
2960
|
}>;
|
|
2791
2961
|
}, "strip", z.ZodTypeAny, {
|
|
2792
|
-
layerId: string;
|
|
2793
2962
|
aggregation: {
|
|
2794
2963
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2795
2964
|
attribute?: string | undefined;
|
|
2796
2965
|
};
|
|
2797
|
-
|
|
2966
|
+
layerId: string;
|
|
2798
2967
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2799
2968
|
type: "Polygon";
|
|
2800
2969
|
coordinates: [number, number][][];
|
|
2801
2970
|
} | undefined;
|
|
2971
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2802
2972
|
}, {
|
|
2803
|
-
layerId: string;
|
|
2804
2973
|
aggregation: {
|
|
2805
2974
|
methods: ("avg" | "max" | "min" | "sum" | "median" | "count")[];
|
|
2806
2975
|
attribute?: string | undefined;
|
|
2807
2976
|
};
|
|
2808
|
-
|
|
2977
|
+
layerId: string;
|
|
2809
2978
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2810
2979
|
type: "Polygon";
|
|
2811
2980
|
coordinates: [number, number][][];
|
|
2812
2981
|
} | undefined;
|
|
2982
|
+
filters?: boolean | [string | null, "in" | "ni", (string | number | boolean | null)[] | null] | [string | null, "lt" | "gt" | "le" | "ge" | "eq" | "ne" | "cn" | "nc" | "is" | "isnt", string | number | boolean | null] | FilterTernary | null | undefined;
|
|
2813
2983
|
}>;
|
|
2814
2984
|
/**
|
|
2815
2985
|
* The parameters for calculating a single aggregate value for a layer, passed to
|
|
@@ -3382,4 +3552,4 @@ declare const ViewportFitBoundsParamsSchema: z.ZodObject<{
|
|
|
3382
3552
|
bounds: [number, number, number, number];
|
|
3383
3553
|
}>;
|
|
3384
3554
|
|
|
3385
|
-
export type {
|
|
3555
|
+
export type { HighlighterElementUpdate as $, AggregationMethod as A, MapDetails as B, EntityNode as C, FeatureSelection as D, Element as E, Filters as F, GeoJsonGeometry as G, ConfigurableToolType as H, InputToolSettings as I, ToolSettingsMap as J, ToolSettingsChangeEvent as K, Layer as L, MapInteractionEvent as M, zInfer as N, SortConfig as O, SetViewportCenterZoomParams as P, ViewportConstraints as Q, ViewportFitBoundsParams as R, SetVisibilityRequest as S, ToolType as T, ViewportCenterZoom as U, ViewportState as V, CircleElementCreate as W, CircleElementRead as X, CircleElementUpdate as Y, HighlighterElementCreate as Z, HighlighterElementRead as _, GetElementsConstraint as a, RouteToolSettings as a$, ImageElementCreate as a0, ImageElementRead as a1, ImageElementUpdate as a2, LinkElementRead as a3, MarkerElementCreate as a4, MarkerElementRead as a5, MarkerElementUpdate as a6, NoteElementCreate as a7, NoteElementRead as a8, NoteElementUpdate as a9, ValueConfiguration as aA, ElementGroupNode as aB, ElementNode as aC, FeatureNode as aD, LayerGroupNode as aE, LayerNode as aF, FeltBoundary as aG, FeltZoom as aH, GeoJsonProperties as aI, LatLng as aJ, LineStringGeometry as aK, LngLatTuple as aL, MultiLineStringGeometry as aM, MultiPointGeometry as aN, MultiPolygonGeometry as aO, PointGeometry as aP, PolygonGeometry as aQ, SortDirection as aR, CircleToolSettings as aS, HighlighterToolSettings as aT, LineToolSettings as aU, MarkerToolSettings as aV, NoteToolSettings as aW, PinToolSettings as aX, PlaceFrame as aY, PlaceSymbol as aZ, PolygonToolSettings as a_, PathElementCreate as aa, PathElementRead as ab, PathElementUpdate as ac, PlaceElementCreate as ad, PlaceElementRead as ae, PlaceElementUpdate as af, PolygonElementCreate as ag, PolygonElementRead as ah, PolygonElementUpdate as ai, TextElementCreate as aj, TextElementRead as ak, TextElementUpdate as al, LayerProcessingStatus as am, RasterValue as an, LayerSchemaAttribute as ao, LayerSchemaBooleanAttribute as ap, LayerSchemaCommonAttribute as aq, LayerSchemaDateAttribute as ar, LayerSchemaDateTimeAttribute as as, LayerSchemaNumericAttribute as at, LayerSchemaTextAttribute as au, FilterExpression as av, FilterLogicGate as aw, FilterTernary as ax, AggregationConfig as ay, MultiAggregationConfig as az, ElementGroup as b, TextToolSettings as b0, UnionToIntersection as b1, PromiseOrNot as b2, GetElementGroupsConstraint as c, ElementChangeCallbackParams as d, ElementGroupChangeCallbackParams as e, ElementCreate as f, ElementUpdate as g, GetLayersConstraint as h, LayerChangeCallbackParams as i, LayerGroup as j, GetLayerGroupsConstraint as k, LayerGroupChangeCallbackParams as l, LegendItemIdentifier as m, LegendItem as n, LegendItemsConstraint as o, LegendItemChangeCallbackParams as p, LayerFilters as q, GetRenderedFeaturesConstraint as r, LayerFeature as s, GeoJsonFeature as t, GetLayerCategoriesParams as u, GetLayerCategoriesGroup as v, GetLayerHistogramParams as w, GetLayerHistogramBin as x, GetLayerCalculationParams as y, LayerSchema as z };
|