Skip to content

Commit

Permalink
move Database.Sync to PouchDB.Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed May 26, 2020
1 parent 1e59726 commit 0f35f29
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Database.elm
Expand Up @@ -18,12 +18,12 @@ module Database exposing

import Content
import Database.ID as ID exposing (ID)
import Database.Sync as Sync exposing (Sync)
import Iso8601
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline as Pipeline
import Json.Encode as Encode
import Node exposing (Node)
import PouchDB.Sync as Sync exposing (Sync)
import Random
import Sort.Dict as Dict exposing (Dict)
import Sort.Set as Set exposing (Set)
Expand Down
4 changes: 2 additions & 2 deletions src/Main.elm
Expand Up @@ -11,15 +11,15 @@ import Css.Global
import Css.Reset
import Database exposing (Database)
import Database.ID as ID exposing (ID)
import Database.Sync as Sync exposing (Sync)
import Database.Sync.Status as SyncStatus
import Html.Styled as Inaccessible
import Html.Styled.Attributes as Attrs exposing (css)
import Html.Styled.Events as Events
import Html.Styled.Events.Extra exposing (onClickPreventDefaultForLinkWithHref)
import Json.Decode as Decode exposing (Decoder, Value)
import Maybe.Extra
import Node exposing (Node)
import PouchDB.Sync as Sync exposing (Sync)
import PouchDB.Sync.Status as SyncStatus
import Random
import Route exposing (Route)
import Selection exposing (Selection)
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Sync.elm → src/PouchDB/Sync.elm
@@ -1,4 +1,4 @@
module Database.Sync exposing (Sync, decoder, encode, isValid, sorter, toUrl)
module PouchDB.Sync exposing (Sync, decoder, encode, isValid, sorter, toUrl)

import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline as Pipeline exposing (required)
Expand Down
@@ -1,4 +1,4 @@
module Database.Sync.Status exposing (Status(..), decoder)
module PouchDB.Sync.Status exposing (Status(..), decoder)

import Json.Decode as Decode exposing (Decoder)

Expand Down
2 changes: 1 addition & 1 deletion src/Settings.elm
Expand Up @@ -14,7 +14,7 @@ module Settings exposing
-}

import Database.Sync as Sync exposing (Sync)
import PouchDB.Sync as Sync exposing (Sync)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Pipeline as Pipeline exposing (required)
import Json.Encode as Encode
Expand Down

0 comments on commit 0f35f29

Please sign in to comment.