@geode/opengeodeweb-viewer 1.4.0 → 1.5.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas.json +412 -79
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "require": "./schemas.json"
14
14
  }
15
15
  },
16
- "version": "1.4.0",
16
+ "version": "1.5.0",
17
17
  "description": "",
18
18
  "main": "generate_schemas.js",
19
19
  "repository": {
package/schemas.json CHANGED
@@ -647,9 +647,276 @@
647
647
  }
648
648
  },
649
649
  "model": {
650
- "set_mesh_visibility": {
651
- "$id": "opengeodeweb_viewer.model.set_mesh_visibility",
652
- "rpc": "set_mesh_visibility",
650
+ "blocks": {
651
+ "polyhedrons": {
652
+ "visibility": {
653
+ "$id": "opengeodeweb_viewer.model.blocks.polyhedrons.visibility",
654
+ "rpc": "visibility",
655
+ "type": "object",
656
+ "properties": {
657
+ "id": {
658
+ "type": "string",
659
+ "minLength": 1
660
+ },
661
+ "block_ids": {
662
+ "type": "array",
663
+ "items": {
664
+ "type": "integer",
665
+ "minLength": 1
666
+ },
667
+ "minItems": 1
668
+ },
669
+ "visibility": {
670
+ "type": "boolean"
671
+ }
672
+ },
673
+ "required": [
674
+ "id",
675
+ "block_ids",
676
+ "visibility"
677
+ ],
678
+ "additionalProperties": false
679
+ },
680
+ "color": {
681
+ "$id": "opengeodeweb_viewer.model.blocks.polyhedrons.color",
682
+ "rpc": "color",
683
+ "type": "object",
684
+ "properties": {
685
+ "id": {
686
+ "type": "string",
687
+ "minLength": 1
688
+ },
689
+ "block_ids": {
690
+ "type": "array",
691
+ "items": {
692
+ "type": "integer",
693
+ "minLength": 1
694
+ },
695
+ "minItems": 1
696
+ },
697
+ "color": {
698
+ "type": "object",
699
+ "properties": {
700
+ "r": {
701
+ "type": "integer",
702
+ "minimum": 0,
703
+ "maximum": 255
704
+ },
705
+ "g": {
706
+ "type": "integer",
707
+ "minimum": 0,
708
+ "maximum": 255
709
+ },
710
+ "b": {
711
+ "type": "integer",
712
+ "minimum": 0,
713
+ "maximum": 255
714
+ },
715
+ "a": {
716
+ "type": "number",
717
+ "minimum": 0,
718
+ "maximum": 1,
719
+ "default": 1
720
+ }
721
+ },
722
+ "required": [
723
+ "r",
724
+ "g",
725
+ "b"
726
+ ],
727
+ "additionalProperties": false
728
+ }
729
+ },
730
+ "required": [
731
+ "id",
732
+ "block_ids",
733
+ "color"
734
+ ],
735
+ "additionalProperties": false
736
+ }
737
+ }
738
+ },
739
+ "corners": {
740
+ "points": {
741
+ "visibility": {
742
+ "$id": "opengeodeweb_viewer.model.corners.points.visibility",
743
+ "rpc": "visibility",
744
+ "type": "object",
745
+ "properties": {
746
+ "id": {
747
+ "type": "string",
748
+ "minLength": 1
749
+ },
750
+ "block_ids": {
751
+ "type": "array",
752
+ "items": {
753
+ "type": "integer",
754
+ "minLength": 1
755
+ },
756
+ "minItems": 1
757
+ },
758
+ "visibility": {
759
+ "type": "boolean"
760
+ }
761
+ },
762
+ "required": [
763
+ "id",
764
+ "block_ids",
765
+ "visibility"
766
+ ],
767
+ "additionalProperties": false
768
+ },
769
+ "color": {
770
+ "$id": "opengeodeweb_viewer.model.corners.points.color",
771
+ "rpc": "color",
772
+ "type": "object",
773
+ "properties": {
774
+ "id": {
775
+ "type": "string",
776
+ "minLength": 1
777
+ },
778
+ "block_ids": {
779
+ "type": "array",
780
+ "items": {
781
+ "type": "integer",
782
+ "minLength": 1
783
+ },
784
+ "minItems": 1
785
+ },
786
+ "color": {
787
+ "type": "object",
788
+ "properties": {
789
+ "r": {
790
+ "type": "integer",
791
+ "minimum": 0,
792
+ "maximum": 255
793
+ },
794
+ "g": {
795
+ "type": "integer",
796
+ "minimum": 0,
797
+ "maximum": 255
798
+ },
799
+ "b": {
800
+ "type": "integer",
801
+ "minimum": 0,
802
+ "maximum": 255
803
+ },
804
+ "a": {
805
+ "type": "number",
806
+ "minimum": 0,
807
+ "maximum": 1,
808
+ "default": 1
809
+ }
810
+ },
811
+ "required": [
812
+ "r",
813
+ "g",
814
+ "b"
815
+ ],
816
+ "additionalProperties": false
817
+ }
818
+ },
819
+ "required": [
820
+ "id",
821
+ "block_ids",
822
+ "color"
823
+ ],
824
+ "additionalProperties": false
825
+ }
826
+ }
827
+ },
828
+ "lines": {
829
+ "edges": {
830
+ "visibility": {
831
+ "$id": "opengeodeweb_viewer.model.lines.edges.visibility",
832
+ "rpc": "visibility",
833
+ "type": "object",
834
+ "properties": {
835
+ "id": {
836
+ "type": "string",
837
+ "minLength": 1
838
+ },
839
+ "block_ids": {
840
+ "type": "array",
841
+ "items": {
842
+ "type": "integer",
843
+ "minLength": 1
844
+ },
845
+ "minItems": 1
846
+ },
847
+ "visibility": {
848
+ "type": "boolean"
849
+ }
850
+ },
851
+ "required": [
852
+ "id",
853
+ "block_ids",
854
+ "visibility"
855
+ ],
856
+ "additionalProperties": false
857
+ },
858
+ "color": {
859
+ "$id": "opengeodeweb_viewer.model.lines.edges.color",
860
+ "rpc": "color",
861
+ "type": "object",
862
+ "properties": {
863
+ "id": {
864
+ "type": "string",
865
+ "minLength": 1
866
+ },
867
+ "block_ids": {
868
+ "type": "array",
869
+ "items": {
870
+ "type": "integer",
871
+ "minLength": 1
872
+ },
873
+ "minItems": 1
874
+ },
875
+ "color": {
876
+ "type": "object",
877
+ "properties": {
878
+ "r": {
879
+ "type": "integer",
880
+ "minimum": 0,
881
+ "maximum": 255
882
+ },
883
+ "g": {
884
+ "type": "integer",
885
+ "minimum": 0,
886
+ "maximum": 255
887
+ },
888
+ "b": {
889
+ "type": "integer",
890
+ "minimum": 0,
891
+ "maximum": 255
892
+ },
893
+ "a": {
894
+ "type": "number",
895
+ "minimum": 0,
896
+ "maximum": 1,
897
+ "default": 1
898
+ }
899
+ },
900
+ "required": [
901
+ "r",
902
+ "g",
903
+ "b"
904
+ ],
905
+ "additionalProperties": false
906
+ }
907
+ },
908
+ "required": [
909
+ "id",
910
+ "block_ids",
911
+ "color"
912
+ ],
913
+ "additionalProperties": false
914
+ }
915
+ }
916
+ },
917
+ "visibility": {
918
+ "$id": "opengeodeweb_viewer.model.visibility",
919
+ "rpc": "visibility",
653
920
  "type": "object",
654
921
  "properties": {
655
922
  "id": {
@@ -666,28 +933,29 @@
666
933
  ],
667
934
  "additionalProperties": false
668
935
  },
669
- "set_corners_size": {
670
- "$id": "opengeodeweb_viewer.model.set_corners_size",
671
- "rpc": "set_corners_size",
936
+ "register": {
937
+ "$id": "opengeodeweb_viewer.model.register",
938
+ "rpc": "register",
672
939
  "type": "object",
673
940
  "properties": {
674
941
  "id": {
675
942
  "type": "string",
676
943
  "minLength": 1
677
944
  },
678
- "size": {
679
- "type": "integer"
945
+ "file_name": {
946
+ "type": "string",
947
+ "minLength": 1
680
948
  }
681
949
  },
682
950
  "required": [
683
951
  "id",
684
- "size"
952
+ "file_name"
685
953
  ],
686
954
  "additionalProperties": false
687
955
  },
688
- "set_components_visibility": {
689
- "$id": "opengeodeweb_viewer.model.set_components_visibility",
690
- "rpc": "set_components_visibility",
956
+ "points.visibility": {
957
+ "$id": "opengeodeweb_viewer.model.pointsvisibility",
958
+ "rpc": "points.visibility",
691
959
  "type": "object",
692
960
  "properties": {
693
961
  "id": {
@@ -704,65 +972,41 @@
704
972
  ],
705
973
  "additionalProperties": false
706
974
  },
707
- "set_components_color": {
708
- "$id": "opengeodeweb_viewer.model.set_components_color",
709
- "rpc": "set_components_color",
975
+ "points.size": {
976
+ "$id": "opengeodeweb_viewer.model.pointssize",
977
+ "rpc": "points.size",
710
978
  "type": "object",
711
979
  "properties": {
712
980
  "id": {
713
981
  "type": "string",
714
982
  "minLength": 1
715
983
  },
716
- "color": {
717
- "type": "object",
718
- "properties": {
719
- "r": {
720
- "type": "integer",
721
- "minimum": 0,
722
- "maximum": 255
723
- },
724
- "g": {
725
- "type": "integer",
726
- "minimum": 0,
727
- "maximum": 255
728
- },
729
- "b": {
730
- "type": "integer",
731
- "minimum": 0,
732
- "maximum": 255
733
- }
734
- },
735
- "required": [
736
- "r",
737
- "g",
738
- "b"
739
- ],
740
- "additionalProperties": false
984
+ "size": {
985
+ "type": "number"
741
986
  }
742
987
  },
743
988
  "required": [
744
989
  "id",
745
- "color"
990
+ "size"
746
991
  ],
747
992
  "additionalProperties": false
748
993
  },
749
- "register": {
750
- "$id": "opengeodeweb_viewer.model.register",
751
- "rpc": "register",
994
+ "edges.visibility": {
995
+ "$id": "opengeodeweb_viewer.model.edgesvisibility",
996
+ "rpc": "edges.visibility",
752
997
  "type": "object",
753
998
  "properties": {
754
999
  "id": {
755
1000
  "type": "string",
756
1001
  "minLength": 1
757
1002
  },
758
- "file_name": {
759
- "type": "string",
760
- "minLength": 1
1003
+ "visibility": {
1004
+ "type": "boolean"
761
1005
  }
762
1006
  },
763
1007
  "required": [
764
1008
  "id",
765
- "file_name"
1009
+ "visibility"
766
1010
  ],
767
1011
  "additionalProperties": false
768
1012
  },
@@ -781,43 +1025,132 @@
781
1025
  ],
782
1026
  "additionalProperties": false
783
1027
  },
784
- "apply_textures": {
785
- "$id": "opengeodeweb_viewer.model.apply_textures",
786
- "rpc": "apply_textures",
787
- "type": "object",
788
- "properties": {
789
- "id": {
790
- "type": "string",
791
- "minLength": 1
792
- },
793
- "textures": {
794
- "type": "array",
795
- "items": {
796
- "type": "object",
797
- "properties": {
798
- "texture_name": {
799
- "type": "string",
1028
+ "surfaces": {
1029
+ "polygons": {
1030
+ "visibility": {
1031
+ "$id": "opengeodeweb_viewer.model.surfaces.polygons.visibility",
1032
+ "rpc": "visibility",
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "id": {
1036
+ "type": "string",
1037
+ "minLength": 1
1038
+ },
1039
+ "block_ids": {
1040
+ "type": "array",
1041
+ "items": {
1042
+ "type": "integer",
800
1043
  "minLength": 1
801
1044
  },
802
- "texture_file_name": {
803
- "type": "string",
1045
+ "minItems": 1
1046
+ },
1047
+ "visibility": {
1048
+ "type": "boolean"
1049
+ }
1050
+ },
1051
+ "required": [
1052
+ "id",
1053
+ "block_ids",
1054
+ "visibility"
1055
+ ],
1056
+ "additionalProperties": false
1057
+ },
1058
+ "color": {
1059
+ "$id": "opengeodeweb_viewer.model.surfaces.polygons.color",
1060
+ "rpc": "color",
1061
+ "type": "object",
1062
+ "properties": {
1063
+ "id": {
1064
+ "type": "string",
1065
+ "minLength": 1
1066
+ },
1067
+ "block_ids": {
1068
+ "type": "array",
1069
+ "items": {
1070
+ "type": "integer",
804
1071
  "minLength": 1
805
- }
1072
+ },
1073
+ "minItems": 1
806
1074
  },
807
- "required": [
808
- "texture_name",
809
- "texture_file_name"
810
- ],
811
- "additionalProperties": false
1075
+ "color": {
1076
+ "type": "object",
1077
+ "properties": {
1078
+ "r": {
1079
+ "type": "integer",
1080
+ "minimum": 0,
1081
+ "maximum": 255
1082
+ },
1083
+ "g": {
1084
+ "type": "integer",
1085
+ "minimum": 0,
1086
+ "maximum": 255
1087
+ },
1088
+ "b": {
1089
+ "type": "integer",
1090
+ "minimum": 0,
1091
+ "maximum": 255
1092
+ },
1093
+ "a": {
1094
+ "type": "number",
1095
+ "minimum": 0,
1096
+ "maximum": 1,
1097
+ "default": 1
1098
+ }
1099
+ },
1100
+ "required": [
1101
+ "r",
1102
+ "g",
1103
+ "b"
1104
+ ],
1105
+ "additionalProperties": false
1106
+ }
812
1107
  },
813
- "minItems": 1
1108
+ "required": [
1109
+ "id",
1110
+ "block_ids",
1111
+ "color"
1112
+ ],
1113
+ "additionalProperties": false
1114
+ },
1115
+ "apply_textures": {
1116
+ "$id": "opengeodeweb_viewer.model.surfaces.polygons.apply_textures",
1117
+ "rpc": "apply_textures",
1118
+ "type": "object",
1119
+ "properties": {
1120
+ "id": {
1121
+ "type": "string",
1122
+ "minLength": 1
1123
+ },
1124
+ "textures": {
1125
+ "type": "array",
1126
+ "items": {
1127
+ "type": "object",
1128
+ "properties": {
1129
+ "texture_name": {
1130
+ "type": "string",
1131
+ "minLength": 1
1132
+ },
1133
+ "texture_file_name": {
1134
+ "type": "string",
1135
+ "minLength": 1
1136
+ }
1137
+ },
1138
+ "required": [
1139
+ "texture_name",
1140
+ "texture_file_name"
1141
+ ],
1142
+ "additionalProperties": false
1143
+ },
1144
+ "minItems": 1
1145
+ }
1146
+ },
1147
+ "required": [
1148
+ "id",
1149
+ "textures"
1150
+ ],
1151
+ "additionalProperties": false
814
1152
  }
815
- },
816
- "required": [
817
- "id",
818
- "textures"
819
- ],
820
- "additionalProperties": false
1153
+ }
821
1154
  }
822
1155
  },
823
1156
  "viewer": {