@geode/opengeodeweb-viewer 1.37.0-rc.2 → 1.37.0-rc.3

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.
@@ -1580,6 +1580,88 @@
1580
1580
  "additionalProperties": false
1581
1581
  }
1582
1582
  },
1583
+ "basemap_layers": {
1584
+ "$id": "opengeodeweb_viewer.mesh.basemap_layers",
1585
+ "rpc": "basemap_layers",
1586
+ "type": "object",
1587
+ "properties": {
1588
+ "id": {
1589
+ "type": "string",
1590
+ "minLength": 32,
1591
+ "maxLength": 32
1592
+ },
1593
+ "layers": {
1594
+ "type": "array",
1595
+ "items": {
1596
+ "type": "object",
1597
+ "properties": {
1598
+ "map": {
1599
+ "type": "string",
1600
+ "minLength": 1
1601
+ },
1602
+ "visible": {
1603
+ "type": "boolean"
1604
+ },
1605
+ "opacity": {
1606
+ "type": "number",
1607
+ "minimum": 0,
1608
+ "maximum": 1
1609
+ },
1610
+ "crop": {
1611
+ "type": "boolean"
1612
+ }
1613
+ },
1614
+ "required": [
1615
+ "map",
1616
+ "visible",
1617
+ "opacity",
1618
+ "crop"
1619
+ ],
1620
+ "additionalProperties": false
1621
+ }
1622
+ }
1623
+ },
1624
+ "required": [
1625
+ "id",
1626
+ "layers"
1627
+ ],
1628
+ "additionalProperties": false,
1629
+ "response": {
1630
+ "type": "object",
1631
+ "properties": {},
1632
+ "required": [],
1633
+ "additionalProperties": false
1634
+ }
1635
+ },
1636
+ "basemap_drape": {
1637
+ "$id": "opengeodeweb_viewer.mesh.basemap_drape",
1638
+ "rpc": "basemap_drape",
1639
+ "type": "object",
1640
+ "properties": {
1641
+ "id": {
1642
+ "type": "string",
1643
+ "minLength": 32,
1644
+ "maxLength": 32
1645
+ },
1646
+ "data_ids": {
1647
+ "type": "array",
1648
+ "items": {
1649
+ "type": "string"
1650
+ }
1651
+ }
1652
+ },
1653
+ "required": [
1654
+ "id",
1655
+ "data_ids"
1656
+ ],
1657
+ "additionalProperties": false,
1658
+ "response": {
1659
+ "type": "object",
1660
+ "properties": {},
1661
+ "required": [],
1662
+ "additionalProperties": false
1663
+ }
1664
+ },
1583
1665
  "apply_textures": {
1584
1666
  "$id": "opengeodeweb_viewer.mesh.apply_textures",
1585
1667
  "rpc": "apply_textures",
@@ -1625,6 +1707,101 @@
1625
1707
  "required": [],
1626
1708
  "additionalProperties": false
1627
1709
  }
1710
+ },
1711
+ "apply_basemap": {
1712
+ "$id": "opengeodeweb_viewer.mesh.apply_basemap",
1713
+ "rpc": "apply_basemap",
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "id": {
1717
+ "type": "string",
1718
+ "minLength": 32,
1719
+ "maxLength": 32
1720
+ },
1721
+ "detail_of": {
1722
+ "type": "string",
1723
+ "minLength": 32,
1724
+ "maxLength": 32
1725
+ },
1726
+ "columns": {
1727
+ "type": "integer",
1728
+ "minimum": 1
1729
+ },
1730
+ "rows": {
1731
+ "type": "integer",
1732
+ "minimum": 1
1733
+ },
1734
+ "maps": {
1735
+ "type": "array",
1736
+ "minItems": 1,
1737
+ "items": {
1738
+ "type": "object",
1739
+ "properties": {
1740
+ "map": {
1741
+ "type": "string",
1742
+ "minLength": 1
1743
+ },
1744
+ "sources": {
1745
+ "type": "array",
1746
+ "items": {
1747
+ "type": "string",
1748
+ "minLength": 1
1749
+ }
1750
+ }
1751
+ },
1752
+ "required": [
1753
+ "map",
1754
+ "sources"
1755
+ ],
1756
+ "additionalProperties": false
1757
+ }
1758
+ },
1759
+ "layers": {
1760
+ "type": "array",
1761
+ "items": {
1762
+ "title": "MapState",
1763
+ "type": "object",
1764
+ "properties": {
1765
+ "map": {
1766
+ "type": "string",
1767
+ "minLength": 1
1768
+ },
1769
+ "visible": {
1770
+ "type": "boolean"
1771
+ },
1772
+ "opacity": {
1773
+ "type": "number",
1774
+ "minimum": 0,
1775
+ "maximum": 1
1776
+ },
1777
+ "crop": {
1778
+ "type": "boolean"
1779
+ }
1780
+ },
1781
+ "required": [
1782
+ "map",
1783
+ "visible",
1784
+ "opacity",
1785
+ "crop"
1786
+ ],
1787
+ "additionalProperties": false
1788
+ }
1789
+ }
1790
+ },
1791
+ "required": [
1792
+ "id",
1793
+ "columns",
1794
+ "rows",
1795
+ "maps",
1796
+ "layers"
1797
+ ],
1798
+ "additionalProperties": false,
1799
+ "response": {
1800
+ "type": "object",
1801
+ "properties": {},
1802
+ "required": [],
1803
+ "additionalProperties": false
1804
+ }
1628
1805
  }
