Add `RelationshipType` & renegerate types
This commit is contained in:
parent
8236321102
commit
3bc0220535
|
@ -3,7 +3,8 @@
|
|||
"FileType": "\"DOCUMENT\" | \"PHOTO\" | \"VIDEO\" | \"AUDIO\"",
|
||||
"PeerType": "\"USER\" | \"BOT\" | \"PROXY\"",
|
||||
"TextEntityType": "\"BOLD\" | \"ITALIC\" | \"CODE\" | \"STRIKE\" | \"UNDERLINE\" | \"URL\" | \"MENTION\" | \"HASHTAG\"",
|
||||
"PostType": "\"UNKNOWN\" | \"DELETED\" | \"POST\" | \"REPLY\" | \"QUOTE\" | \"REPOST\""
|
||||
"PostType": "\"UNKNOWN\" | \"DELETED\" | \"POST\" | \"REPLY\" | \"QUOTE\" | \"REPOST\"",
|
||||
"RelationshipType": "\"NONE\" | \"FOLLOWING\" | \"FOLLOWS_YOU\" | \"AWAITING_APPROVAL\" | \"MUTUALLY_FOLLOWING\" | \"BLOCKED\" | \"BLOCKED_YOU\""
|
||||
},
|
||||
"interfaces": {
|
||||
"Post": {
|
||||
|
|
|
@ -14,6 +14,15 @@ export type TextEntityType =
|
|||
|
||||
export type PostType = "UNKNOWN" | "DELETED" | "POST" | "REPLY" | "QUOTE" | "REPOST";
|
||||
|
||||
export type RelationshipType =
|
||||
| "NONE"
|
||||
| "FOLLOWING"
|
||||
| "FOLLOWS_YOU"
|
||||
| "AWAITING_APPROVAL"
|
||||
| "MUTUALLY_FOLLOWING"
|
||||
| "BLOCKED"
|
||||
| "BLOCKED_YOU";
|
||||
|
||||
export interface Post {
|
||||
id: string;
|
||||
type: PostType;
|
||||
|
|
Loading…
Reference in New Issue