2020-06-09 15:21:29 +02:00
|
|
|
module Mock.Blog.Path (
|
2020-10-23 15:39:49 +02:00
|
|
|
bothCustom
|
|
|
|
, bothDefault
|
|
|
|
, customArticles
|
|
|
|
, customArticlesDefaultPages
|
|
|
|
, customPages
|
|
|
|
, customPagesDefaultArticles
|
|
|
|
, defaultArticles
|
|
|
|
, defaultPages
|
2020-06-09 15:21:29 +02:00
|
|
|
) where
|
|
|
|
|
|
|
|
import Blog.Path (Path(..))
|
|
|
|
|
2020-10-23 15:39:49 +02:00
|
|
|
defaultArticles :: Path
|
|
|
|
defaultArticles = Path {
|
2020-09-30 22:02:25 +02:00
|
|
|
articlesPath = Just "articles"
|
2020-06-09 15:21:29 +02:00
|
|
|
, pagesPath = Nothing
|
|
|
|
, remarkableConfig = Nothing
|
2020-10-23 15:39:49 +02:00
|
|
|
, root = "test/Structure/defaultArticles"
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultPages :: Path
|
|
|
|
defaultPages = Path {
|
|
|
|
articlesPath = Nothing
|
|
|
|
, pagesPath = Just "pages"
|
|
|
|
, remarkableConfig = Nothing
|
|
|
|
, root = "test/Structure/defaultPages"
|
|
|
|
}
|
|
|
|
|
|
|
|
bothDefault :: Path
|
|
|
|
bothDefault = Path {
|
|
|
|
articlesPath = Just "articles"
|
|
|
|
, pagesPath = Just "pages"
|
|
|
|
, remarkableConfig = Nothing
|
|
|
|
, root = "test/Structure/both"
|
|
|
|
}
|
|
|
|
|
|
|
|
customArticles :: Path
|
|
|
|
customArticles = Path {
|
|
|
|
articlesPath = Just "customArticles"
|
|
|
|
, pagesPath = Nothing
|
|
|
|
, remarkableConfig = Nothing
|
|
|
|
, root = "test/Structure/custom"
|
|
|
|
}
|
|
|
|
|
|
|
|
bothCustom :: Path
|
|
|
|
bothCustom = customArticles {
|
|
|
|
pagesPath = Just "customPages"
|
|
|
|
}
|
|
|
|
|
|
|
|
customPages :: Path
|
|
|
|
customPages = bothCustom {
|
|
|
|
articlesPath = Nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
customArticlesDefaultPages :: Path
|
|
|
|
customArticlesDefaultPages = bothDefault {
|
|
|
|
articlesPath = Just "customArticles"
|
|
|
|
, pagesPath = Just "pages"
|
|
|
|
}
|
|
|
|
|
|
|
|
customPagesDefaultArticles :: Path
|
|
|
|
customPagesDefaultArticles = customArticlesDefaultPages {
|
|
|
|
articlesPath = Just "articles"
|
|
|
|
, pagesPath = Just "customPages"
|
2020-06-09 15:21:29 +02:00
|
|
|
}
|