@feltmaps/js-sdk 1.5.0-next.17 → 1.5.0-next.19
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 +24 -13
- package/dist/client.d.ts +24 -13
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +221 -204
- package/dist/handler.d.ts +221 -204
- package/dist/handler.js +1 -1
- package/dist/{types-DrMm8Los.d.cts → types-BQxcl9Qq.d.cts} +427 -155
- package/dist/{types-DrMm8Los.d.ts → types-BQxcl9Qq.d.ts} +427 -155
- package/handler.d.ts +221 -204
- package/handler.js +1 -1
- package/package.json +1 -1
- package/{types-DrMm8Los.d.ts → types-BQxcl9Qq.d.ts} +427 -155
- package/dist/chunk-QXPO53SH.js +0 -1
package/dist/handler.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z, ZodError } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { O as zInfer, E as Element, G as GeoJsonGeometry, b as ElementGroup, d as ElementChangeCallbackParams, e as ElementGroupChangeCallbackParams, M as MapInteractionEvent, L as Layer, j as LayerGroup, n as LegendItem, q as LayerFilters, s as LayerFeature, t as GeoJsonFeature, v as GetLayerCategoriesGroup, x as GetLayerHistogramBin, A as AggregationMethod, z as LayerSchema, i as LayerChangeCallbackParams, l as LayerGroupChangeCallbackParams, p as LegendItemChangeCallbackParams, aI as FilterTernary, B as MapDetails, D as EntityNode, T as ToolType, K as ToolSettingsMap, N as ToolSettingsChangeEvent, V as ViewportState, R as ViewportConstraints, bd as UnionToIntersection, be as PromiseOrNot } from './types-BQxcl9Qq.cjs';
|
|
3
3
|
|
|
4
4
|
type Method<TRequest extends {
|
|
5
5
|
type: string;
|
|
@@ -1962,241 +1962,138 @@ declare const SetLayerLegendVisibilityMessage: z.ZodObject<{
|
|
|
1962
1962
|
};
|
|
1963
1963
|
type: "setLayerLegendVisibility";
|
|
1964
1964
|
}>;
|
|
1965
|
-
declare const
|
|
1966
|
-
type: z.ZodLiteral<"
|
|
1965
|
+
declare const CreateLayersFromGeoJsonMessage: z.ZodObject<{
|
|
1966
|
+
type: z.ZodLiteral<"createLayersFromGeoJson">;
|
|
1967
1967
|
params: z.ZodObject<{
|
|
1968
|
-
source: z.ZodUnion<[z.ZodObject<
|
|
1969
|
-
type: z.ZodLiteral<"
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
1975
|
-
}, "strip", z.ZodTypeAny, {
|
|
1976
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1977
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1978
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1979
|
-
}, {
|
|
1980
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1981
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1982
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1983
|
-
}>>;
|
|
1984
|
-
}, {
|
|
1985
|
-
arrayBuffer: z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>;
|
|
1986
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1987
|
-
type: "application/geo+json";
|
|
1988
|
-
name: string;
|
|
1989
|
-
arrayBuffer: ArrayBuffer;
|
|
1990
|
-
geometryStyles?: {
|
|
1991
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1992
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1993
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1994
|
-
} | undefined;
|
|
1968
|
+
source: z.ZodUnion<[z.ZodObject<{
|
|
1969
|
+
type: z.ZodLiteral<"geoJsonUrl">;
|
|
1970
|
+
url: z.ZodString;
|
|
1971
|
+
}, "strip", z.ZodTypeAny, {
|
|
1972
|
+
type: "geoJsonUrl";
|
|
1973
|
+
url: string;
|
|
1995
1974
|
}, {
|
|
1996
|
-
type: "
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
}
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
name: z.ZodString;
|
|
2007
|
-
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
2008
|
-
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2009
|
-
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2010
|
-
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2011
|
-
}, "strip", z.ZodTypeAny, {
|
|
2012
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2013
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2014
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2015
|
-
}, {
|
|
2016
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2017
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2018
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2019
|
-
}>>;
|
|
1975
|
+
type: "geoJsonUrl";
|
|
1976
|
+
url: string;
|
|
1977
|
+
}>, z.ZodObject<{
|
|
1978
|
+
type: z.ZodLiteral<"geoJsonData">;
|
|
1979
|
+
data: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1980
|
+
}, "strip", z.ZodTypeAny, {
|
|
1981
|
+
type: "geoJsonData";
|
|
1982
|
+
data: {} & {
|
|
1983
|
+
[k: string]: unknown;
|
|
1984
|
+
};
|
|
2020
1985
|
}, {
|
|
1986
|
+
type: "geoJsonData";
|
|
1987
|
+
data: {} & {
|
|
1988
|
+
[k: string]: unknown;
|
|
1989
|
+
};
|
|
1990
|
+
}>, z.ZodObject<{
|
|
1991
|
+
type: z.ZodLiteral<"geoJsonFile">;
|
|
2021
1992
|
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
2022
|
-
}
|
|
2023
|
-
type: "
|
|
2024
|
-
name: string;
|
|
1993
|
+
}, "strip", z.ZodTypeAny, {
|
|
1994
|
+
type: "geoJsonFile";
|
|
2025
1995
|
file: File;
|
|
2026
|
-
geometryStyles?: {
|
|
2027
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2028
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2029
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2030
|
-
} | undefined;
|
|
2031
1996
|
}, {
|
|
2032
|
-
type: "
|
|
2033
|
-
name: string;
|
|
1997
|
+
type: "geoJsonFile";
|
|
2034
1998
|
file: File;
|
|
2035
|
-
geometryStyles?: {
|
|
2036
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2037
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2038
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2039
|
-
} | undefined;
|
|
2040
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2041
|
-
type: z.ZodLiteral<"application/geo+json">;
|
|
2042
|
-
name: z.ZodString;
|
|
2043
|
-
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
2044
|
-
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2045
|
-
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2046
|
-
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2047
|
-
}, "strip", z.ZodTypeAny, {
|
|
2048
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2049
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2050
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2051
|
-
}, {
|
|
2052
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2053
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2054
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2055
|
-
}>>;
|
|
2056
|
-
}, {
|
|
2057
|
-
url: z.ZodString;
|
|
2058
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2059
|
-
type: "application/geo+json";
|
|
2060
|
-
name: string;
|
|
2061
|
-
url: string;
|
|
2062
|
-
geometryStyles?: {
|
|
2063
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2064
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2065
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2066
|
-
} | undefined;
|
|
2067
|
-
}, {
|
|
2068
|
-
type: "application/geo+json";
|
|
2069
|
-
name: string;
|
|
2070
|
-
url: string;
|
|
2071
|
-
geometryStyles?: {
|
|
2072
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2073
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2074
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2075
|
-
} | undefined;
|
|
2076
1999
|
}>]>;
|
|
2000
|
+
name: z.ZodString;
|
|
2001
|
+
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
2002
|
+
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2003
|
+
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2004
|
+
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2005
|
+
}, "strip", z.ZodTypeAny, {
|
|
2006
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2007
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2008
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2009
|
+
}, {
|
|
2010
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2011
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2012
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2013
|
+
}>>;
|
|
2077
2014
|
}, "strip", z.ZodTypeAny, {
|
|
2015
|
+
name: string;
|
|
2078
2016
|
source: {
|
|
2079
|
-
type: "
|
|
2080
|
-
|
|
2081
|
-
arrayBuffer: ArrayBuffer;
|
|
2082
|
-
geometryStyles?: {
|
|
2083
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2084
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2085
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2086
|
-
} | undefined;
|
|
2017
|
+
type: "geoJsonUrl";
|
|
2018
|
+
url: string;
|
|
2087
2019
|
} | {
|
|
2088
|
-
type: "
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2093
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2094
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2095
|
-
} | undefined;
|
|
2020
|
+
type: "geoJsonData";
|
|
2021
|
+
data: {} & {
|
|
2022
|
+
[k: string]: unknown;
|
|
2023
|
+
};
|
|
2096
2024
|
} | {
|
|
2097
|
-
type: "
|
|
2098
|
-
|
|
2099
|
-
url: string;
|
|
2100
|
-
geometryStyles?: {
|
|
2101
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2102
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2103
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2104
|
-
} | undefined;
|
|
2025
|
+
type: "geoJsonFile";
|
|
2026
|
+
file: File;
|
|
2105
2027
|
};
|
|
2028
|
+
geometryStyles?: {
|
|
2029
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2030
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2031
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2032
|
+
} | undefined;
|
|
2106
2033
|
}, {
|
|
2034
|
+
name: string;
|
|
2107
2035
|
source: {
|
|
2108
|
-
type: "
|
|
2109
|
-
|
|
2110
|
-
arrayBuffer: ArrayBuffer;
|
|
2111
|
-
geometryStyles?: {
|
|
2112
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2113
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2114
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2115
|
-
} | undefined;
|
|
2036
|
+
type: "geoJsonUrl";
|
|
2037
|
+
url: string;
|
|
2116
2038
|
} | {
|
|
2117
|
-
type: "
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2122
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2123
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2124
|
-
} | undefined;
|
|
2039
|
+
type: "geoJsonData";
|
|
2040
|
+
data: {} & {
|
|
2041
|
+
[k: string]: unknown;
|
|
2042
|
+
};
|
|
2125
2043
|
} | {
|
|
2126
|
-
type: "
|
|
2127
|
-
|
|
2128
|
-
url: string;
|
|
2129
|
-
geometryStyles?: {
|
|
2130
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2131
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2132
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2133
|
-
} | undefined;
|
|
2044
|
+
type: "geoJsonFile";
|
|
2045
|
+
file: File;
|
|
2134
2046
|
};
|
|
2047
|
+
geometryStyles?: {
|
|
2048
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2049
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2050
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2051
|
+
} | undefined;
|
|
2135
2052
|
}>;
|
|
2136
2053
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2137
2054
|
params: {
|
|
2055
|
+
name: string;
|
|
2138
2056
|
source: {
|
|
2139
|
-
type: "
|
|
2140
|
-
|
|
2141
|
-
arrayBuffer: ArrayBuffer;
|
|
2142
|
-
geometryStyles?: {
|
|
2143
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2144
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2145
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2146
|
-
} | undefined;
|
|
2057
|
+
type: "geoJsonUrl";
|
|
2058
|
+
url: string;
|
|
2147
2059
|
} | {
|
|
2148
|
-
type: "
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2153
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2154
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2155
|
-
} | undefined;
|
|
2060
|
+
type: "geoJsonData";
|
|
2061
|
+
data: {} & {
|
|
2062
|
+
[k: string]: unknown;
|
|
2063
|
+
};
|
|
2156
2064
|
} | {
|
|
2157
|
-
type: "
|
|
2158
|
-
|
|
2159
|
-
url: string;
|
|
2160
|
-
geometryStyles?: {
|
|
2161
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2162
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2163
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2164
|
-
} | undefined;
|
|
2065
|
+
type: "geoJsonFile";
|
|
2066
|
+
file: File;
|
|
2165
2067
|
};
|
|
2068
|
+
geometryStyles?: {
|
|
2069
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2070
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2071
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2072
|
+
} | undefined;
|
|
2166
2073
|
};
|
|
2167
|
-
type: "
|
|
2074
|
+
type: "createLayersFromGeoJson";
|
|
2168
2075
|
}, {
|
|
2169
2076
|
params: {
|
|
2077
|
+
name: string;
|
|
2170
2078
|
source: {
|
|
2171
|
-
type: "
|
|
2172
|
-
|
|
2173
|
-
arrayBuffer: ArrayBuffer;
|
|
2174
|
-
geometryStyles?: {
|
|
2175
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2176
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2177
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2178
|
-
} | undefined;
|
|
2079
|
+
type: "geoJsonUrl";
|
|
2080
|
+
url: string;
|
|
2179
2081
|
} | {
|
|
2180
|
-
type: "
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2185
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2186
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2187
|
-
} | undefined;
|
|
2082
|
+
type: "geoJsonData";
|
|
2083
|
+
data: {} & {
|
|
2084
|
+
[k: string]: unknown;
|
|
2085
|
+
};
|
|
2188
2086
|
} | {
|
|
2189
|
-
type: "
|
|
2190
|
-
|
|
2191
|
-
url: string;
|
|
2192
|
-
geometryStyles?: {
|
|
2193
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2194
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2195
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2196
|
-
} | undefined;
|
|
2087
|
+
type: "geoJsonFile";
|
|
2088
|
+
file: File;
|
|
2197
2089
|
};
|
|
2090
|
+
geometryStyles?: {
|
|
2091
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2092
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2093
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2094
|
+
} | undefined;
|
|
2198
2095
|
};
|
|
2199
|
-
type: "
|
|
2096
|
+
type: "createLayersFromGeoJson";
|
|
2200
2097
|
}>;
|
|
2201
2098
|
declare const DeleteLayerMessage: z.ZodObject<{
|
|
2202
2099
|
type: z.ZodLiteral<"deleteLayer">;
|
|
@@ -2685,6 +2582,15 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2685
2582
|
}, {
|
|
2686
2583
|
type: "Polygon";
|
|
2687
2584
|
coordinates: [number, number][][];
|
|
2585
|
+
}>, z.ZodObject<{
|
|
2586
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2587
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2588
|
+
}, "strip", z.ZodTypeAny, {
|
|
2589
|
+
type: "MultiPolygon";
|
|
2590
|
+
coordinates: [number, number][][][];
|
|
2591
|
+
}, {
|
|
2592
|
+
type: "MultiPolygon";
|
|
2593
|
+
coordinates: [number, number][][][];
|
|
2688
2594
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2689
2595
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2690
2596
|
values: z.ZodOptional<z.ZodObject<{
|
|
@@ -2697,6 +2603,15 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2697
2603
|
}, {
|
|
2698
2604
|
type: "Polygon";
|
|
2699
2605
|
coordinates: [number, number][][];
|
|
2606
|
+
}>, z.ZodObject<{
|
|
2607
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2608
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2609
|
+
}, "strip", z.ZodTypeAny, {
|
|
2610
|
+
type: "MultiPolygon";
|
|
2611
|
+
coordinates: [number, number][][][];
|
|
2612
|
+
}, {
|
|
2613
|
+
type: "MultiPolygon";
|
|
2614
|
+
coordinates: [number, number][][][];
|
|
2700
2615
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2701
2616
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2702
2617
|
aggregation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2713,6 +2628,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2713
2628
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2714
2629
|
type: "Polygon";
|
|
2715
2630
|
coordinates: [number, number][][];
|
|
2631
|
+
} | {
|
|
2632
|
+
type: "MultiPolygon";
|
|
2633
|
+
coordinates: [number, number][][][];
|
|
2716
2634
|
} | undefined;
|
|
2717
2635
|
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;
|
|
2718
2636
|
aggregation?: {
|
|
@@ -2723,6 +2641,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2723
2641
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2724
2642
|
type: "Polygon";
|
|
2725
2643
|
coordinates: [number, number][][];
|
|
2644
|
+
} | {
|
|
2645
|
+
type: "MultiPolygon";
|
|
2646
|
+
coordinates: [number, number][][][];
|
|
2726
2647
|
} | undefined;
|
|
2727
2648
|
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;
|
|
2728
2649
|
aggregation?: {
|
|
@@ -2737,6 +2658,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2737
2658
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2738
2659
|
type: "Polygon";
|
|
2739
2660
|
coordinates: [number, number][][];
|
|
2661
|
+
} | {
|
|
2662
|
+
type: "MultiPolygon";
|
|
2663
|
+
coordinates: [number, number][][][];
|
|
2740
2664
|
} | undefined;
|
|
2741
2665
|
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;
|
|
2742
2666
|
aggregation?: {
|
|
@@ -2747,6 +2671,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2747
2671
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2748
2672
|
type: "Polygon";
|
|
2749
2673
|
coordinates: [number, number][][];
|
|
2674
|
+
} | {
|
|
2675
|
+
type: "MultiPolygon";
|
|
2676
|
+
coordinates: [number, number][][][];
|
|
2750
2677
|
} | undefined;
|
|
2751
2678
|
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;
|
|
2752
2679
|
limit?: number | undefined;
|
|
@@ -2757,6 +2684,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2757
2684
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2758
2685
|
type: "Polygon";
|
|
2759
2686
|
coordinates: [number, number][][];
|
|
2687
|
+
} | {
|
|
2688
|
+
type: "MultiPolygon";
|
|
2689
|
+
coordinates: [number, number][][][];
|
|
2760
2690
|
} | undefined;
|
|
2761
2691
|
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;
|
|
2762
2692
|
aggregation?: {
|
|
@@ -2767,6 +2697,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2767
2697
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2768
2698
|
type: "Polygon";
|
|
2769
2699
|
coordinates: [number, number][][];
|
|
2700
|
+
} | {
|
|
2701
|
+
type: "MultiPolygon";
|
|
2702
|
+
coordinates: [number, number][][][];
|
|
2770
2703
|
} | undefined;
|
|
2771
2704
|
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;
|
|
2772
2705
|
limit?: number | undefined;
|
|
@@ -2779,6 +2712,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2779
2712
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2780
2713
|
type: "Polygon";
|
|
2781
2714
|
coordinates: [number, number][][];
|
|
2715
|
+
} | {
|
|
2716
|
+
type: "MultiPolygon";
|
|
2717
|
+
coordinates: [number, number][][][];
|
|
2782
2718
|
} | undefined;
|
|
2783
2719
|
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;
|
|
2784
2720
|
aggregation?: {
|
|
@@ -2789,6 +2725,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2789
2725
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2790
2726
|
type: "Polygon";
|
|
2791
2727
|
coordinates: [number, number][][];
|
|
2728
|
+
} | {
|
|
2729
|
+
type: "MultiPolygon";
|
|
2730
|
+
coordinates: [number, number][][][];
|
|
2792
2731
|
} | undefined;
|
|
2793
2732
|
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;
|
|
2794
2733
|
limit?: number | undefined;
|
|
@@ -2802,6 +2741,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2802
2741
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2803
2742
|
type: "Polygon";
|
|
2804
2743
|
coordinates: [number, number][][];
|
|
2744
|
+
} | {
|
|
2745
|
+
type: "MultiPolygon";
|
|
2746
|
+
coordinates: [number, number][][][];
|
|
2805
2747
|
} | undefined;
|
|
2806
2748
|
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;
|
|
2807
2749
|
aggregation?: {
|
|
@@ -2812,6 +2754,9 @@ declare const GetLayerCategoriesMessage: z.ZodObject<{
|
|
|
2812
2754
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2813
2755
|
type: "Polygon";
|
|
2814
2756
|
coordinates: [number, number][][];
|
|
2757
|
+
} | {
|
|
2758
|
+
type: "MultiPolygon";
|
|
2759
|
+
coordinates: [number, number][][][];
|
|
2815
2760
|
} | undefined;
|
|
2816
2761
|
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;
|
|
2817
2762
|
limit?: number | undefined;
|
|
@@ -2851,6 +2796,15 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2851
2796
|
}, {
|
|
2852
2797
|
type: "Polygon";
|
|
2853
2798
|
coordinates: [number, number][][];
|
|
2799
|
+
}>, z.ZodObject<{
|
|
2800
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2801
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2802
|
+
}, "strip", z.ZodTypeAny, {
|
|
2803
|
+
type: "MultiPolygon";
|
|
2804
|
+
coordinates: [number, number][][][];
|
|
2805
|
+
}, {
|
|
2806
|
+
type: "MultiPolygon";
|
|
2807
|
+
coordinates: [number, number][][][];
|
|
2854
2808
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2855
2809
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2856
2810
|
values: z.ZodOptional<z.ZodObject<{
|
|
@@ -2863,6 +2817,15 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2863
2817
|
}, {
|
|
2864
2818
|
type: "Polygon";
|
|
2865
2819
|
coordinates: [number, number][][];
|
|
2820
|
+
}>, z.ZodObject<{
|
|
2821
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
2822
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
2823
|
+
}, "strip", z.ZodTypeAny, {
|
|
2824
|
+
type: "MultiPolygon";
|
|
2825
|
+
coordinates: [number, number][][][];
|
|
2826
|
+
}, {
|
|
2827
|
+
type: "MultiPolygon";
|
|
2828
|
+
coordinates: [number, number][][][];
|
|
2866
2829
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
2867
2830
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
2868
2831
|
aggregation: z.ZodOptional<z.ZodObject<{
|
|
@@ -2879,6 +2842,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2879
2842
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2880
2843
|
type: "Polygon";
|
|
2881
2844
|
coordinates: [number, number][][];
|
|
2845
|
+
} | {
|
|
2846
|
+
type: "MultiPolygon";
|
|
2847
|
+
coordinates: [number, number][][][];
|
|
2882
2848
|
} | undefined;
|
|
2883
2849
|
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;
|
|
2884
2850
|
aggregation?: {
|
|
@@ -2889,6 +2855,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2889
2855
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2890
2856
|
type: "Polygon";
|
|
2891
2857
|
coordinates: [number, number][][];
|
|
2858
|
+
} | {
|
|
2859
|
+
type: "MultiPolygon";
|
|
2860
|
+
coordinates: [number, number][][][];
|
|
2892
2861
|
} | undefined;
|
|
2893
2862
|
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;
|
|
2894
2863
|
aggregation?: {
|
|
@@ -2910,6 +2879,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2910
2879
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2911
2880
|
type: "Polygon";
|
|
2912
2881
|
coordinates: [number, number][][];
|
|
2882
|
+
} | {
|
|
2883
|
+
type: "MultiPolygon";
|
|
2884
|
+
coordinates: [number, number][][][];
|
|
2913
2885
|
} | undefined;
|
|
2914
2886
|
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;
|
|
2915
2887
|
aggregation?: {
|
|
@@ -2920,6 +2892,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2920
2892
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2921
2893
|
type: "Polygon";
|
|
2922
2894
|
coordinates: [number, number][][];
|
|
2895
|
+
} | {
|
|
2896
|
+
type: "MultiPolygon";
|
|
2897
|
+
coordinates: [number, number][][][];
|
|
2923
2898
|
} | undefined;
|
|
2924
2899
|
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;
|
|
2925
2900
|
}, {
|
|
@@ -2936,6 +2911,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2936
2911
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2937
2912
|
type: "Polygon";
|
|
2938
2913
|
coordinates: [number, number][][];
|
|
2914
|
+
} | {
|
|
2915
|
+
type: "MultiPolygon";
|
|
2916
|
+
coordinates: [number, number][][][];
|
|
2939
2917
|
} | undefined;
|
|
2940
2918
|
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;
|
|
2941
2919
|
aggregation?: {
|
|
@@ -2946,6 +2924,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2946
2924
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2947
2925
|
type: "Polygon";
|
|
2948
2926
|
coordinates: [number, number][][];
|
|
2927
|
+
} | {
|
|
2928
|
+
type: "MultiPolygon";
|
|
2929
|
+
coordinates: [number, number][][][];
|
|
2949
2930
|
} | undefined;
|
|
2950
2931
|
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;
|
|
2951
2932
|
}>;
|
|
@@ -2964,6 +2945,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2964
2945
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2965
2946
|
type: "Polygon";
|
|
2966
2947
|
coordinates: [number, number][][];
|
|
2948
|
+
} | {
|
|
2949
|
+
type: "MultiPolygon";
|
|
2950
|
+
coordinates: [number, number][][][];
|
|
2967
2951
|
} | undefined;
|
|
2968
2952
|
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;
|
|
2969
2953
|
aggregation?: {
|
|
@@ -2974,6 +2958,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2974
2958
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2975
2959
|
type: "Polygon";
|
|
2976
2960
|
coordinates: [number, number][][];
|
|
2961
|
+
} | {
|
|
2962
|
+
type: "MultiPolygon";
|
|
2963
|
+
coordinates: [number, number][][][];
|
|
2977
2964
|
} | undefined;
|
|
2978
2965
|
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;
|
|
2979
2966
|
};
|
|
@@ -2993,6 +2980,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
2993
2980
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
2994
2981
|
type: "Polygon";
|
|
2995
2982
|
coordinates: [number, number][][];
|
|
2983
|
+
} | {
|
|
2984
|
+
type: "MultiPolygon";
|
|
2985
|
+
coordinates: [number, number][][][];
|
|
2996
2986
|
} | undefined;
|
|
2997
2987
|
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;
|
|
2998
2988
|
aggregation?: {
|
|
@@ -3003,6 +2993,9 @@ declare const GetLayerHistogramMessage: z.ZodObject<{
|
|
|
3003
2993
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
3004
2994
|
type: "Polygon";
|
|
3005
2995
|
coordinates: [number, number][][];
|
|
2996
|
+
} | {
|
|
2997
|
+
type: "MultiPolygon";
|
|
2998
|
+
coordinates: [number, number][][][];
|
|
3006
2999
|
} | undefined;
|
|
3007
3000
|
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;
|
|
3008
3001
|
};
|
|
@@ -3021,6 +3014,15 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
3021
3014
|
}, {
|
|
3022
3015
|
type: "Polygon";
|
|
3023
3016
|
coordinates: [number, number][][];
|
|
3017
|
+
}>, z.ZodObject<{
|
|
3018
|
+
type: z.ZodLiteral<"MultiPolygon">;
|
|
3019
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
|
|
3020
|
+
}, "strip", z.ZodTypeAny, {
|
|
3021
|
+
type: "MultiPolygon";
|
|
3022
|
+
coordinates: [number, number][][][];
|
|
3023
|
+
}, {
|
|
3024
|
+
type: "MultiPolygon";
|
|
3025
|
+
coordinates: [number, number][][][];
|
|
3024
3026
|
}>, z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">]>>;
|
|
3025
3027
|
filters: z.ZodOptional<z.ZodUnion<[z.ZodType<FilterTernary, z.ZodTypeDef, FilterTernary>, z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["in", "ni"]>, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>, "many">, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodString, z.ZodNull]>, z.ZodEnum<["lt", "gt", "le", "ge", "eq", "ne", "cn", "nc", "is", "isnt"]>, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>], null>]>, z.ZodNull, z.ZodBoolean]>>;
|
|
3026
3028
|
aggregation: z.ZodObject<{
|
|
@@ -3042,6 +3044,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
3042
3044
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
3043
3045
|
type: "Polygon";
|
|
3044
3046
|
coordinates: [number, number][][];
|
|
3047
|
+
} | {
|
|
3048
|
+
type: "MultiPolygon";
|
|
3049
|
+
coordinates: [number, number][][][];
|
|
3045
3050
|
} | undefined;
|
|
3046
3051
|
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;
|
|
3047
3052
|
}, {
|
|
@@ -3053,6 +3058,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
3053
3058
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
3054
3059
|
type: "Polygon";
|
|
3055
3060
|
coordinates: [number, number][][];
|
|
3061
|
+
} | {
|
|
3062
|
+
type: "MultiPolygon";
|
|
3063
|
+
coordinates: [number, number][][][];
|
|
3056
3064
|
} | undefined;
|
|
3057
3065
|
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;
|
|
3058
3066
|
}>;
|
|
@@ -3066,6 +3074,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
3066
3074
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
3067
3075
|
type: "Polygon";
|
|
3068
3076
|
coordinates: [number, number][][];
|
|
3077
|
+
} | {
|
|
3078
|
+
type: "MultiPolygon";
|
|
3079
|
+
coordinates: [number, number][][][];
|
|
3069
3080
|
} | undefined;
|
|
3070
3081
|
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;
|
|
3071
3082
|
};
|
|
@@ -3080,6 +3091,9 @@ declare const GetLayerCalculationMessage: z.ZodObject<{
|
|
|
3080
3091
|
boundary?: [number, number, number, number] | [number, number][] | {
|
|
3081
3092
|
type: "Polygon";
|
|
3082
3093
|
coordinates: [number, number][][];
|
|
3094
|
+
} | {
|
|
3095
|
+
type: "MultiPolygon";
|
|
3096
|
+
coordinates: [number, number][][][];
|
|
3083
3097
|
} | undefined;
|
|
3084
3098
|
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;
|
|
3085
3099
|
};
|
|
@@ -3102,7 +3116,10 @@ type LayersSchema = {
|
|
|
3102
3116
|
setLayerVisibility: Method<zInfer<typeof SetLayerVisibilityMessage>, void>;
|
|
3103
3117
|
setLayerStyle: Method<zInfer<typeof SetLayerStyleMessage>, void>;
|
|
3104
3118
|
setLayerLegendVisibility: Method<zInfer<typeof SetLayerLegendVisibilityMessage>, void>;
|
|
3105
|
-
|
|
3119
|
+
createLayersFromGeoJson: Method<zInfer<typeof CreateLayersFromGeoJsonMessage>, {
|
|
3120
|
+
layerGroup: LayerGroup;
|
|
3121
|
+
layers: Array<Layer>;
|
|
3122
|
+
} | null>;
|
|
3106
3123
|
deleteLayer: Method<zInfer<typeof DeleteLayerMessage>, void>;
|
|
3107
3124
|
getLayerGroup: Method<zInfer<typeof GetGroupMessage>, LayerGroup | null>;
|
|
3108
3125
|
getLayerGroups: Method<zInfer<typeof GetGroupsMessage>, Array<LayerGroup | null>>;
|