@feltmaps/js-sdk 1.5.0-next.12 → 1.5.0-next.14
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 +41 -3
- package/dist/client.d.ts +41 -3
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +251 -3
- package/dist/handler.d.ts +251 -3
- package/dist/handler.js +1 -1
- package/dist/{types-C_wMpqIu.d.cts → types-PSY3LPGC.d.cts} +153 -1
- package/dist/{types-C_wMpqIu.d.ts → types-PSY3LPGC.d.ts} +153 -1
- package/handler.d.ts +251 -3
- package/handler.js +1 -1
- package/package.json +1 -1
- package/{types-C_wMpqIu.d.ts → types-PSY3LPGC.d.ts} +153 -1
|
@@ -2241,6 +2241,158 @@ interface LayerSchemaDateTimeAttribute extends LayerSchemaCommonAttribute {
|
|
|
2241
2241
|
count: number;
|
|
2242
2242
|
}>;
|
|
2243
2243
|
}
|
|
2244
|
+
declare const EphemeralLayerSourceSchema: z.ZodObject<{
|
|
2245
|
+
type: z.ZodLiteral<"application/geo+json">;
|
|
2246
|
+
name: z.ZodString;
|
|
2247
|
+
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
2248
|
+
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2249
|
+
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2250
|
+
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2251
|
+
}, "strip", z.ZodTypeAny, {
|
|
2252
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2253
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2254
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2255
|
+
}, {
|
|
2256
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2257
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2258
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2259
|
+
}>>;
|
|
2260
|
+
}, "strip", z.ZodTypeAny, {
|
|
2261
|
+
type: "application/geo+json";
|
|
2262
|
+
name: string;
|
|
2263
|
+
geometryStyles?: {
|
|
2264
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2265
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2266
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2267
|
+
} | undefined;
|
|
2268
|
+
}, {
|
|
2269
|
+
type: "application/geo+json";
|
|
2270
|
+
name: string;
|
|
2271
|
+
geometryStyles?: {
|
|
2272
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2273
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2274
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2275
|
+
} | undefined;
|
|
2276
|
+
}>;
|
|
2277
|
+
interface EphemeralLayerSource extends zInfer<typeof EphemeralLayerSourceSchema> {
|
|
2278
|
+
}
|
|
2279
|
+
declare const GeoJsonFileSourceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
2280
|
+
type: z.ZodLiteral<"application/geo+json">;
|
|
2281
|
+
name: z.ZodString;
|
|
2282
|
+
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
2283
|
+
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2284
|
+
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2285
|
+
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2286
|
+
}, "strip", z.ZodTypeAny, {
|
|
2287
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2288
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2289
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2290
|
+
}, {
|
|
2291
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2292
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2293
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2294
|
+
}>>;
|
|
2295
|
+
}, {
|
|
2296
|
+
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
2297
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2298
|
+
type: "application/geo+json";
|
|
2299
|
+
name: string;
|
|
2300
|
+
file: File;
|
|
2301
|
+
geometryStyles?: {
|
|
2302
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2303
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2304
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2305
|
+
} | undefined;
|
|
2306
|
+
}, {
|
|
2307
|
+
type: "application/geo+json";
|
|
2308
|
+
name: string;
|
|
2309
|
+
file: File;
|
|
2310
|
+
geometryStyles?: {
|
|
2311
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2312
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2313
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2314
|
+
} | undefined;
|
|
2315
|
+
}>;
|
|
2316
|
+
interface GeoJsonFileSource extends zInfer<typeof GeoJsonFileSourceSchema>, EphemeralLayerSource {
|
|
2317
|
+
}
|
|
2318
|
+
declare const GeoJsonUrlSourceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
2319
|
+
type: z.ZodLiteral<"application/geo+json">;
|
|
2320
|
+
name: z.ZodString;
|
|
2321
|
+
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
2322
|
+
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2323
|
+
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2324
|
+
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2325
|
+
}, "strip", z.ZodTypeAny, {
|
|
2326
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2327
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2328
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2329
|
+
}, {
|
|
2330
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2331
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2332
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2333
|
+
}>>;
|
|
2334
|
+
}, {
|
|
2335
|
+
url: z.ZodString;
|
|
2336
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2337
|
+
type: "application/geo+json";
|
|
2338
|
+
name: string;
|
|
2339
|
+
url: string;
|
|
2340
|
+
geometryStyles?: {
|
|
2341
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2342
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2343
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2344
|
+
} | undefined;
|
|
2345
|
+
}, {
|
|
2346
|
+
type: "application/geo+json";
|
|
2347
|
+
name: string;
|
|
2348
|
+
url: string;
|
|
2349
|
+
geometryStyles?: {
|
|
2350
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2351
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2352
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2353
|
+
} | undefined;
|
|
2354
|
+
}>;
|
|
2355
|
+
interface GeoJsonUrlSource extends z.infer<typeof GeoJsonUrlSourceSchema>, EphemeralLayerSource {
|
|
2356
|
+
}
|
|
2357
|
+
declare const GeoJsonArrayBufferSourceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
2358
|
+
type: z.ZodLiteral<"application/geo+json">;
|
|
2359
|
+
name: z.ZodString;
|
|
2360
|
+
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
2361
|
+
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2362
|
+
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2363
|
+
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2364
|
+
}, "strip", z.ZodTypeAny, {
|
|
2365
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2366
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2367
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2368
|
+
}, {
|
|
2369
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2370
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2371
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2372
|
+
}>>;
|
|
2373
|
+
}, {
|
|
2374
|
+
arrayBuffer: z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>;
|
|
2375
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2376
|
+
type: "application/geo+json";
|
|
2377
|
+
name: string;
|
|
2378
|
+
arrayBuffer: ArrayBuffer;
|
|
2379
|
+
geometryStyles?: {
|
|
2380
|
+
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2381
|
+
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2382
|
+
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2383
|
+
} | undefined;
|
|
2384
|
+
}, {
|
|
2385
|
+
type: "application/geo+json";
|
|
2386
|
+
name: string;
|
|
2387
|
+
arrayBuffer: ArrayBuffer;
|
|
2388
|
+
geometryStyles?: {
|
|
2389
|
+
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2390
|
+
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2391
|
+
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2392
|
+
} | undefined;
|
|
2393
|
+
}>;
|
|
2394
|
+
interface GeoJsonArrayBufferSource extends zInfer<typeof GeoJsonArrayBufferSourceSchema>, EphemeralLayerSource {
|
|
2395
|
+
}
|
|
2244
2396
|
|
|
2245
2397
|
/**
|
|
2246
2398
|
* @group Filters
|
|
@@ -3552,4 +3704,4 @@ declare const ViewportFitBoundsParamsSchema: z.ZodObject<{
|
|
|
3552
3704
|
bounds: [number, number, number, number];
|
|
3553
3705
|
}>;
|
|
3554
3706
|
|
|
3555
|
-
export type {
|
|
3707
|
+
export type { CircleElementUpdate as $, GetLayerHistogramBin as A, AggregationMethod as B, GetLayerCalculationParams as C, LayerSchema as D, Element as E, Filters as F, GeoJsonGeometry as G, MapDetails as H, EntityNode as I, FeatureSelection as J, InputToolSettings as K, Layer as L, MapInteractionEvent as M, ConfigurableToolType as N, ToolSettingsMap as O, ToolSettingsChangeEvent as P, zInfer as Q, SortConfig as R, SetVisibilityRequest as S, ToolType as T, SetViewportCenterZoomParams as U, ViewportState as V, ViewportConstraints as W, ViewportFitBoundsParams as X, ViewportCenterZoom as Y, CircleElementCreate as Z, CircleElementRead as _, GetElementsConstraint as a, PinToolSettings as a$, HighlighterElementCreate as a0, HighlighterElementRead as a1, HighlighterElementUpdate as a2, ImageElementCreate as a3, ImageElementRead as a4, ImageElementUpdate as a5, LinkElementRead as a6, MarkerElementCreate as a7, MarkerElementRead as a8, MarkerElementUpdate as a9, FilterLogicGate as aA, FilterTernary as aB, AggregationConfig as aC, MultiAggregationConfig as aD, ValueConfiguration as aE, ElementGroupNode as aF, ElementNode as aG, FeatureNode as aH, LayerGroupNode as aI, LayerNode as aJ, FeltBoundary as aK, FeltZoom as aL, GeoJsonProperties as aM, LatLng as aN, LineStringGeometry as aO, LngLatTuple as aP, MultiLineStringGeometry as aQ, MultiPointGeometry as aR, MultiPolygonGeometry as aS, PointGeometry as aT, PolygonGeometry as aU, SortDirection as aV, CircleToolSettings as aW, HighlighterToolSettings as aX, LineToolSettings as aY, MarkerToolSettings as aZ, NoteToolSettings as a_, NoteElementCreate as aa, NoteElementRead as ab, NoteElementUpdate as ac, PathElementCreate as ad, PathElementRead as ae, PathElementUpdate as af, PlaceElementCreate as ag, PlaceElementRead as ah, PlaceElementUpdate as ai, PolygonElementCreate as aj, PolygonElementRead as ak, PolygonElementUpdate as al, TextElementCreate as am, TextElementRead as an, TextElementUpdate as ao, EphemeralLayerSource as ap, LayerProcessingStatus as aq, RasterValue as ar, LayerSchemaAttribute as as, LayerSchemaBooleanAttribute as at, LayerSchemaCommonAttribute as au, LayerSchemaDateAttribute as av, LayerSchemaDateTimeAttribute as aw, LayerSchemaNumericAttribute as ax, LayerSchemaTextAttribute as ay, FilterExpression as az, ElementGroup as b, PlaceFrame as b0, PlaceSymbol as b1, PolygonToolSettings as b2, RouteToolSettings as b3, TextToolSettings as b4, UnionToIntersection as b5, PromiseOrNot as b6, GetElementGroupsConstraint as c, ElementChangeCallbackParams as d, ElementGroupChangeCallbackParams as e, ElementCreate as f, ElementUpdate as g, GetLayersConstraint as h, LayerChangeCallbackParams as i, GeoJsonArrayBufferSource as j, GeoJsonFileSource as k, GeoJsonUrlSource as l, LayerGroup as m, GetLayerGroupsConstraint as n, LayerGroupChangeCallbackParams as o, LegendItemIdentifier as p, LegendItem as q, LegendItemsConstraint as r, LegendItemChangeCallbackParams as s, LayerFilters as t, GetRenderedFeaturesConstraint as u, LayerFeature as v, GeoJsonFeature as w, GetLayerCategoriesParams as x, GetLayerCategoriesGroup as y, GetLayerHistogramParams as z };
|