From 0bf2881364e11c7b3a6e1e509694228ad34b613a Mon Sep 17 00:00:00 2001 From: oxnoctisxo Date: Mon, 10 Jul 2017 16:39:46 +0200 Subject: [PATCH] Addition of an exception to the git ignore --- .gitignore | 3 +- www/mock-api/stories.json | 142 +++++++++++++++++++++++++++++++++++++ www/mock-api/users.json | 0 www/mock-api/users_id.json | 15 ++++ 4 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 www/mock-api/stories.json create mode 100644 www/mock-api/users.json create mode 100644 www/mock-api/users_id.json diff --git a/.gitignore b/.gitignore index c558400..67a2332 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,8 @@ platforms/ plugins/ plugins/android.json plugins/ios.json -www/ +www/* +!www/mock-api $RECYCLE.BIN/ .DS_Store diff --git a/www/mock-api/stories.json b/www/mock-api/stories.json new file mode 100644 index 0000000..9667b35 --- /dev/null +++ b/www/mock-api/stories.json @@ -0,0 +1,142 @@ +[ + { + "id": "1", + "type": "2", + "source": "cHTUaigQQ2iFLSLC34OP_stadhuishalle.jpg", + "title": "Mjin 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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "1", + "originId": "" + }, + { + "id": "2", + "type": "2", + "source": "peROWMdTyapL2RcptjpQ_hallerbos.jpg", + "title": "Goed vibe", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "1", + "originId": "" + }, + { + "id": "3", + "type": "2", + "source": "LVZpafa9RpCyPNPLYuSn_sabena-security.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "1", + "originId": "" + }, + { + "id": "4", + "type": "2", + "source": "CBd1zASpTOmZptix3fng_family1.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "2", + "originId": "" + }, + { + "id": "5", + "type": "2", + "source": "TVRkzCgS7iNdKgM7PSwg_baby.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "2", + "originId": "" + }, + { + "id": "6", + "type": "2", + "source": "WE6rB9dZRTiIWQlP5qsA_kitten3.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "2", + "originId": "" + }, + { + "id": "7", + "type": "2", + "source": "ARSdfjpfSAWvY2J9VpZe_moskow.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "3", + "originId": "" + }, + { + "id": "8", + "type": "2", + "source": "C6IS45JTlWcTrL5bnsaw_split-croatia.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "3", + "originId": "" + }, + { + "id": "9", + "type": "2", + "source": "rJwCxPlrTsCi8xbyzE8m_tasselplay.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "4", + "originId": "" + }, + { + "id": "10", + "type": "2", + "source": "C6IS45JTlWcTrL5bnsaw_split-croatia.jpg", + "title": "", + "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)", + "likes": [], + "comments": [], + "categories": [], + "albumId": "4", + "originId": "" + } +] diff --git a/www/mock-api/users.json b/www/mock-api/users.json new file mode 100644 index 0000000..e69de29 diff --git a/www/mock-api/users_id.json b/www/mock-api/users_id.json new file mode 100644 index 0000000..01079de --- /dev/null +++ b/www/mock-api/users_id.json @@ -0,0 +1,15 @@ +{ + "id": "12345", + "firstName": "Marie-Josée", + "lastName": "Mertens", + "dateOfBirth": "Mon Mar 12 1945 00:00:00 GMT+0100 (CET)", + "birthLocation": "Steenokkerzeel", + "profilePicture": "WE6rB9dZRTiIWQlP5qsA_kitten3.jpg", + "email": "marie@mail.com", + "password": "geheim", + "relations": [ + { + "type": "grandson", + "userId": "12121" + }] +}