Improve types
This commit is contained in:
parent
a3d6048336
commit
3d1f03cf02
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in New Issue