Commit 1eed5eba authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Node creation] adding Dashboard

parent 1ae1a49d
......@@ -95,6 +95,13 @@ mkNodeWithParent NodeGraph (Just i) uId name =
where
hd = arbitraryGraph
mkNodeWithParent NodeDashboard (Just i) uId name =
insertNodesWithParentR (Just i) [node NodeDashboard name hd Nothing uId]
where
hd = arbitraryDashboard
mkNodeWithParent NodeFrameWrite i u n =
mkNodeWithParent_ConfigureHyperdata NodeFrameWrite i u n
......
......@@ -280,6 +280,8 @@ instance ToSchema NodeType
instance Arbitrary NodeType where
arbitrary = elements allNodeTypes
------------------------------------------------------------------------
-- Instances
------------------------------------------------------------------------
......@@ -310,6 +312,3 @@ instance QueryRunnerColumnDefault (Nullable PGInt4) NodeId
where
queryRunnerColumnDefault = fieldQueryRunnerColumn
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment