SCIInstitute / shapeworks-cloud

A web version of ShapeWorks Studio
https://www.shapeworks-cloud.org/#/
Apache License 2.0
1 stars 0 forks source link

Web refactor #298

Closed annehaley closed 1 year ago

annehaley commented 1 year ago

This PR splits the ShapeViewer component and the store into multiple files

manthey commented 1 year ago

This throws a typescript warning in my local deployment.

ERROR in /app/server/src/components/InfoTab.vue(3,24):
3:24 Could not find a declaration file for module './ShapeViewer/methods'. '/app/server/src/components/ShapeViewer/methods.js' implicitly has an 'any' type.
    1 | <script lang="ts">
    2 | import pointsReader from '../reader/points';
Version: typescript 4.1.5
Time: 667ms
  > 3 | import { COLORS } from './ShapeViewer/methods'
      |                        ^
    4 | import { defineComponent, onMounted, ref } from '@vue/composition-api';
    5 | import { landmarkColorList, selectedDataset, selectedProject } from '@/store';
    6 |