Fix Post type and regenerate

This commit is contained in:
Roj Serbest 2021-11-11 15:02:51 +03:00
parent 177fb088fe
commit 5775183206
2 changed files with 5 additions and 11 deletions

View File

@ -66,12 +66,12 @@
"description": "The amount of likes that this post has if applicable, otherwise null",
"nullable": true
},
"reposts_count": {
"repost_count": {
"type": "number",
"description": "The amount of repost that this post has if applicable, otherwise null",
"nullable": true
},
"quotes_count": {
"quote_count": {
"type": "number",
"description": "The amount of replies that this post has if applicable, otherwise null",
"nullable": true

View File

@ -12,13 +12,7 @@ export type TextEntityType =
| "MENTION"
| "HASHTAG";
export type PostType =
| "UNKNOWN"
| "DELETED"
| "POST"
| "REPLY"
| "QUOTE"
| "REPOST";
export type PostType = "UNKNOWN" | "DELETED" | "POST" | "REPLY" | "QUOTE" | "REPOST";
export type RelationshipType =
| "NONE"
@ -55,9 +49,9 @@ export interface Post {
/** The amount of likes that this post has if applicable, otherwise null */
like_count: number | null;
/** The amount of repost that this post has if applicable, otherwise null */
reposts_count: number | null;
repost_count: number | null;
/** The amount of replies that this post has if applicable, otherwise null */
quotes_count: number | null;
quote_count: number | null;
/** The Unix Timestamp for when this post was created */
posted_timestamp: number;
/** The flags associated with this post (WIP) */