vease 3.2.0-rc.2 → 3.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vease",
3
- "version": "3.2.0-rc.2",
3
+ "version": "3.2.0-rc.3",
4
4
  "description": "Desktop and cloud software for data visualization",
5
5
  "keywords": [
6
6
  "Desktop",
@@ -742,6 +742,76 @@
742
742
  }
743
743
  },
744
744
  "style": {
745
+ "image": {
746
+ "visibility": {
747
+ "$id": "api/controller/style/image/visibility",
748
+ "route": "/visibility",
749
+ "methods": ["POST"],
750
+ "type": "object",
751
+ "properties": {
752
+ "ids": {
753
+ "type": "array",
754
+ "items": {
755
+ "type": "string",
756
+ "minLength": 32,
757
+ "maxLength": 32
758
+ },
759
+ "minItems": 1
760
+ },
761
+ "visibility": {
762
+ "type": "boolean"
763
+ }
764
+ },
765
+ "required": ["ids", "visibility"],
766
+ "additionalProperties": false,
767
+ "response": {
768
+ "type": "object",
769
+ "properties": {
770
+ "statusCode": {
771
+ "type": "integer"
772
+ },
773
+ "response": {}
774
+ },
775
+ "required": ["statusCode", "response"],
776
+ "additionalProperties": false
777
+ }
778
+ },
779
+ "opacity": {
780
+ "$id": "api/controller/style/image/opacity",
781
+ "route": "/opacity",
782
+ "methods": ["POST"],
783
+ "type": "object",
784
+ "properties": {
785
+ "ids": {
786
+ "type": "array",
787
+ "items": {
788
+ "type": "string",
789
+ "minLength": 32,
790
+ "maxLength": 32
791
+ },
792
+ "minItems": 1
793
+ },
794
+ "opacity": {
795
+ "type": "number",
796
+ "minimum": 0,
797
+ "maximum": 1
798
+ }
799
+ },
800
+ "required": ["ids", "opacity"],
801
+ "additionalProperties": false,
802
+ "response": {
803
+ "type": "object",
804
+ "properties": {
805
+ "statusCode": {
806
+ "type": "integer"
807
+ },
808
+ "response": {}
809
+ },
810
+ "required": ["statusCode", "response"],
811
+ "additionalProperties": false
812
+ }
813
+ }
814
+ },
745
815
  "mesh": {
746
816
  "cells": {
747
817
  "cell": {
@@ -239,6 +239,26 @@ export interface ControllerColormapsResponseResponse {
239
239
  categories: { [key: string]: string[] };
240
240
  }
241
241
 
242
+ export interface ControllerStyleImageVisibilityParams {
243
+ ids: string[];
244
+ visibility: boolean;
245
+ }
246
+
247
+ export interface ControllerStyleImageVisibilityResponse {
248
+ response: any;
249
+ statusCode: number;
250
+ }
251
+
252
+ export interface ControllerStyleImageOpacityParams {
253
+ ids: string[];
254
+ opacity: number;
255
+ }
256
+
257
+ export interface ControllerStyleImageOpacityResponse {
258
+ response: any;
259
+ statusCode: number;
260
+ }
261
+
242
262
  export interface ControllerStyleMeshCellsCellAttributeParams {
243
263
  colormap?: string;
244
264
  ids: string[];
@@ -1004,6 +1024,15 @@ export interface Schemas {
1004
1024
  readonly colormaps: (typeof json)["api"]["controller"]["colormaps"] &
1005
1025
  TypedSchema<ControllerColormapsParams, ControllerColormapsResponse>;
1006
1026
  readonly style: {
1027
+ readonly image: {
1028
+ readonly visibility: (typeof json)["api"]["controller"]["style"]["image"]["visibility"] &
1029
+ TypedSchema<
1030
+ ControllerStyleImageVisibilityParams,
1031
+ ControllerStyleImageVisibilityResponse
1032
+ >;
1033
+ readonly opacity: (typeof json)["api"]["controller"]["style"]["image"]["opacity"] &
1034
+ TypedSchema<ControllerStyleImageOpacityParams, ControllerStyleImageOpacityResponse>;
1035
+ };
1007
1036
  readonly mesh: {
1008
1037
  readonly cells: {
1009
1038
  readonly cell: {