@geode/opengeodeweb-viewer 1.5.0 → 1.6.0-rc.1

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 +354 -356
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "require": "./schemas.json"
14
14
  }
15
15
  },
16
- "version": "1.5.0",
16
+ "version": "1.6.0-rc.1",
17
17
  "description": "",
18
18
  "main": "generate_schemas.js",
19
19
  "repository": {
package/schemas.json CHANGED
@@ -381,9 +381,9 @@
381
381
  "additionalProperties": false
382
382
  }
383
383
  },
384
- "polyhedrons": {
384
+ "polyhedra": {
385
385
  "visibility": {
386
- "$id": "opengeodeweb_viewer.mesh.polyhedrons.visibility",
386
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.visibility",
387
387
  "rpc": "visibility",
388
388
  "type": "object",
389
389
  "properties": {
@@ -402,7 +402,7 @@
402
402
  "additionalProperties": false
403
403
  },
404
404
  "vertex_attribute": {
405
- "$id": "opengeodeweb_viewer.mesh.polyhedrons.vertex_attribute",
405
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.vertex_attribute",
406
406
  "rpc": "vertex_attribute",
407
407
  "type": "object",
408
408
  "properties": {
@@ -422,7 +422,7 @@
422
422
  "additionalProperties": false
423
423
  },
424
424
  "polyhedron_attribute": {
425
- "$id": "opengeodeweb_viewer.mesh.polyhedrons.polyhedron_attribute",
425
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.polyhedron_attribute",
426
426
  "rpc": "polyhedron_attribute",
427
427
  "type": "object",
428
428
  "properties": {
@@ -442,7 +442,7 @@
442
442
  "additionalProperties": false
443
443
  },
444
444
  "color": {
445
- "$id": "opengeodeweb_viewer.mesh.polyhedrons.color",
445
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.color",
446
446
  "rpc": "color",
447
447
  "type": "object",
448
448
  "properties": {
@@ -648,270 +648,264 @@
648
648
  },
649
649
  "model": {
650
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",
651
+ "visibility": {
652
+ "$id": "opengeodeweb_viewer.model.blocks.visibility",
653
+ "rpc": "visibility",
654
+ "type": "object",
655
+ "properties": {
656
+ "id": {
657
+ "type": "string",
658
+ "minLength": 1
659
+ },
660
+ "block_ids": {
661
+ "type": "array",
662
+ "items": {
663
+ "type": "integer",
659
664
  "minLength": 1
660
665
  },
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
- }
666
+ "minItems": 1
672
667
  },
673
- "required": [
674
- "id",
675
- "block_ids",
676
- "visibility"
677
- ],
678
- "additionalProperties": false
668
+ "visibility": {
669
+ "type": "boolean"
670
+ }
679
671
  },
680
- "color": {
681
- "$id": "opengeodeweb_viewer.model.blocks.polyhedrons.color",
682
- "rpc": "color",
683
- "type": "object",
684
- "properties": {
685
- "id": {
686
- "type": "string",
672
+ "required": [
673
+ "id",
674
+ "block_ids",
675
+ "visibility"
676
+ ],
677
+ "additionalProperties": false
678
+ },
679
+ "color": {
680
+ "$id": "opengeodeweb_viewer.model.blocks.color",
681
+ "rpc": "color",
682
+ "type": "object",
683
+ "properties": {
684
+ "id": {
685
+ "type": "string",
686
+ "minLength": 1
687
+ },
688
+ "block_ids": {
689
+ "type": "array",
690
+ "items": {
691
+ "type": "integer",
687
692
  "minLength": 1
688
693
  },
689
- "block_ids": {
690
- "type": "array",
691
- "items": {
694
+ "minItems": 1
695
+ },
696
+ "color": {
697
+ "type": "object",
698
+ "properties": {
699
+ "r": {
692
700
  "type": "integer",
693
- "minLength": 1
701
+ "minimum": 0,
702
+ "maximum": 255
694
703
  },
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
- }
704
+ "g": {
705
+ "type": "integer",
706
+ "minimum": 0,
707
+ "maximum": 255
721
708
  },
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
- }
709
+ "b": {
710
+ "type": "integer",
711
+ "minimum": 0,
712
+ "maximum": 255
713
+ },
714
+ "a": {
715
+ "type": "number",
716
+ "minimum": 0,
717
+ "maximum": 1,
718
+ "default": 1
719
+ }
720
+ },
721
+ "required": [
722
+ "r",
723
+ "g",
724
+ "b"
725
+ ],
726
+ "additionalProperties": false
727
+ }
728
+ },
729
+ "required": [
730
+ "id",
731
+ "block_ids",
732
+ "color"
733
+ ],
734
+ "additionalProperties": false
737
735
  }
738
736
  },
739
737
  "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",
738
+ "visibility": {
739
+ "$id": "opengeodeweb_viewer.model.corners.visibility",
740
+ "rpc": "visibility",
741
+ "type": "object",
742
+ "properties": {
743
+ "id": {
744
+ "type": "string",
745
+ "minLength": 1
746
+ },
747
+ "block_ids": {
748
+ "type": "array",
749
+ "items": {
750
+ "type": "integer",
748
751
  "minLength": 1
749
752
  },
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
- }
753
+ "minItems": 1
761
754
  },
762
- "required": [
763
- "id",
764
- "block_ids",
765
- "visibility"
766
- ],
767
- "additionalProperties": false
755
+ "visibility": {
756
+ "type": "boolean"
757
+ }
768
758
  },
769
- "color": {
770
- "$id": "opengeodeweb_viewer.model.corners.points.color",
771
- "rpc": "color",
772
- "type": "object",
773
- "properties": {
774
- "id": {
775
- "type": "string",
759
+ "required": [
760
+ "id",
761
+ "block_ids",
762
+ "visibility"
763
+ ],
764
+ "additionalProperties": false
765
+ },
766
+ "color": {
767
+ "$id": "opengeodeweb_viewer.model.corners.color",
768
+ "rpc": "color",
769
+ "type": "object",
770
+ "properties": {
771
+ "id": {
772
+ "type": "string",
773
+ "minLength": 1
774
+ },
775
+ "block_ids": {
776
+ "type": "array",
777
+ "items": {
778
+ "type": "integer",
776
779
  "minLength": 1
777
780
  },
778
- "block_ids": {
779
- "type": "array",
780
- "items": {
781
+ "minItems": 1
782
+ },
783
+ "color": {
784
+ "type": "object",
785
+ "properties": {
786
+ "r": {
781
787
  "type": "integer",
782
- "minLength": 1
788
+ "minimum": 0,
789
+ "maximum": 255
783
790
  },
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
- }
791
+ "g": {
792
+ "type": "integer",
793
+ "minimum": 0,
794
+ "maximum": 255
810
795
  },
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
- }
796
+ "b": {
797
+ "type": "integer",
798
+ "minimum": 0,
799
+ "maximum": 255
800
+ },
801
+ "a": {
802
+ "type": "number",
803
+ "minimum": 0,
804
+ "maximum": 1,
805
+ "default": 1
806
+ }
807
+ },
808
+ "required": [
809
+ "r",
810
+ "g",
811
+ "b"
812
+ ],
813
+ "additionalProperties": false
814
+ }
815
+ },
816
+ "required": [
817
+ "id",
818
+ "block_ids",
819
+ "color"
820
+ ],
821
+ "additionalProperties": false
826
822
  }
827
823
  },
828
824
  "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",
825
+ "visibility": {
826
+ "$id": "opengeodeweb_viewer.model.lines.visibility",
827
+ "rpc": "visibility",
828
+ "type": "object",
829
+ "properties": {
830
+ "id": {
831
+ "type": "string",
832
+ "minLength": 1
833
+ },
834
+ "block_ids": {
835
+ "type": "array",
836
+ "items": {
837
+ "type": "integer",
837
838
  "minLength": 1
838
839
  },
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
- }
840
+ "minItems": 1
850
841
  },
851
- "required": [
852
- "id",
853
- "block_ids",
854
- "visibility"
855
- ],
856
- "additionalProperties": false
842
+ "visibility": {
843
+ "type": "boolean"
844
+ }
857
845
  },
858
- "color": {
859
- "$id": "opengeodeweb_viewer.model.lines.edges.color",
860
- "rpc": "color",
861
- "type": "object",
862
- "properties": {
863
- "id": {
864
- "type": "string",
846
+ "required": [
847
+ "id",
848
+ "block_ids",
849
+ "visibility"
850
+ ],
851
+ "additionalProperties": false
852
+ },
853
+ "color": {
854
+ "$id": "opengeodeweb_viewer.model.lines.color",
855
+ "rpc": "color",
856
+ "type": "object",
857
+ "properties": {
858
+ "id": {
859
+ "type": "string",
860
+ "minLength": 1
861
+ },
862
+ "block_ids": {
863
+ "type": "array",
864
+ "items": {
865
+ "type": "integer",
865
866
  "minLength": 1
866
867
  },
867
- "block_ids": {
868
- "type": "array",
869
- "items": {
868
+ "minItems": 1
869
+ },
870
+ "color": {
871
+ "type": "object",
872
+ "properties": {
873
+ "r": {
870
874
  "type": "integer",
871
- "minLength": 1
875
+ "minimum": 0,
876
+ "maximum": 255
872
877
  },
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
- }
878
+ "g": {
879
+ "type": "integer",
880
+ "minimum": 0,
881
+ "maximum": 255
899
882
  },
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
- }
883
+ "b": {
884
+ "type": "integer",
885
+ "minimum": 0,
886
+ "maximum": 255
887
+ },
888
+ "a": {
889
+ "type": "number",
890
+ "minimum": 0,
891
+ "maximum": 1,
892
+ "default": 1
893
+ }
894
+ },
895
+ "required": [
896
+ "r",
897
+ "g",
898
+ "b"
899
+ ],
900
+ "additionalProperties": false
901
+ }
902
+ },
903
+ "required": [
904
+ "id",
905
+ "block_ids",
906
+ "color"
907
+ ],
908
+ "additionalProperties": false
915
909
  }
916
910
  },
917
911
  "visibility": {
@@ -1026,130 +1020,128 @@
1026
1020
  "additionalProperties": false
1027
1021
  },
1028
1022
  "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",
1023
+ "visibility": {
1024
+ "$id": "opengeodeweb_viewer.model.surfaces.visibility",
1025
+ "rpc": "visibility",
1026
+ "type": "object",
1027
+ "properties": {
1028
+ "id": {
1029
+ "type": "string",
1030
+ "minLength": 1
1031
+ },
1032
+ "block_ids": {
1033
+ "type": "array",
1034
+ "items": {
1035
+ "type": "integer",
1037
1036
  "minLength": 1
1038
1037
  },
1039
- "block_ids": {
1040
- "type": "array",
1041
- "items": {
1042
- "type": "integer",
1043
- "minLength": 1
1044
- },
1045
- "minItems": 1
1046
- },
1047
- "visibility": {
1048
- "type": "boolean"
1049
- }
1038
+ "minItems": 1
1050
1039
  },
1051
- "required": [
1052
- "id",
1053
- "block_ids",
1054
- "visibility"
1055
- ],
1056
- "additionalProperties": false
1040
+ "visibility": {
1041
+ "type": "boolean"
1042
+ }
1057
1043
  },
1058
- "color": {
1059
- "$id": "opengeodeweb_viewer.model.surfaces.polygons.color",
1060
- "rpc": "color",
1061
- "type": "object",
1062
- "properties": {
1063
- "id": {
1064
- "type": "string",
1044
+ "required": [
1045
+ "id",
1046
+ "block_ids",
1047
+ "visibility"
1048
+ ],
1049
+ "additionalProperties": false
1050
+ },
1051
+ "color": {
1052
+ "$id": "opengeodeweb_viewer.model.surfaces.color",
1053
+ "rpc": "color",
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "id": {
1057
+ "type": "string",
1058
+ "minLength": 1
1059
+ },
1060
+ "block_ids": {
1061
+ "type": "array",
1062
+ "items": {
1063
+ "type": "integer",
1065
1064
  "minLength": 1
1066
1065
  },
1067
- "block_ids": {
1068
- "type": "array",
1069
- "items": {
1066
+ "minItems": 1
1067
+ },
1068
+ "color": {
1069
+ "type": "object",
1070
+ "properties": {
1071
+ "r": {
1070
1072
  "type": "integer",
1071
- "minLength": 1
1073
+ "minimum": 0,
1074
+ "maximum": 255
1075
+ },
1076
+ "g": {
1077
+ "type": "integer",
1078
+ "minimum": 0,
1079
+ "maximum": 255
1080
+ },
1081
+ "b": {
1082
+ "type": "integer",
1083
+ "minimum": 0,
1084
+ "maximum": 255
1072
1085
  },
1073
- "minItems": 1
1086
+ "a": {
1087
+ "type": "number",
1088
+ "minimum": 0,
1089
+ "maximum": 1,
1090
+ "default": 1
1091
+ }
1074
1092
  },
1075
- "color": {
1093
+ "required": [
1094
+ "r",
1095
+ "g",
1096
+ "b"
1097
+ ],
1098
+ "additionalProperties": false
1099
+ }
1100
+ },
1101
+ "required": [
1102
+ "id",
1103
+ "block_ids",
1104
+ "color"
1105
+ ],
1106
+ "additionalProperties": false
1107
+ },
1108
+ "apply_textures": {
1109
+ "$id": "opengeodeweb_viewer.model.surfaces.apply_textures",
1110
+ "rpc": "apply_textures",
1111
+ "type": "object",
1112
+ "properties": {
1113
+ "id": {
1114
+ "type": "string",
1115
+ "minLength": 1
1116
+ },
1117
+ "textures": {
1118
+ "type": "array",
1119
+ "items": {
1076
1120
  "type": "object",
1077
1121
  "properties": {
1078
- "r": {
1079
- "type": "integer",
1080
- "minimum": 0,
1081
- "maximum": 255
1122
+ "texture_name": {
1123
+ "type": "string",
1124
+ "minLength": 1
1082
1125
  },
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
1126
+ "texture_file_name": {
1127
+ "type": "string",
1128
+ "minLength": 1
1098
1129
  }
1099
1130
  },
1100
1131
  "required": [
1101
- "r",
1102
- "g",
1103
- "b"
1132
+ "texture_name",
1133
+ "texture_file_name"
1104
1134
  ],
1105
1135
  "additionalProperties": false
1106
- }
1107
- },
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
1136
  },
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
1152
- }
1137
+ "minItems": 1
1138
+ }
1139
+ },
1140
+ "required": [
1141
+ "id",
1142
+ "textures"
1143
+ ],
1144
+ "additionalProperties": false
1153
1145
  }
1154
1146
  }
1155
1147
  },
@@ -1234,17 +1226,17 @@
1234
1226
  ],
1235
1227
  "additionalProperties": false
1236
1228
  },
1237
- "reset_camera": {
1238
- "$id": "opengeodeweb_viewer.viewer.reset_camera",
1239
- "rpc": "reset_camera",
1229
+ "reset_visualization": {
1230
+ "$id": "opengeodeweb_viewer.viewer.reset_visualization",
1231
+ "rpc": "reset_visualization",
1240
1232
  "type": "object",
1241
1233
  "properties": {},
1242
1234
  "required": [],
1243
1235
  "additionalProperties": false
1244
1236
  },
1245
- "reset": {
1246
- "$id": "opengeodeweb_viewer.viewer.reset",
1247
- "rpc": "reset",
1237
+ "reset_camera": {
1238
+ "$id": "opengeodeweb_viewer.viewer.reset_camera",
1239
+ "rpc": "reset_camera",
1248
1240
  "type": "object",
1249
1241
  "properties": {},
1250
1242
  "required": [],
@@ -1276,6 +1268,20 @@
1276
1268
  ],
1277
1269
  "additionalProperties": false
1278
1270
  },
1271
+ "grid_scale": {
1272
+ "$id": "opengeodeweb_viewer.viewer.grid_scale",
1273
+ "rpc": "grid_scale",
1274
+ "type": "object",
1275
+ "properties": {
1276
+ "visibility": {
1277
+ "type": "boolean"
1278
+ }
1279
+ },
1280
+ "required": [
1281
+ "visibility"
1282
+ ],
1283
+ "additionalProperties": false
1284
+ },
1279
1285
  "get_point_position": {
1280
1286
  "$id": "opengeodeweb_viewer.viewer.get_point_position",
1281
1287
  "rpc": "get_point_position",
@@ -1293,14 +1299,6 @@
1293
1299
  "y"
1294
1300
  ],
1295
1301
  "additionalProperties": false
1296
- },
1297
- "create_visualization": {
1298
- "$id": "opengeodeweb_viewer.viewer.create_visualization",
1299
- "rpc": "create_visualization",
1300
- "type": "object",
1301
- "properties": {},
1302
- "required": [],
1303
- "additionalProperties": false
1304
1302
  }
1305
1303
  }
1306
1304
  }