Skip to content

Commit

Permalink
Merge branch 'Fix-MultiLevel' into Fix-Messages-End-Points
Browse files Browse the repository at this point in the history
  • Loading branch information
BasmaElhoseny01 committed Dec 20, 2022
2 parents b94b2b2 + 2de94b4 commit 43eb1b6
Show file tree
Hide file tree
Showing 245 changed files with 39,222 additions and 1,938 deletions.
38 changes: 38 additions & 0 deletions data/banedList.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"_id": "0",
"userName": "fady",
"profilePicture": "https://styles.redditmedia.com/t5_2ql2m/styles/communityIcon_vr02expkpl391.jpg?format=pjpg&s=6fc537d22ab75feda2ea15985e89da63c7564797",
"banDate": "2019-08-24T14:15:22Z",
"baninfo": {
"punish_type": "Spam",
"Note": "",
"punishReason": "string0",
"duration": 0
}
},
{
"_id": "1",
"userName": "Eslam",
"profilePicture": "https://styles.redditmedia.com/t5_2ql2m/styles/communityIcon_vr02expkpl391.jpg?format=pjpg&s=6fc537d22ab75feda2ea15985e89da63c7564797",
"banDate": "2019-08-24T14:15:22Z",
"baninfo": {
"punish_type": "Other",
"Note": "string1",
"punishReason": "string1",
"duration": -1
}
},
{
"_id": "2",
"userName": "hosny",
"profilePicture": "https://styles.redditmedia.com/t5_2ql2m/styles/communityIcon_vr02expkpl391.jpg?format=pjpg&s=6fc537d22ab75feda2ea15985e89da63c7564797",
"banDate": "2019-08-24T14:15:22Z",
"baninfo": {
"punish_type": "Threatening, Harassing, Or Inciting Violence",
"Note": "string2",
"punishReason": "string2",
"duration": 2
}
}
]
5 changes: 0 additions & 5 deletions data/deleteAction.json

This file was deleted.

23 changes: 23 additions & 0 deletions data/editcomment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"status": "success",
"data": {
"_id": "63a1703ad69246cab0748074",
"author": "63a102c18222a98c51dbe67a",
"post": "63a17023d69246cab0748050",
"mentions": [],
"replies": [],
"parent": "63a17023d69246cab0748050",
"parentType": "Post",
"text": "<p>Edited Sucessfully</p>",
"createdAt": "2022-12-20T03:27:01.352Z",
"isDeleted": false,
"votes": 0,
"repliesCount": 0,
"locked": false,
"nsfw": false,
"spoiler": false,
"modState": "unmoderated",
"sortOnHot": 835753410676,
"__v": 0
}
}
4 changes: 2 additions & 2 deletions data/followers.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
},
{
"_id": "ahmed",
"userName": "ahmed",
"userName": "nour",
"profilePicture": "https://styles.redditmedia.com/t5_75eaom/styles/profileIcon_3f5f41637ms91.jpg?width=256&height=256&crop=256:256,smart&v=enabled&s=8b766d157e1520808577a5260fd5e5876982b9cb",
"isFollowed": "true",
"postKarma": 5,
"commentKarma": 5
},
{
"_id": "ahmed",
"userName": "ahmed",
"userName": "abd",
"profilePicture": "https://styles.redditmedia.com/t5_75eaom/styles/profileIcon_3f5f41637ms91.jpg?width=256&height=256&crop=256:256,smart&v=enabled&s=8b766d157e1520808577a5260fd5e5876982b9cb",
"isFollowed": "false",
"postKarma": 5,
Expand Down
30 changes: 17 additions & 13 deletions data/getpost.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,48 @@
{
"status": "OK",
"data": {
"_id": "639b5661106f0cd6ca989fdd",
"_id": "63a039107e9602e5da79ac42",
"ownerType": "User",
"replies": [],
"title": "My First Post",
"replies": [
"63a03c427e9602e5da79ac8b",
"63a03c457e9602e5da79ac97",
"63a03c4a7e9602e5da79aca3",
"63a03c4c7e9602e5da79acaf"
],
"title": "new Post @ 12:12",
"kind": "self",
"text": "<p>Helooooooooooooooooo<strong>Basmaa :)</strong></p>\n",
"text": "<p>Edited Post</p>",
"url": "",
"createdAt": "2022-12-15T06:09:24.932Z",
"images": [],
"createdAt": "2022-12-19T10:06:05.781Z",
"locked": false,
"isDeleted": false,
"sendReplies": true,
"nsfw": false,
"spoiler": false,
"votes": 0,
"views": 0,
"commentCount": 10,
"commentCount": 4,
"shareCount": 0,
"suggestedSort": "new",
"scheduled": false,
"modState": "unmoderated",
"spamCount": 0,
"spammedBy": [],
"images": [],
"videos": [],
"sortOnHot": 835542282466,
"sortOnBest": 668433825972.8,
"sortOnHot": 835722182890.5,
"sortOnBest": 668577746312.4,
"__v": 0,
"owner": {
"_id": "639a5cbc1c0d09e8648693d7",
"_id": "639f824cd9f48a8d75a21aa4",
"name": "Basma",
"icon": "https://api.nonlegit.click/users/default.png"
},
"author": {
"_id": "639a5cbc1c0d09e8648693d7",
"_id": "639f824cd9f48a8d75a21aa4",
"name": "Basma"
},
"isSaved": false,
"postVoteStatus": "0",
"postVoteStatus": 0,
"isSpam": false
}
}
Loading

0 comments on commit 43eb1b6

Please sign in to comment.