import { Type } from "class-transformer" ; import { Vector3 } from "three" ; import VisualizationOptionStore from "../stores/VisualizationOptionStore" ; export default class VisualizationLinkParams { @ Type ( ( ) => VisualizationOptionStore ) public visualizationOptions : VisualizationOptionStore ; public selectedObjectKey : string | null ; public cameraPosition : Vector3 ; constructor ( visualizationOptions , selectedObjectId , cameraPosition ) { this . visualizationOptions = visualizationOptions ; this . selectedObjectKey = selectedObjectId ; this . cameraPosition = cameraPosition ; } }