{-# LANGUAGE OverloadedStrings #-}

module Network.Syncthing.Types.Common
    (
      Server
    , Device
    , FolderName
    , Path
    , Host
    , Port
    , Addr
    ) where

import           Data.Text (Text)


-- | Use the SERVER:PORT format for specifying servers.
type Server     = Text

type Device     = Text

type FolderName = Text

type Path       = Text

type Host       = Text

type Port       = Int

type Addr       = (Host, Maybe Port)