mirror of https://github.com/voidlizard/hbs2
25 lines
380 B
Haskell
25 lines
380 B
Haskell
module HBS2Git.Annotations where
|
|
|
|
import HBS2.Prelude.Plated
|
|
import HBS2.Data.Types.Refs
|
|
|
|
import HBS2Git.Encryption
|
|
|
|
import Codec.Serialise
|
|
|
|
data Annotation =
|
|
GK1 HashRef (GroupKey 'Symm HBS2Basic)
|
|
deriving (Generic)
|
|
|
|
data Annotations =
|
|
NoAnnotations
|
|
| SmallAnnotations [Annotation]
|
|
deriving (Generic)
|
|
|
|
instance Serialise Annotation
|
|
instance Serialise Annotations
|
|
|
|
|
|
|
|
|