arch-web-0.1.0: Arch Linux official and AUR web interface binding
Copyright(c) 2021 berberman
LicenseMIT
Maintainerberberman <berberman@yandex.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Web.ArchLinux.Types

Description

This module defines types and their serializations used in API.

Fields' names are prefixed with _ for lenses generation, consider using Web.ArchLinux.Types.Lens to access data types smoothly.

Synopsis

Arch Linux official

data Repo Source #

Official repositories.

Instances

Instances details
Enum Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

succ :: Repo -> Repo #

pred :: Repo -> Repo #

toEnum :: Int -> Repo #

fromEnum :: Repo -> Int #

enumFrom :: Repo -> [Repo] #

enumFromThen :: Repo -> Repo -> [Repo] #

enumFromTo :: Repo -> Repo -> [Repo] #

enumFromThenTo :: Repo -> Repo -> Repo -> [Repo] #

Eq Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

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

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

Ord Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

compare :: Repo -> Repo -> Ordering #

(<) :: Repo -> Repo -> Bool #

(<=) :: Repo -> Repo -> Bool #

(>) :: Repo -> Repo -> Bool #

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

max :: Repo -> Repo -> Repo #

min :: Repo -> Repo -> Repo #

Show Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

showsPrec :: Int -> Repo -> ShowS #

show :: Repo -> String #

showList :: [Repo] -> ShowS #

Generic Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep Repo :: Type -> Type #

Methods

from :: Repo -> Rep Repo x #

to :: Rep Repo x -> Repo #

ToJSON Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

ToHttpApiData Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

HasRepo PackageFiles Repo Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasRepo PackageInformation Repo Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep Repo Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep Repo = D1 ('MetaData "Repo" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) ((C1 ('MetaCons "Core" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Extra" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Testing" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Multilib" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultilibTesting" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Community" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CommunityTesting" 'PrefixI 'False) (U1 :: Type -> Type))))

data Arch Source #

Official architectures.

Constructors

Any 
I686 
X86_64 

Instances

Instances details
Enum Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

succ :: Arch -> Arch #

pred :: Arch -> Arch #

toEnum :: Int -> Arch #

fromEnum :: Arch -> Int #

enumFrom :: Arch -> [Arch] #

enumFromThen :: Arch -> Arch -> [Arch] #

enumFromTo :: Arch -> Arch -> [Arch] #

enumFromThenTo :: Arch -> Arch -> Arch -> [Arch] #

Eq Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

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

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

Ord Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

compare :: Arch -> Arch -> Ordering #

(<) :: Arch -> Arch -> Bool #

(<=) :: Arch -> Arch -> Bool #

(>) :: Arch -> Arch -> Bool #

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

max :: Arch -> Arch -> Arch #

min :: Arch -> Arch -> Arch #

Show Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

showsPrec :: Int -> Arch -> ShowS #

show :: Arch -> String #

showList :: [Arch] -> ShowS #

Generic Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep Arch :: Type -> Type #

Methods

from :: Arch -> Rep Arch x #

to :: Rep Arch x -> Arch #

ToJSON Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

ToHttpApiData Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

HasArch PackageFiles Arch Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasArch PackageInformation Arch Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep Arch Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep Arch = D1 ('MetaData "Arch" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) (C1 ('MetaCons "Any" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "I686" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "X86_64" 'PrefixI 'False) (U1 :: Type -> Type)))

data License Source #

Instances

Instances details
Eq License Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

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

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

Ord License Source # 
Instance details

Defined in Web.ArchLinux.Types

Show License Source # 
Instance details

Defined in Web.ArchLinux.Types

Generic License Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep License :: Type -> Type #

Methods

from :: License -> Rep License x #

to :: Rep License x -> License #

ToJSON License Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON License Source # 
Instance details

Defined in Web.ArchLinux.Types

