canonical-tent-json
Version:
Generate canonical JSON for Tent 0.3 posts
177 lines (176 loc) • 5.06 kB
JavaScript
module.exports = [
{
"content": {
"type": "https://tent.io/types/repost/v0#https://tent.io/types/status/v0"
},
"entity": "https://cupcake.cupcake.is",
"id": "JCEEZgBdwVlEwHpThIxMEQ",
"mentions": [
{
"entity": "https://brooks.cupcake.is"
}
],
"permissions": {
"entities": [
"https://brooks.cupcake.is"
],
"public": false
},
"published_at": 1377839107495,
"received_at": 1377839107548,
"type": "https://tent.io/types/subscription/v0#https://tent.io/types/repost/v0",
"version": {
"id": "sha512t256-6ec741930672cd538d49c14d235952236eba0299ad2734f8f32cbb0af7cb00da",
"published_at": 1377839107495,
"received_at": 1377839107548
}
},
{
"content": {
"type": "https://tent.io/types/status/v0"
},
"entity": "https://cupcake.cupcake.is",
"id": "WKHkvWc_Nja6b7w4-Wwzrw",
"mentions": [
{
"entity": "https://brooks.cupcake.is"
}
],
"permissions": {
"entities": [
"https://brooks.cupcake.is"
],
"public": false
},
"published_at": 1377839107410,
"received_at": 1377839107478,
"type": "https://tent.io/types/subscription/v0#https://tent.io/types/status/v0",
"version": {
"id": "sha512t256-5346c88550e3fd8f379c9e41dec4b837b8ff9dd1e315e9b2bf6622ec23a98223",
"published_at": 1377839107410,
"received_at": 1377839107478
}
},
{
"content": {},
"entity": "https://cupcake.cupcake.is",
"id": "ahV9vuYSwuQSQXomn6IPUg",
"mentions": [
{
"entity": "https://brooks.cupcake.is",
"post": "knPUTsU0TH-rJjS4uSYrNg",
"type": "https://tent.io/types/relationship/v0#initial"
}
],
"permissions": {
"entities": [
"https://brooks.cupcake.is"
],
"public": false
},
"published_at": 1377839107267,
"received_at": 1377839107267,
"type": "https://tent.io/types/relationship/v0#",
"version": {
"id": "sha512t256-879dbbc51fc570b882d46076423061a1d10f5f6ba7e234a39ceb035812fb8f50",
"published_at": 1377839107267,
"received_at": 1377839107267
}
},
{
"app": {
"name": "TentStatus",
"url": "https://apps.tent.is/status"
},
"content": {
"text": "^https://brooks.tent.is soon, but not imminently."
},
"entity": "https://cupcake.cupcake.is",
"id": "3skp1t",
"mentions": [
{
"entity": "https://brooks.cupcake.is",
"original_entity": "https://brooks.tent.is",
"post": "zq6pv3"
},
{
"entity": "https://brooks.cupcake.is",
"original_entity": "https://brooks.tent.is"
}
],
"original_entity": "https://tent.tent.is",
"published_at": 1348690452000,
"received_at": 1348690452000,
"type": "https://tent.io/types/status/v0#reply",
"version": {
"id": "sha512t256-4a99aef511b3c7adec26d9a50718ee1771b64dd8875784ec5f797b150b4a38ef",
"published_at": 1348690452000,
"received_at": 1348690452000
}
},
{
"app": {
"name": "TentStatus",
"url": "https://apps.tent.is/status"
},
"content": {
"text": "^https://brooks.tent.is the best place to start is http://tent.io/docs. You can also ask questions on the github (https://github.com/tent/tent.io/issues) about anything that's vague or not listed "
},
"entity": "https://cupcake.cupcake.is",
"id": "68srf4",
"mentions": [
{
"entity": "https://brooks.cupcake.is",
"original_entity": "https://brooks.tent.is",
"post": "za7upn"
},
{
"entity": "http://tent.io/docs"
},
{
"entity": "https://github.com/tent/tent.io/issues"
}
],
"original_entity": "https://tent.tent.is",
"published_at": 1348682862000,
"received_at": 1348682862000,
"type": "https://tent.io/types/status/v0#reply",
"version": {
"id": "sha512t256-1aaf4526215b119df1a90aab6dbde26782522923cf3ad2d3970820c93a7ef23e",
"published_at": 1348682862000,
"received_at": 1348682862000
}
},
{
"app": {
"name": "TentStatus",
"url": "https://apps.tent.is/status"
},
"content": {
"text": "Hey ^https://brooks.tent.is, welcome to Tent.is! Create your first post above, or reply to this message if you need help."
},
"entity": "https://cupcake.cupcake.is",
"id": "edka8",
"mentions": [
{
"entity": "https://brooks.cupcake.is",
"original_entity": "https://brooks.tent.is"
}
],
"original_entity": "https://tent.tent.is",
"permissions": {
"entities": [
"https://jhfisher.cupcake.is"
],
"public": false
},
"published_at": 1348605144000,
"received_at": 1348605144000,
"type": "https://tent.io/types/status/v0#",
"version": {
"id": "sha512t256-a144abb7db0d053b85103151ac9f5609471053e7d7c3943a3a133c01d5ec827a",
"published_at": 1348605144000,
"received_at": 1348605144000
}
}
];