Use spyglass DocAndNode to store current file data

This commit is contained in:
Misode
2024-10-16 04:36:59 +02:00
parent 7dbd533abb
commit 77d6323219
32 changed files with 244 additions and 240 deletions

View File

@@ -1,4 +1,4 @@
import type { FileModel } from '../../services/index.js'
import type { DocAndNode } from '@spyglassmc/core'
export * from './BiomeSourcePreview.js'
export * from './BlockStatePreview.jsx'
@@ -12,6 +12,6 @@ export * from './RecipePreview.jsx'
export * from './StructureSetPreview.jsx'
export interface PreviewProps {
model: FileModel
docAndNode: DocAndNode
shown: boolean
}