-- | -- Module : Data.TypeID -- License : MIT -- Maintainer : mmzk1526@outlook.com -- Portability : GHC -- -- An implementation of the TypeID specification: -- https://github.com/jetpack-io/typeid. -- -- It is a re-export of "Data.TypeID.V7". -- module Data.TypeID ( -- * Data types TypeID , TypeID' , getPrefix , getUUID , getTime -- * 'TypeID' generation ('TypeID'-specific) , genTypeID , genTypeID' , genTypeIDs , decorateTypeID -- * 'TypeID' generation (class methods) , genID , genID' , genIDs , decorate -- * Validation ('TypeID'-specific) , checkPrefix , checkTypeID , checkTypeIDWithEnv -- * Validation (class methods) , checkID , checkIDWithEnv -- * Encoding & decoding ('TypeID'-specific) , toString , toText , toByteString , parseString , parseText , parseByteString , parseStringM , parseTextM , parseByteStringM -- * Encoding & decoding (class methods) , id2String , id2Text , id2ByteString , string2ID , text2ID , byteString2ID , string2IDM , text2IDM , byteString2IDM ) where import Data.TypeID.Class import Data.TypeID.Internal (TypeID') import Data.TypeID.V7