add: Megalodon, initial mastodon api

This commit is contained in:
Mar0xy 2023-09-23 18:49:47 +02:00
parent 240d76a987
commit 2375d043d1
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
103 changed files with 9492 additions and 82 deletions

View file

@ -0,0 +1,27 @@
/// <reference path="emoji.ts" />
/// <reference path="source.ts" />
/// <reference path="field.ts" />
namespace Entity {
export type Account = {
id: string;
username: string;
acct: string;
display_name: string;
locked: boolean;
created_at: string;
followers_count: number;
following_count: number;
statuses_count: number;
note: string;
url: string;
avatar: string;
avatar_static: string;
header: string;
header_static: string;
emojis: Array<Emoji>;
moved: Account | null;
fields: Array<Field>;
bot: boolean | null;
source?: Source;
};
}