mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Share page skeleton
This commit is contained in:
32
modules/webapp/src/main/elm/Page/Share/Data.elm
Normal file
32
modules/webapp/src/main/elm/Page/Share/Data.elm
Normal file
@ -0,0 +1,32 @@
|
||||
{-
|
||||
Copyright 2020 Eike K. & Contributors
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-}
|
||||
|
||||
|
||||
module Page.Share.Data exposing (Model, Msg, init)
|
||||
|
||||
import Data.Flags exposing (Flags)
|
||||
|
||||
|
||||
type alias Model =
|
||||
{}
|
||||
|
||||
|
||||
init : Maybe String -> Flags -> ( Model, Cmd Msg )
|
||||
init shareId flags =
|
||||
case shareId of
|
||||
Just id ->
|
||||
let
|
||||
_ =
|
||||
Debug.log "share" id
|
||||
in
|
||||
( {}, Cmd.none )
|
||||
|
||||
Nothing ->
|
||||
( {}, Cmd.none )
|
||||
|
||||
|
||||
type Msg
|
||||
= Msg
|
Reference in New Issue
Block a user