mirror of
https://gitlab.com/octtspacc/Friendiiverse
synced 2025-06-05 21:49:22 +02:00
Api fixes and progress
This commit is contained in:
@@ -1,18 +1,35 @@
|
||||
var FakeApi = {
|
||||
//
|
||||
Friendiiverse: {
|
||||
Featured: {
|
||||
Featured: [],
|
||||
Categories: [],
|
||||
},
|
||||
},
|
||||
Mastodon: {
|
||||
//"timelines/public":
|
||||
},
|
||||
};
|
||||
|
||||
FakeApi.Friendiiverse.Featured.Featured.push({
|
||||
Banner: "https://picsum.photos/seed/Testing.Banner/320/180",
|
||||
Icon: "https://picsum.photos/seed/Testing.Icon/64",
|
||||
Name: "Testing Channel",
|
||||
});
|
||||
FakeApi.Friendiiverse.Featured.Categories.push({
|
||||
Banner: "https://picsum.photos/seed/fediverse.Banner/320/180",
|
||||
Icon: "https://picsum.photos/seed/fediverse.Icon/64",
|
||||
Name: "#fediverse",
|
||||
});
|
||||
|
||||
FakeApi.Mastodon.Account = {
|
||||
"avatar": "https://picsum.photos/64",
|
||||
"url": "https://mastodon.example.com/@Tester",
|
||||
avatar: "https://picsum.photos/seed/Tester.Icon/64",
|
||||
display_name: "The Tester",
|
||||
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",
|
||||
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",
|
||||
};
|
||||
|
Reference in New Issue
Block a user