@geode/opengeodeweb-back 6.17.0-rc.2 → 6.17.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.
@@ -678,6 +678,199 @@
678
678
  "additionalProperties": false
679
679
  }
680
680
  },
681
+ "horizon_stack": {
682
+ "$id": "opengeodeweb_back/create/horizon_stack",
683
+ "route": "/horizon_stack",
684
+ "methods": [
685
+ "POST"
686
+ ],
687
+ "type": "object",
688
+ "properties": {
689
+ "name": {
690
+ "type": "string",
691
+ "minLength": 1
692
+ },
693
+ "horizons": {
694
+ "type": "array",
695
+ "items": {
696
+ "type": "string",
697
+ "minLength": 1
698
+ },
699
+ "minItems": 1,
700
+ "uniqueItems": true
701
+ },
702
+ "unit_names": {
703
+ "type": "array",
704
+ "items": {
705
+ "type": "string"
706
+ }
707
+ }
708
+ },
709
+ "required": [
710
+ "name",
711
+ "horizons",
712
+ "unit_names"
713
+ ],
714
+ "additionalProperties": false,
715
+ "response": {
716
+ "type": "object",
717
+ "properties": {
718
+ "native_file": {
719
+ "type": "string"
720
+ },
721
+ "id": {
722
+ "type": "string",
723
+ "minLength": 32,
724
+ "maxLength": 32
725
+ },
726
+ "name": {
727
+ "type": "string"
728
+ },
729
+ "viewer_type": {
730
+ "type": "string"
731
+ },
732
+ "is_viewable": {
733
+ "type": "boolean"
734
+ },
735
+ "geode_object_type": {
736
+ "type": "string"
737
+ },
738
+ "viewable_file": {
739
+ "type": "string"
740
+ },
741
+ "binary_light_viewable": {
742
+ "type": "string"
743
+ },
744
+ "nb_vertices": {
745
+ "type": "integer"
746
+ },
747
+ "mesh_components": {
748
+ "type": "array",
749
+ "items": {
750
+ "type": "object",
751
+ "properties": {
752
+ "viewer_id": {
753
+ "type": "integer"
754
+ },
755
+ "geode_id": {
756
+ "type": "string",
757
+ "minLength": 36,
758
+ "maxLength": 36
759
+ },
760
+ "name": {
761
+ "type": "string"
762
+ },
763
+ "type": {
764
+ "type": "string"
765
+ },
766
+ "boundaries": {
767
+ "type": "array",
768
+ "items": {
769
+ "type": "string",
770
+ "minLength": 36,
771
+ "maxLength": 36
772
+ }
773
+ },
774
+ "internals": {
775
+ "type": "array",
776
+ "items": {
777
+ "type": "string",
778
+ "minLength": 36,
779
+ "maxLength": 36
780
+ }
781
+ },
782
+ "is_active": {
783
+ "type": "boolean"
784
+ }
785
+ },
786
+ "required": [
787
+ "viewer_id",
788
+ "geode_id",
789
+ "name",
790
+ "type",
791
+ "boundaries",
792
+ "internals",
793
+ "is_active"
794
+ ],
795
+ "additionalProperties": false
796
+ }
797
+ },
798
+ "collection_components": {
799
+ "type": "array",
800
+ "items": {
801
+ "type": "object",
802
+ "properties": {
803
+ "geode_id": {
804
+ "type": "string",
805
+ "minLength": 36,
806
+ "maxLength": 36
807
+ },
808
+ "name": {
809
+ "type": "string"
810
+ },
811
+ "type": {
812
+ "type": "string"
813
+ },
814
+ "items": {
815
+ "type": "array",
816
+ "items": {
817
+ "type": "string",
818
+ "minLength": 36,
819
+ "maxLength": 36
820
+ }
821
+ },
822
+ "is_active": {
823
+ "type": "boolean"
824
+ }
825
+ },
826
+ "required": [
827
+ "geode_id",
828
+ "name",
829
+ "type",
830
+ "items",
831
+ "is_active"
832
+ ],
833
+ "additionalProperties": false
834
+ }
835
+ },
836
+ "geode_id": {
837
+ "type": "string",
838
+ "minLength": 36,
839
+ "maxLength": 36
840
+ },
841
+ "crs": {
842
+ "type": "object",
843
+ "properties": {
844
+ "authority": {
845
+ "type": "string"
846
+ },
847
+ "code": {
848
+ "type": "string"
849
+ },
850
+ "name": {
851
+ "type": "string"
852
+ }
853
+ },
854
+ "required": [
855
+ "authority",
856
+ "code",
857
+ "name"
858
+ ],
859
+ "additionalProperties": false
860
+ }
861
+ },
862
+ "required": [
863
+ "native_file",
864
+ "id",
865
+ "name",
866
+ "viewer_type",
867
+ "is_viewable",
868
+ "geode_object_type",
869
+ "geode_id"
870
+ ],
871
+ "additionalProperties": false
872
+ }
873
+ },
681
874
  "edged_curve": {
682
875
  "$id": "opengeodeweb_back/create/edged_curve",
683
876
  "route": "/edged_curve",
@@ -2648,6 +2841,77 @@
2648
2841
  "additionalProperties": false
2649
2842
  }
