jmapcloud-ng-core-types 0.4.0 → 0.4.2

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/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
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "pub": "export NODE_ENV='production'; gulp publish --gulpfile build/gulpfile.js;",
9
- "copy": "export NODE_ENV='production'; gulp copy --gulpfile build/gulpfile.js;",
10
- "commit-doc": "export NODE_ENV='production'; gulp commit-doc --gulpfile build/gulpfile.js;",
11
- "doc-test": "export DOC_DIR='./docs/latest'; gulp typedoc --gulpfile build/gulpfile.js;",
12
- "copy-latest": "gulp copy-latest --gulpfile build/gulpfile.js;"
8
+ "pub": "export NODE_ENV='production'; node build/buildfile.js publish;",
9
+ "copy": "export NODE_ENV='production'; node build/buildfile.js copy;",
10
+ "commit-doc": "export NODE_ENV='production'; node build/buildfile.js commit-doc;",
11
+ "doc-test": "export DOC_DIR='./docs/latest'; node build/buildfile.js doc-test;",
12
+ "copy-latest": "node build/buildfile.js copy-latest;"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -28,7 +28,6 @@
28
28
  },
29
29
  "homepage": "https://github.com/k2geospatial/jmapcloud-ng-core-types#readme",
30
30
  "devDependencies": {
31
- "gulp": "^4.0.2",
32
31
  "typedoc": "^0.24.8"
33
32
  },
34
33
  "dependencies": {
@@ -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/.prettierrc DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "printWidth": 120,
3
- "semi": false,
4
- "quoteProps": "consistent",
5
- "jsxBracketSameLine": true,
6
- "trailingComma": "none",
7
- "tabWidth": 2,
8
- "arrowParens": "avoid",
9
- "bracketSpacing": true
10
- }
@@ -1,24 +0,0 @@
1
- {
2
- "tslint.autoFixOnSave": true,
3
- "tslint.enable": true,
4
- "tslint.configFile": "./tslint.json",
5
- "editor.formatOnSave": true,
6
- "editor.formatOnPaste": true,
7
- "editor.tabSize": 2,
8
- "editor.detectIndentation": false,
9
- "[typescript]": {
10
- "editor.defaultFormatter": "esbenp.prettier-vscode",
11
- "editor.codeActionsOnSave": {
12
- "source.organizeImports": true
13
- }
14
- },
15
- "[typescriptreact]": {
16
- "editor.defaultFormatter": "esbenp.prettier-vscode",
17
- "editor.codeActionsOnSave": {
18
- "source.organizeImports": true
19
- }
20
- },
21
- "[javascript]": {
22
- "editor.defaultFormatter": "esbenp.prettier-vscode"
23
- }
24
- }
package/_config.yml DELETED
@@ -1 +0,0 @@
1
- theme: jekyll-theme-cayman
package/tsconfig.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "./out",
4
- "baseUrl": "./",
5
- "strict": true,
6
- "sourceMap": true,
7
- "noImplicitAny": true,
8
- "moduleResolution": "node",
9
- "module": "esnext",
10
- "target": "es5",
11
- "jsx": "react",
12
- "lib": ["es2017", "dom", "es5", "es2015.promise"]
13
- },
14
- "include": ["./public/**/*", "./index.ts", "./all-enums.ts"]
15
- }
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
- }