@evergis/api 5.0.64 → 5.0.66
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.
|
@@ -2649,15 +2649,37 @@ export interface ProxyServiceConfigurationDc {
|
|
|
2649
2649
|
sourceType?: string;
|
|
2650
2650
|
/** Specifies the available types of layer services that can be used within the application. */
|
|
2651
2651
|
layerType?: LayerServiceType;
|
|
2652
|
-
geometryType?: OgcGeometryType;
|
|
2653
2652
|
/** Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer. */
|
|
2654
2653
|
sourceUrl?: string;
|
|
2654
|
+
/** Subdomains for the source URL. Like ["a", "b", "c"]. */
|
|
2655
|
+
subDomains?: string[];
|
|
2655
2656
|
/** Names of layers to include in proxy layer (can be numbers). */
|
|
2656
2657
|
layers?: string[];
|
|
2657
2658
|
/** Additional query headers. */
|
|
2658
2659
|
additionalHeaders?: Record<string, string | null>;
|
|
2659
2660
|
/** Additional query parameters. */
|
|
2660
2661
|
additionalQueryParams?: Record<string, string | null>;
|
|
2662
|
+
/**
|
|
2663
|
+
* Request timeout.
|
|
2664
|
+
* @format date-span
|
|
2665
|
+
*/
|
|
2666
|
+
requestTimeout?: string;
|
|
2667
|
+
/** Ignore https server certificate validation check. */
|
|
2668
|
+
ignoreHttps?: boolean;
|
|
2669
|
+
/** If set true use local cache. */
|
|
2670
|
+
enableLocalCaching?: boolean;
|
|
2671
|
+
/** If set true use redis cache. */
|
|
2672
|
+
enableRemoteCaching?: boolean;
|
|
2673
|
+
/**
|
|
2674
|
+
* Amount of time local cache expire.
|
|
2675
|
+
* @format date-span
|
|
2676
|
+
*/
|
|
2677
|
+
localCacheExpire?: string;
|
|
2678
|
+
/**
|
|
2679
|
+
* Amount of time remote cache expire.
|
|
2680
|
+
* @format date-span
|
|
2681
|
+
*/
|
|
2682
|
+
remoteCacheExpire?: string;
|
|
2661
2683
|
/**
|
|
2662
2684
|
* Name of the service.
|
|
2663
2685
|
* @minLength 1
|
|
@@ -3031,39 +3053,10 @@ export declare enum RemoteTaskStatus {
|
|
|
3031
3053
|
/**
|
|
3032
3054
|
* Configuration for the remote tile service.
|
|
3033
3055
|
*/
|
|
3034
|
-
export type RemoteTileServiceConfigurationDc =
|
|
3035
|
-
|
|
3036
|
-
layerType?: LayerServiceType;
|
|
3037
|
-
/** Tile info structure. */
|
|
3038
|
-
tileInfo?: TileInfoDc;
|
|
3039
|
-
/**
|
|
3040
|
-
* SourceBatch url mask. Like http://{0}.website.ru/{1}/{2}/{3}.png
|
|
3041
|
-
* Where: {0} - SubDomains, {1} - Z, {2} - X, {3} - Y.
|
|
3042
|
-
* @minLength 1
|
|
3043
|
-
*/
|
|
3044
|
-
urlFormat: string;
|
|
3045
|
-
/**
|
|
3046
|
-
* Max tile count for caching.
|
|
3047
|
-
* @format int32
|
|
3048
|
-
* @default 50000
|
|
3049
|
-
*/
|
|
3050
|
-
tileCacheLimit?: number;
|
|
3051
|
-
/** If set true cache tiles in redis cache. */
|
|
3052
|
-
useRedisCache?: boolean;
|
|
3053
|
-
/**
|
|
3054
|
-
* Amount of time cache expire in seconds.
|
|
3055
|
-
* @format int32
|
|
3056
|
-
*/
|
|
3057
|
-
cacheExpire?: number;
|
|
3058
|
-
/**
|
|
3059
|
-
* Subdomains. To get tiles from different servers.
|
|
3060
|
-
* Will be inserted into the UrlFormat {0}.
|
|
3061
|
-
*/
|
|
3062
|
-
subDomains?: string[] | null;
|
|
3056
|
+
export type RemoteTileServiceConfigurationDc = ProxyServiceConfigurationDc & {
|
|
3057
|
+
sourceType?: string | null;
|
|
3063
3058
|
/** Allows the client to receive tiles directly from the source server. */
|
|
3064
3059
|
allowDirectAccess?: boolean;
|
|
3065
|
-
/** @format int32 */
|
|
3066
|
-
RequestTimeout?: number;
|
|
3067
3060
|
/** Use proxy HttpClient. */
|
|
3068
3061
|
useProxyHttpClient?: boolean;
|
|
3069
3062
|
};
|