* Update model to store multiple clients. * Delete tmp registration data after client creation. * Add minimal account selector view * Update clients so they can have an account attached. * List clients in the account selector. * List accounts in the account selector view. * It works™. * Minor CSS fix. * Reset server value when switching account. * Fix empty black screen on reauth with new client format. * Fix typo. [skip-ci]
24 lines
398 B
Elm
24 lines
398 B
Elm
port module Ports
|
|
exposing
|
|
( saveRegistration
|
|
, deleteRegistration
|
|
, scrollIntoView
|
|
, saveClients
|
|
, setStatus
|
|
)
|
|
|
|
|
|
port saveRegistration : String -> Cmd msg
|
|
|
|
|
|
port deleteRegistration : String -> Cmd msg
|
|
|
|
|
|
port saveClients : String -> Cmd msg
|
|
|
|
|
|
port setStatus : { id : String, status : String } -> Cmd msg
|
|
|
|
|
|
port scrollIntoView : String -> Cmd msg
|