|
73 | 73 | "all": 0x3fffffff, |
74 | 74 | } |
75 | 75 |
|
| 76 | +SearchEngine = Literal["google"] |
| 77 | + |
76 | 78 | SettingType = Literal[ |
77 | 79 | "bool", "int", "string", "json", "Duration", "PrivateKey", "PublicKey", "Timestamp", "UUID", "Principal" |
78 | 80 | ] |
|
88 | 90 | "unlawful", "defamatory", "threat", "spam", "scam", "malware", "copyright", "impersonating", "privacy", "other" |
89 | 91 | ] |
90 | 92 |
|
91 | | -SourceFormat = Literal["plain-text", "html", "markdown", "application"] |
| 93 | +SourceFormat = Literal["plain-text", "html", "markdown", "html/visual", "application"] |
92 | 94 |
|
93 | 95 | StoryType = Literal[ |
94 | 96 | "asked-to-friend", "asked-to-subscribe", "blocked-user", "blocked-user-in-posting", "comment-added", |
|
99 | 101 | "posting-media-reaction-added-negative", "posting-media-reaction-added-positive", "posting-media-reaction-failed", |
100 | 102 | "posting-post-task-failed", "posting-reaction-task-failed", "posting-subscribe-task-failed", |
101 | 103 | "posting-update-task-failed", "posting-updated", "reaction-added-negative", "reaction-added-positive", |
102 | | - "remote-comment-added", "reply-comment", "sheriff-complaint-added", "sheriff-complaint-decided", "sheriff-marked", |
| 104 | + "reminder-avatar", "reminder-email", "reminder-full-name", "reminder-sheriff-allow", "remote-comment-added", |
| 105 | + "reply-comment", "search-report", "sheriff-complaint-added", "sheriff-complaint-decided", "sheriff-marked", |
103 | 106 | "sheriff-unmarked", "subscriber-added", "subscriber-deleted", "unblocked-user", "unblocked-user-in-posting" |
104 | 107 | ] |
105 | 108 |
|
@@ -1148,6 +1151,11 @@ class GrantInfo(Structure): |
1148 | 1151 | """the set of administrative permissions granted to the node""" |
1149 | 1152 |
|
1150 | 1153 |
|
| 1154 | +class KeyMnemonic(Structure): |
| 1155 | + mnemonic: List[str] |
| 1156 | + """the words""" |
| 1157 | + |
| 1158 | + |
1151 | 1159 | class LinkPreview(Structure): |
1152 | 1160 | site_name: str | None = None |
1153 | 1161 | """name of the site""" |
@@ -1234,6 +1242,8 @@ class NodeNameInfo(Structure): |
1234 | 1242 | """if the operation with the node name was failed, the code of the failure""" |
1235 | 1243 | operation_error_message: str | None = None |
1236 | 1244 | """if the operation with the node name was failed, the human-readable description of the failure""" |
| 1245 | + stored_mnemonic: bool | None = None |
| 1246 | + """``True``, if updating key mnemonic is being stored on the node, ``False`` otherwise""" |
1237 | 1247 | operations: NodeNameOperations | None = None |
1238 | 1248 | """the supported operations and the corresponding principals""" |
1239 | 1249 |
|
@@ -1990,6 +2000,15 @@ class StorySummaryNode(Structure): |
1990 | 2000 | """node owner's gender""" |
1991 | 2001 |
|
1992 | 2002 |
|
| 2003 | +class StorySummaryPageClicks(Structure): |
| 2004 | + heading: str | None = None |
| 2005 | + """page heading, ``None`` for the blog itself""" |
| 2006 | + href: str |
| 2007 | + """page URL""" |
| 2008 | + clicks: int |
| 2009 | + """number of clicks on the page""" |
| 2010 | + |
| 2011 | + |
1993 | 2012 | class StorySummaryReaction(Structure): |
1994 | 2013 | owner_name: str | None = None |
1995 | 2014 | """reaction owner's name""" |
@@ -2805,6 +2824,8 @@ class StorySummaryData(Structure): |
2805 | 2824 | """summary of an action of a sheriff""" |
2806 | 2825 | description: str | None = None |
2807 | 2826 | """additional descriptive text""" |
| 2827 | + clicks: List[StorySummaryPageClicks] | None = None |
| 2828 | + """list of pages with number of clicks on each of them""" |
2808 | 2829 |
|
2809 | 2830 |
|
2810 | 2831 | class CommentInfo(Structure): |
|
0 commit comments