fix(vue): import export types from scene graph package
This commit is contained in:
parent
24191f6eb8
commit
ef0271f040
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue