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