|
@@ -6,12 +6,23 @@ declare module '*.vue' {
|
|
|
export default component
|
|
|
}
|
|
|
|
|
|
+interface ImportMetaEnv {
|
|
|
+ readonly VITE_LASER_HOST: string
|
|
|
+ readonly VITE_LASER_OSS: string
|
|
|
+ readonly VITE_PANO_OSS: string
|
|
|
+ readonly VITE_OSS: string
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+declare const offline: boolean
|
|
|
+
|
|
|
type ToChangeAPI<T extends Record<string, any>> = {
|
|
|
[key in keyof T as `change${Capitalize<key & string>}`]: (prop: T[key]) => void
|
|
|
}
|
|
|
|
|
|
type SceneLocalPos = { x: number, y: number, z: number }
|
|
|
type ScreenLocalPos = { x: number, y: number }
|
|
|
+type Rotation = { x: number, y: number, z: number, w: number }
|
|
|
|
|
|
type LocalFile = { url: string, blob: Blob }
|
|
|
type LocalMode<T, K> = T extends any[]
|