trashposs/packages/trashposs-js/markdown/trashposs-js.entities.note.md

52 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2024-04-06 22:57:52 +02:00
[Home](./index.md) &gt; [trashposs-js](./trashposs-js.md) &gt; [entities](./trashposs-js.entities.md) &gt; [Note](./trashposs-js.entities.note.md)
## entities.Note type
**Signature:**
```typescript
export declare type Note = {
id: ID;
createdAt: DateString;
text: string | null;
cw: string | null;
user: User;
userId: User["id"];
reply?: Note;
replyId: Note["id"];
renote?: Note;
renoteId: Note["id"];
files: DriveFile[];
fileIds: DriveFile["id"][];
visibility: "public" | "home" | "followers" | "specified";
visibleUserIds?: User["id"][];
localOnly?: boolean;
channel?: Channel["id"];
myReaction?: string;
reactions: Record<string, number>;
renoteCount: number;
repliesCount: number;
poll?: {
expiresAt: DateString | null;
multiple: boolean;
choices: {
isVoted: boolean;
text: string;
votes: number;
}[];
};
emojis: {
name: string;
url: string;
}[];
uri?: string;
url?: string;
updatedAt?: DateString;
isHidden?: boolean;
};
```
2024-04-06 22:57:52 +02:00
**References:** [ID](./trashposs-js.entities.id.md)<!-- -->, [DateString](./trashposs-js.entities.datestring.md)<!-- -->, [User](./trashposs-js.entities.user.md)<!-- -->, [Note](./trashposs-js.entities.note.md)<!-- -->, [DriveFile](./trashposs-js.entities.drivefile.md)<!-- -->, [Channel](./trashposs-js.entities.channel.md)