blockfrost-api-0.4.0.1: API definitions for blockfrost.io
Safe Haskell None
Language Haskell2010

Blockfrost.Types.IPFS

Description

Types for IPFS servics

Synopsis

Documentation

data IPFSAdd Source #

IPFS Add response

Constructors

IPFSAdd

Fields

Instances

Instances details
Eq IPFSAdd Source #
Instance details

Defined in Blockfrost.Types.IPFS

Show IPFSAdd Source #
Instance details

Defined in Blockfrost.Types.IPFS

Generic IPFSAdd Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON IPFSAdd Source #
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON IPFSAdd Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToSample IPFSAdd Source #
Instance details

Defined in Blockfrost.Types.IPFS

HasName IPFSAdd Text Source #
Instance details

Defined in Blockfrost.Lens

HasSize IPFSAdd Quantity Source #
Instance details

Defined in Blockfrost.Lens

HasIpfsHash IPFSAdd Text Source #
Instance details

Defined in Blockfrost.Lens

type Rep IPFSAdd Source #
Instance details

Defined in Blockfrost.Types.IPFS

data IPFSPinChange Source #

IPFS Pin Add response

Constructors

IPFSPinChange

Fields

Instances

Instances details
Eq IPFSPinChange Source #
Instance details

Defined in Blockfrost.Types.IPFS

Show IPFSPinChange Source #
Instance details

Defined in Blockfrost.Types.IPFS

Generic IPFSPinChange Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON IPFSPinChange Source #
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON IPFSPinChange Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToSample IPFSPinChange Source #
Instance details

Defined in Blockfrost.Types.IPFS

HasIpfsHash IPFSPinChange Text Source #
Instance details

Defined in Blockfrost.Lens

HasState IPFSPinChange PinState Source #
Instance details

Defined in Blockfrost.Lens

type Rep IPFSPinChange Source #
Instance details

Defined in Blockfrost.Types.IPFS

type Rep IPFSPinChange = D1 (' MetaData "IPFSPinChange" "Blockfrost.Types.IPFS" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' False ) ( C1 (' MetaCons "IPFSPinChange" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_ipfsPinChangeIpfsHash") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text ) :*: S1 (' MetaSel (' Just "_ipfsPinChangeState") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 PinState )))

data IPFSPin Source #

IPFS Pin information

Constructors

IPFSPin

Fields

Instances

Instances details
Eq IPFSPin Source #
Instance details

Defined in Blockfrost.Types.IPFS

Show IPFSPin Source #
Instance details

Defined in Blockfrost.Types.IPFS

Generic IPFSPin Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON IPFSPin Source #
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON IPFSPin Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToSample IPFSPin Source #
Instance details

Defined in Blockfrost.Types.IPFS

HasSize IPFSPin Quantity Source #
Instance details

Defined in Blockfrost.Lens

HasIpfsHash IPFSPin Text Source #
Instance details

Defined in Blockfrost.Lens

HasState IPFSPin PinState Source #
Instance details

Defined in Blockfrost.Lens

HasTimePinned IPFSPin POSIXTime Source #
Instance details

Defined in Blockfrost.Lens

HasTimeCreated IPFSPin POSIXTime Source #
Instance details

Defined in Blockfrost.Lens

type Rep IPFSPin Source #
Instance details

Defined in Blockfrost.Types.IPFS

data PinState Source #

State of the pinned object, which is Queued when we are retriving object.

If this is successful the state is changed to Pinned or Failed if not. The state Gc means the pinned item has been garbage collected due to account being over storage quota or after it has been moved to Unpinned state by removing the object pin.

Instances

Instances details
Eq PinState Source #
Instance details

Defined in Blockfrost.Types.IPFS

Ord PinState Source #
Instance details

Defined in Blockfrost.Types.IPFS

Show PinState Source #
Instance details

Defined in Blockfrost.Types.IPFS

Generic PinState Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON PinState Source #
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON PinState Source #
Instance details

Defined in Blockfrost.Types.IPFS

HasState IPFSPin PinState Source #
Instance details

Defined in Blockfrost.Lens

HasState IPFSPinChange PinState Source #
Instance details

Defined in Blockfrost.Lens

type Rep PinState Source #
Instance details

Defined in Blockfrost.Types.IPFS

type Rep PinState = D1 (' MetaData "PinState" "Blockfrost.Types.IPFS" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' False ) (( C1 (' MetaCons "Queued" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Pinned" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "Unpinned" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "Failed" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Gc" ' PrefixI ' False ) ( U1 :: Type -> Type ))))

newtype IPFSData Source #

Instances

Instances details
Eq IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

Show IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

Generic IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

ToSample IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

MimeRender PlainText IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

MimeRender OctetStream IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

MimeUnrender PlainText IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

MimeUnrender OctetStream IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

type Rep IPFSData Source #
Instance details

Defined in Blockfrost.Types.IPFS

type Rep IPFSData = D1 (' MetaData "IPFSData" "Blockfrost.Types.IPFS" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' True ) ( C1 (' MetaCons "IPFSData" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ByteString )))