jmapcloud-ng-core-types 0.4.0 → 0.4.1
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/.vscode/settings.json +0 -3
- package/all-enums.ts +5 -0
- package/package.json +1 -1
- package/public/jmap/layer.d.ts +7 -0
- package/tsconfig.json +4 -2
- package/tslint.json +0 -86
package/.vscode/settings.json
CHANGED
package/all-enums.ts
CHANGED
|
@@ -86,6 +86,11 @@ export const ALL_LAYER_LAYER_TYPES: JLAYER_LAYER_TYPES[] = [
|
|
|
86
86
|
JLAYER_LAYER_TYPES.OGC_API_FEATURES
|
|
87
87
|
]
|
|
88
88
|
|
|
89
|
+
export const ALL_LAYER_LAYER_REQUEST_MODES: JLAYER_LAYER_REQUEST_MODES[] = [
|
|
90
|
+
JLAYER_LAYER_REQUEST_MODES.BY_TILE,
|
|
91
|
+
JLAYER_LAYER_REQUEST_MODES.BY_REGION
|
|
92
|
+
]
|
|
93
|
+
|
|
89
94
|
export const ALL_LAYER_ELEMENT_TYPES: JLAYER_ELEMENT_TYPES[] = [
|
|
90
95
|
JLAYER_ELEMENT_TYPES.POINT,
|
|
91
96
|
JLAYER_ELEMENT_TYPES.LINE,
|
package/package.json
CHANGED
package/public/jmap/layer.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ declare const enum JLAYER_LAYER_TYPES {
|
|
|
5
5
|
OGC_API_FEATURES = "OGC_API_FEATURES"
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
// ALL_LAYER_LAYER_REQUEST_MODES in all-enum.ts
|
|
9
|
+
declare const enum JLAYER_LAYER_REQUEST_MODES {
|
|
10
|
+
BY_TILE = "BY_TILE",
|
|
11
|
+
BY_REGION = "BY_REGION"
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
// ALL_LAYER_ELEMENT_TYPES in all-enum.ts
|
|
9
15
|
declare const enum JLAYER_ELEMENT_TYPES {
|
|
10
16
|
POINT = "POINT",
|
|
@@ -272,6 +278,7 @@ declare interface JLayer extends JLayerTreeElement {
|
|
|
272
278
|
geometry: JLayerGeometry
|
|
273
279
|
elementType: JLAYER_ELEMENT_TYPES
|
|
274
280
|
layerType: JLAYER_LAYER_TYPES
|
|
281
|
+
useClientCache: boolean
|
|
275
282
|
defaultMetadatas: JLayerMetadata[]
|
|
276
283
|
metadataSections: JLayerMetadataSection[]
|
|
277
284
|
attributes: JLayerAttribute[]
|
package/tsconfig.json
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
"noImplicitAny": true,
|
|
8
8
|
"moduleResolution": "node",
|
|
9
9
|
"module": "esnext",
|
|
10
|
-
"target": "
|
|
10
|
+
"target": "ES2022",
|
|
11
11
|
"jsx": "react",
|
|
12
|
-
"lib": [
|
|
12
|
+
"lib": [
|
|
13
|
+
"ES5","ES2015","ES2016","ES2017","ES2018","ES2019","ES2020","ES2021","ES2022","DOM"
|
|
14
|
+
]
|
|
13
15
|
},
|
|
14
16
|
"include": ["./public/**/*", "./index.ts", "./all-enums.ts"]
|
|
15
17
|
}
|
package/tslint.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"defaultSeverity": "error",
|
|
3
|
-
"extends": [
|
|
4
|
-
"tslint:recommended"
|
|
5
|
-
],
|
|
6
|
-
"jsRules": {},
|
|
7
|
-
"rules": {
|
|
8
|
-
"no-eval": false,
|
|
9
|
-
"semicolon": [
|
|
10
|
-
true,
|
|
11
|
-
"never"
|
|
12
|
-
],
|
|
13
|
-
"object-literal-sort-keys": false,
|
|
14
|
-
"no-shadowed-variable": [
|
|
15
|
-
true,
|
|
16
|
-
{
|
|
17
|
-
"class": true,
|
|
18
|
-
"enum": true,
|
|
19
|
-
"function": true,
|
|
20
|
-
"interface": false,
|
|
21
|
-
"namespace": true,
|
|
22
|
-
"typeAlias": false,
|
|
23
|
-
"typeParameter": false,
|
|
24
|
-
"temporalDeadZone": false
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"arrow-parens": [
|
|
28
|
-
true,
|
|
29
|
-
"ban-single-arg-parens"
|
|
30
|
-
],
|
|
31
|
-
"no-trailing-whitespace": [
|
|
32
|
-
true,
|
|
33
|
-
"ignore-comments"
|
|
34
|
-
],
|
|
35
|
-
"ordered-imports": [
|
|
36
|
-
false,
|
|
37
|
-
{
|
|
38
|
-
"import-sources-order": "any",
|
|
39
|
-
"named-imports-order": "any",
|
|
40
|
-
"grouped-imports": true
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"max-line-length": [
|
|
44
|
-
true,
|
|
45
|
-
130
|
|
46
|
-
],
|
|
47
|
-
"curly": [
|
|
48
|
-
true
|
|
49
|
-
],
|
|
50
|
-
"no-console": [
|
|
51
|
-
true,
|
|
52
|
-
"log"
|
|
53
|
-
],
|
|
54
|
-
"max-classes-per-file": [
|
|
55
|
-
true,
|
|
56
|
-
10,
|
|
57
|
-
"exclude-class-expressions"
|
|
58
|
-
],
|
|
59
|
-
"trailing-comma": [ false ],
|
|
60
|
-
"variable-name": [
|
|
61
|
-
false,
|
|
62
|
-
"ban-keywords", "check-format", "allow-leading-underscore", "allow-trailing-underscore"
|
|
63
|
-
],
|
|
64
|
-
"interface-name": [ false ],
|
|
65
|
-
"member-ordering": [
|
|
66
|
-
true,
|
|
67
|
-
{
|
|
68
|
-
"order": [
|
|
69
|
-
"public-static-field",
|
|
70
|
-
"public-instance-field",
|
|
71
|
-
"private-static-field",
|
|
72
|
-
"private-instance-field",
|
|
73
|
-
"public-constructor",
|
|
74
|
-
"private-constructor",
|
|
75
|
-
"public-static-method",
|
|
76
|
-
"public-instance-method",
|
|
77
|
-
"protected-instance-method",
|
|
78
|
-
"private-instance-method",
|
|
79
|
-
"private-static-method"
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"no-namespace": [true, "allow-declarations"]
|
|
84
|
-
},
|
|
85
|
-
"rulesDirectory": []
|
|
86
|
-
}
|