| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.IPFS
Description
Types for IPFS servics
Synopsis
- data IPFSAdd = IPFSAdd {}
- data IPFSPinChange = IPFSPinChange {}
- data IPFSPin = IPFSPin {}
- data PinState
- newtype IPFSData = IPFSData ByteString
Documentation
IPFS Add response
Constructors
| IPFSAdd | |
Fields
| |
Instances
| FromJSON IPFSAdd Source # | |
Defined in Blockfrost.Types.IPFS | |
| ToJSON IPFSAdd Source # | |
| Generic IPFSAdd Source # | |
| Show IPFSAdd Source # | |
| Eq IPFSAdd Source # | |
| ToSample IPFSAdd Source # | |
| HasIpfsHash IPFSAdd Text Source # | |
| HasName IPFSAdd Text Source # | |
| HasSize IPFSAdd Quantity Source # | |
| type Rep IPFSAdd Source # | |
Defined in Blockfrost.Types.IPFS type Rep IPFSAdd = D1 ('MetaData "IPFSAdd" "Blockfrost.Types.IPFS" "blockfrost-api-0.10.0.0-H3DI7ESLvrxAKlRg74H5QM" '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
Constructors
| IPFSPinChange | |
Fields
| |
Instances
IPFS Pin information
Constructors
| IPFSPin | |
Fields
| |
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
| FromJSON PinState Source # | |
Defined in Blockfrost.Types.IPFS | |
| ToJSON PinState Source # | |
| Generic PinState Source # | |
| Show PinState Source # | |
| Eq PinState Source # | |
| Ord PinState Source # | |
Defined in Blockfrost.Types.IPFS | |
| 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.10.0.0-H3DI7ESLvrxAKlRg74H5QM" '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)))) | |
Constructors
| IPFSData ByteString |