mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-19 13:41:13 +02:00
33 lines
734 B
TypeScript
33 lines
734 B
TypeScript
/// <reference path="user.ts" />
|
|
/// <reference path="emoji.ts" />
|
|
/// <reference path="file.ts" />
|
|
/// <reference path="poll.ts" />
|
|
|
|
namespace MisskeyEntity {
|
|
export type Note = {
|
|
id: string;
|
|
createdAt: string;
|
|
userId: string;
|
|
user: User;
|
|
text: string | null;
|
|
cw: string | null;
|
|
visibility: "public" | "home" | "followers" | "specified";
|
|
renoteCount: number;
|
|
repliesCount: number;
|
|
reactions: { [key: string]: number };
|
|
emojis: Array<Emoji>;
|
|
fileIds: Array<string>;
|
|
files: Array<File>;
|
|
replyId: string | null;
|
|
renoteId: string | null;
|
|
uri?: string;
|
|
reply?: Note;
|
|
renote?: Note;
|
|
viaMobile?: boolean;
|
|
tags?: Array<string>;
|
|
poll?: Poll;
|
|
mentions?: Array<string>;
|
|
myReaction?: string;
|
|
};
|
|
}
|