@loaders.gl/arcgis 5.0.0-alpha.10
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/LICENSE +52 -0
- package/README.md +28 -0
- package/dist/arcgis/arcgis-capability-graph.d.ts +50 -0
- package/dist/arcgis/arcgis-capability-graph.d.ts.map +1 -0
- package/dist/arcgis/arcgis-capability-graph.js +221 -0
- package/dist/arcgis/arcgis-capability-graph.js.map +1 -0
- package/dist/arcgis/arcgis-feature-query.d.ts +53 -0
- package/dist/arcgis/arcgis-feature-query.d.ts.map +1 -0
- package/dist/arcgis/arcgis-feature-query.js +381 -0
- package/dist/arcgis/arcgis-feature-query.js.map +1 -0
- package/dist/arcgis/arcgis-feature-server-source-loader-types.d.ts +33 -0
- package/dist/arcgis/arcgis-feature-server-source-loader-types.d.ts.map +1 -0
- package/dist/arcgis/arcgis-feature-server-source-loader-types.js +21 -0
- package/dist/arcgis/arcgis-feature-server-source-loader-types.js.map +1 -0
- package/dist/arcgis/arcgis-feature-server-source-loader.d.ts +84 -0
- package/dist/arcgis/arcgis-feature-server-source-loader.d.ts.map +1 -0
- package/dist/arcgis/arcgis-feature-server-source-loader.js +280 -0
- package/dist/arcgis/arcgis-feature-server-source-loader.js.map +1 -0
- package/dist/arcgis/arcgis-image-server-source-loader-types.d.ts +31 -0
- package/dist/arcgis/arcgis-image-server-source-loader-types.d.ts.map +1 -0
- package/dist/arcgis/arcgis-image-server-source-loader-types.js +21 -0
- package/dist/arcgis/arcgis-image-server-source-loader-types.js.map +1 -0
- package/dist/arcgis/arcgis-image-server-source-loader.d.ts +60 -0
- package/dist/arcgis/arcgis-image-server-source-loader.d.ts.map +1 -0
- package/dist/arcgis/arcgis-image-server-source-loader.js +130 -0
- package/dist/arcgis/arcgis-image-server-source-loader.js.map +1 -0
- package/dist/arcgis/arcgis-image-tile-source-loader-types.d.ts +31 -0
- package/dist/arcgis/arcgis-image-tile-source-loader-types.d.ts.map +1 -0
- package/dist/arcgis/arcgis-image-tile-source-loader-types.js +21 -0
- package/dist/arcgis/arcgis-image-tile-source-loader-types.js.map +1 -0
- package/dist/arcgis/arcgis-image-tile-source-loader.d.ts +63 -0
- package/dist/arcgis/arcgis-image-tile-source-loader.d.ts.map +1 -0
- package/dist/arcgis/arcgis-image-tile-source-loader.js +147 -0
- package/dist/arcgis/arcgis-image-tile-source-loader.js.map +1 -0
- package/dist/arcgis/arcgis-map-tile-source-loader-types.d.ts +31 -0
- package/dist/arcgis/arcgis-map-tile-source-loader-types.d.ts.map +1 -0
- package/dist/arcgis/arcgis-map-tile-source-loader-types.js +21 -0
- package/dist/arcgis/arcgis-map-tile-source-loader-types.js.map +1 -0
- package/dist/arcgis/arcgis-map-tile-source-loader.d.ts +62 -0
- package/dist/arcgis/arcgis-map-tile-source-loader.d.ts.map +1 -0
- package/dist/arcgis/arcgis-map-tile-source-loader.js +196 -0
- package/dist/arcgis/arcgis-map-tile-source-loader.js.map +1 -0
- package/dist/arcgis/arcgis-scene-aggregation.d.ts +34 -0
- package/dist/arcgis/arcgis-scene-aggregation.d.ts.map +1 -0
- package/dist/arcgis/arcgis-scene-aggregation.js +57 -0
- package/dist/arcgis/arcgis-scene-aggregation.js.map +1 -0
- package/dist/arcgis/arcgis-scene-server-source-loader-types.d.ts +31 -0
- package/dist/arcgis/arcgis-scene-server-source-loader-types.d.ts.map +1 -0
- package/dist/arcgis/arcgis-scene-server-source-loader-types.js +21 -0
- package/dist/arcgis/arcgis-scene-server-source-loader-types.js.map +1 -0
- package/dist/arcgis/arcgis-scene-server-source-loader.d.ts +64 -0
- package/dist/arcgis/arcgis-scene-server-source-loader.d.ts.map +1 -0
- package/dist/arcgis/arcgis-scene-server-source-loader.js +159 -0
- package/dist/arcgis/arcgis-scene-server-source-loader.js.map +1 -0
- package/dist/arcgis/arcgis-server.d.ts +15 -0
- package/dist/arcgis/arcgis-server.d.ts.map +1 -0
- package/dist/arcgis/arcgis-server.js +41 -0
- package/dist/arcgis/arcgis-server.js.map +1 -0
- package/dist/arcgis/arcgis-url-utils.d.ts +3 -0
- package/dist/arcgis/arcgis-url-utils.d.ts.map +1 -0
- package/dist/arcgis/arcgis-url-utils.js +23 -0
- package/dist/arcgis/arcgis-url-utils.js.map +1 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader-types.d.ts +31 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader-types.d.ts.map +1 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader-types.js +21 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader-types.js.map +1 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader.d.ts +66 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader.d.ts.map +1 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader.js +150 -0
- package/dist/arcgis/arcgis-vector-tile-server-source-loader.js.map +1 -0
- package/dist/arcgis-feature-query-types.d.ts +77 -0
- package/dist/arcgis-feature-query-types.d.ts.map +1 -0
- package/dist/arcgis-feature-query-types.js +5 -0
- package/dist/arcgis-feature-query-types.js.map +1 -0
- package/dist/arcgis-items.d.ts +64 -0
- package/dist/arcgis-items.d.ts.map +1 -0
- package/dist/arcgis-items.js +137 -0
- package/dist/arcgis-items.js.map +1 -0
- package/dist/arcgis-source-types.d.ts +372 -0
- package/dist/arcgis-source-types.d.ts.map +1 -0
- package/dist/arcgis-source-types.js +108 -0
- package/dist/arcgis-source-types.js.map +1 -0
- package/dist/authentication.d.ts +25 -0
- package/dist/authentication.d.ts.map +1 -0
- package/dist/authentication.js +94 -0
- package/dist/authentication.js.map +1 -0
- package/dist/bundled.d.ts +152 -0
- package/dist/bundled.d.ts.map +1 -0
- package/dist/bundled.js +34 -0
- package/dist/bundled.js.map +1 -0
- package/dist/index.cjs +25620 -0
- package/dist/index.cjs.map +6 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/service-registry.d.ts +18 -0
- package/dist/service-registry.d.ts.map +1 -0
- package/dist/service-registry.js +29 -0
- package/dist/service-registry.js.map +1 -0
- package/package.json +96 -0
- package/src/arcgis/arcgis-capability-graph.ts +297 -0
- package/src/arcgis/arcgis-feature-query.ts +442 -0
- package/src/arcgis/arcgis-feature-server-source-loader-types.ts +34 -0
- package/src/arcgis/arcgis-feature-server-source-loader.ts +373 -0
- package/src/arcgis/arcgis-image-server-source-loader-types.ts +34 -0
- package/src/arcgis/arcgis-image-server-source-loader.ts +186 -0
- package/src/arcgis/arcgis-image-tile-source-loader-types.ts +34 -0
- package/src/arcgis/arcgis-image-tile-source-loader.ts +192 -0
- package/src/arcgis/arcgis-map-tile-source-loader-types.ts +34 -0
- package/src/arcgis/arcgis-map-tile-source-loader.ts +248 -0
- package/src/arcgis/arcgis-scene-aggregation.ts +90 -0
- package/src/arcgis/arcgis-scene-server-source-loader-types.ts +36 -0
- package/src/arcgis/arcgis-scene-server-source-loader.ts +216 -0
- package/src/arcgis/arcgis-server.ts +61 -0
- package/src/arcgis/arcgis-url-utils.ts +26 -0
- package/src/arcgis/arcgis-vector-tile-server-source-loader-types.ts +36 -0
- package/src/arcgis/arcgis-vector-tile-server-source-loader.ts +196 -0
- package/src/arcgis-feature-query-types.ts +89 -0
- package/src/arcgis-items.ts +233 -0
- package/src/arcgis-source-types.ts +372 -0
- package/src/authentication.ts +118 -0
- package/src/bundled.ts +68 -0
- package/src/index.ts +70 -0
- package/src/service-registry.ts +43 -0
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import type { DataSourceOptions } from '@loaders.gl/loader-utils';
|
|
2
|
+
import type { ImageLoaderOptions } from '@loaders.gl/images';
|
|
3
|
+
import type { MVTLoaderOptions } from '@loaders.gl/mvt';
|
|
4
|
+
/** Parameters for ArcGIS FeatureServer query requests. */
|
|
5
|
+
export type ArcGISFeatureServiceQueryOptions = {
|
|
6
|
+
/** Include feature geometries in the response. */
|
|
7
|
+
returnGeometry?: boolean;
|
|
8
|
+
/** SQL where clause. */
|
|
9
|
+
where?: string;
|
|
10
|
+
/** Output spatial reference. */
|
|
11
|
+
outSR?: string | number;
|
|
12
|
+
/** Output fields. */
|
|
13
|
+
outFields?: string | string[];
|
|
14
|
+
/** Input spatial reference for supplied geometry. */
|
|
15
|
+
inSR?: string | number;
|
|
16
|
+
/** Filter geometry as an ArcGIS REST geometry string. */
|
|
17
|
+
geometry?: string;
|
|
18
|
+
/** Filter geometry type. */
|
|
19
|
+
geometryType?: 'esriGeometryEnvelope' | 'esriGeometryPoint' | 'esriGeometryPolyline' | 'esriGeometryPolygon';
|
|
20
|
+
/** Spatial relationship for geometry filters. */
|
|
21
|
+
spatialRel?: 'esriSpatialRelIntersects' | 'esriSpatialRelContains' | 'esriSpatialRelCrosses' | 'esriSpatialRelEnvelopeIntersects' | 'esriSpatialRelIndexIntersects' | 'esriSpatialRelOverlaps' | 'esriSpatialRelTouches' | 'esriSpatialRelWithin';
|
|
22
|
+
/** Geometry precision. */
|
|
23
|
+
geometryPrecision?: number;
|
|
24
|
+
/** Query result type. */
|
|
25
|
+
resultType?: 'none' | 'standard' | 'tile';
|
|
26
|
+
/** Restrict retrieval to these object IDs. */
|
|
27
|
+
objectIds?: (number | string)[] | string;
|
|
28
|
+
/** Time instant or extent in ArcGIS REST syntax. */
|
|
29
|
+
time?: string | number;
|
|
30
|
+
/** Explicit offset for queryFeaturePage(); complete queries manage this themselves. */
|
|
31
|
+
resultOffset?: number;
|
|
32
|
+
/** Explicit page limit for queryFeaturePage(). */
|
|
33
|
+
resultRecordCount?: number;
|
|
34
|
+
/** Explicit ordering for queryFeaturePage(); complete queries order by object ID. */
|
|
35
|
+
orderByFields?: string;
|
|
36
|
+
/** Response format hint; spatial reads use GeoJSON and nonspatial tables use JSON. */
|
|
37
|
+
f?: 'geojson' | 'json' | 'pjson';
|
|
38
|
+
};
|
|
39
|
+
/** Options for the ArcGIS FeatureServer source. */
|
|
40
|
+
export type ArcGISFeatureServerSourceLoaderOptions = DataSourceOptions & {
|
|
41
|
+
'arcgis-feature-server'?: {
|
|
42
|
+
/** Default ArcGIS query request parameters. */
|
|
43
|
+
queryParameters?: Partial<ArcGISFeatureServiceQueryOptions>;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
/** Options for the ArcGIS ImageServer source. */
|
|
47
|
+
export type ArcGISImageSourceLoaderProps = DataSourceOptions & ImageLoaderOptions & {
|
|
48
|
+
'arcgis-image-server'?: {
|
|
49
|
+
/** Default ArcGIS exportImage request parameters. */
|
|
50
|
+
exportImageParameters?: Partial<ArcGISExportImageParameters>;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/** Parameters for ArcGIS ImageServer exportImage requests. */
|
|
54
|
+
export type ArcGISExportImageParameters = {
|
|
55
|
+
/** Bounding box of the requested image. */
|
|
56
|
+
bbox: [number, number, number, number];
|
|
57
|
+
/** Spatial reference of the supplied bbox. */
|
|
58
|
+
bboxSR?: string | number;
|
|
59
|
+
/** Pixel width of returned image. */
|
|
60
|
+
width: number;
|
|
61
|
+
/** Pixel height of returned image. */
|
|
62
|
+
height: number;
|
|
63
|
+
/** Spatial reference of the returned image. */
|
|
64
|
+
imageSR?: string | number;
|
|
65
|
+
/** Requested image format. */
|
|
66
|
+
format?: 'jpgpng' | 'png' | 'png8' | 'png24' | 'jpg' | 'bmp' | 'gif' | 'tiff' | 'png32' | 'lerc';
|
|
67
|
+
/** Requested pixel type. */
|
|
68
|
+
pixelType?: 'U1' | 'U2' | 'U4' | 'U8' | 'S8' | 'U16' | 'S16' | 'U32' | 'S32' | 'F32' | 'F64';
|
|
69
|
+
/** NoData pixel value. */
|
|
70
|
+
noData?: string | number;
|
|
71
|
+
/** NoData interpretation mode. */
|
|
72
|
+
noDataInterpretation?: 'esriNoDataMatchAny' | 'esriNoDataMatchAll';
|
|
73
|
+
/** Resampling interpolation. */
|
|
74
|
+
interpolation?: string;
|
|
75
|
+
/** Compression type. */
|
|
76
|
+
compression?: string;
|
|
77
|
+
/** Compression quality. */
|
|
78
|
+
compressionQuality?: number;
|
|
79
|
+
/** Band ids to export. */
|
|
80
|
+
bandIds?: string | number[];
|
|
81
|
+
/** Mosaic rule JSON string or object. */
|
|
82
|
+
mosaicRule?: string | Record<string, unknown>;
|
|
83
|
+
/** Rendering rule JSON string or object. */
|
|
84
|
+
renderingRule?: string | Record<string, unknown>;
|
|
85
|
+
/** ArcGIS response format. */
|
|
86
|
+
f?: 'image' | 'json' | 'pjson';
|
|
87
|
+
};
|
|
88
|
+
/** Options for the ArcGIS ImageServer tile source. */
|
|
89
|
+
export type ArcGISImageTileSourceLoaderOptions = DataSourceOptions & ImageLoaderOptions & {
|
|
90
|
+
'arcgis-image-server-tiles'?: {
|
|
91
|
+
/** Tile size used for exportImage requests. */
|
|
92
|
+
tileSize?: number;
|
|
93
|
+
/** Optional service URL pool for simple request distribution. */
|
|
94
|
+
urls?: string[];
|
|
95
|
+
/** Additional exportImage parameters. */
|
|
96
|
+
parameters?: Record<string, string | number | boolean>;
|
|
97
|
+
/** Response format, using LERC for analytical raster tiles. */
|
|
98
|
+
format?: 'png32' | 'lerc';
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
/** Options for an ArcGIS cached MapServer tile source. */
|
|
102
|
+
export type ArcGISMapTileSourceLoaderOptions = DataSourceOptions & ImageLoaderOptions & {
|
|
103
|
+
'arcgis-map-server'?: {
|
|
104
|
+
/** Select cached tiles, dynamic export tiles, or automatic metadata-based selection. */
|
|
105
|
+
mode?: 'cached' | 'dynamic' | 'auto';
|
|
106
|
+
/** Tile size used for dynamic export requests. */
|
|
107
|
+
tileSize?: number;
|
|
108
|
+
/** Optional custom tile URL template. */
|
|
109
|
+
urlTemplate?: string;
|
|
110
|
+
/** Optional service URL pool for simple request distribution. */
|
|
111
|
+
urls?: string[];
|
|
112
|
+
/** Additional query parameters sent to the metadata endpoint. */
|
|
113
|
+
parameters?: Record<string, string>;
|
|
114
|
+
/** Metadata document supplied by the application. */
|
|
115
|
+
metadata?: ArcGISMapServerMetadata;
|
|
116
|
+
/** Default parameters forwarded to MapServer `export` requests. */
|
|
117
|
+
exportParameters?: Record<string, string | number | boolean>;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
/** Relevant normalized fields from an ArcGIS MapServer metadata document. */
|
|
121
|
+
export type ArcGISMapServerMetadata = {
|
|
122
|
+
name?: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
serviceDescription?: string;
|
|
125
|
+
copyrightText?: string;
|
|
126
|
+
fullExtent?: {
|
|
127
|
+
xmin: number;
|
|
128
|
+
ymin: number;
|
|
129
|
+
xmax: number;
|
|
130
|
+
ymax: number;
|
|
131
|
+
spatialReference?: unknown;
|
|
132
|
+
};
|
|
133
|
+
spatialReference?: unknown;
|
|
134
|
+
tileInfo?: {
|
|
135
|
+
lods?: {
|
|
136
|
+
level: number;
|
|
137
|
+
}[];
|
|
138
|
+
rows?: number;
|
|
139
|
+
cols?: number;
|
|
140
|
+
format?: string;
|
|
141
|
+
spatialReference?: unknown;
|
|
142
|
+
origin?: {
|
|
143
|
+
x: number;
|
|
144
|
+
y: number;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
/** Parameters that can be changed between ArcGIS map tile requests. */
|
|
149
|
+
export type ArcGISMapTileParameters = Record<string, string | number | boolean>;
|
|
150
|
+
/** Parameters accepted by the ArcGIS SceneServer query endpoint. */
|
|
151
|
+
export type ArcGISSceneQueryOptions = {
|
|
152
|
+
/** SQL where clause. */
|
|
153
|
+
where?: string;
|
|
154
|
+
/** Object IDs to include. */
|
|
155
|
+
objectIds?: number[] | string;
|
|
156
|
+
/** Geometry filter encoded using ArcGIS REST geometry syntax. */
|
|
157
|
+
geometry?: unknown;
|
|
158
|
+
/** Geometry type for the geometry filter. */
|
|
159
|
+
geometryType?: string;
|
|
160
|
+
/** Spatial relationship for the geometry filter. */
|
|
161
|
+
spatialRel?: string;
|
|
162
|
+
/** Fields to return. */
|
|
163
|
+
outFields?: string | string[];
|
|
164
|
+
/** Whether feature geometry should be included. */
|
|
165
|
+
returnGeometry?: boolean;
|
|
166
|
+
/** Input spatial reference. */
|
|
167
|
+
inSR?: string | number | object;
|
|
168
|
+
/** Output spatial reference. */
|
|
169
|
+
outSR?: string | number | object;
|
|
170
|
+
/** ArcGIS result type. */
|
|
171
|
+
resultType?: string;
|
|
172
|
+
/** Result page offset. */
|
|
173
|
+
resultOffset?: number;
|
|
174
|
+
/** Maximum records in one page. */
|
|
175
|
+
resultRecordCount?: number;
|
|
176
|
+
/** Response format. */
|
|
177
|
+
f?: 'json' | 'pjson';
|
|
178
|
+
/** Abort signal for the request. */
|
|
179
|
+
signal?: AbortSignal;
|
|
180
|
+
};
|
|
181
|
+
/** Normalized result returned by a SceneServer query. */
|
|
182
|
+
export type ArcGISSceneQueryResult = {
|
|
183
|
+
/** Returned SceneServer features. */
|
|
184
|
+
features: unknown[];
|
|
185
|
+
/** Field metadata advertised by the layer. */
|
|
186
|
+
fields?: unknown[];
|
|
187
|
+
/** Whether another page is available. */
|
|
188
|
+
exceededTransferLimit?: boolean;
|
|
189
|
+
/** Original response metadata for advanced consumers. */
|
|
190
|
+
rawMetadata?: unknown;
|
|
191
|
+
};
|
|
192
|
+
/** Options for an ArcGIS SceneServer source. */
|
|
193
|
+
export type ArcGISSceneServerSourceOptions = DataSourceOptions & {
|
|
194
|
+
'arcgis-scene-server'?: {
|
|
195
|
+
/** Layer identifier used when the input URL ends at `/SceneServer`. */
|
|
196
|
+
layerId?: number | string;
|
|
197
|
+
/** ArcGIS token applied to metadata and tile-resource requests. */
|
|
198
|
+
token?: string;
|
|
199
|
+
/** Optional metadata document for offline or preloaded use. */
|
|
200
|
+
metadata?: unknown;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
/** ArcGIS vector tile service metadata. */
|
|
204
|
+
export type ArcGISVectorTileServiceMetadata = {
|
|
205
|
+
/** Human-readable service description. */
|
|
206
|
+
serviceDescription?: string;
|
|
207
|
+
/** Map name exposed by the service. */
|
|
208
|
+
mapName?: string;
|
|
209
|
+
/** Tile grid information. */
|
|
210
|
+
tileInfo?: {
|
|
211
|
+
/** Tile width in pixels. */
|
|
212
|
+
cols?: number;
|
|
213
|
+
/** Tile height in pixels. */
|
|
214
|
+
rows?: number;
|
|
215
|
+
/** Tile format, normally pbf. */
|
|
216
|
+
format?: string;
|
|
217
|
+
/** Tile origin. */
|
|
218
|
+
origin?: {
|
|
219
|
+
x: number;
|
|
220
|
+
y: number;
|
|
221
|
+
};
|
|
222
|
+
/** Tile grid spatial reference. */
|
|
223
|
+
spatialReference?: {
|
|
224
|
+
wkid?: number;
|
|
225
|
+
latestWkid?: number;
|
|
226
|
+
};
|
|
227
|
+
/** Levels of detail. */
|
|
228
|
+
lods?: Array<{
|
|
229
|
+
level: number;
|
|
230
|
+
resolution: number;
|
|
231
|
+
scale?: number;
|
|
232
|
+
}>;
|
|
233
|
+
};
|
|
234
|
+
/** Full service extent. */
|
|
235
|
+
fullExtent?: {
|
|
236
|
+
xmin: number;
|
|
237
|
+
ymin: number;
|
|
238
|
+
xmax: number;
|
|
239
|
+
ymax: number;
|
|
240
|
+
};
|
|
241
|
+
/** Initial service extent. */
|
|
242
|
+
initialExtent?: {
|
|
243
|
+
xmin: number;
|
|
244
|
+
ymin: number;
|
|
245
|
+
xmax: number;
|
|
246
|
+
ymax: number;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
/** Options for the ArcGIS VectorTileServer source. */
|
|
250
|
+
export type ArcGISVectorTileServerSourceLoaderOptions = DataSourceOptions & MVTLoaderOptions & {
|
|
251
|
+
'arcgis-vector-tile-server'?: {
|
|
252
|
+
/** Optional MVT parser options. */
|
|
253
|
+
mvt?: MVTLoaderOptions['mvt'];
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
/** Shared ArcGISFeatureServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
257
|
+
export declare const ARCGIS_FEATURE_SERVER_SOURCE_LOADER_METADATA: {
|
|
258
|
+
readonly name: "ArcGISFeatureServer";
|
|
259
|
+
readonly id: "arcgis-feature-server";
|
|
260
|
+
readonly module: "arcgis";
|
|
261
|
+
readonly version: "0.0.0";
|
|
262
|
+
readonly extensions: [];
|
|
263
|
+
readonly mimeTypes: [];
|
|
264
|
+
readonly type: "arcgis-feature-server";
|
|
265
|
+
readonly fromUrl: true;
|
|
266
|
+
readonly fromBlob: false;
|
|
267
|
+
readonly options: {
|
|
268
|
+
readonly url: never;
|
|
269
|
+
readonly 'arcgis-feature-server': {};
|
|
270
|
+
};
|
|
271
|
+
readonly defaultOptions: {
|
|
272
|
+
readonly url: never;
|
|
273
|
+
readonly 'arcgis-feature-server': {};
|
|
274
|
+
};
|
|
275
|
+
readonly testURL: (url: string) => boolean;
|
|
276
|
+
};
|
|
277
|
+
/** Shared ArcGISImageServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
278
|
+
export declare const ARCGIS_IMAGE_SERVER_SOURCE_LOADER_METADATA: {
|
|
279
|
+
readonly name: "ArcGISImageServer";
|
|
280
|
+
readonly id: "arcgis-image-server";
|
|
281
|
+
readonly module: "arcgis";
|
|
282
|
+
readonly version: "0.0.0";
|
|
283
|
+
readonly extensions: [];
|
|
284
|
+
readonly mimeTypes: [];
|
|
285
|
+
readonly type: "arcgis-image-server";
|
|
286
|
+
readonly fromUrl: true;
|
|
287
|
+
readonly fromBlob: false;
|
|
288
|
+
readonly options: {
|
|
289
|
+
readonly 'arcgis-image-server': {};
|
|
290
|
+
};
|
|
291
|
+
readonly defaultOptions: {
|
|
292
|
+
readonly 'arcgis-image-server': {};
|
|
293
|
+
};
|
|
294
|
+
readonly testURL: (url: string) => boolean;
|
|
295
|
+
};
|
|
296
|
+
/** Shared ArcGISImageTileSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
297
|
+
export declare const ARCGIS_IMAGE_TILE_SOURCE_LOADER_METADATA: {
|
|
298
|
+
readonly name: "ArcGIS ImageServer tiles";
|
|
299
|
+
readonly id: "arcgis-image-server-tiles";
|
|
300
|
+
readonly module: "arcgis";
|
|
301
|
+
readonly version: "0.0.0";
|
|
302
|
+
readonly extensions: [];
|
|
303
|
+
readonly mimeTypes: [];
|
|
304
|
+
readonly type: "arcgis-image-server-tiles";
|
|
305
|
+
readonly fromUrl: true;
|
|
306
|
+
readonly fromBlob: false;
|
|
307
|
+
readonly options: {
|
|
308
|
+
readonly 'arcgis-image-server-tiles': {};
|
|
309
|
+
};
|
|
310
|
+
readonly defaultOptions: {
|
|
311
|
+
readonly 'arcgis-image-server-tiles': {};
|
|
312
|
+
};
|
|
313
|
+
readonly testURL: (url: string) => boolean;
|
|
314
|
+
};
|
|
315
|
+
/** Shared ArcGISMapTileSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
316
|
+
export declare const ARCGIS_MAP_TILE_SOURCE_LOADER_METADATA: {
|
|
317
|
+
readonly name: "ArcGIS MapServer tiles";
|
|
318
|
+
readonly id: "arcgis-map-server";
|
|
319
|
+
readonly module: "arcgis";
|
|
320
|
+
readonly version: "0.0.0";
|
|
321
|
+
readonly extensions: [];
|
|
322
|
+
readonly mimeTypes: [];
|
|
323
|
+
readonly type: "arcgis-map-server";
|
|
324
|
+
readonly fromUrl: true;
|
|
325
|
+
readonly fromBlob: false;
|
|
326
|
+
readonly options: {
|
|
327
|
+
readonly 'arcgis-map-server': {};
|
|
328
|
+
};
|
|
329
|
+
readonly defaultOptions: {
|
|
330
|
+
readonly 'arcgis-map-server': {};
|
|
331
|
+
};
|
|
332
|
+
readonly testURL: (url: string) => boolean;
|
|
333
|
+
};
|
|
334
|
+
/** Shared ArcGISSceneServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
335
|
+
export declare const ARCGIS_SCENE_SERVER_SOURCE_LOADER_METADATA: {
|
|
336
|
+
readonly name: "ArcGIS SceneServer";
|
|
337
|
+
readonly id: "arcgis-scene-server";
|
|
338
|
+
readonly module: "arcgis";
|
|
339
|
+
readonly version: "0.0.0";
|
|
340
|
+
readonly extensions: [];
|
|
341
|
+
readonly mimeTypes: ["application/json"];
|
|
342
|
+
readonly type: "arcgis-scene-server";
|
|
343
|
+
readonly fromUrl: true;
|
|
344
|
+
readonly fromBlob: false;
|
|
345
|
+
readonly options: {
|
|
346
|
+
readonly 'arcgis-scene-server': {};
|
|
347
|
+
};
|
|
348
|
+
readonly defaultOptions: {
|
|
349
|
+
readonly 'arcgis-scene-server': {};
|
|
350
|
+
};
|
|
351
|
+
readonly testURL: (url: string) => boolean;
|
|
352
|
+
};
|
|
353
|
+
/** Shared ArcGISVectorTileServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
354
|
+
export declare const ARCGIS_VECTOR_TILE_SERVER_SOURCE_LOADER_METADATA: {
|
|
355
|
+
readonly name: "ArcGIS VectorTileServer";
|
|
356
|
+
readonly id: "arcgis-vector-tile-server";
|
|
357
|
+
readonly module: "arcgis";
|
|
358
|
+
readonly version: "0.0.0";
|
|
359
|
+
readonly extensions: [];
|
|
360
|
+
readonly mimeTypes: ["application/vnd.mapbox-vector-tile", "application/x-protobuf"];
|
|
361
|
+
readonly type: "arcgis-vector-tile-server";
|
|
362
|
+
readonly fromUrl: true;
|
|
363
|
+
readonly fromBlob: false;
|
|
364
|
+
readonly options: {
|
|
365
|
+
readonly 'arcgis-vector-tile-server': {};
|
|
366
|
+
};
|
|
367
|
+
readonly defaultOptions: {
|
|
368
|
+
readonly 'arcgis-vector-tile-server': {};
|
|
369
|
+
};
|
|
370
|
+
readonly testURL: (url: string) => boolean;
|
|
371
|
+
};
|
|
372
|
+
//# sourceMappingURL=arcgis-source-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arcgis-source-types.d.ts","sourceRoot":"","sources":["../src/arcgis-source-types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,iBAAiB,EAAe,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAC,kBAAkB,EA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,EAAE,MAAM,CAAA;KAAC,CAAC;CAC1E,CAAC;AAEF,sDAAsD;AACtD,MAAM,MAAM,yCAAyC,GAAG,iBAAiB,GACvE,gBAAgB,GAAG;IACjB,2BAA2B,CAAC,EAAE;QAC5B,mCAAmC;QACnC,GAAG,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;KAC/B,CAAC;CACH,CAAC;AAEJ,qGAAqG;AACrG,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;4BAkBxC,MAAM,KAAG,OAAO;CAEQ,CAAC;AAE1C,mGAAmG;AACnG,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;4BAoBtC,MAAM,KAAG,OAAO;CACQ,CAAC;AAE1C,iGAAiG;AACjG,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;4BAYpC,MAAM,KAAG,OAAO;CACQ,CAAC;AAE1C,+FAA+F;AAC/F,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;4BAYlC,MAAM,KAAG,OAAO;CAEQ,CAAC;AAE1C,mGAAmG;AACnG,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;4BAYtC,MAAM,KAAG,OAAO;CACQ,CAAC;AAE1C,wGAAwG;AACxG,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;4BAY5C,MAAM,KAAG,OAAO;CACQ,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// loaders.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// Copyright (c) vis.gl contributors
|
|
4
|
+
/** Shared ArcGISFeatureServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
5
|
+
export const ARCGIS_FEATURE_SERVER_SOURCE_LOADER_METADATA = {
|
|
6
|
+
name: 'ArcGISFeatureServer',
|
|
7
|
+
id: 'arcgis-feature-server',
|
|
8
|
+
module: 'arcgis',
|
|
9
|
+
version: '0.0.0',
|
|
10
|
+
extensions: [],
|
|
11
|
+
mimeTypes: [],
|
|
12
|
+
type: 'arcgis-feature-server',
|
|
13
|
+
fromUrl: true,
|
|
14
|
+
fromBlob: false,
|
|
15
|
+
options: {
|
|
16
|
+
url: undefined,
|
|
17
|
+
'arcgis-feature-server': {}
|
|
18
|
+
},
|
|
19
|
+
defaultOptions: {
|
|
20
|
+
url: undefined,
|
|
21
|
+
'arcgis-feature-server': {}
|
|
22
|
+
},
|
|
23
|
+
testURL: (url) => /\/featureserver(?:[/?#]|$)/i.test(url) || /\/mapserver\/\d+(?:[/?#]|$)/i.test(url)
|
|
24
|
+
};
|
|
25
|
+
/** Shared ArcGISImageServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
26
|
+
export const ARCGIS_IMAGE_SERVER_SOURCE_LOADER_METADATA = {
|
|
27
|
+
name: 'ArcGISImageServer',
|
|
28
|
+
id: 'arcgis-image-server',
|
|
29
|
+
module: 'arcgis',
|
|
30
|
+
version: '0.0.0',
|
|
31
|
+
extensions: [],
|
|
32
|
+
mimeTypes: [],
|
|
33
|
+
type: 'arcgis-image-server',
|
|
34
|
+
fromUrl: true,
|
|
35
|
+
fromBlob: false,
|
|
36
|
+
options: {
|
|
37
|
+
'arcgis-image-server': {
|
|
38
|
+
// TODO - add options here
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
defaultOptions: {
|
|
42
|
+
'arcgis-image-server': {
|
|
43
|
+
// TODO - add options here
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
testURL: (url) => url.toLowerCase().includes('imageserver')
|
|
47
|
+
};
|
|
48
|
+
/** Shared ArcGISImageTileSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
49
|
+
export const ARCGIS_IMAGE_TILE_SOURCE_LOADER_METADATA = {
|
|
50
|
+
name: 'ArcGIS ImageServer tiles',
|
|
51
|
+
id: 'arcgis-image-server-tiles',
|
|
52
|
+
module: 'arcgis',
|
|
53
|
+
version: '0.0.0',
|
|
54
|
+
extensions: [],
|
|
55
|
+
mimeTypes: [],
|
|
56
|
+
type: 'arcgis-image-server-tiles',
|
|
57
|
+
fromUrl: true,
|
|
58
|
+
fromBlob: false,
|
|
59
|
+
options: { 'arcgis-image-server-tiles': {} },
|
|
60
|
+
defaultOptions: { 'arcgis-image-server-tiles': {} },
|
|
61
|
+
testURL: (url) => /imageserver/i.test(url)
|
|
62
|
+
};
|
|
63
|
+
/** Shared ArcGISMapTileSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
64
|
+
export const ARCGIS_MAP_TILE_SOURCE_LOADER_METADATA = {
|
|
65
|
+
name: 'ArcGIS MapServer tiles',
|
|
66
|
+
id: 'arcgis-map-server',
|
|
67
|
+
module: 'arcgis',
|
|
68
|
+
version: '0.0.0',
|
|
69
|
+
extensions: [],
|
|
70
|
+
mimeTypes: [],
|
|
71
|
+
type: 'arcgis-map-server',
|
|
72
|
+
fromUrl: true,
|
|
73
|
+
fromBlob: false,
|
|
74
|
+
options: { 'arcgis-map-server': {} },
|
|
75
|
+
defaultOptions: { 'arcgis-map-server': {} },
|
|
76
|
+
testURL: (url) => /mapserver/i.test(url) && !/imageserver|featureserver/i.test(url)
|
|
77
|
+
};
|
|
78
|
+
/** Shared ArcGISSceneServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
79
|
+
export const ARCGIS_SCENE_SERVER_SOURCE_LOADER_METADATA = {
|
|
80
|
+
name: 'ArcGIS SceneServer',
|
|
81
|
+
id: 'arcgis-scene-server',
|
|
82
|
+
module: 'arcgis',
|
|
83
|
+
version: '0.0.0',
|
|
84
|
+
extensions: [],
|
|
85
|
+
mimeTypes: ['application/json'],
|
|
86
|
+
type: 'arcgis-scene-server',
|
|
87
|
+
fromUrl: true,
|
|
88
|
+
fromBlob: false,
|
|
89
|
+
options: { 'arcgis-scene-server': {} },
|
|
90
|
+
defaultOptions: { 'arcgis-scene-server': {} },
|
|
91
|
+
testURL: (url) => /\/SceneServer(?:[\/?#]|$)/i.test(url)
|
|
92
|
+
};
|
|
93
|
+
/** Shared ArcGISVectorTileServerSourceLoader metadata, without runtime or lazy-loading dependencies. */
|
|
94
|
+
export const ARCGIS_VECTOR_TILE_SERVER_SOURCE_LOADER_METADATA = {
|
|
95
|
+
name: 'ArcGIS VectorTileServer',
|
|
96
|
+
id: 'arcgis-vector-tile-server',
|
|
97
|
+
module: 'arcgis',
|
|
98
|
+
version: '0.0.0',
|
|
99
|
+
extensions: [],
|
|
100
|
+
mimeTypes: ['application/vnd.mapbox-vector-tile', 'application/x-protobuf'],
|
|
101
|
+
type: 'arcgis-vector-tile-server',
|
|
102
|
+
fromUrl: true,
|
|
103
|
+
fromBlob: false,
|
|
104
|
+
options: { 'arcgis-vector-tile-server': {} },
|
|
105
|
+
defaultOptions: { 'arcgis-vector-tile-server': {} },
|
|
106
|
+
testURL: (url) => /\/vectortileserver(?:[\/?#]|$)/i.test(url)
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=arcgis-source-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arcgis-source-types.js","sourceRoot":"","sources":["../src/arcgis-source-types.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAmQpC,qGAAqG;AACrG,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,qBAAqB;IAC3B,EAAE,EAAE,uBAAuB;IAC3B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,EAAE;IACd,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACP,GAAG,EAAE,SAAU;QACf,uBAAuB,EAAE,EAAE;KAC5B;IACD,cAAc,EAAE;QACd,GAAG,EAAE,SAAU;QACf,uBAAuB,EAAE,EAAE;KAC5B;IACD,OAAO,EAAE,CAAC,GAAW,EAAW,EAAE,CAChC,6BAA6B,CAAC,IAAI,CAAC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E,EAAC,2BAA2B,EAAE,EAAE,EAAC;IACjD,OAAO,EAAE,CAAC,GAAW,EAAW,EAAE,CAAC,iCAAiC,CAAC,IAAI,CAAC,GAAG,CAAC;CACvC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { AuthenticatedFetchOptions, FetchLike, RequestCredential, TokenValue } from '@loaders.gl/loader-utils';
|
|
2
|
+
import { TokenAuthentication } from '@loaders.gl/loader-utils';
|
|
3
|
+
/** ArcGIS token authentication independent of the application's sign-in SDK. */
|
|
4
|
+
export declare class ArcGISAuthentication extends TokenAuthentication {
|
|
5
|
+
/** Discriminator used in `core.credentials`. */
|
|
6
|
+
static readonly type = "arcgis";
|
|
7
|
+
/** Creates an exact-origin ArcGIS credential. */
|
|
8
|
+
constructor(options: ArcGISCredentialOptions);
|
|
9
|
+
/**
|
|
10
|
+
* Creates a fetch transport for discovery and service requests.
|
|
11
|
+
* Refreshes are isolated by trusted origin so server-specific tokens cannot cross hosts.
|
|
12
|
+
* Reuse the returned transport to deduplicate concurrent refreshes within each origin.
|
|
13
|
+
*/
|
|
14
|
+
createFetch(options?: Pick<AuthenticatedFetchOptions, 'fetch' | 'fetchOptions'>): FetchLike;
|
|
15
|
+
}
|
|
16
|
+
/** Options for an ArcGIS REST service credential. */
|
|
17
|
+
export type ArcGISCredentialOptions = {
|
|
18
|
+
/** ArcGIS token or application-managed token callback. */
|
|
19
|
+
token: TokenValue;
|
|
20
|
+
/** Exact ArcGIS Online or Enterprise origins authorized to receive the token. */
|
|
21
|
+
origins: readonly string[];
|
|
22
|
+
};
|
|
23
|
+
/** Creates an exact-origin ArcGIS `token` query credential. */
|
|
24
|
+
export declare function createArcGISCredential(options: ArcGISCredentialOptions): RequestCredential;
|
|
25
|
+
//# sourceMappingURL=authentication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.d.ts","sourceRoot":"","sources":["../src/authentication.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,yBAAyB,EACzB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACX,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EAGpB,MAAM,0BAA0B,CAAC;AAKlC,gFAAgF;AAChF,qBAAa,oBAAqB,SAAQ,mBAAmB;IAC3D,gDAAgD;IAChD,MAAM,CAAC,QAAQ,CAAC,IAAI,YAAY;IAChC,iDAAiD;gBACrC,OAAO,EAAE,uBAAuB;IAI5C;;;;OAIG;IACH,WAAW,CAAC,OAAO,GAAE,IAAI,CAAC,yBAAyB,EAAE,OAAO,GAAG,cAAc,CAAM,GAAG,SAAS;CAWhG;AAED,qDAAqD;AACrD,MAAM,MAAM,uBAAuB,GAAG;IACpC,0DAA0D;IAC1D,KAAK,EAAE,UAAU,CAAC;IAClB,iFAAiF;IACjF,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,+DAA+D;AAC/D,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,uBAAuB,GAAG,iBAAiB,CAY1F"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// loaders.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// Copyright (c) vis.gl contributors
|
|
4
|
+
import { TokenAuthentication, createAuthenticatedFetch, createQueryParameterCredential } from '@loaders.gl/loader-utils';
|
|
5
|
+
/** Maximum JSON error bytes retained by the authentication detector. */
|
|
6
|
+
const MAXIMUM_AUTHENTICATION_ERROR_BYTES = 16384;
|
|
7
|
+
/** ArcGIS token authentication independent of the application's sign-in SDK. */
|
|
8
|
+
export class ArcGISAuthentication extends TokenAuthentication {
|
|
9
|
+
/** Discriminator used in `core.credentials`. */
|
|
10
|
+
static type = 'arcgis';
|
|
11
|
+
/** Creates an exact-origin ArcGIS credential. */
|
|
12
|
+
constructor(options) {
|
|
13
|
+
super(createArcGISCredential(options));
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a fetch transport for discovery and service requests.
|
|
17
|
+
* Refreshes are isolated by trusted origin so server-specific tokens cannot cross hosts.
|
|
18
|
+
* Reuse the returned transport to deduplicate concurrent refreshes within each origin.
|
|
19
|
+
*/
|
|
20
|
+
createFetch(options = {}) {
|
|
21
|
+
return createAuthenticatedFetch({
|
|
22
|
+
...options,
|
|
23
|
+
credentials: this.origins.map(origin => createArcGISCredential({
|
|
24
|
+
origins: [origin],
|
|
25
|
+
token: this.token
|
|
26
|
+
}))
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/** Creates an exact-origin ArcGIS `token` query credential. */
|
|
31
|
+
export function createArcGISCredential(options) {
|
|
32
|
+
return {
|
|
33
|
+
...createQueryParameterCredential({
|
|
34
|
+
id: 'arcgis-token',
|
|
35
|
+
origins: options.origins,
|
|
36
|
+
parameterName: 'token',
|
|
37
|
+
token: options.token,
|
|
38
|
+
refreshStatusCodes: [401, 403, 498, 499]
|
|
39
|
+
}),
|
|
40
|
+
shouldRefresh: isArcGISAuthenticationError,
|
|
41
|
+
canReplayRequest: canReplayArcGISRequest
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Detects small JSON authentication errors without buffering successful feature/tile bodies.
|
|
46
|
+
* Only 498/499 envelopes trigger renewal; permission and query errors remain visible.
|
|
47
|
+
*/
|
|
48
|
+
async function isArcGISAuthenticationError(response) {
|
|
49
|
+
if (response.status !== 200 || !response.headers.get('content-type')?.includes('json'))
|
|
50
|
+
return false;
|
|
51
|
+
if (Number(response.headers.get('content-length')) > MAXIMUM_AUTHENTICATION_ERROR_BYTES)
|
|
52
|
+
return false;
|
|
53
|
+
const reader = response.clone().body?.getReader();
|
|
54
|
+
if (!reader)
|
|
55
|
+
return false;
|
|
56
|
+
const chunks = [];
|
|
57
|
+
let length = 0;
|
|
58
|
+
try {
|
|
59
|
+
while (true) {
|
|
60
|
+
const { value, done } = await reader.read();
|
|
61
|
+
if (done) {
|
|
62
|
+
const bytes = new Uint8Array(length);
|
|
63
|
+
let offset = 0;
|
|
64
|
+
for (const chunk of chunks) {
|
|
65
|
+
bytes.set(chunk, offset);
|
|
66
|
+
offset += chunk.length;
|
|
67
|
+
}
|
|
68
|
+
const json = JSON.parse(new TextDecoder().decode(bytes));
|
|
69
|
+
return json?.error?.code === 498 || json?.error?.code === 499;
|
|
70
|
+
}
|
|
71
|
+
if (value.byteLength > MAXIMUM_AUTHENTICATION_ERROR_BYTES - length)
|
|
72
|
+
return false;
|
|
73
|
+
length += value.byteLength;
|
|
74
|
+
// Copy only accepted bytes so small views cannot retain oversized backing buffers.
|
|
75
|
+
chunks.push(value.slice());
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
finally {
|
|
82
|
+
// A tee cancellation can wait for the original consumer; do not await it here.
|
|
83
|
+
void reader.cancel().catch(() => { });
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
/** Permits string or URLSearchParams form POST queries on numbered feature or map layers. */
|
|
87
|
+
function canReplayArcGISRequest(url, request) {
|
|
88
|
+
return (request.method?.toUpperCase() === 'POST' &&
|
|
89
|
+
/\/(FeatureServer|MapServer)\/\d+\/query\/?$/i.test(new URL(url).pathname) &&
|
|
90
|
+
new Headers(request.headers).get('content-type')?.split(';')[0] ===
|
|
91
|
+
'application/x-www-form-urlencoded' &&
|
|
92
|
+
(typeof request.body === 'string' || request.body instanceof URLSearchParams));
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=authentication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../src/authentication.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAQpC,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,0BAA0B,CAAC;AAElC,wEAAwE;AACxE,MAAM,kCAAkC,GAAG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