Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types for IPFS servics
Synopsis
- data IPFSAdd = IPFSAdd {}
- data IPFSPinChange = IPFSPinChange {}
- data IPFSPin = IPFSPin {}
- data PinState
- newtype IPFSData = IPFSData ByteString
Documentation
IPFS Add response
IPFSAdd | |
|
Instances
Eq IPFSAdd Source # | |
Show IPFSAdd Source # | |
Generic IPFSAdd Source # | |
ToJSON IPFSAdd Source # | |
Defined in Blockfrost.Types.IPFS | |
FromJSON IPFSAdd Source # | |
ToSample IPFSAdd Source # | |
HasName IPFSAdd Text Source # | |
HasSize IPFSAdd Quantity Source # | |
HasIpfsHash IPFSAdd Text Source # | |
type Rep IPFSAdd Source # | |
Defined in Blockfrost.Types.IPFS type Rep IPFSAdd = D1 ('MetaData "IPFSAdd" "Blockfrost.Types.IPFS" "blockfrost-api-0.5.0.0-Dq7ldHLZc04CRjC4qvXEA7" 'False) (C1 ('MetaCons "IPFSAdd" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ipfsAddName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_ipfsAddIpfsHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_ipfsAddSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity)))) |
data IPFSPinChange Source #
IPFS Pin Add response
IPFSPinChange | |
|
Instances
IPFS Pin information
IPFSPin | |
|
Instances
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
Eq PinState Source # | |
Ord PinState Source # | |
Defined in Blockfrost.Types.IPFS | |
Show PinState Source # | |
Generic PinState Source # | |
ToJSON PinState Source # | |
Defined in Blockfrost.Types.IPFS | |
FromJSON PinState Source # | |
HasState IPFSPin PinState Source # | |
HasState IPFSPinChange PinState Source # | |
Defined in Blockfrost.Lens | |
type Rep PinState Source # | |
Defined in Blockfrost.Types.IPFS type Rep PinState = D1 ('MetaData "PinState" "Blockfrost.Types.IPFS" "blockfrost-api-0.5.0.0-Dq7ldHLZc04CRjC4qvXEA7" '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)))) |