Unison.Server.Orphans
Contents
Methods
parseJSON :: Value -> Parser CausalHash #
parseJSONList :: Value -> Parser [CausalHash] #
parseJSON :: Value -> Parser ShortHash #
parseJSONList :: Value -> Parser [ShortHash] #
parseJSON :: Value -> Parser Hash #
parseJSONList :: Value -> Parser [Hash] #
fromJSONKey :: FromJSONKeyFunction ShortHash #
fromJSONKeyList :: FromJSONKeyFunction [ShortHash] #
toJSON :: CausalHash -> Value #
toEncoding :: CausalHash -> Encoding #
toJSONList :: [CausalHash] -> Value #
toEncodingList :: [CausalHash] -> Encoding #
toJSON :: ProjectBranchName -> Value #
toEncoding :: ProjectBranchName -> Encoding #
toJSONList :: [ProjectBranchName] -> Value #
toEncodingList :: [ProjectBranchName] -> Encoding #
toJSON :: ProjectName -> Value #
toEncoding :: ProjectName -> Encoding #
toJSONList :: [ProjectName] -> Value #
toEncodingList :: [ProjectName] -> Encoding #
toJSON :: NameSegment -> Value #
toEncoding :: NameSegment -> Encoding #
toJSONList :: [NameSegment] -> Value #
toEncodingList :: [NameSegment] -> Encoding #
toJSON :: ShortHash -> Value #
toEncoding :: ShortHash -> Encoding #
toJSONList :: [ShortHash] -> Value #
toEncodingList :: [ShortHash] -> Encoding #
toJSON :: ConstructorType -> Value #
toEncoding :: ConstructorType -> Encoding #
toJSONList :: [ConstructorType] -> Value #
toEncodingList :: [ConstructorType] -> Encoding #
toJSON :: Name -> Value #
toEncoding :: Name -> Encoding #
toJSONList :: [Name] -> Value #
toEncodingList :: [Name] -> Encoding #
toJSON :: Hash -> Value #
toEncoding :: Hash -> Encoding #
toJSONList :: [Hash] -> Value #
toEncodingList :: [Hash] -> Encoding #
toJSON :: Absolute -> Value #
toEncoding :: Absolute -> Encoding #
toJSONList :: [Absolute] -> Value #
toEncodingList :: [Absolute] -> Encoding #
toJSON :: Path -> Value #
toEncoding :: Path -> Encoding #
toJSONList :: [Path] -> Value #
toEncodingList :: [Path] -> Encoding #
toJSONKey :: ToJSONKeyFunction NameSegment #
toJSONKeyList :: ToJSONKeyFunction [NameSegment] #
toJSONKey :: ToJSONKeyFunction ShortHash #
toJSONKeyList :: ToJSONKeyFunction [ShortHash] #
toJSONKey :: ToJSONKeyFunction Name #
toJSONKeyList :: ToJSONKeyFunction [Name] #
put :: CausalHash -> Put #
get :: Get CausalHash #
putList :: [CausalHash] -> Put #
put :: Hash -> Put #
get :: Get Hash #
putList :: [Hash] -> Put #
Accepts shorthashes of any of the following forms: abcdef @builtin #abcdef ##builtin abcdef
abcdef
parseUrlPiece :: Text -> Either Text Reference #
parseHeader :: ByteString -> Either Text Reference #
parseQueryParam :: Text -> Either Text Reference #
parseUrlPiece :: Text -> Either Text ProjectBranchName #
parseHeader :: ByteString -> Either Text ProjectBranchName #
parseQueryParam :: Text -> Either Text ProjectBranchName #
parseUrlPiece :: Text -> Either Text ProjectName #
parseHeader :: ByteString -> Either Text ProjectName #
parseQueryParam :: Text -> Either Text ProjectName #
parseUrlPiece :: Text -> Either Text ShortHash #
parseHeader :: ByteString -> Either Text ShortHash #
parseQueryParam :: Text -> Either Text ShortHash #
parseUrlPiece :: Text -> Either Text Name #
parseHeader :: ByteString -> Either Text Name #
parseQueryParam :: Text -> Either Text Name #
parseUrlPiece :: Text -> Either Text Referent #
parseHeader :: ByteString -> Either Text Referent #
parseQueryParam :: Text -> Either Text Referent #
parseUrlPiece :: Text -> Either Text Absolute #
parseHeader :: ByteString -> Either Text Absolute #
parseQueryParam :: Text -> Either Text Absolute #
parseUrlPiece :: Text -> Either Text Path #
parseHeader :: ByteString -> Either Text Path #
parseQueryParam :: Text -> Either Text Path #
parseUrlPiece :: Text -> Either Text Path' #
parseHeader :: ByteString -> Either Text Path' #
parseQueryParam :: Text -> Either Text Path' #
parseUrlPiece :: Text -> Either Text Relative #
parseHeader :: ByteString -> Either Text Relative #
parseQueryParam :: Text -> Either Text Relative #
parseUrlPiece :: Text -> Either Text ShortCausalHash #
parseHeader :: ByteString -> Either Text ShortCausalHash #
parseQueryParam :: Text -> Either Text ShortCausalHash #
parseUrlPiece :: Text -> Either Text Width #
parseHeader :: ByteString -> Either Text Width #
parseQueryParam :: Text -> Either Text Width #
Always renders to the form: #abcdef
toUrlPiece :: Reference -> Text #
toEncodedUrlPiece :: Reference -> Builder #
toHeader :: Reference -> ByteString #
toQueryParam :: Reference -> Text #
toEncodedQueryParam :: Reference -> Builder #
toUrlPiece :: ShortHash -> Text #
toEncodedUrlPiece :: ShortHash -> Builder #
toHeader :: ShortHash -> ByteString #
toQueryParam :: ShortHash -> Text #
toEncodedQueryParam :: ShortHash -> Builder #
toUrlPiece :: Name -> Text #
toEncodedUrlPiece :: Name -> Builder #
toHeader :: Name -> ByteString #
toQueryParam :: Name -> Text #
toEncodedQueryParam :: Name -> Builder #
toUrlPiece :: Referent -> Text #
toEncodedUrlPiece :: Referent -> Builder #
toHeader :: Referent -> ByteString #
toQueryParam :: Referent -> Text #
toEncodedQueryParam :: Referent -> Builder #
toUrlPiece :: Absolute -> Text #
toEncodedUrlPiece :: Absolute -> Builder #
toHeader :: Absolute -> ByteString #
toQueryParam :: Absolute -> Text #
toEncodedQueryParam :: Absolute -> Builder #
toUrlPiece :: Path' -> Text #
toEncodedUrlPiece :: Path' -> Builder #
toHeader :: Path' -> ByteString #
toQueryParam :: Path' -> Text #
toEncodedQueryParam :: Path' -> Builder #
toUrlPiece :: Relative -> Text #
toEncodedUrlPiece :: Relative -> Builder #
toHeader :: Relative -> ByteString #
toQueryParam :: Relative -> Text #
toEncodedQueryParam :: Relative -> Builder #
toUrlPiece :: ShortCausalHash -> Text #
toEncodedUrlPiece :: ShortCausalHash -> Builder #
toHeader :: ShortCausalHash -> ByteString #
toQueryParam :: ShortCausalHash -> Text #
toEncodedQueryParam :: ShortCausalHash -> Builder #
toUrlPiece :: Width -> Text #
toEncodedUrlPiece :: Width -> Builder #
toHeader :: Width -> ByteString #
toQueryParam :: Width -> Text #
toEncodedQueryParam :: Width -> Builder #
toParamSchema :: Proxy Reference -> Schema #
toParamSchema :: Proxy ProjectBranchName -> Schema #
toParamSchema :: Proxy ProjectName -> Schema #
toParamSchema :: Proxy ShortHash -> Schema #
toParamSchema :: Proxy Name -> Schema #
toParamSchema :: Proxy Referent -> Schema #
toParamSchema :: Proxy Path -> Schema #
toParamSchema :: Proxy Relative -> Schema #
toParamSchema :: Proxy ShortCausalHash -> Schema #
toParamSchema :: Proxy Width -> Schema #
declareNamedSchema :: Proxy Reference -> Declare (Definitions Schema) NamedSchema #
declareNamedSchema :: Proxy ProjectBranchName -> Declare (Definitions Schema) NamedSchema #
declareNamedSchema :: Proxy ProjectName -> Declare (Definitions Schema) NamedSchema #
declareNamedSchema :: Proxy NameSegment -> Declare (Definitions Schema) NamedSchema #
declareNamedSchema :: Proxy ShortHash -> Declare (Definitions Schema) NamedSchema #
declareNamedSchema :: Proxy Name -> Declare (Definitions Schema) NamedSchema #
declareNamedSchema :: Proxy Absolute -> Declare (Definitions Schema) NamedSchema #
declareNamedSchema :: Proxy Path -> Declare (Definitions Schema) NamedSchema #
toCapture :: Proxy (Capture "branch-name" ProjectBranchName) -> DocCapture #
toCapture :: Proxy (Capture "fqn" Name) -> DocCapture #
toCapture :: Proxy (Capture "hash" Reference) -> DocCapture #
toCapture :: Proxy (Capture "hash" ShortHash) -> DocCapture #
toCapture :: Proxy (Capture "hash" Referent) -> DocCapture #
toCapture :: Proxy (Capture "namespace" Path) -> DocCapture #
toCapture :: Proxy (Capture "project-name" ProjectName) -> DocCapture #
toParam :: Proxy (QueryParam "name" Name) -> DocQueryParam #
parseJSON :: Value -> Parser (HashQualified NameSegment) #
parseJSONList :: Value -> Parser [HashQualified NameSegment] #
parseJSON :: Value -> Parser (HashQualified Name) #
parseJSONList :: Value -> Parser [HashQualified Name] #
toJSON :: HashQualified NameSegment -> Value #
toEncoding :: HashQualified NameSegment -> Encoding #
toJSONList :: [HashQualified NameSegment] -> Value #
toEncodingList :: [HashQualified NameSegment] -> Encoding #
toJSON :: HashQualified Name -> Value #
toEncoding :: HashQualified Name -> Encoding #
toJSONList :: [HashQualified Name] -> Value #
toEncodingList :: [HashQualified Name] -> Encoding #
parseUrlPiece :: Text -> Either Text (HashQualified Name) #
parseHeader :: ByteString -> Either Text (HashQualified Name) #
parseQueryParam :: Text -> Either Text (HashQualified Name) #
toParamSchema :: Proxy (HashQualified n) -> Schema #
declareNamedSchema :: Proxy (HashQualified n) -> Declare (Definitions Schema) NamedSchema #
parseJSON :: Value -> Parser (DisplayObject b a) #
parseJSONList :: Value -> Parser [DisplayObject b a] #
toJSON :: DisplayObject b a -> Value #
toEncoding :: DisplayObject b a -> Encoding #
toJSONList :: [DisplayObject b a] -> Value #
toEncodingList :: [DisplayObject b a] -> Encoding #
declareNamedSchema :: Proxy (DisplayObject b a) -> Declare (Definitions Schema) NamedSchema #