Improve types

This commit is contained in:
Adria Navarro 2025-02-13 11:26:57 +01:00
parent a3d6048336
commit 3d1f03cf02
1 changed files with 3 additions and 2 deletions

View File

@ -7,11 +7,12 @@ import {
DropPosition, DropPosition,
PingSource, PingSource,
PreviewDevice, PreviewDevice,
Screen,
} from "@budibase/types" } from "@budibase/types"
interface BuilderStore { interface BuilderStore {
inBuilder: boolean inBuilder: boolean
screen: string | null screen: Screen | null
selectedComponentId: string | null selectedComponentId: string | null
editMode: boolean editMode: boolean
previewId: string | null previewId: string | null
@ -25,7 +26,7 @@ interface BuilderStore {
metadata: { componentId: string; step: number } | null metadata: { componentId: string; step: number } | null
snippets: string | null snippets: string | null
componentErrors: {} componentErrors: {}
layout: null layout: any
} }
const createBuilderStore = () => { const createBuilderStore = () => {