gargantext-0.0.4.9.5: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Gargantext.Database.Admin.Types.Node

Description

 
Synopsis

Documentation

type Node json = NodePoly NodeId (Maybe Hash) NodeTypeId UserId (Maybe ParentId) NodeName UTCTime json Source #

NodePoly indicates that Node has a Polymorphism Type

newtype NodeId Source #

Constructors

NodeId Int 

Instances

Instances details
Enum NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Eq NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Methods

(==) :: NodeId -> NodeId -> Bool #

(/=) :: NodeId -> NodeId -> Bool #

Num NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Ord NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Read NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Show NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Generic NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type Rep NodeId :: Type -> Type #

Methods

from :: NodeId -> Rep NodeId x #

to :: Rep NodeId x -> NodeId #

Arbitrary NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Hashable NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Methods

hashWithSalt :: Int -> NodeId -> Int #

hash :: NodeId -> Int #

ToJSON NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToJSONKey NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSON NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSONKey NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromHttpApiData NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

GQLType NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type KIND NodeId :: DerivingKind #

FromField NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToField NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Methods

toField :: NodeId -> Action #

Serialise NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToSchema NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToParamSchema NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Methods

toParamSchema :: forall (t :: SwaggerKind Type). Proxy NodeId -> ParamSchema t #

DefaultFromField PGInt4 NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

DefaultFromField PGInt4 (Maybe NodeId) Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

HasText a => HasText (Node a) Source # 
Instance details

Defined in Gargantext.Database.Action.Flow

Methods

hasText :: Node a -> [Text] Source #

(ExtractNgramsT a, HasText a) => ExtractNgramsT (Node a) Source # 
Instance details

Defined in Gargantext.Database.Action.Flow

Methods

extractNgramsT :: HasText (Node a) => TermType Lang -> Node a -> Cmd err (HashMap ExtractedNgrams (Map NgramsType Int)) Source #

DefaultFromField (Nullable PGInt4) NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep NodeId = D1 ('MetaData "NodeId" "Gargantext.Database.Admin.Types.Node" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'True) (C1 ('MetaCons "NodeId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
type KIND NodeId Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

data Status Source #

Constructors

Status 

Instances

Instances details
Show Status Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Generic Status Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

Arbitrary Status Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToJSON Status Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSON Status Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToSchema Status Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep Status Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep Status = D1 ('MetaData "Status" "Gargantext.Database.Admin.Types.Node" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Status" 'PrefixI 'True) (S1 ('MetaSel ('Just "status_failed") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "status_succeeded") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status_remaining") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int))))

data LanguageNodes Source #

Constructors

LanguageNodes 

Instances

Instances details
Show LanguageNodes Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Generic LanguageNodes Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type Rep LanguageNodes :: Type -> Type #

ToJSON LanguageNodes Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSON LanguageNodes Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep LanguageNodes Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep LanguageNodes = D1 ('MetaData "LanguageNodes" "Gargantext.Database.Admin.Types.Node" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "LanguageNodes" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageNodes___unknown__") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int])))

data EventLevel Source #

Constructors

CRITICAL 
FATAL 
ERROR 
WARNING 
INFO 
DEBUG 

Instances

Instances details
Bounded EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Enum EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Show EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Generic EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type Rep EventLevel :: Type -> Type #

Arbitrary EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToJSON EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSON EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToSchema EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep EventLevel Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep EventLevel = D1 ('MetaData "EventLevel" "Gargantext.Database.Admin.Types.Node" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) ((C1 ('MetaCons "CRITICAL" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FATAL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ERROR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "WARNING" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "INFO" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DEBUG" 'PrefixI 'False) (U1 :: Type -> Type))))

data Event Source #

Constructors

Event 

Instances

Instances details
Show Event Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

Arbitrary Event Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Methods

arbitrary :: Gen Event #

shrink :: Event -> [Event] #

ToJSON Event Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSON Event Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToSchema Event Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep Event Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep Event = D1 ('MetaData "Event" "Gargantext.Database.Admin.Types.Node" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Event" 'PrefixI 'True) (S1 ('MetaSel ('Just "event_level") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EventLevel) :*: (S1 ('MetaSel ('Just "event_message") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "event_date") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime))))

data Resource Source #

Instances

Instances details
Show Resource Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Generic Resource Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Arbitrary Resource Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToJSON Resource Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSON Resource Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToSchema Resource Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep Resource Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep Resource = D1 ('MetaData "Resource" "Gargantext.Database.Admin.Types.Node" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Resource" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resource_path") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resource_scraper") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resource_query") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "resource_events") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Event]) :*: (S1 ('MetaSel ('Just "resource_status") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Status) :*: S1 ('MetaSel ('Just "resource_date") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UTCTime)))))

data NodeType Source #

Then a Node can be either a Folder or a Corpus or a Document

Instances

Instances details
Bounded NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Enum NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Eq NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Read NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Show NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Generic NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Associated Types

type Rep NodeType :: Type -> Type #

Methods

from :: NodeType -> Rep NodeType x #

to :: Rep NodeType x -> NodeType #

Arbitrary NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToJSON NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromJSON NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

FromHttpApiData NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToSchema NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

ToParamSchema NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

Methods

toParamSchema :: forall (t :: SwaggerKind Type). Proxy NodeType -> ParamSchema t #

HasDBid NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Config

type Rep NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Types.Node

type Rep NodeType = D1 ('MetaData "NodeType" "Gargantext.Database.Admin.Types.Node" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) ((((C1 ('MetaCons "NodeUser" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodeFolderPrivate" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NodeFolderShared" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NodeTeam" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodeFolderPublic" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "NodeFolder" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NodeCorpus" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodeCorpusV3" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "NodeTexts" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NodeDocument" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodeAnnuaire" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "NodeContact" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NodeGraph" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodePhylo" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "NodeDashboard" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NodeList" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodeModel" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "NodeListCooc" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NodeFrameWrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodeFrameCalc" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "NodeFrameVisio" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NodeFrameNotebook" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NodeFile" 'PrefixI 'False) (U1 :: Type -> Type))))))

Orphan instances