Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// mocked data from swagger
export const tagsData = {
"questions": [
{
"tags": [
{
"_id": "asdfasdfsadf1",
"name": "first"
},
{
"_id": "qwertyasdf1",
"name": "frank"
}
],
"type": "Question",
"_id": "123123",
"title" : "This is the first title",
"body" : "This is the first body",
"authorId": {
"_id": "qttttttt",
"name": "frank",
"email":"frank@test.com"
},
"createdAt": "2019-01-22T15:22:06.578Z",
"updatedAt": "2019-01-22T15:22:06.578Z"
},
{
"tags": [
{
"_id": "asdfasdfsadf1",
"name": "first"
},
{
"_id": "qwertyasdfzzzzzzzz",
"name": "joe"
}
],
"type": "Question",
"_id": "1231234",
"title" : "This is the first title",
"body" : "This is the first body",
"authorId": {
"_id": "qttttttt",
"name": "joe",
"email":"joe@test.com"
},
"createdAt": "2019-02-22T15:22:06.578Z",
"updatedAt": "2019-02-22T15:22:06.578Z"
},
{
"tags": [
{
"_id": "asdfasdfsadf1",
"name": "first"
},
{
"_id": "javascriptID",
"name": "javascript"
}
],
"type": "Question",
"_id": "1231235",
"title" : "This is the first title",
"body" : "This is the first body",
"authorId": {
"_id": "qttttttt",
"name": "javascript",
"email":"javascript@test.com"
},
"createdAt": "2019-03-22T15:22:06.578Z",
"updatedAt": "2019-03-22T15:22:06.578Z"
},
{
"tags": [
{
"_id": "asdfasdfsadf3",
"name": "second"
},
{
"_id": "javascriptID",
"name": "javascript"
}
],
"type": "Question",
"_id": "1231236",
"title" : "This is the first title",
"body" : "This is the first body",
"authorId": {
"_id": "qtttttttzzz",
"name": "javascript2",
"email":"javascript2@test.com"
},
"createdAt": "2019-04-22T15:22:06.578Z",
"updatedAt": "2019-04-22T15:22:06.578Z"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.