fix(vue): import export types from scene graph package

This commit is contained in:
Danila Poyarkov 2026-06-30 11:18:19 +03:00
parent 24191f6eb8
commit ef0271f040
4 changed files with 5 additions and 5 deletions

View file

@ -3,8 +3,8 @@ import type { ComputedRef } from 'vue'
import type { Editor } from '@open-pencil/core/editor'
import { BUILTIN_IO_FORMATS, IORegistry } from '@open-pencil/core/io'
import { MAX_EXPORT_SCALE, MIN_EXPORT_SCALE, clampExportScale } from '@open-pencil/core/scene-graph'
import type { ExportFormatId, ExportSetting, PluginDataEntry } from '@open-pencil/core/scene-graph'
import { MAX_EXPORT_SCALE, MIN_EXPORT_SCALE, clampExportScale } from '@open-pencil/scene-graph'
import type { ExportFormatId, ExportSetting, PluginDataEntry } from '@open-pencil/scene-graph'
import { useSceneComputed } from '#vue/internal/scene-computed/use'

View file

@ -11,7 +11,7 @@ import {
import { useEditor } from '#vue/editor/context'
import { useSceneComputed } from '#vue/internal/scene-computed/use'
export type { ExportFormatId, ExportSetting } from '@open-pencil/core/scene-graph'
export type { ExportFormatId, ExportSetting } from '@open-pencil/scene-graph'
export type { ExportPanelTarget } from '#vue/document/export/helpers'
export function useExport() {

View file

@ -1,7 +1,7 @@
import { describe, expect, test } from 'bun:test'
import { createEditor } from '@open-pencil/core/editor'
import type { VectorNetwork } from '@open-pencil/core/scene-graph'
import type { VectorNetwork } from '@open-pencil/scene-graph'
import { getNodeOrThrow } from '#tests/helpers/assert'

View file

@ -1,7 +1,7 @@
import { describe, expect, test } from 'bun:test'
import { SceneGraph, type SceneNode } from '@open-pencil/core'
import { cloneNodeProps } from '@open-pencil/core/scene-graph/copy'
import { cloneNodeProps } from '@open-pencil/scene-graph/copy'
function pageId(graph: SceneGraph): string {
return graph.getPages()[0].id