@geode/opengeodeweb-viewer 1.36.1 → 1.37.0-rc.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.
@@ -246,6 +246,34 @@
246
246
  "additionalProperties": false
247
247
  }
248
248
  },
249
+ "opacity": {
250
+ "$id": "opengeodeweb_viewer.mesh.cells.opacity",
251
+ "rpc": "opacity",
252
+ "type": "object",
253
+ "properties": {
254
+ "id": {
255
+ "type": "string",
256
+ "minLength": 32,
257
+ "maxLength": 32
258
+ },
259
+ "opacity": {
260
+ "type": "number",
261
+ "minimum": 0,
262
+ "maximum": 1
263
+ }
264
+ },
265
+ "required": [
266
+ "id",
267
+ "opacity"
268
+ ],
269
+ "additionalProperties": false,
270
+ "response": {
271
+ "type": "object",
272
+ "properties": {},
273
+ "required": [],
274
+ "additionalProperties": false
275
+ }
276
+ },
249
277
  "color": {
250
278
  "$id": "opengeodeweb_viewer.mesh.cells.color",
251
279
  "rpc": "color",
@@ -523,6 +551,34 @@
523
551
  "additionalProperties": false
524
552
  }
525
553
  },
554
+ "opacity": {
555
+ "$id": "opengeodeweb_viewer.mesh.edges.opacity",
556
+ "rpc": "opacity",
557
+ "type": "object",
558
+ "properties": {
559
+ "id": {
560
+ "type": "string",
561
+ "minLength": 32,
562
+ "maxLength": 32
563
+ },
564
+ "opacity": {
565
+ "type": "number",
566
+ "minimum": 0,
567
+ "maximum": 1
568
+ }
569
+ },
570
+ "required": [
571
+ "id",
572
+ "opacity"
573
+ ],
574
+ "additionalProperties": false,
575
+ "response": {
576
+ "type": "object",
577
+ "properties": {},
578
+ "required": [],
579
+ "additionalProperties": false
580
+ }
581
+ },
526
582
  "color": {
527
583
  "$id": "opengeodeweb_viewer.mesh.edges.color",
528
584
  "rpc": "color",
@@ -727,6 +783,34 @@
727
783
  "additionalProperties": false
728
784
  }
729
785
  },
786
+ "opacity": {
787
+ "$id": "opengeodeweb_viewer.mesh.points.opacity",
788
+ "rpc": "opacity",
789
+ "type": "object",
790
+ "properties": {
791
+ "id": {
792
+ "type": "string",
793
+ "minLength": 32,
794
+ "maxLength": 32
795
+ },
796
+ "opacity": {
797
+ "type": "number",
798
+ "minimum": 0,
799
+ "maximum": 1
800
+ }
801
+ },
802
+ "required": [
803
+ "id",
804
+ "opacity"
805
+ ],
806
+ "additionalProperties": false,
807
+ "response": {
808
+ "type": "object",
809
+ "properties": {},
810
+ "required": [],
811
+ "additionalProperties": false
812
+ }
813
+ },
730
814
  "color": {
731
815
  "$id": "opengeodeweb_viewer.mesh.points.color",
732
816
  "rpc": "color",
@@ -978,6 +1062,34 @@
978
1062
  "additionalProperties": false
979
1063
  }
980
1064
  },
1065
+ "opacity": {
1066
+ "$id": "opengeodeweb_viewer.mesh.polygons.opacity",
1067
+ "rpc": "opacity",
1068
+ "type": "object",
1069
+ "properties": {
1070
+ "id": {
1071
+ "type": "string",
1072
+ "minLength": 32,
1073
+ "maxLength": 32
1074
+ },
1075
+ "opacity": {
1076
+ "type": "number",
1077
+ "minimum": 0,
1078
+ "maximum": 1
1079
+ }
1080
+ },
1081
+ "required": [
1082
+ "id",
1083
+ "opacity"
1084
+ ],
1085
+ "additionalProperties": false,
1086
+ "response": {
1087
+ "type": "object",
1088
+ "properties": {},
1089
+ "required": [],
1090
+ "additionalProperties": false
1091
+ }
1092
+ },
981
1093
  "color": {
982
1094
  "$id": "opengeodeweb_viewer.mesh.polygons.color",
983
1095
  "rpc": "color",
@@ -1229,6 +1341,34 @@
1229
1341
  "additionalProperties": false
1230
1342
  }
1231
1343
  },
