mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-20 14:57:41 +03:00
Re-arrange
This commit is contained in:
parent
b3eb2601a2
commit
2af0dbc854
@ -72,6 +72,13 @@ type UnisonName = Text
|
||||
|
||||
type UnisonHash = Text
|
||||
|
||||
data NamespaceDetails = NamespaceDetails
|
||||
{ fqn :: Path.Path,
|
||||
hash :: UnisonHash,
|
||||
readme :: Maybe Doc
|
||||
}
|
||||
deriving (Generic, Show)
|
||||
|
||||
instance Docs.ToSample NamespaceDetails where
|
||||
toSamples _ =
|
||||
[ ( "When no value is provided for `namespace`, the root namespace `.` is "
|
||||
@ -83,13 +90,6 @@ instance Docs.ToSample NamespaceDetails where
|
||||
)
|
||||
]
|
||||
|
||||
data NamespaceDetails = NamespaceDetails
|
||||
{ fqn :: Path.Path,
|
||||
hash :: UnisonHash,
|
||||
readme :: Maybe Doc
|
||||
}
|
||||
deriving (Generic, Show)
|
||||
|
||||
instance ToJSON NamespaceDetails where
|
||||
toJSON NamespaceDetails {..} =
|
||||
object
|
||||
|
Loading…
Reference in New Issue
Block a user