Copyright | (c) CNRS 2017-Present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
type API = Summary " Update node according to NodeType params" :> AsyncJobs JobLog '[JSON] UpdateNodeParams JobLog #
data UpdateNodeParams #
UpdateNodeParamsList | |
| |
UpdateNodeParamsGraph | |
UpdateNodeParamsTexts | |
UpdateNodeParamsBoard | |
| |
LinkNodeReq | |
UpdateNodePhylo | |
Instances
Instances
Arbitrary Method # | |
FromJSON Method # | |
ToJSON Method # | |
Defined in Gargantext.API.Node.Update | |
Bounded Method # | |
Enum Method # | |
Defined in Gargantext.API.Node.Update | |
Generic Method # | |
Eq Method # | |
Ord Method # | |
ToSchema Method # | |
Defined in Gargantext.API.Node.Update | |
type Rep Method # | |
Defined in Gargantext.API.Node.Update type Rep Method = D1 ('MetaData "Method" "Gargantext.API.Node.Update" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Basic" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Advanced" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WithModel" 'PrefixI 'False) (U1 :: Type -> Type))) |
data Granularity #
Instances
Instances
Arbitrary Charts # | |
FromJSON Charts # | |
ToJSON Charts # | |
Defined in Gargantext.API.Node.Update | |
Bounded Charts # | |
Enum Charts # | |
Defined in Gargantext.API.Node.Update | |
Generic Charts # | |
Eq Charts # | |
Ord Charts # | |
ToSchema Charts # | |
Defined in Gargantext.API.Node.Update | |
type Rep Charts # | |
Defined in Gargantext.API.Node.Update type Rep Charts = D1 ('MetaData "Charts" "Gargantext.API.Node.Update" "gargantext-0.0.7.1.5.3-inplace" 'False) ((C1 ('MetaCons "Sources" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Authors" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Institutes" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Ngrams" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "All" 'PrefixI 'False) (U1 :: Type -> Type)))) |
updateNode :: (HasNodeStory env err m, HasSettings env, MonadJobStatus m, MonadLogger m) => NodeId -> UpdateNodeParams -> JobHandle m -> m () #
updateDocs :: HasNodeStory env err m => NodeId -> m () #