1629
1806
  },
1630
1807
  "model": {
@@ -442,6 +442,29 @@ export interface MeshColorParamsColor {
442
442
  export interface MeshColorResponse {
443
443
  }
444
444
 
445
+ export interface MeshBasemapLayersParams {
446
+ id: string;
447
+ layers: Layer[];
448
+ }
449
+
450
+ export interface Layer {
451
+ crop: boolean;
452
+ map: string;
453
+ opacity: number;
454
+ visible: boolean;
455
+ }
456
+
457
+ export interface MeshBasemapLayersResponse {
458
+ }
459
+
460
+ export interface MeshBasemapDrapeParams {
461
+ data_ids: string[];
462
+ id: string;
463
+ }
464
+
465
+ export interface MeshBasemapDrapeResponse {
466
+ }
467
+
445
468
  export interface MeshApplyTexturesParams {
446
469
  id: string;
447
470
  textures: MeshApplyTexturesParamsTexture[];
@@ -455,6 +478,30 @@ export interface MeshApplyTexturesParamsTexture {
455
478
  export interface MeshApplyTexturesResponse {
456
479
  }
457
480
 
481
+ export interface MeshApplyBasemapParams {
482
+ columns: number;
483
+ detail_of?: string;
484
+ id: string;
485
+ layers: MapState[];
486
+ maps: Map[];
487
+ rows: number;
488
+ }
489
+
490
+ export interface MapState {
491
+ crop: boolean;
492
+ map: string;
493
+ opacity: number;
494
+ visible: boolean;
495
+ }
496
+
497
+ export interface Map {
498
+ map: string;
499
+ sources: string[];
500
+ }
501
+
502
+ export interface MeshApplyBasemapResponse {
503
+ }
504
+
458
505
  export interface ModelBlocksAttributePolyhedronAttributeParams {
459
506
  block_ids: number[];
460
507
  id: string;
@@ -1507,7 +1554,10 @@ export interface Schemas {
1507
1554
  readonly highlight: (typeof json)["opengeodeweb_viewer"]["mesh"]["highlight"] & TypedSchema<MeshHighlightParams, MeshHighlightResponse>;
1508
1555
  readonly deregister: (typeof json)["opengeodeweb_viewer"]["mesh"]["deregister"] & TypedSchema<MeshDeregisterParams, MeshDeregisterResponse>;
1509
1556
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["color"] & TypedSchema<MeshColorParams, MeshColorResponse>;
1557
+ readonly basemap_layers: (typeof json)["opengeodeweb_viewer"]["mesh"]["basemap_layers"] & TypedSchema<MeshBasemapLayersParams, MeshBasemapLayersResponse>;
1558
+ readonly basemap_drape: (typeof json)["opengeodeweb_viewer"]["mesh"]["basemap_drape"] & TypedSchema<MeshBasemapDrapeParams, MeshBasemapDrapeResponse>;
1510
1559
  readonly apply_textures: (typeof json)["opengeodeweb_viewer"]["mesh"]["apply_textures"] & TypedSchema<MeshApplyTexturesParams, MeshApplyTexturesResponse>;
1560
+ readonly apply_basemap: (typeof json)["opengeodeweb_viewer"]["mesh"]["apply_basemap"] & TypedSchema<MeshApplyBasemapParams, MeshApplyBasemapResponse>;
1511
1561
  };
1512
1562
  readonly model: {
1513
1563
  readonly blocks: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-viewer",
3
- "version": "1.37.0-rc.2",
3
+ "version": "1.37.0-rc.3",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer",
6
6
  "bugs": {