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 = ...@@ -95,6 +95,13 @@ mkNodeWithParent NodeGraph (Just i) uId name =
where where
hd = arbitraryGraph 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 NodeFrameWrite i u n =
mkNodeWithParent_ConfigureHyperdata NodeFrameWrite i u n mkNodeWithParent_ConfigureHyperdata NodeFrameWrite i u n
......
...@@ -280,6 +280,8 @@ instance ToSchema NodeType ...@@ -280,6 +280,8 @@ instance ToSchema NodeType
instance Arbitrary NodeType where instance Arbitrary NodeType where
arbitrary = elements allNodeTypes arbitrary = elements allNodeTypes
------------------------------------------------------------------------ ------------------------------------------------------------------------
-- Instances -- Instances
------------------------------------------------------------------------ ------------------------------------------------------------------------
...@@ -310,6 +312,3 @@ instance QueryRunnerColumnDefault (Nullable PGInt4) NodeId ...@@ -310,6 +312,3 @@ instance QueryRunnerColumnDefault (Nullable PGInt4) NodeId
where where
queryRunnerColumnDefault = fieldQueryRunnerColumn 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