@geode/opengeodeweb-viewer 1.21.0 → 1.22.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.
@@ -9,10 +9,14 @@
9
9
  "id": {
10
10
  "type": "string",
11
11
  "minLength": 1
12
+ },
13
+ "name": {
14
+ "type": "string"
12
15
  }
13
16
  },
14
17
  "required": [
15
- "id"
18
+ "id",
19
+ "name"
16
20
  ],
17
21
  "additionalProperties": false
18
22
  },
@@ -1014,10 +1018,14 @@
1014
1018
  "id": {
1015
1019
  "type": "string",
1016
1020
  "minLength": 1
1021
+ },
1022
+ "name": {
1023
+ "type": "string"
1017
1024
  }
1018
1025
  },
1019
1026
  "required": [
1020
- "id"
1027
+ "id",
1028
+ "name"
1021
1029
  ],
1022
1030
  "additionalProperties": false
1023
1031
  },
@@ -1144,6 +1152,148 @@
1144
1152
  },
1145
1153
  "model": {
1146
1154
  "blocks": {
1155
+ "attribute": {
1156
+ "polyhedron": {
1157
+ "name": {
1158
+ "$id": "opengeodeweb_viewer.model.blocks.attribute.polyhedron.name",
1159
+ "rpc": "name",
1160
+ "type": "object",
1161
+ "properties": {
1162
+ "id": {
1163
+ "type": "string",
1164
+ "minLength": 1
1165
+ },
1166
+ "block_ids": {
1167
+ "type": "array",
1168
+ "items": {
1169
+ "type": "integer"
1170
+ },
1171
+ "minItems": 1
1172
+ },
1173
+ "name": {
1174
+ "type": "string",
1175
+ "minLength": 1
1176
+ }
1177
+ },
1178
+ "required": [
1179
+ "id",
1180
+ "block_ids",
1181
+ "name"
1182
+ ],
1183
+ "additionalProperties": false
1184
+ },
1185
+ "color_map": {
1186
+ "$id": "opengeodeweb_viewer.model.blocks.attribute.polyhedron.color_map",
1187
+ "rpc": "color_map",
1188
+ "type": "object",
1189
+ "properties": {
1190
+ "id": {
1191
+ "type": "string",
1192
+ "minLength": 1
1193
+ },
1194
+ "block_ids": {
1195
+ "type": "array",
1196
+ "items": {
1197
+ "type": "integer"
1198
+ },
1199
+ "minItems": 1
1200
+ },
1201
+ "points": {
1202
+ "type": "array",
1203
+ "description": "Flat array of [value, r, g, b, ...]",
1204
+ "items": {
1205
+ "type": "number"
1206
+ },
1207
+ "minItems": 8
1208
+ },
1209
+ "minimum": {
1210
+ "type": "number"
1211
+ },
1212
+ "maximum": {
1213
+ "type": "number"
1214
+ }
1215
+ },
1216
+ "required": [
1217
+ "id",
1218
+ "block_ids",
1219
+ "points",
1220
+ "minimum",
1221
+ "maximum"
1222
+ ],
1223
+ "additionalProperties": false
1224
+ }
1225
+ },
1226
+ "vertex": {
1227
+ "name": {
1228
+ "$id": "opengeodeweb_viewer.model.blocks.attribute.vertex.name",
1229
+ "rpc": "name",
1230
+ "type": "object",
1231
+ "properties": {
1232
+ "id": {
1233
+ "type": "string",
1234
+ "minLength": 1
1235
+ },
1236
+ "block_ids": {
1237
+ "type": "array",
1238
+ "items": {
1239
+ "type": "integer"
1240
+ },
1241
+ "minItems": 1
1242
+ },
1243
+ "name": {
1244
+ "type": "string",
1245
+ "minLength": 1
1246
+ }
1247
+ },
1248
+ "required": [
1249
+ "id",
1250
+ "block_ids",
1251
+ "name"
1252
+ ],
1253
+ "additionalProperties": false
1254
+ },
1255
+ "color_map": {
1256
+ "$id": "opengeodeweb_viewer.model.blocks.attribute.vertex.color_map",
1257
+ "rpc": "color_map",
1258
+ "type": "object",
1259
+ "properties": {
1260
+ "id": {
1261
+ "type": "string",
1262
+ "minLength": 1
1263
+ },
1264
+ "block_ids": {
1265
+ "type": "array",
1266
+ "items": {
1267
+ "type": "integer"
1268
+ },
1269
+ "minItems": 1
1270
+ },
1271
+ "points": {
1272
+ "type": "array",
1273
+ "description": "Flat array of [value, r, g, b, ...]",
1274
+ "items": {
1275
+ "type": "number"
1276
+ },
1277
+ "minItems": 8
1278
+ },
1279
+ "minimum": {
1280
+ "type": "number"
1281
+ },
1282
+ "maximum": {
1283
+ "type": "number"
1284
+ }
1285
+ },
1286
+ "required": [
1287
+ "id",
1288
+ "block_ids",
1289
+ "points",
1290
+ "minimum",
1291
+ "maximum"
1292
+ ],
1293
+ "additionalProperties": false
1294
+ }
1295
+ }
1296
+ },
1147
1297
  "visibility": {
1148
1298
  "$id": "opengeodeweb_viewer.model.blocks.visibility",
1149
1299
  "rpc": "visibility",
@@ -1236,6 +1386,78 @@
1236
1386
  }
1237
1387
  },
1238
1388
  "corners": {
1389
+ "attribute": {
1390
+ "vertex": {
1391
+ "name": {
1392
+ "$id": "opengeodeweb_viewer.model.corners.attribute.vertex.name",
1393
+ "rpc": "name",
1394
+ "type": "object",
1395
+ "properties": {
1396
+ "id": {
1397
+ "type": "string",
1398
+ "minLength": 1
1399
+ },
1400
+ "block_ids": {
1401
+ "type": "array",
1402
+ "items": {
1403
+ "type": "integer"
1404
+ },
1405
+ "minItems": 1
1406
+ },
1407
+ "name": {
1408
+ "type": "string",
1409
+ "minLength": 1
1410
+ }
1411
+ },
1412
+ "required": [
1413
+ "id",
1414
+ "block_ids",
1415
+ "name"
1416
+ ],
1417
+ "additionalProperties": false
1418
+ },
1419
+ "color_map": {
1420
+ "$id": "opengeodeweb_viewer.model.corners.attribute.vertex.color_map",
1421
+ "rpc": "color_map",
1422
+ "type": "object",
1423
+ "properties": {
1424
+ "id": {
1425
+ "type": "string",
1426
+ "minLength": 1
1427
+ },
1428
+ "block_ids": {
1429
+ "type": "array",
1430
+ "items": {
1431
+ "type": "integer"
1432
+ },
1433
+ "minItems": 1
1434
+ },
1435
+ "points": {
1436
+ "type": "array",
1437
+ "description": "Flat array of [value, r, g, b, ...]",
1438
+ "items": {
1439
+ "type": "number"
1440
+ },
1441
+ "minItems": 8
1442
+ },
1443
+ "minimum": {
1444
+ "type": "number"
1445
+ },
1446
+ "maximum": {
1447
+ "type": "number"
1448
+ }
1449
+ },
1450
+ "required": [
1451
+ "id",
1452
+ "block_ids",
1453
+ "points",
1454
+ "minimum",
1455
+ "maximum"
1456
+ ],
1457
+ "additionalProperties": false
1458
+ }
1459
+ }
1460
+ },
1239
1461
  "visibility": {
1240
1462
  "$id": "opengeodeweb_viewer.model.corners.visibility",
1241
1463
  "rpc": "visibility",
@@ -1349,6 +1571,148 @@
1349
1571
  }
1350
1572
  },
1351
1573
  "lines": {
1574
+ "attribute": {
1575
+ "edge": {
1576
+ "name": {
1577
+ "$id": "opengeodeweb_viewer.model.lines.attribute.edge.name",
1578
+ "rpc": "name",
1579
+ "type": "object",
1580
+ "properties": {
1581
+ "id": {
1582
+ "type": "string",
1583
+ "minLength": 1
1584
+ },
1585
+ "block_ids": {
1586
+ "type": "array",
1587
+ "items": {
1588
+ "type": "integer"
1589
+ },
1590
+ "minItems": 1
1591
+ },
1592
+ "name": {
1593
+ "type": "string",
1594
+ "minLength": 1
1595
+ }
1596
+ },
1597
+ "required": [
1598
+ "id",
1599
+ "block_ids",
1600
+ "name"
1601
+ ],
1602
+ "additionalProperties": false
1603
+ },
1604
+ "color_map": {
1605
+ "$id": "opengeodeweb_viewer.model.lines.attribute.edge.color_map",
1606
+ "rpc": "color_map",
1607
+ "type": "object",
1608
+ "properties": {
1609
+ "id": {
1610
+ "type": "string",
1611
+ "minLength": 1
1612
+ },
1613
+ "block_ids": {
1614
+ "type": "array",
1615
+ "items": {
1616
+ "type": "integer"
1617
+ },
1618
+ "minItems": 1
1619
+ },
1620
+ "points": {
1621
+ "type": "array",
1622
+ "description": "Flat array of [value, r, g, b, ...]",
1623
+ "items": {
1624
+ "type": "number"
1625
+ },
1626
+ "minItems": 8
1627
+ },
1628
+ "minimum": {
1629
+ "type": "number"
1630
+ },
1631
+ "maximum": {
1632
+ "type": "number"
1633
+ }
1634
+ },
1635
+ "required": [
1636
+ "id",
1637
+ "block_ids",
1638
+ "points",
1639
+ "minimum",
1640
+ "maximum"
1641
+ ],
1642
+ "additionalProperties": false
1643
+ }
1644
+ },
1645
+ "vertex": {
1646
+ "name": {
1647
+ "$id": "opengeodeweb_viewer.model.lines.attribute.vertex.name",
1648
+ "rpc": "name",
1649
+ "type": "object",
1650
+ "properties": {
1651
+ "id": {
1652
+ "type": "string",
1653
+ "minLength": 1
1654
+ },
1655
+ "block_ids": {
1656
+ "type": "array",
1657
+ "items": {
1658
+ "type": "integer"
1659
+ },
1660
+ "minItems": 1
1661
+ },
1662
+ "name": {
1663
+ "type": "string",
1664
+ "minLength": 1
1665
+ }
1666
+ },
1667
+ "required": [
1668
+ "id",
1669
+ "block_ids",
1670
+ "name"
1671
+ ],
1672
+ "additionalProperties": false
1673
+ },
1674
+ "color_map": {
1675
+ "$id": "opengeodeweb_viewer.model.lines.attribute.vertex.color_map",
1676
+ "rpc": "color_map",
1677
+ "type": "object",
1678
+ "properties": {
1679
+ "id": {
1680
+ "type": "string",
1681
+ "minLength": 1
1682
+ },
1683
+ "block_ids": {
1684
+ "type": "array",
1685
+ "items": {
1686
+ "type": "integer"
1687
+ },
1688
+ "minItems": 1
1689
+ },
1690
+ "points": {
1691
+ "type": "array",
1692
+ "description": "Flat array of [value, r, g, b, ...]",
1693
+ "items": {
1694
+ "type": "number"
1695
+ },
1696
+ "minItems": 8
1697
+ },
1698
+ "minimum": {
1699
+ "type": "number"
1700
+ },
1701
+ "maximum": {
1702
+ "type": "number"
1703
+ }
1704
+ },
1705
+ "required": [
1706
+ "id",
1707
+ "block_ids",
1708
+ "points",
1709
+ "minimum",
1710
+ "maximum"
1711
+ ],
1712
+ "additionalProperties": false
1713
+ }
1714
+ }
1715
+ },
1352
1716
  "visibility": {
1353
1717
  "$id": "opengeodeweb_viewer.model.lines.visibility",
1354
1718
  "rpc": "visibility",
@@ -1507,10 +1871,14 @@
1507
1871
  "id": {
1508
1872
  "type": "string",
1509
1873
  "minLength": 1
1874
+ },
1875
+ "name": {
1876
+ "type": "string"
1510
1877
  }
1511
1878
  },
1512
1879
  "required": [
1513
- "id"
1880
+ "id",
1881
+ "name"
1514
1882
  ],
1515
1883
  "additionalProperties": false
1516
1884
  },
@@ -1578,6 +1946,148 @@
1578
1946
  "additionalProperties": false
1579
1947
  },
1580
1948
  "surfaces": {
1949
+ "attribute": {
1950
+ "polygon": {
1951
+ "name": {
1952
+ "$id": "opengeodeweb_viewer.model.surfaces.attribute.polygon.name",
1953
+ "rpc": "name",
1954
+ "type": "object",
1955
+ "properties": {
1956
+ "id": {
1957
+ "type": "string",
1958
+ "minLength": 1
1959
+ },
1960
+ "block_ids": {
1961
+ "type": "array",
1962
+ "items": {
1963
+ "type": "integer"
1964
+ },
1965
+ "minItems": 1
1966
+ },
1967
+ "name": {
1968
+ "type": "string",
1969
+ "minLength": 1
1970
+ }
1971
+ },
1972
+ "required": [
1973
+ "id",
1974
+ "block_ids",
1975
+ "name"
1976
+ ],
1977
+ "additionalProperties": false
1978
+ },
1979
+ "color_map": {
1980
+ "$id": "opengeodeweb_viewer.model.surfaces.attribute.polygon.color_map",
1981
+ "rpc": "color_map",
1982
+ "type": "object",
1983
+ "properties": {
1984
+ "id": {
1985
+ "type": "string",
1986
+ "minLength": 1
1987
+ },
1988
+ "block_ids": {
1989
+ "type": "array",
1990
+ "items": {
1991
+ "type": "integer"
1992
+ },
1993
+ "minItems": 1
1994
+ },
1995
+ "points": {
1996
+ "type": "array",
1997
+ "description": "Flat array of [value, r, g, b, ...]",
1998
+ "items": {
1999
+ "type": "number"
2000
+ },
2001
+ "minItems": 8
2002
+ },
2003
+ "minimum": {
2004
+ "type": "number"
2005
+ },
2006
+ "maximum": {
2007
+ "type": "number"
2008
+ }
2009
+ },
2010
+ "required": [
2011
+ "id",
2012
+ "block_ids",
2013
+ "points",
2014
+ "minimum",
2015
+ "maximum"
2016
+ ],
2017
+ "additionalProperties": false
2018
+ }
2019
+ },
2020
+ "vertex": {
2021
+ "name": {
2022
+ "$id": "opengeodeweb_viewer.model.surfaces.attribute.vertex.name",
2023
+ "rpc": "name",
2024
+ "type": "object",
2025
+ "properties": {
2026
+ "id": {
2027
+ "type": "string",
2028
+ "minLength": 1
2029
+ },
2030
+ "block_ids": {
2031
+ "type": "array",
2032
+ "items": {
2033
+ "type": "integer"
2034
+ },
2035
+ "minItems": 1
2036
+ },
2037
+ "name": {
2038
+ "type": "string",
2039
+ "minLength": 1
2040
+ }
2041
+ },
2042
+ "required": [
2043
+ "id",
2044
+ "block_ids",
2045
+ "name"
2046
+ ],
2047
+ "additionalProperties": false
2048
+ },
2049
+ "color_map": {
2050
+ "$id": "opengeodeweb_viewer.model.surfaces.attribute.vertex.color_map",
2051
+ "rpc": "color_map",
2052
+ "type": "object",
2053
+ "properties": {
2054
+ "id": {
2055
+ "type": "string",
2056
+ "minLength": 1
2057
+ },
2058
+ "block_ids": {
2059
+ "type": "array",
2060
+ "items": {
2061
+ "type": "integer"
2062
+ },
2063
+ "minItems": 1
2064
+ },
2065
+ "points": {
2066
+ "type": "array",
2067
+ "description": "Flat array of [value, r, g, b, ...]",
2068
+ "items": {
2069
+ "type": "number"
2070
+ },
2071
+ "minItems": 8
2072
+ },
2073
+ "minimum": {
2074
+ "type": "number"
2075
+ },
2076
+ "maximum": {
2077
+ "type": "number"
2078
+ }
2079
+ },
2080
+ "required": [
2081
+ "id",
2082
+ "block_ids",
2083
+ "points",
2084
+ "minimum",
2085
+ "maximum"
2086
+ ],
2087
+ "additionalProperties": false
2088
+ }
2089
+ }
2090
+ },
1581
2091
  "visibility": {
1582
2092
  "$id": "opengeodeweb_viewer.model.surfaces.visibility",
1583
2093
  "rpc": "visibility",
@@ -1972,6 +2482,24 @@
1972
2482
  ],
1973
2483
  "additionalProperties": false
1974
2484
  },
2485
+ "pick_colormap": {
2486
+ "$id": "opengeodeweb_viewer.viewer.pick_colormap",
2487
+ "route": "pick_colormap",
2488
+ "rpc": "pick_colormap",
2489
+ "type": "object",
2490
+ "properties": {
2491
+ "x": {
2492
+ "type": "number"
2493
+ },
2494
+ "y": {
2495
+ "type": "number"
2496
+ }
2497
+ },
2498
+ "required": [
2499
+ "x",
2500
+ "y"
2501
+ ]
2502
+ },
1975
2503
  "highlight": {
1976
2504
  "$id": "opengeodeweb_viewer.viewer.highlight",
1977
2505
  "rpc": "highlight",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-viewer",
3
- "version": "1.21.0",
3
+ "version": "1.22.0-rc.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "json": "npx opengeodeweb-microservice-generate opengeodeweb_viewer rpc rpc .",
@@ -8,7 +8,7 @@
8
8
  "build": "npm run json"
9
9
  },
10
10
  "dependencies": {
11
- "@geode/opengeodeweb-microservice": "latest"
11
+ "@geode/opengeodeweb-microservice": "next"
12
12
  },
13
13
  "exports": {
14
14
  "./opengeodeweb_viewer_schemas.json": {