update Note type
This commit is contained in:
parent
34afa60aff
commit
510a1408a2
|
@ -1,5 +1,6 @@
|
||||||
# 0.0.8(wip)
|
# 0.0.8(wip)
|
||||||
- add type definition for `messagingMessage` event to main stream channel
|
- add type definition for `messagingMessage` event to main stream channel
|
||||||
|
- Update Note type
|
||||||
|
|
||||||
# 0.0.7
|
# 0.0.7
|
||||||
- Notificationsの型を修正
|
- Notificationsの型を修正
|
||||||
|
|
|
@ -86,8 +86,12 @@ export type Note = {
|
||||||
files: DriveFile[];
|
files: DriveFile[];
|
||||||
fileIds: DriveFile['id'][];
|
fileIds: DriveFile['id'][];
|
||||||
visibility: 'public' | 'home' | 'followers' | 'specified';
|
visibility: 'public' | 'home' | 'followers' | 'specified';
|
||||||
|
visibleUserIds?: User['id'][];
|
||||||
|
localOnly?: boolean;
|
||||||
myReaction?: string;
|
myReaction?: string;
|
||||||
reactions: Record<string, number>;
|
reactions: Record<string, number>;
|
||||||
|
renoteCount: number;
|
||||||
|
repliesCount: number;
|
||||||
poll?: {
|
poll?: {
|
||||||
expiresAt: DateString | null;
|
expiresAt: DateString | null;
|
||||||
multiple: boolean;
|
multiple: boolean;
|
||||||
|
@ -101,6 +105,8 @@ export type Note = {
|
||||||
name: string;
|
name: string;
|
||||||
url: string;
|
url: string;
|
||||||
}[];
|
}[];
|
||||||
|
uri?: string;
|
||||||
|
url?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type NoteReaction = {
|
export type NoteReaction = {
|
||||||
|
|
Loading…
Reference in a new issue