2650
2843
  },
2844
+ "horizon_stack_info": {
2845
+ "$id": "opengeodeweb_back/horizon_stack_info",
2846
+ "route": "/horizon_stack_info",
2847
+ "methods": [
2848
+ "POST"
2849
+ ],
2850
+ "type": "object",
2851
+ "properties": {
2852
+ "id": {
2853
+ "type": "string",
2854
+ "minLength": 32,
2855
+ "maxLength": 32
2856
+ }
2857
+ },
2858
+ "required": [
2859
+ "id"
2860
+ ],
2861
+ "additionalProperties": false,
2862
+ "response": {
2863
+ "type": "object",
2864
+ "properties": {
2865
+ "horizons": {
2866
+ "type": "array",
2867
+ "items": {
2868
+ "type": "object",
2869
+ "properties": {
2870
+ "id": {
2871
+ "type": "string",
2872
+ "minLength": 36,
2873
+ "maxLength": 36
2874
+ },
2875
+ "name": {
2876
+ "type": "string"
2877
+ }
2878
+ },
2879
+ "required": [
2880
+ "id",
2881
+ "name"
2882
+ ],
2883
+ "additionalProperties": false
2884
+ }
2885
+ },
2886
+ "units": {
2887
+ "type": "array",
2888
+ "items": {
2889
+ "type": "object",
2890
+ "properties": {
2891
+ "id": {
2892
+ "type": "string",
2893
+ "minLength": 36,
2894
+ "maxLength": 36
2895
+ },
2896
+ "name": {
2897
+ "type": "string"
2898
+ }
2899
+ },
2900
+ "required": [
2901
+ "id",
2902
+ "name"
2903
+ ],
2904
+ "additionalProperties": false
2905
+ }
2906
+ }
2907
+ },
2908
+ "required": [
2909
+ "horizons",
2910
+ "units"
2911
+ ],
2912
+ "additionalProperties": false
2913
+ }
2914
+ },
2651
2915
  "geode_objects_and_output_extensions": {
2652
2916
  "$id": "opengeodeweb_back/geode_objects_and_output_extensions",
2653
2917
  "route": "/geode_objects_and_output_extensions",
@@ -174,6 +174,52 @@ export interface CreatePointSetResponseMeshComponent {
174
174
  viewer_id: number;
175
175
  }
176
176
 
177
+ export interface CreateHorizonStackParams {
178
+ horizons: string[];
179
+ name: string;
180
+ unit_names: string[];
181
+ }
182
+
183
+ export interface CreateHorizonStackResponse {
184
+ binary_light_viewable?: string;
185
+ collection_components?: CreateHorizonStackResponseCollectionComponent[];
186
+ crs?: CreateHorizonStackResponseCRS;
187
+ geode_id: string;
188
+ geode_object_type: string;
189
+ id: string;
190
+ is_viewable: boolean;
191
+ mesh_components?: CreateHorizonStackResponseMeshComponent[];
192
+ name: string;
193
+ native_file: string;
194
+ nb_vertices?: number;
195
+ viewable_file?: string;
196
+ viewer_type: string;
197
+ }
198
+
199
+ export interface CreateHorizonStackResponseCollectionComponent {
200
+ geode_id: string;
201
+ is_active: boolean;
202
+ items: string[];
203
+ name: string;
204
+ type: string;
205
+ }
206
+
207
+ export interface CreateHorizonStackResponseCRS {
208
+ authority: string;
209
+ code: string;
210
+ name: string;
211
+ }
212
+
213
+ export interface CreateHorizonStackResponseMeshComponent {
214
+ boundaries: string[];
215
+ geode_id: string;
216
+ internals: string[];
217
+ is_active: boolean;
218
+ name: string;
219
+ type: string;
220
+ viewer_id: number;
221
+ }
222
+
177
223
  export interface CreateEdgedCurveParams {
178
224
  edges: Array<number[]>;
179
225
  name: string;
@@ -665,6 +711,25 @@ export interface ImportProjectResponse {
665
711
  snapshot: { [key: string]: any };
666
712
  }
667
713
 
714
+ export interface HorizonStackInfoParams {
715
+ id: string;
716
+ }
717
+
718
+ export interface HorizonStackInfoResponse {
719
+ horizons: Horizon[];
720
+ units: Unit[];
721
+ }
722
+
723
+ export interface Horizon {
724
+ id: string;
725
+ name: string;
726
+ }
727
+
728
+ export interface Unit {
729
+ id: string;
730
+ name: string;
731
+ }
732
+
668
733
  export interface GeodeObjectsAndOutputExtensionsParams {
669
734
  filename: string;
670
735
  geode_object_type: string;
@@ -802,6 +867,7 @@ export interface Schemas {
802
867
  readonly create: {
803
868
  readonly polygonal_surface: (typeof json)["opengeodeweb_back"]["create"]["polygonal_surface"] & TypedSchema<CreatePolygonalSurfaceParams, CreatePolygonalSurfaceResponse>;
804
869
  readonly point_set: (typeof json)["opengeodeweb_back"]["create"]["point_set"] & TypedSchema<CreatePointSetParams, CreatePointSetResponse>;
870
+ readonly horizon_stack: (typeof json)["opengeodeweb_back"]["create"]["horizon_stack"] & TypedSchema<CreateHorizonStackParams, CreateHorizonStackResponse>;
805
871
  readonly edged_curve: (typeof json)["opengeodeweb_back"]["create"]["edged_curve"] & TypedSchema<CreateEdgedCurveParams, CreateEdgedCurveResponse>;
806
872
  };
807
873
  readonly crs: {
@@ -834,6 +900,7 @@ export interface Schemas {
834
900
  readonly model_component_edge_attribute_names: (typeof json)["opengeodeweb_back"]["model_component_edge_attribute_names"] & TypedSchema<ModelComponentEdgeAttributeNamesParams, ModelComponentEdgeAttributeNamesResponse>;
835
901
  readonly kill: (typeof json)["opengeodeweb_back"]["kill"] & TypedSchema<KillParams, KillResponse>;
836
902
  readonly import_project: (typeof json)["opengeodeweb_back"]["import_project"] & TypedSchema<ImportProjectParams, ImportProjectResponse>;
903
+ readonly horizon_stack_info: (typeof json)["opengeodeweb_back"]["horizon_stack_info"] & TypedSchema<HorizonStackInfoParams, HorizonStackInfoResponse>;
837
904
  readonly geode_objects_and_output_extensions: (typeof json)["opengeodeweb_back"]["geode_objects_and_output_extensions"] & TypedSchema<GeodeObjectsAndOutputExtensionsParams, GeodeObjectsAndOutputExtensionsResponse>;
838
905
  readonly geode_object_inheritance: (typeof json)["opengeodeweb_back"]["geode_object_inheritance"] & TypedSchema<GeodeObjectInheritanceParams, GeodeObjectInheritanceResponse>;
839
906
  readonly export_project: (typeof json)["opengeodeweb_back"]["export_project"] & TypedSchema<ExportProjectParams, Blob>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-back",
3
- "version": "6.17.0-rc.2",
3
+ "version": "6.17.0-rc.3",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Back",
6
6
  "bugs": {