elm-matrix-sdk-alpha/src/Internal/Config/DefaultSettings.elm

36 lines
740 B
Elm
Raw Normal View History

2023-01-05 05:40:38 +00:00
module Internal.Config.DefaultSettings exposing (..)
2023-01-09 15:57:25 +00:00
2023-01-05 05:40:38 +00:00
{-| This module hosts default configurations.
These configurations are intended to be version-specific
and are free to be changed in later releases.
Alternatively, one may change these values in a fork of the repository.
2023-01-09 15:57:25 +00:00
2023-01-05 05:40:38 +00:00
-}
2023-01-09 15:57:25 +00:00
2023-01-05 05:40:38 +00:00
{-| This Matrix SDK version
-}
currentVersion : String
2023-01-09 15:57:25 +00:00
currentVersion =
"0.0.0"
2023-01-05 05:40:38 +00:00
{-| Matrix spec versions that this SDK supports,
sorted in ascending order of preference.
-}
supportedVersions : List String
2023-01-09 15:57:25 +00:00
supportedVersions =
2023-01-05 05:40:38 +00:00
[ "v1.2"
, "v1.3"
, "v1.4"
, "v1.5"
]
2023-01-09 15:57:25 +00:00
2023-01-05 05:40:38 +00:00
{-| The default device name that this SDK will use when logging in.
-}
defaultDeviceName : String
defaultDeviceName =
"Elm Matrix SDK (v" ++ currentVersion ++ ")"