Copyright | (c) CNRS 2017-Present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Gargantext.Database.Admin.Config
Contents
Description
Gargantext's database.
TODO: configure nodes table in Haskell (Config typenames etc.)
Synopsis
- corpusMasterName :: Text
- userMaster :: Text
- userArbitrary :: Text
- nodeTypeId :: NodeType -> NodeTypeId
- hasNodeType :: forall a. Node a -> NodeType -> Bool
- isInNodeTypes :: forall a. Node a -> [NodeType] -> Bool
- nodeTypeInv :: [(NodeTypeId, NodeType)]
- nodeTypes :: [(NodeType, NodeTypeId)]
- fromNodeTypeId :: NodeTypeId -> NodeType
Documentation
userMaster :: Text Source #
userArbitrary :: Text Source #
nodeTypeId :: NodeType -> NodeTypeId Source #
nodeTypeInv :: [(NodeTypeId, NodeType)] Source #
Nodes are typed in the database according to a specific ID
nodeTypes :: [(NodeType, NodeTypeId)] Source #
fromNodeTypeId :: NodeTypeId -> NodeType Source #