New JSON transformations; Upd FakeApi

This commit is contained in:
2023-04-20 15:17:00 +02:00
parent 76865b605d
commit f6e2dff546
7 changed files with 97 additions and 32 deletions

View File

@@ -4,3 +4,15 @@ var FakeApi = {
//"timelines/public":
},
};
FakeApi.Mastodon.Account = {
"avatar": "https://picsum.photos/64",
"url": "https://mastodon.example.com/@Tester",
};
FakeApi.Mastodon.Status = {
"account": FakeApi.Mastodon.Account,
"content": "<p>Lorem ipsum dolor sit amet...</p>",
"created_at": "2023-01-01T13:00:00.123Z",
"url": "https://mastodon.example.com/@Tester/1234567890",
};