Fix type conflicts
This commit is contained in:
parent
c92490c39c
commit
f87c723a79
|
@ -5,8 +5,6 @@ import modal from "./modal"
|
||||||
import newScreen from "./newScreen"
|
import newScreen from "./newScreen"
|
||||||
import sidePanel from "./sidePanel"
|
import sidePanel from "./sidePanel"
|
||||||
|
|
||||||
type NewScreenType = "inline" | "modal" | "sidePanel" | "newScreen"
|
|
||||||
|
|
||||||
const createScreen = async ({
|
const createScreen = async ({
|
||||||
tableOrView,
|
tableOrView,
|
||||||
type,
|
type,
|
||||||
|
@ -14,7 +12,7 @@ const createScreen = async ({
|
||||||
screens,
|
screens,
|
||||||
}: {
|
}: {
|
||||||
tableOrView: SourceOption
|
tableOrView: SourceOption
|
||||||
type: NewScreenType
|
type: string
|
||||||
permissions: UIPermissions
|
permissions: UIPermissions
|
||||||
screens: Screen[]
|
screens: Screen[]
|
||||||
}) => {
|
}) => {
|
||||||
|
|
Loading…
Reference in New Issue