1344
+ "opacity": {
1345
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.opacity",
1346
+ "rpc": "opacity",
1347
+ "type": "object",
1348
+ "properties": {
1349
+ "id": {
1350
+ "type": "string",
1351
+ "minLength": 32,
1352
+ "maxLength": 32
1353
+ },
1354
+ "opacity": {
1355
+ "type": "number",
1356
+ "minimum": 0,
1357
+ "maximum": 1
1358
+ }
1359
+ },
1360
+ "required": [
1361
+ "id",
1362
+ "opacity"
1363
+ ],
1364
+ "additionalProperties": false,
1365
+ "response": {
1366
+ "type": "object",
1367
+ "properties": {},
1368
+ "required": [],
1369
+ "additionalProperties": false
1370
+ }
1371
+ },
1232
1372
  "color": {
1233
1373
  "$id": "opengeodeweb_viewer.mesh.polyhedra.color",
1234
1374
  "rpc": "color",
@@ -4345,43 +4485,47 @@
4345
4485
  "maxLength": 32
4346
4486
  }
4347
4487
  },
4348
- "attribute": {
4349
- "type": "object",
4350
- "properties": {
4351
- "name": {
4352
- "type": "string",
4353
- "minLength": 1
4354
- },
4355
- "location": {
4356
- "type": "string",
4357
- "enum": [
4358
- "point",
4359
- "cell"
4360
- ]
4361
- },
4362
- "item": {
4363
- "type": "integer",
4364
- "minimum": 0
4365
- },
4366
- "minimum": {
4367
- "type": "number"
4488
+ "attributes": {
4489
+ "type": "array",
4490
+ "items": {
4491
+ "type": "object",
4492
+ "properties": {
4493
+ "name": {
4494
+ "type": "string",
4495
+ "minLength": 1
4496
+ },
4497
+ "location": {
4498
+ "type": "string",
4499
+ "enum": [
4500
+ "point",
4501
+ "cell"
4502
+ ]
4503
+ },
4504
+ "item": {
4505
+ "type": "integer",
4506
+ "minimum": 0
4507
+ },
4508
+ "minimum": {
4509
+ "type": "number"
4510
+ },
4511
+ "maximum": {
4512
+ "type": "number"
4513
+ }
4368
4514
  },
4369
- "maximum": {
4370
- "type": "number"
4371
- }
4372
- },
4373
- "required": [
4374
- "name",
4375
- "location",
4376
- "item",
4377
- "minimum",
4378
- "maximum"
4379
- ],
4380
- "additionalProperties": false
4515
+ "required": [
4516
+ "name",
4517
+ "location",
4518
+ "item",
4519
+ "minimum",
4520
+ "maximum"
4521
+ ],
4522
+ "additionalProperties": false
4523
+ }
4381
4524
  }
4382
4525
  },
4383
4526
  "required": [
4384
- "ids"
4527
+ "ids",
4528
+ "attributes"
4385
4529
  ],
4386
4530
  "additionalProperties": false,
4387
4531
  "response": {
@@ -70,6 +70,14 @@ export interface MeshCellsVisibilityParams {
70
70
  export interface MeshCellsVisibilityResponse {
71
71
  }
72
72
 
73
+ export interface MeshCellsOpacityParams {
74
+ id: string;
75
+ opacity: number;
76
+ }
77
+
78
+ export interface MeshCellsOpacityResponse {
79
+ }
80
+
73
81
  export interface MeshCellsColorParams {
74
82
  color: MeshCellsColorParamsColor;
75
83
  id: string;
@@ -147,6 +155,14 @@ export interface MeshEdgesVisibilityParams {
147
155
  export interface MeshEdgesVisibilityResponse {
148
156
  }
149
157
 
158
+ export interface MeshEdgesOpacityParams {
159
+ id: string;
160
+ opacity: number;
161
+ }
162
+
163
+ export interface MeshEdgesOpacityResponse {
164
+ }
165
+
150
166
  export interface MeshEdgesColorParams {
151
167
  color: MeshEdgesColorParamsColor;
152
168
  id: string;
@@ -203,6 +219,14 @@ export interface MeshPointsSizeParams {
203
219
  export interface MeshPointsSizeResponse {
204
220
  }
205
221
 
222
+ export interface MeshPointsOpacityParams {
223
+ id: string;
224
+ opacity: number;
225
+ }
226
+
227
+ export interface MeshPointsOpacityResponse {
228
+ }
229
+
206
230
  export interface MeshPointsColorParams {
207
231
  color: MeshPointsColorParamsColor;
208
232
  id: string;
@@ -272,6 +296,14 @@ export interface MeshPolygonsVisibilityParams {
272
296
  export interface MeshPolygonsVisibilityResponse {
273
297
  }
274
298
 
299
+ export interface MeshPolygonsOpacityParams {
300
+ id: string;
301
+ opacity: number;
302
+ }
303
+
304
+ export interface MeshPolygonsOpacityResponse {
305
+ }
306
+
275
307
  export interface MeshPolygonsColorParams {
276
308
  color: MeshPolygonsColorParamsColor;
277
309
  id: string;
@@ -341,6 +373,14 @@ export interface MeshPolyhedraVisibilityParams {
341
373
  export interface MeshPolyhedraVisibilityResponse {
342
374
  }
343
375
 
376
+ export interface MeshPolyhedraOpacityParams {
377
+ id: string;
378
+ opacity: number;
379
+ }
380
+
381
+ export interface MeshPolyhedraOpacityResponse {
382
+ }
383
+
344
384
  export interface MeshPolyhedraColorParams {
345
385
  color: MeshPolyhedraColorParamsColor;
346
386
  id: string;
@@ -1168,11 +1208,11 @@ export interface ViewerUpdateCameraResponse {
1168
1208
  }
1169
1209
 
1170
1210
  export interface ViewerThresholdParams {
1171
- attribute?: AttributeClass;
1211
+ attributes: AttributeElement[];
1172
1212
  ids: string[];
1173
1213
  }
1174
1214
 
1175
- export interface AttributeClass {
1215
+ export interface AttributeElement {
1176
1216
  item: number;
1177
1217
  location: Location;
1178
1218
  maximum: number;
@@ -1408,6 +1448,7 @@ export interface Schemas {
1408
1448
  };
1409
1449
  };
1410
1450
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["cells"]["visibility"] & TypedSchema<MeshCellsVisibilityParams, MeshCellsVisibilityResponse>;
1451
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["cells"]["opacity"] & TypedSchema<MeshCellsOpacityParams, MeshCellsOpacityResponse>;
1411
1452
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["cells"]["color"] & TypedSchema<MeshCellsColorParams, MeshCellsColorResponse>;
1412
1453
  };
1413
1454
  readonly edges: {
@@ -1421,6 +1462,7 @@ export interface Schemas {
1421
1462
  };
1422
1463
  readonly width: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["width"] & TypedSchema<MeshEdgesWidthParams, MeshEdgesWidthResponse>;
1423
1464
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["visibility"] & TypedSchema<MeshEdgesVisibilityParams, MeshEdgesVisibilityResponse>;
1465
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["opacity"] & TypedSchema<MeshEdgesOpacityParams, MeshEdgesOpacityResponse>;
1424
1466
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["color"] & TypedSchema<MeshEdgesColorParams, MeshEdgesColorResponse>;
1425
1467
  };
1426
1468
  readonly points: {
@@ -1431,6 +1473,7 @@ export interface Schemas {
1431
1473
  };
1432
1474
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["visibility"] & TypedSchema<MeshPointsVisibilityParams, MeshPointsVisibilityResponse>;
1433
1475
  readonly size: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["size"] & TypedSchema<MeshPointsSizeParams, MeshPointsSizeResponse>;
1476
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["opacity"] & TypedSchema<MeshPointsOpacityParams, MeshPointsOpacityResponse>;
1434
1477
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["color"] & TypedSchema<MeshPointsColorParams, MeshPointsColorResponse>;
1435
1478
  };
1436
1479
  readonly polygons: {
@@ -1443,6 +1486,7 @@ export interface Schemas {
1443
1486
  };
1444
1487
  };
1445
1488
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["polygons"]["visibility"] & TypedSchema<MeshPolygonsVisibilityParams, MeshPolygonsVisibilityResponse>;
1489
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["polygons"]["opacity"] & TypedSchema<MeshPolygonsOpacityParams, MeshPolygonsOpacityResponse>;
1446
1490
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["polygons"]["color"] & TypedSchema<MeshPolygonsColorParams, MeshPolygonsColorResponse>;
1447
1491
  };
1448
1492
  readonly polyhedra: {
@@ -1455,6 +1499,7 @@ export interface Schemas {
1455
1499
  };
1456
1500
  };
1457
1501
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["polyhedra"]["visibility"] & TypedSchema<MeshPolyhedraVisibilityParams, MeshPolyhedraVisibilityResponse>;
1502
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["polyhedra"]["opacity"] & TypedSchema<MeshPolyhedraOpacityParams, MeshPolyhedraOpacityResponse>;
1458
1503
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["polyhedra"]["color"] & TypedSchema<MeshPolyhedraColorParams, MeshPolyhedraColorResponse>;
1459
1504
  };
1460
1505
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["visibility"] & TypedSchema<MeshVisibilityParams, MeshVisibilityResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-viewer",
3
- "version": "1.36.1",
3
+ "version": "1.37.0-rc.2",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer",
6
6
  "bugs": {
@@ -40,6 +40,6 @@
40
40
  "build": "npm run json"
41
41
  },
42
42
  "dependencies": {
43
- "@geode/opengeodeweb-microservice": "latest"
43
+ "@geode/opengeodeweb-microservice": "next"
44
44
  }
45
45
  }