HasLicenses AurInfo [License] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasLicenses PackageInformation [License] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep License Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep License = D1 ('MetaData "License" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) ((((C1 ('MetaCons "AGPL3" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Apache" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Artistic2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CDDL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CPL" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "EPL" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FDL1_2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FDL1_3" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "GPL2" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GPL3" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LGPL2_1" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LGPL3" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LPPL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MPL" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "MPL2" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PHP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PSF" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PerlArtistic" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RUBY" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unlicense" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "W3C" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ZPL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))))

data PackageInformation Source #

Package details returned by getPackageDetails.

Instances

Instances details
Eq PackageInformation Source # 
Instance details

Defined in Web.ArchLinux.Types

Ord PackageInformation Source # 
Instance details

Defined in Web.ArchLinux.Types

Show PackageInformation Source # 
Instance details

Defined in Web.ArchLinux.Types

Generic PackageInformation Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep PackageInformation :: Type -> Type #

ToJSON PackageInformation Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON PackageInformation Source # 
Instance details

Defined in Web.ArchLinux.Types

HasUrl PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasRepo PackageInformation Repo Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPkgver PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPkgrel PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPkgname PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPkgdesc PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPkgbase PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPackager PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasLastUpdate PackageInformation UTCTime Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasInstalledSize PackageInformation Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasFilename PackageInformation Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasEpoch PackageInformation Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasCompressedSize PackageInformation Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasBuildDate PackageInformation UTCTime Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasArch PackageInformation Arch Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasReplaces PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasProvides PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasOptdepends PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasMakedepends PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasMaintainers PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasLicenses PackageInformation [License] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasGroups PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasFlageDate PackageInformation (Maybe UTCTime) Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasDepends PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasConflicts PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasCheckdepends PackageInformation [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep PackageInformation Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep PackageInformation = D1 ('MetaData "PackageInformation" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) (C1 ('MetaCons "PackageInformation" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "_pkgname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_pkgbase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_repo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Repo))) :*: (S1 ('MetaSel ('Just "_arch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Arch) :*: (S1 ('MetaSel ('Just "_pkgver") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_pkgrel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "_epoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_pkgdesc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "_filename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_compressedSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "_installedSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_buildDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime))))) :*: (((S1 ('MetaSel ('Just "_lastUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "_flageDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime)) :*: S1 ('MetaSel ('Just "_maintainers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))) :*: (S1 ('MetaSel ('Just "_packager") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_licenses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [License])))) :*: ((S1 ('MetaSel ('Just "_conflicts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: (S1 ('MetaSel ('Just "_provides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_replaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))) :*: ((S1 ('MetaSel ('Just "_depends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_optdepends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :*: (S1 ('MetaSel ('Just "_makedepends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_checkdepends") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))))))

data PackageFiles Source #

Package files list returned by getPackageFiles

Instances

Instances details
Eq PackageFiles Source # 
Instance details

Defined in Web.ArchLinux.Types

Ord PackageFiles Source # 
Instance details

Defined in Web.ArchLinux.Types

Show PackageFiles Source # 
Instance details

Defined in Web.ArchLinux.Types

Generic PackageFiles Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep PackageFiles :: Type -> Type #

ToJSON PackageFiles Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON PackageFiles Source # 
Instance details

Defined in Web.ArchLinux.Types

HasRepo PackageFiles Repo Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPkgname PackageFiles Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasArch PackageFiles Arch Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPkgLastUpdate PackageFiles UTCTime Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasFilesLastUpdate PackageFiles UTCTime Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasFilesCount PackageFiles Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasDirCount PackageFiles Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasFiles PackageFiles [FilePath] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep PackageFiles Source # 
Instance details

Defined in Web.ArchLinux.Types

data Flagged Source #

Flagged package means out-of-date.

Constructors

Flagged 
NotFlagged 

Instances

Instances details
Enum Flagged Source # 
Instance details

Defined in Web.ArchLinux.Types

Eq Flagged Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

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

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

Ord Flagged Source # 
Instance details

Defined in Web.ArchLinux.Types

Show Flagged Source # 
Instance details

Defined in Web.ArchLinux.Types

Generic Flagged Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep Flagged :: Type -> Type #

Methods

from :: Flagged -> Rep Flagged x #

to :: Rep Flagged x -> Flagged #

ToHttpApiData Flagged Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep Flagged Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep Flagged = D1 ('MetaData "Flagged" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) (C1 ('MetaCons "Flagged" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NotFlagged" 'PrefixI 'False) (U1 :: Type -> Type))

data ArchLinuxResponse a Source #

Response data type of searchPackage.

Constructors

ArchLinuxResponse 

Fields

Instances

Instances details
Functor ArchLinuxResponse Source # 
Instance details

Defined in Web.ArchLinux.Types

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

Defined in Web.ArchLinux.Types

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

Defined in Web.ArchLinux.Types

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

Defined in Web.ArchLinux.Types

Generic (ArchLinuxResponse a) Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

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

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

Defined in Web.ArchLinux.Types

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

Defined in Web.ArchLinux.Types

HasVersion (ArchLinuxResponse a) Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasValid (ArchLinuxResponse a) Bool Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasLimit (ArchLinuxResponse a) Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasResults (ArchLinuxResponse a) [a] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep (ArchLinuxResponse a) Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep (ArchLinuxResponse a) = D1 ('MetaData "ArchLinuxResponse" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) (C1 ('MetaCons "ArchLinuxResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "_valid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a]))))

