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.API.Ngrams

Description

Ngrams API

  • - | TODO get ngrams filtered by NgramsType add get
Synopsis

Documentation

type TableNgramsApi = TableNgramsApiGet :<|> (TableNgramsApiPut :<|> (RecomputeScoresNgramsApiGet :<|> (("version" :> TableNgramsApiGetVersion) :<|> TableNgramsAsyncApi))) Source #

type TableNgramsApiGet = Summary " Table Ngrams API Get" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> (QueryParamR "limit" Limit :> (QueryParam "offset" Offset :> (QueryParam "listType" ListType :> (QueryParam "minTermSize" MinSize :> (QueryParam "maxTermSize" MaxSize :> (QueryParam "orderBy" OrderBy :> (QueryParam "search" Text :> Get '[JSON] (VersionedWithCount NgramsTable)))))))))) Source #

getTableNgrams :: forall env err m. (HasNodeStory env err m, HasNodeError err, HasConnectionPool env, HasConfig env, HasMail env) => NodeType -> NodeId -> TabType -> ListId -> Limit -> Maybe Offset -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe OrderBy -> (NgramsTerm -> Bool) -> m (VersionedWithCount NgramsTable) Source #

TODO Errors management TODO: polymorphic for Annuaire or Corpus or ... | Table of Ngrams is a ListNgrams formatted (sorted and/or cut). TODO: should take only one ListId

setListNgrams :: HasNodeStory env err m => NodeId -> NgramsType -> Map NgramsTerm NgramsRepoElement -> m () Source #

TODO: incr the Version number && should use patch UNSAFE

data NgramsTablePatch Source #

Instances

Instances details
Eq NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTablePatch :: Type -> Type #

Semigroup NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Arbitrary NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsStatePatch' Source # 
Instance details

Defined in Gargantext.Core.NodeStory

ToSchema NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Validity NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Transformable NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid (Archive NgramsState' NgramsStatePatch') Source # 
Instance details

Defined in Gargantext.Core.NodeStory

type Rep NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsTablePatch = D1 ('MetaData "NgramsTablePatch" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'True) (C1 ('MetaCons "NgramsTablePatch" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PatchMap NgramsTerm NgramsPatch))))
type ConflictResolution NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Patched NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

newtype NgramsTerm Source #

Constructors

NgramsTerm 

Fields

Instances

Instances details
Eq NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

IsString NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTerm :: Type -> Type #

Semigroup NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

NFData NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

rnf :: NgramsTerm -> () #

Arbitrary NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Hashable NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSONKey NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSONKey NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

IsHashable NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

hash :: NgramsTerm -> Hash #

FromField NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise (MSet NgramsTerm) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid (Archive NgramsState' NgramsStatePatch') Source # 
Instance details

Defined in Gargantext.Core.NodeStory

Serialise (PatchMap NgramsTerm NgramsPatch) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema (PatchMap NgramsTerm NgramsPatch) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> NgramsRepoElement #

Applicable (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> Validation

type Rep NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsTerm = D1 ('MetaData "NgramsTerm" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'True) (C1 ('MetaCons "NgramsTerm" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNgramsTerm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data NgramsElement Source #

Instances

Instances details
Eq NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsElement :: Type -> Type #

Arbitrary NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Each NgramsTable NgramsTable NgramsElement NgramsElement Source #

Question: why these repetition of Type in this instance may you document it please ?

Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

data RootParent Source #

Constructors

RootParent 

Instances

Instances details
Eq RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep RootParent :: Type -> Type #

ToJSON RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep RootParent = D1 ('MetaData "RootParent" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "RootParent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rp_root") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NgramsTerm) :*: S1 ('MetaSel ('Just "_rp_parent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NgramsTerm)))

data MSet a Source #

Instances

Instances details
Foldable MSet Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

fold :: Monoid m => MSet m -> m #

foldMap :: Monoid m => (a -> m) -> MSet a -> m #

foldMap' :: Monoid m => (a -> m) -> MSet a -> m #

foldr :: (a -> b -> b) -> b -> MSet a -> b #

foldr' :: (a -> b -> b) -> b -> MSet a -> b #

foldl :: (b -> a -> b) -> b -> MSet a -> b #

foldl' :: (b -> a -> b) -> b -> MSet a -> b #

foldr1 :: (a -> a -> a) -> MSet a -> a #

foldl1 :: (a -> a -> a) -> MSet a -> a #

toList :: MSet a -> [a] #

null :: MSet a -> Bool #

length :: MSet a -> Int #

elem :: Eq a => a -> MSet a -> Bool #

maximum :: Ord a => MSet a -> a #

minimum :: Ord a => MSet a -> a #

sum :: Num a => MSet a -> a #

product :: Num a => MSet a -> a #

Eq a => Eq (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(==) :: MSet a -> MSet a -> Bool #

(/=) :: MSet a -> MSet a -> Bool #

Ord a => Ord (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

compare :: MSet a -> MSet a -> Ordering #

(<) :: MSet a -> MSet a -> Bool #

(<=) :: MSet a -> MSet a -> Bool #

(>) :: MSet a -> MSet a -> Bool #

(>=) :: MSet a -> MSet a -> Bool #

max :: MSet a -> MSet a -> MSet a #

min :: MSet a -> MSet a -> MSet a #

Show a => Show (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

showsPrec :: Int -> MSet a -> ShowS #

show :: MSet a -> String #

showList :: [MSet a] -> ShowS #

Generic (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (MSet a) :: Type -> Type #

Methods

from :: MSet a -> Rep (MSet a) x #

to :: Rep (MSet a) x -> MSet a #

Ord a => Semigroup (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(<>) :: MSet a -> MSet a -> MSet a #

sconcat :: NonEmpty (MSet a) -> MSet a #

stimes :: Integral b => b -> MSet a -> MSet a #

Ord a => Monoid (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

mempty :: MSet a #

mappend :: MSet a -> MSet a -> MSet a #

mconcat :: [MSet a] -> MSet a #

(Ord a, Arbitrary a) => Arbitrary (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (MSet a) #

shrink :: MSet a -> [MSet a] #

ToJSON a => ToJSON (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(Ord a, FromJSON a) => FromJSON (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise (MSet NgramsTerm) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(ToJSONKey a, ToSchema a) => ToSchema (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord a => Action (PatchMSet a) (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PatchMSet a -> MSet a -> MSet a #

Ord a => Applicable (PatchMSet a) (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PatchMSet a -> MSet a -> Validation

type Rep (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (MSet a) = D1 ('MetaData "MSet" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'True) (C1 ('MetaCons "MSet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map a ()))))

mSetFromList :: Ord a => [a] -> MSet a Source #

mSetToList :: MSet a -> [a] Source #

data Repo s p Source #

TOREMOVE

Constructors

Repo 

Fields

Instances

Instances details
(Show s, Show p) => Show (Repo s p) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

showsPrec :: Int -> Repo s p -> ShowS #

show :: Repo s p -> String #

showList :: [Repo s p] -> ShowS #

Generic (Repo s p) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (Repo s p) :: Type -> Type #

Methods

from :: Repo s p -> Rep (Repo s p) x #

to :: Rep (Repo s p) x -> Repo s p #

(ToJSON s, ToJSON p) => ToJSON (Repo s p) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

toJSON :: Repo s p -> Value #

toEncoding :: Repo s p -> Encoding #

toJSONList :: [Repo s p] -> Value #

toEncodingList :: [Repo s p] -> Encoding #

(FromJSON s, FromJSON p) => FromJSON (Repo s p) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

parseJSON :: Value -> Parser (Repo s p) #

parseJSONList :: Value -> Parser [Repo s p] #

(Serialise s, Serialise p) => Serialise (Repo s p) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

encode :: Repo s p -> Encoding #

decode :: Decoder s0 (Repo s p) #

encodeList :: [Repo s p] -> Encoding #

decodeList :: Decoder s0 [Repo s p] #

type Rep (Repo s p) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (Repo s p) = D1 ('MetaData "Repo" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Repo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_r_version") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Version) :*: (S1 ('MetaSel ('Just "_r_state") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 s) :*: S1 ('MetaSel ('Just "_r_history") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [p]))))

r_version :: forall s p. Lens' (Repo s p) Version Source #

r_state :: forall s p s. Lens (Repo s p) (Repo s p) s s Source #

r_history :: forall s p p. Lens (Repo s p) (Repo s p) [p] [p] Source #

data NgramsRepoElement Source #

Instances

Instances details
Eq NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsRepoElement :: Type -> Type #

Arbitrary NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsPatch (Maybe NgramsRepoElement) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsPatch (Maybe NgramsRepoElement) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid (Archive NgramsState' NgramsStatePatch') Source # 
Instance details

Defined in Gargantext.Core.NodeStory

Action (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> NgramsRepoElement #

Applicable (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> Validation

type Rep NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsRepoElement = D1 ('MetaData "NgramsRepoElement" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "NgramsRepoElement" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_nre_size") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_nre_list") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ListType)) :*: (S1 ('MetaSel ('Just "_nre_root") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NgramsTerm)) :*: (S1 ('MetaSel ('Just "_nre_parent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NgramsTerm)) :*: S1 ('MetaSel ('Just "_nre_children") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MSet NgramsTerm))))))

data TabType Source #

Instances

Instances details
Bounded TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Enum TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

Ord TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep TabType :: Type -> Type #

Methods

from :: TabType -> Rep TabType x #

to :: Rep TabType x -> TabType #

Arbitrary TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Hashable TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

hashWithSalt :: Int -> TabType -> Int #

hash :: TabType -> Int #

ToJSON TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSONKey TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSONKey TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromHttpApiData TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToParamSchema TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

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

type Rep TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep TabType = D1 ('MetaData "TabType" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (((C1 ('MetaCons "Docs" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Trash" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MoreFav" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MoreTrash" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Terms" 'PrefixI 'False) (U1 :: Type -> Type) :+: 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 "Contacts" 'PrefixI 'False) (U1 :: Type -> Type)))))

data TODO Source #

Instances

Instances details
Generic TODO Source # 
Instance details

Defined in Gargantext.Core.Types

Associated Types

type Rep TODO :: Type -> Type #

Methods

from :: TODO -> Rep TODO x #

to :: Rep TODO x -> TODO #

ToSchema TODO Source # 
Instance details

Defined in Gargantext.Core.Types

ToParamSchema TODO Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

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

type Rep TODO Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep TODO = D1 ('MetaData "TODO" "Gargantext.Core.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "TODO" 'PrefixI 'False) (U1 :: Type -> Type))

dumpJsonTableMap :: HasNodeStory env err m => Text -> NodeId -> NgramsType -> m () Source #

data Versioned a Source #

Constructors

Versioned 

Fields

Instances

Instances details
Eq a => Eq (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(==) :: Versioned a -> Versioned a -> Bool #

(/=) :: Versioned a -> Versioned a -> Bool #

Show a => Show (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (Versioned a) :: Type -> Type #

Methods

from :: Versioned a -> Rep (Versioned a) x #

to :: Rep (Versioned a) x -> Versioned a #

Arbitrary a => Arbitrary (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (Versioned a) #

shrink :: Versioned a -> [Versioned a] #

ToJSON a => ToJSON (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON a => FromJSON (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(Typeable a, ToSchema a) => ToSchema (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (Versioned a) = D1 ('MetaData "Versioned" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Versioned" 'PrefixI 'True) (S1 ('MetaSel ('Just "_v_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Version) :*: S1 ('MetaSel ('Just "_v_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

data VersionedWithCount a Source #

Constructors

VersionedWithCount 

Instances

Instances details
Eq a => Eq (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show a => Show (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (VersionedWithCount a) :: Type -> Type #

Arbitrary a => Arbitrary (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON a => ToJSON (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON a => FromJSON (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(Typeable a, ToSchema a) => ToSchema (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (VersionedWithCount a) = D1 ('MetaData "VersionedWithCount" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "VersionedWithCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "_vc_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Version) :*: (S1 ('MetaSel ('Just "_vc_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Count) :*: S1 ('MetaSel ('Just "_vc_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))))

listNgramsChangedSince :: HasNodeStory env err m => ListId -> NgramsType -> Version -> m (Versioned Bool) Source #