Add storing login token (but not retrieving it)

This commit is contained in:
2018-12-17 02:34:46 -08:00
parent 720e6db334
commit 6f1e3da27b
3 changed files with 19 additions and 0 deletions

6
src/Scylla/Storage.elm Normal file
View File

@@ -0,0 +1,6 @@
port module Scylla.Storage exposing (..)
import Json.Encode
port setStoreValuePort : (String, Json.Encode.Value) -> Cmd msg
port getStoreValuePort : (String) -> Cmd msg
port receiveStoreValuePort : (Json.Encode.Value -> msg) -> Sub msg