AUR

data AurSearch Source #

Search results returned by searchAur.

Some of fileds are renamed in this record type, for sharing overloaded lenses between data type returned by Arch Linux official API.

Instances

Instances details
Eq AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types

Ord AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types

Show AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types

Generic AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep AurSearch :: Type -> Type #

ToJSON AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types

HasVersion AurSearch Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasUrlPath AurSearch Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPopularity AurSearch Double Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPackageBaseID AurSearch Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasPackageBase AurSearch Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasNumVotes AurSearch Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasName AurSearch Text Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasLastModified AurSearch Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasId AurSearch Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasFirstSubmitted AurSearch Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasSearch AurInfo AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasUrl AurSearch (Maybe Text) Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasOutOfDate AurSearch (Maybe Int) Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasMaintainer AurSearch (Maybe Text) Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasDescription AurSearch (Maybe Text) Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep AurSearch = D1 ('MetaData "AurSearch" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) (C1 ('MetaCons "AurSearch" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_packageBaseID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "_packageBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "_numVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_popularity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_outOfDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "_maintainer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_firstSubmitted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "_lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_urlPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))))

data AurInfo Source #

Package details returned by getAurInfo.

This data type extends AurSearch informally, so it includes $sel:_search:AurInfo as a member.

Constructors

AurInfo 

Fields

Instances

Instances details
Eq AurInfo Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

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

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

Ord AurInfo Source # 
Instance details

Defined in Web.ArchLinux.Types

Show AurInfo Source # 
Instance details

Defined in Web.ArchLinux.Types

Generic AurInfo Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep AurInfo :: Type -> Type #

Methods

from :: AurInfo -> Rep AurInfo x #

to :: Rep AurInfo x -> AurInfo #

ToJSON AurInfo Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON AurInfo Source # 
Instance details

Defined in Web.ArchLinux.Types

HasSearch AurInfo AurSearch Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasReplaces AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasProvides AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasOptdepends AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasMakedepends AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasLicenses AurInfo [License] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasGroups AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasDepends AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasConflicts AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasCheckdepends AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasKeywords AurInfo [Text] Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep AurInfo Source # 
Instance details

Defined in Web.ArchLinux.Types

data AurResponseType Source #

Return types of AUR API.

Constructors

Search 
Multiinfo 
Error 

Instances

Instances details
Enum AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

Eq AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

Ord AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

Show AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

Generic AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

type Rep AurResponseType :: Type -> Type #

ToJSON AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

FromJSON AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

HasAurType (AurResponse a) AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep AurResponseType = D1 ('MetaData "AurResponseType" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) (C1 ('MetaCons "Search" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Multiinfo" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type)))

data AurResponse a Source #

Response data type of AUR API.

Constructors

AurResponse 

Fields

Instances

Instances details
Functor AurResponse Source # 
Instance details

Defined in Web.ArchLinux.Types

Methods

fmap :: (a -> b) -> AurResponse a -> AurResponse b #

(<$) :: a -> AurResponse b -> AurResponse a #

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

Defined in Web.ArchLinux.Types

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

Defined in Web.ArchLinux.Types

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

Defined in Web.ArchLinux.Types

Generic (AurResponse a) Source # 
Instance details

Defined in Web.ArchLinux.Types

Associated Types

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

Methods

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

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

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

Defined in Web.ArchLinux.Types

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

Defined in Web.ArchLinux.Types

HasVersion (AurResponse a) Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasResults (AurResponse a) a Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

Methods

results :: Lens' (AurResponse a) a Source #

HasResultCount (AurResponse a) Int Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasAurType (AurResponse a) AurResponseType Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

HasError (AurResponse a) (Maybe Text) Source # 
Instance details

Defined in Web.ArchLinux.Types.Lens

type Rep (AurResponse a) Source # 
Instance details

Defined in Web.ArchLinux.Types

type Rep (AurResponse a) = D1 ('MetaData "AurResponse" "Web.ArchLinux.Types" "arch-web-0.1.0-7J62kgowy8x3sxGRZ3Yuyz" 'False) (C1 ('MetaCons "AurResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_aurType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AurResponseType)) :*: (S1 ('MetaSel ('Just "_resultCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "_error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))