Skip to content

Commit

Permalink
Merge branch 'data-model-#3' of https://github.com/oSoc17/prisma-fron…
Browse files Browse the repository at this point in the history
…tend into data-model-#3
  • Loading branch information
oxnoctisxo committed Jul 11, 2017
2 parents 122c4e3 + fc756ce commit c027b7d
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 10 deletions.
38 changes: 38 additions & 0 deletions www/mock-api/albums.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"id": "1",
"title": "Kindertijd",
"description": "Verhalen uit mijn kindertijd.",
"stories": [
{
"id": "1",
"title": "Mijn school",
"type": "2",
"source": "cHTUaigQQ2iFLSLC34OP_stadhuishalle.jpg"
},
{
"id": "2",
"title": "Pannenkoeken op zondag",
"type": "2",
"source": "testsource"
},
{
"id": "3",
"title": "Sabena Airforce",
"type": "2",
"source": "LVZpafa9RpCyPNPLYuSn_sabena-security.jpg"
},
{
"id": "4",
"title": "Familiemomentje",
"type": "2",
"source": "CBd1zASpTOmZptix3fng_family1.jpg"
},
{
"id": "5",
"title": "Baby",
"type": "2",
"source": "TVRkzCgS7iNdKgM7PSwg_baby.jpg"
}
]
]
20 changes: 10 additions & 10 deletions www/mock-api/stories.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "1",
"type": "2",
"source": "cHTUaigQQ2iFLSLC34OP_stadhuishalle.jpg",
"title": "Mjin school",
"title": "Mijn school",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand Down Expand Up @@ -36,7 +36,7 @@
"id": "2",
"type": "2",
"source": "peROWMdTyapL2RcptjpQ_hallerbos.jpg",
"title": "Goed vibe",
"title": "Pannenkoeken op zondag",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand Down Expand Up @@ -69,7 +69,7 @@
"id": "3",
"type": "2",
"source": "LVZpafa9RpCyPNPLYuSn_sabena-security.jpg",
"title": "",
"title": "Sabena Airforce",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand Down Expand Up @@ -102,7 +102,7 @@
"id": "4",
"type": "2",
"source": "CBd1zASpTOmZptix3fng_family1.jpg",
"title": "",
"title": "Familiemomentje",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand All @@ -116,7 +116,7 @@
"id": "5",
"type": "2",
"source": "TVRkzCgS7iNdKgM7PSwg_baby.jpg",
"title": "",
"title": "Baby",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand All @@ -130,7 +130,7 @@
"id": "6",
"type": "2",
"source": "WE6rB9dZRTiIWQlP5qsA_kitten3.jpg",
"title": "",
"title": "Miauw",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand Down Expand Up @@ -173,7 +173,7 @@
"id": "7",
"type": "2",
"source": "ARSdfjpfSAWvY2J9VpZe_moskow.jpg",
"title": "",
"title": "Uitstapje in Rusland",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand All @@ -200,7 +200,7 @@
"id": "8",
"type": "2",
"source": "C6IS45JTlWcTrL5bnsaw_split-croatia.jpg",
"title": "",
"title": "Split, Croatië",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand All @@ -221,7 +221,7 @@
"id": "9",
"type": "2",
"source": "rJwCxPlrTsCi8xbyzE8m_tasselplay.jpg",
"title": "",
"title": "Tasselhaus",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand All @@ -248,7 +248,7 @@
"id": "10",
"type": "2",
"source": "C6IS45JTlWcTrL5bnsaw_split-croatia.jpg",
"title": "",
"title": "Splitsplit",
"description": "Bla bla bla bla",
"dateAdded": "Mon Mar 12 2017 00:00:00 GMT+0100 (CET)",
"dateHappened": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)",
Expand Down

0 comments on commit c027b7d

Please sign in to comment.