module Network.Ipfs.Api.Internal where
import Data.Proxy (Proxy (..))
import Data.Text (Text)
import Servant.API
import Servant.Client (ClientM, client)
import Network.Ipfs.Api.Types
_ipfsApi :: Proxy IpfsApi
_ipfsApi :: Proxy IpfsApi
_ipfsApi = Proxy IpfsApi
forall k (t :: k). Proxy t
Proxy
_cat :: Text -> ClientM CatReturnType
_ls :: Text -> ClientM LsObj
_get :: Text -> ClientM GetReturnType
_swarmPeers :: ClientM SwarmPeersObj
_swarmConnect :: Maybe Text -> ClientM SwarmObj
_swarmDisconnect :: Maybe Text -> ClientM SwarmObj
_swarmFilters :: ClientM SwarmObj
_swarmFilterAdd :: Maybe Text -> ClientM SwarmObj
_swarmFilterRm :: Maybe Text -> ClientM SwarmObj
_bitswapStat :: ClientM BitswapStatObj
_bitswapWL :: ClientM BitswapWLObj
_bitswapLedger :: Text -> ClientM BitswapLedgerObj
_bitswapReprovide :: ClientM ReprovideReturnType
_cidBases :: ClientM [CidBasesObj]
_cidCodecs :: ClientM [CidCodecsObj]
_cidHashes :: ClientM [CidHashesObj]
_cidBase32 :: Text -> ClientM CidObj
_cidFormat :: Text -> ClientM CidObj
_blockGet :: Text -> ClientM BlockReturnType
_blockStat :: Text -> ClientM BlockObj
_dagGet :: Text -> ClientM DagReturnType
_dagResolve :: Text -> ClientM DagResolveObj
_configGet :: Text -> ClientM ConfigObj
_configSet :: Text -> Maybe Text -> ClientM ConfigObj
_objectData :: Text -> ClientM ObjectReturnType
_objectNew :: ClientM ObjectObj
_objectGetLinks :: Text -> ClientM ObjectLinksObj
_objectAddLink :: Text -> Maybe Text -> Maybe Text -> ClientM ObjectLinksObj
_objectRmLink :: Text -> Maybe Text -> ClientM ObjectLinksObj
_objectGet :: Text -> ClientM ObjectGetObj
_objectDiff :: Text -> Maybe Text -> ClientM ObjectDiffObj
_objectStat :: Text -> ClientM ObjectStatObj
_pinAdd :: Text -> ClientM PinObj
_pinRemove :: Text -> ClientM PinObj
_bootstrapAdd :: Maybe Text -> ClientM BootstrapObj
_bootstrapList :: ClientM BootstrapObj
_bootstrapRM :: Maybe Text -> ClientM BootstrapObj
_statsBw :: ClientM StatsBwObj
_statsRepo :: ClientM StatsRepoObj
_version :: ClientM VersionObj
_id :: ClientM IdObj
_idPeer :: Text -> ClientM IdObj
_dns :: Text -> ClientM DnsObj
_pubsubLs :: ClientM PubsubObj
_pubsubPeers :: ClientM PubsubObj
_pubsubPublish :: Text -> Maybe Text -> ClientM NoContent
_logLs :: ClientM LogLsObj
_logLevel :: Text -> Maybe Text -> ClientM LogLevelObj
_repoVersion :: ClientM RepoVersionObj
_repoFsck :: ClientM RepoFsckObj
_keyGen :: Text -> (Maybe Text) -> ClientM KeyDetailsObj
_keyList :: ClientM KeyObj
_keyRename :: Text -> (Maybe Text) -> ClientM KeyRenameObj
_keyRm :: Text -> ClientM KeyObj
_filesChcid :: Maybe Text -> Maybe Int -> ClientM NoContent
_filesCp :: Maybe Text -> Maybe Text -> ClientM NoContent
_filesFlush :: Maybe Text -> ClientM FilesFlushObj
_filesLs :: Maybe Text -> ClientM FilesLsObj
_filesMkdir :: Maybe Text -> ClientM NoContent
_filesMv :: Maybe Text -> Maybe Text -> ClientM NoContent
_filesRead :: Maybe Text -> ClientM FilesReadType
_filesRm :: Maybe Text -> Maybe Bool -> ClientM NoContent
_filesStat :: Maybe Text -> ClientM FilesStatObj
_shutdown :: ClientM NoContent
Text -> ClientM Text
_cat :<|> Text -> ClientM LsObj
_ls :<|> Text -> ClientM Text
_get :<|> ClientM SwarmPeersObj
_swarmPeers :<|> Maybe Text -> ClientM SwarmObj
_swarmConnect :<|> Maybe Text -> ClientM SwarmObj
_swarmDisconnect :<|>
ClientM SwarmObj
_swarmFilters :<|> Maybe Text -> ClientM SwarmObj
_swarmFilterAdd :<|> Maybe Text -> ClientM SwarmObj
_swarmFilterRm :<|> ClientM BitswapStatObj
_bitswapStat :<|> ClientM BitswapWLObj
_bitswapWL :<|> Text -> ClientM BitswapLedgerObj
_bitswapLedger :<|>
ClientM Text
_bitswapReprovide :<|> ClientM [CidBasesObj]
_cidBases :<|> ClientM [CidCodecsObj]
_cidCodecs :<|> ClientM [CidHashesObj]
_cidHashes :<|> Text -> ClientM CidObj
_cidBase32 :<|> Text -> ClientM CidObj
_cidFormat :<|>
Text -> ClientM Text
_blockGet :<|> Text -> ClientM BlockObj
_blockStat :<|> Text -> ClientM Text
_dagGet :<|> Text -> ClientM DagResolveObj
_dagResolve :<|> Text -> ClientM ConfigObj
_configGet :<|>
Text -> Maybe Text -> ClientM ConfigObj
_configSet :<|> Text -> ClientM Text
_objectData :<|> ClientM ObjectObj
_objectNew :<|> Text -> ClientM ObjectLinksObj
_objectGetLinks :<|> Text -> Maybe Text -> Maybe Text -> ClientM ObjectLinksObj
_objectAddLink :<|> Text -> Maybe Text -> ClientM ObjectLinksObj
_objectRmLink :<|>
Text -> ClientM ObjectGetObj
_objectGet :<|> Text -> Maybe Text -> ClientM ObjectDiffObj
_objectDiff :<|> Text -> ClientM ObjectStatObj
_objectStat :<|> Text -> ClientM PinObj
_pinAdd :<|> Text -> ClientM PinObj
_pinRemove :<|> Maybe Text -> ClientM BootstrapObj
_bootstrapAdd :<|>
ClientM BootstrapObj
_bootstrapList :<|> Maybe Text -> ClientM BootstrapObj
_bootstrapRM :<|> ClientM StatsBwObj
_statsBw :<|> ClientM StatsRepoObj
_statsRepo :<|> ClientM VersionObj
_version :<|> ClientM IdObj
_id :<|> Text -> ClientM IdObj
_idPeer :<|>
Text -> ClientM DnsObj
_dns :<|> ClientM PubsubObj
_pubsubLs :<|> ClientM PubsubObj
_pubsubPeers :<|> Text -> Maybe Text -> ClientM NoContent
_pubsubPublish :<|> ClientM LogLsObj
_logLs :<|> Text -> Maybe Text -> ClientM LogLevelObj
_logLevel :<|> ClientM RepoVersionObj
_repoVersion :<|>
ClientM RepoFsckObj
_repoFsck :<|> Text -> Maybe Text -> ClientM KeyDetailsObj
_keyGen :<|> ClientM KeyObj
_keyList :<|> Text -> Maybe Text -> ClientM KeyRenameObj
_keyRename :<|> Text -> ClientM KeyObj
_keyRm :<|> Maybe Text -> Maybe Int -> ClientM NoContent
_filesChcid :<|> Maybe Text -> Maybe Text -> ClientM NoContent
_filesCp :<|>
Maybe Text -> ClientM FilesFlushObj
_filesFlush :<|> Maybe Text -> ClientM FilesLsObj
_filesLs :<|> Maybe Text -> ClientM NoContent
_filesMkdir :<|> Maybe Text -> Maybe Text -> ClientM NoContent
_filesMv :<|> Maybe Text -> ClientM Text
_filesRead :<|> Maybe Text -> Maybe Bool -> ClientM NoContent
_filesRm :<|> Maybe Text -> ClientM FilesStatObj
_filesStat :<|>
ClientM NoContent
_shutdown = Proxy IpfsApi -> Client ClientM IpfsApi
forall api.
HasClient ClientM api =>
Proxy api -> Client ClientM api
client Proxy IpfsApi
_ipfsApi