Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ContactAPI mode = ContactAPI {
- contactAsyncAPI :: mode :- ("contact" :> (Summary "Contact endpoint" :> NamedRoutes ContactAsyncAPI))
- getContactEp :: mode :- (Capture "contact_id" NodeId :> NamedRoutes (NodeNodeAPI HyperdataContact))
- newtype ContactAsyncAPI mode = ContactAsyncAPI {
- addContactAsyncEp :: mode :- AsyncJobs JobLog '[JSON] AddContactParams JobLog
- data AddContactParams
- = AddContactParams { }
- | AddContactParamsAdvanced { }
Routes types
data ContactAPI mode #
ContactAPI | |
|
Instances
Generic (ContactAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Contact type Rep (ContactAPI mode) :: Type -> Type # from :: ContactAPI mode -> Rep (ContactAPI mode) x # to :: Rep (ContactAPI mode) x -> ContactAPI mode # | |
type Rep (ContactAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Contact type Rep (ContactAPI mode) = D1 ('MetaData "ContactAPI" "Gargantext.API.Routes.Named.Contact" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "ContactAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactAsyncAPI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- ("contact" :> (Summary "Contact endpoint" :> NamedRoutes ContactAsyncAPI)))) :*: S1 ('MetaSel ('Just "getContactEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Capture "contact_id" NodeId :> NamedRoutes (NodeNodeAPI HyperdataContact)))))) |
newtype ContactAsyncAPI mode #
Instances
Generic (ContactAsyncAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Contact type Rep (ContactAsyncAPI mode) :: Type -> Type # from :: ContactAsyncAPI mode -> Rep (ContactAsyncAPI mode) x # to :: Rep (ContactAsyncAPI mode) x -> ContactAsyncAPI mode # | |
type Rep (ContactAsyncAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Contact type Rep (ContactAsyncAPI mode) = D1 ('MetaData "ContactAsyncAPI" "Gargantext.API.Routes.Named.Contact" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "ContactAsyncAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "addContactAsyncEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- AsyncJobs JobLog '[JSON] AddContactParams JobLog)))) |
API types (appears in the routes)
data AddContactParams #
Instances
Generic AddContactParams # | |
Defined in Gargantext.API.Routes.Named.Contact type Rep AddContactParams :: Type -> Type # from :: AddContactParams -> Rep AddContactParams x # to :: Rep AddContactParams x -> AddContactParams # | |
type Rep AddContactParams # | |
Defined in Gargantext.API.Routes.Named.Contact type Rep AddContactParams = D1 ('MetaData "AddContactParams" "Gargantext.API.Routes.Named.Contact" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "AddContactParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "firstname") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lastname") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "AddContactParamsAdvanced" 'PrefixI 'True) (S1 ('MetaSel ('Just "firstname") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lastname") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) |