moeralib 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +8 -0
- package/lib/naming/index.js +14 -0
- package/lib/naming/naming.js +203 -0
- package/lib/naming/schemas.mjs +184 -0
- package/lib/naming/types.js +2 -0
- package/lib/naming/validate.js +9 -0
- package/lib/naming/validators.js +2065 -0
- package/lib/node/caller.js +267 -0
- package/lib/node/cartes.js +55 -0
- package/lib/node/index.js +13 -0
- package/lib/node/node.js +1405 -0
- package/lib/node/schemas.mjs +4582 -0
- package/lib/node/types.js +3 -0
- package/lib/node/validate.js +9 -0
- package/lib/node/validators.js +60225 -0
- package/lib/schema.js +20 -0
- package/lib/schemas-compile.mjs +42 -0
- package/lib/universal-location.js +164 -0
- package/lib/util.js +42 -0
- package/nodejs-moera-api/nodejs-moera-api +4 -0
- package/nodejs-moera-api/nodejsmoeraapi.py +578 -0
- package/package.json +65 -0
- package/src/naming/index.ts +12 -0
- package/src/naming/naming.ts +234 -0
- package/src/naming/schemas.mjs +194 -0
- package/src/naming/types.ts +39 -0
- package/src/naming/validate.ts +6 -0
- package/src/naming/validators.d.ts +3 -0
- package/src/naming/validators.js +2084 -0
- package/src/node/caller.ts +311 -0
- package/src/node/cartes.ts +51 -0
- package/src/node/index.ts +3 -0
- package/src/node/node.ts +1285 -0
- package/src/node/schemas.mjs +4715 -0
- package/src/node/types.ts +1544 -0
- package/src/node/validate.ts +6 -0
- package/src/node/validators.d.ts +3 -0
- package/src/node/validators.js +60484 -0
- package/src/schema.ts +30 -0
- package/src/schemas-compile.mjs +51 -0
- package/src/universal-location.ts +212 -0
- package/src/util.ts +42 -0
- package/tsconfig.json +112 -0
- package/typings/naming/index.d.ts +2 -0
- package/typings/naming/index.d.ts.map +1 -0
- package/typings/naming/naming.d.ts +31 -0
- package/typings/naming/naming.d.ts.map +1 -0
- package/typings/naming/schemas.d.mts +271 -0
- package/typings/naming/schemas.d.mts.map +1 -0
- package/typings/naming/types.d.ts +35 -0
- package/typings/naming/types.d.ts.map +1 -0
- package/typings/naming/validate.d.ts +3 -0
- package/typings/naming/validate.d.ts.map +1 -0
- package/typings/naming/validators.d.ts +73 -0
- package/typings/naming/validators.d.ts.map +1 -0
- package/typings/node/caller.d.ts +52 -0
- package/typings/node/caller.d.ts.map +1 -0
- package/typings/node/cartes.d.ts +13 -0
- package/typings/node/cartes.d.ts.map +1 -0
- package/typings/node/index.d.ts +4 -0
- package/typings/node/index.d.ts.map +1 -0
- package/typings/node/node.d.ts +176 -0
- package/typings/node/node.d.ts.map +1 -0
- package/typings/node/schemas.d.mts +6205 -0
- package/typings/node/schemas.d.mts.map +1 -0
- package/typings/node/types.d.ts +1340 -0
- package/typings/node/types.d.ts.map +1 -0
- package/typings/node/validate.d.ts +3 -0
- package/typings/node/validate.d.ts.map +1 -0
- package/typings/node/validators.d.ts +920 -0
- package/typings/node/validators.d.ts.map +1 -0
- package/typings/schema.d.ts +18 -0
- package/typings/schema.d.ts.map +1 -0
- package/typings/schemas-compile.d.mts +2 -0
- package/typings/schemas-compile.d.mts.map +1 -0
- package/typings/universal-location.d.ts +25 -0
- package/typings/universal-location.d.ts.map +1 -0
- package/typings/util.d.ts +6 -0
- package/typings/util.d.ts.map +1 -0
|
@@ -0,0 +1,1544 @@
|
|
|
1
|
+
// This file is generated
|
|
2
|
+
|
|
3
|
+
export type PrincipalValue = "none" | "private" | "admin" | "owner" | "secret" | "senior" | "enigma" | "major"
|
|
4
|
+
| "signed" | "subscribed" | "public" | "unset" | string;
|
|
5
|
+
|
|
6
|
+
export type AskSubject = "subscribe" | "friend";
|
|
7
|
+
|
|
8
|
+
export type BlockedEntryOperation = "addComment" | "addReaction";
|
|
9
|
+
|
|
10
|
+
export type BlockedOperation = "reaction" | "comment" | "posting" | "visibility" | "instant";
|
|
11
|
+
|
|
12
|
+
export type BodyFormat = "message" | "application";
|
|
13
|
+
|
|
14
|
+
export type DraftType = "new-posting" | "posting-update" | "new-comment" | "comment-update";
|
|
15
|
+
|
|
16
|
+
export type OperationStatus = "waiting" | "added" | "started" | "succeeded" | "failed" | "unknown";
|
|
17
|
+
|
|
18
|
+
export type PrincipalFlag = "none" | "private" | "admin" | "owner" | "secret" | "senior" | "enigma" | "major"
|
|
19
|
+
| "signed" | "subscribed" | "public" | "friends" | "unset";
|
|
20
|
+
|
|
21
|
+
export type PushContentType = "story-added" | "story-deleted" | "feed-updated";
|
|
22
|
+
|
|
23
|
+
export type PushRelayType = "fcm";
|
|
24
|
+
|
|
25
|
+
export type SettingType = "bool" | "int" | "string" | "json" | "Duration" | "PrivateKey" | "PublicKey" | "Timestamp"
|
|
26
|
+
| "UUID" | "Principal";
|
|
27
|
+
|
|
28
|
+
export type SheriffComplaintStatus = "posted" | "prepared" | "prepare-failed" | "not-found" | "invalid-target"
|
|
29
|
+
| "not-original" | "not-sheriff" | "approved" | "rejected";
|
|
30
|
+
|
|
31
|
+
export type SheriffOrderCategory = "visibility";
|
|
32
|
+
|
|
33
|
+
export type SheriffOrderReason = "unlawful" | "defamatory" | "threat" | "spam" | "scam" | "malware" | "copyright"
|
|
34
|
+
| "impersonating" | "privacy" | "other";
|
|
35
|
+
|
|
36
|
+
export type SourceFormat = "plain-text" | "html" | "markdown" | "application";
|
|
37
|
+
|
|
38
|
+
export type StoryType = "asked-to-friend" | "asked-to-subscribe" | "blocked-user" | "blocked-user-in-posting"
|
|
39
|
+
| "comment-added" | "comment-media-reaction-added-negative" | "comment-media-reaction-added-positive"
|
|
40
|
+
| "comment-media-reaction-failed" | "comment-post-task-failed" | "comment-reaction-added-negative"
|
|
41
|
+
| "comment-reaction-added-positive" | "comment-reaction-task-failed" | "comment-update-task-failed" | "defrosting"
|
|
42
|
+
| "friend-added" | "friend-deleted" | "friend-group-deleted" | "mention-comment" | "mention-posting"
|
|
43
|
+
| "posting-added" | "posting-media-reaction-added-negative" | "posting-media-reaction-added-positive"
|
|
44
|
+
| "posting-media-reaction-failed" | "posting-post-task-failed" | "posting-reaction-task-failed"
|
|
45
|
+
| "posting-subscribe-task-failed" | "posting-update-task-failed" | "posting-updated" | "reaction-added-negative"
|
|
46
|
+
| "reaction-added-positive" | "remote-comment-added" | "reply-comment" | "sheriff-complaint-added"
|
|
47
|
+
| "sheriff-complaint-decided" | "sheriff-marked" | "sheriff-unmarked" | "subscriber-added" | "subscriber-deleted"
|
|
48
|
+
| "unblocked-user" | "unblocked-user-in-posting";
|
|
49
|
+
|
|
50
|
+
export type SubscriptionReason = "user" | "mention" | "comment";
|
|
51
|
+
|
|
52
|
+
export type SubscriptionType = "feed" | "posting" | "posting-comments" | "profile" | "user-list";
|
|
53
|
+
|
|
54
|
+
export type VerificationStatus = "running" | "correct" | "incorrect" | "error";
|
|
55
|
+
|
|
56
|
+
export interface CommentOperations {
|
|
57
|
+
view?: PrincipalValue | null;
|
|
58
|
+
edit?: PrincipalValue | null;
|
|
59
|
+
delete?: PrincipalValue | null;
|
|
60
|
+
viewReactions?: PrincipalValue | null;
|
|
61
|
+
viewNegativeReactions?: PrincipalValue | null;
|
|
62
|
+
viewReactionTotals?: PrincipalValue | null;
|
|
63
|
+
viewNegativeReactionTotals?: PrincipalValue | null;
|
|
64
|
+
viewReactionRatios?: PrincipalValue | null;
|
|
65
|
+
viewNegativeReactionRatios?: PrincipalValue | null;
|
|
66
|
+
addReaction?: PrincipalValue | null;
|
|
67
|
+
addNegativeReaction?: PrincipalValue | null;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface ContactOperations {
|
|
71
|
+
viewFeedSubscriber?: PrincipalValue | null;
|
|
72
|
+
viewFeedSubscription?: PrincipalValue | null;
|
|
73
|
+
viewFriend?: PrincipalValue | null;
|
|
74
|
+
viewFriendOf?: PrincipalValue | null;
|
|
75
|
+
viewBlock?: PrincipalValue | null;
|
|
76
|
+
viewBlockBy?: PrincipalValue | null;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface FeedOperations {
|
|
80
|
+
add?: PrincipalValue | null;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface FriendOperations {
|
|
84
|
+
view?: PrincipalValue | null;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface FriendGroupOperations {
|
|
88
|
+
view?: PrincipalValue | null;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface NodeNameOperations {
|
|
92
|
+
manage?: PrincipalValue | null;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface PeopleOperations {
|
|
96
|
+
viewSubscribers?: PrincipalValue | null;
|
|
97
|
+
viewSubscriptions?: PrincipalValue | null;
|
|
98
|
+
viewFriends?: PrincipalValue | null;
|
|
99
|
+
viewFriendOfs?: PrincipalValue | null;
|
|
100
|
+
viewBlocked?: PrincipalValue | null;
|
|
101
|
+
viewBlockedBy?: PrincipalValue | null;
|
|
102
|
+
viewSubscribersTotal?: PrincipalValue | null;
|
|
103
|
+
viewSubscriptionsTotal?: PrincipalValue | null;
|
|
104
|
+
viewFriendsTotal?: PrincipalValue | null;
|
|
105
|
+
viewFriendOfsTotal?: PrincipalValue | null;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface PostingOperations {
|
|
109
|
+
view?: PrincipalValue | null;
|
|
110
|
+
edit?: PrincipalValue | null;
|
|
111
|
+
delete?: PrincipalValue | null;
|
|
112
|
+
viewComments?: PrincipalValue | null;
|
|
113
|
+
addComment?: PrincipalValue | null;
|
|
114
|
+
overrideComment?: PrincipalValue | null;
|
|
115
|
+
viewReactions?: PrincipalValue | null;
|
|
116
|
+
viewNegativeReactions?: PrincipalValue | null;
|
|
117
|
+
viewReactionTotals?: PrincipalValue | null;
|
|
118
|
+
viewNegativeReactionTotals?: PrincipalValue | null;
|
|
119
|
+
viewReactionRatios?: PrincipalValue | null;
|
|
120
|
+
viewNegativeReactionRatios?: PrincipalValue | null;
|
|
121
|
+
addReaction?: PrincipalValue | null;
|
|
122
|
+
addNegativeReaction?: PrincipalValue | null;
|
|
123
|
+
overrideReaction?: PrincipalValue | null;
|
|
124
|
+
overrideCommentReaction?: PrincipalValue | null;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface PrivateMediaFileOperations {
|
|
128
|
+
view?: PrincipalValue | null;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface ProfileOperations {
|
|
132
|
+
edit?: PrincipalValue | null;
|
|
133
|
+
viewEmail?: PrincipalValue | null;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export interface ReactionOperations {
|
|
137
|
+
view?: PrincipalValue | null;
|
|
138
|
+
delete?: PrincipalValue | null;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface StoryOperations {
|
|
142
|
+
edit?: PrincipalValue | null;
|
|
143
|
+
delete?: PrincipalValue | null;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface SubscriberOperations {
|
|
147
|
+
view?: PrincipalValue | null;
|
|
148
|
+
delete?: PrincipalValue | null;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface SubscriptionOperations {
|
|
152
|
+
view?: PrincipalValue | null;
|
|
153
|
+
delete?: PrincipalValue | null;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export interface AcceptedReactions {
|
|
157
|
+
positive: string;
|
|
158
|
+
negative: string;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface AskDescription {
|
|
162
|
+
subject: AskSubject;
|
|
163
|
+
friendGroupId?: string | null;
|
|
164
|
+
message?: string | null;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface AsyncOperationCreated {
|
|
168
|
+
id: string;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export interface AvatarAttributes {
|
|
172
|
+
mediaId: string;
|
|
173
|
+
clipX: number;
|
|
174
|
+
clipY: number;
|
|
175
|
+
clipSize: number;
|
|
176
|
+
avatarSize: number;
|
|
177
|
+
rotate: number;
|
|
178
|
+
shape?: string | null;
|
|
179
|
+
ordinal?: number | null;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface AvatarDescription {
|
|
183
|
+
mediaId: string;
|
|
184
|
+
shape: string;
|
|
185
|
+
optional?: boolean | null;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface AvatarImage {
|
|
189
|
+
mediaId: string;
|
|
190
|
+
path: string;
|
|
191
|
+
width?: number | null;
|
|
192
|
+
height?: number | null;
|
|
193
|
+
shape?: string | null;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export interface AvatarInfo {
|
|
197
|
+
id: string;
|
|
198
|
+
mediaId: string;
|
|
199
|
+
path: string;
|
|
200
|
+
width?: number | null;
|
|
201
|
+
height?: number | null;
|
|
202
|
+
shape?: string | null;
|
|
203
|
+
ordinal: number;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export interface AvatarOrdinal {
|
|
207
|
+
id: string;
|
|
208
|
+
ordinal: number;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface AvatarsOrdered {
|
|
212
|
+
ids: string[];
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface BlockedInstantAttributes {
|
|
216
|
+
storyType: StoryType;
|
|
217
|
+
entryId?: string | null;
|
|
218
|
+
remoteNodeName?: string | null;
|
|
219
|
+
remotePostingId?: string | null;
|
|
220
|
+
remoteOwnerName?: string | null;
|
|
221
|
+
deadline?: number | null;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface BlockedInstantFilter {
|
|
225
|
+
storyType: StoryType;
|
|
226
|
+
entryId?: string | null;
|
|
227
|
+
remoteNodeName?: string | null;
|
|
228
|
+
remotePostingId?: string | null;
|
|
229
|
+
remoteOwnerName?: string | null;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export interface BlockedInstantInfo {
|
|
233
|
+
id: string;
|
|
234
|
+
storyType: StoryType;
|
|
235
|
+
entryId?: string | null;
|
|
236
|
+
remoteNodeName?: string | null;
|
|
237
|
+
remotePostingId?: string | null;
|
|
238
|
+
remoteOwnerName?: string | null;
|
|
239
|
+
createdAt: number;
|
|
240
|
+
deadline?: number | null;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export interface BlockedPostingInstantInfo {
|
|
244
|
+
id: string;
|
|
245
|
+
storyType: StoryType;
|
|
246
|
+
remoteOwnerName?: string | null;
|
|
247
|
+
deadline?: number | null;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export interface BlockedUserAttributes {
|
|
251
|
+
blockedOperation: BlockedOperation;
|
|
252
|
+
nodeName: string;
|
|
253
|
+
entryId?: string | null;
|
|
254
|
+
entryNodeName?: string | null;
|
|
255
|
+
entryPostingId?: string | null;
|
|
256
|
+
deadline?: number | null;
|
|
257
|
+
reasonSrc?: string | null;
|
|
258
|
+
reasonSrcFormat?: SourceFormat | null;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface BlockedUserFilter {
|
|
262
|
+
blockedOperations?: BlockedOperation[] | null;
|
|
263
|
+
nodeName?: string | null;
|
|
264
|
+
entryId?: string | null;
|
|
265
|
+
entryNodeName?: string | null;
|
|
266
|
+
entryPostingId?: string | null;
|
|
267
|
+
strict?: boolean | null;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export interface BlockedUsersChecksums {
|
|
271
|
+
visibility: number;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export interface CarteInfo {
|
|
275
|
+
carte: string;
|
|
276
|
+
beginning: number;
|
|
277
|
+
deadline: number;
|
|
278
|
+
permissions?: string[] | null;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export interface CarteSet {
|
|
282
|
+
cartesIp?: string | null;
|
|
283
|
+
cartes: CarteInfo[];
|
|
284
|
+
createdAt: number;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export interface ClientReactionInfo {
|
|
288
|
+
negative: boolean;
|
|
289
|
+
emoji: number;
|
|
290
|
+
createdAt: number;
|
|
291
|
+
deadline?: number | null;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export interface CommentMassAttributes {
|
|
295
|
+
seniorOperations?: CommentOperations | null;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export interface CommentTotalInfo {
|
|
299
|
+
total: number;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface ContactInfo {
|
|
303
|
+
nodeName: string;
|
|
304
|
+
fullName?: string | null;
|
|
305
|
+
gender?: string | null;
|
|
306
|
+
avatar?: AvatarImage | null;
|
|
307
|
+
closeness: number;
|
|
308
|
+
hasFeedSubscriber?: boolean | null;
|
|
309
|
+
hasFeedSubscription?: boolean | null;
|
|
310
|
+
hasFriend?: boolean | null;
|
|
311
|
+
hasFriendOf?: boolean | null;
|
|
312
|
+
hasBlock?: boolean | null;
|
|
313
|
+
hasBlockBy?: boolean | null;
|
|
314
|
+
operations?: ContactOperations | null;
|
|
315
|
+
ownerOperations?: ContactOperations | null;
|
|
316
|
+
adminOperations?: ContactOperations | null;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export interface Credentials {
|
|
320
|
+
login: string;
|
|
321
|
+
password: string;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export interface CredentialsChange {
|
|
325
|
+
token?: string | null;
|
|
326
|
+
oldPassword?: string | null;
|
|
327
|
+
login: string;
|
|
328
|
+
password: string;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export interface CredentialsCreated {
|
|
332
|
+
created: boolean;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export interface DeleteNodeStatus {
|
|
336
|
+
requested: boolean;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export interface DeleteNodeText {
|
|
340
|
+
message?: string | null;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export interface DomainAttributes {
|
|
344
|
+
name?: string | null;
|
|
345
|
+
nodeId?: string | null;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export interface DomainAvailable {
|
|
349
|
+
name: string;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export interface DomainInfo {
|
|
353
|
+
name: string;
|
|
354
|
+
nodeId: string;
|
|
355
|
+
createdAt: number;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface EmailHint {
|
|
359
|
+
emailHint: string;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export interface FeedReference {
|
|
363
|
+
feedName: string;
|
|
364
|
+
publishedAt: number;
|
|
365
|
+
pinned?: boolean | null;
|
|
366
|
+
moment: number;
|
|
367
|
+
storyId: string;
|
|
368
|
+
operations?: StoryOperations | null;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export interface FeedStatus {
|
|
372
|
+
total: number;
|
|
373
|
+
totalPinned: number;
|
|
374
|
+
lastMoment?: number | null;
|
|
375
|
+
notViewed?: number | null;
|
|
376
|
+
notRead?: number | null;
|
|
377
|
+
notViewedMoment?: number | null;
|
|
378
|
+
notReadMoment?: number | null;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export interface FeedStatusChange {
|
|
382
|
+
viewed?: boolean | null;
|
|
383
|
+
read?: boolean | null;
|
|
384
|
+
before: number;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export interface FeedWithStatus {
|
|
388
|
+
feedName: string;
|
|
389
|
+
notViewed: number;
|
|
390
|
+
notRead: number;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export interface FriendGroupAssignment {
|
|
394
|
+
id: string;
|
|
395
|
+
operations?: FriendOperations | null;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export interface FriendGroupDescription {
|
|
399
|
+
title: string;
|
|
400
|
+
operations?: FriendGroupOperations | null;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export interface FriendGroupDetails {
|
|
404
|
+
id: string;
|
|
405
|
+
title?: string | null;
|
|
406
|
+
addedAt: number;
|
|
407
|
+
operations?: FriendOperations | null;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export interface FriendGroupInfo {
|
|
411
|
+
id: string;
|
|
412
|
+
title?: string | null;
|
|
413
|
+
createdAt: number;
|
|
414
|
+
operations?: FriendGroupOperations | null;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export interface FriendGroupsFeatures {
|
|
418
|
+
available: FriendGroupInfo[];
|
|
419
|
+
memberOf?: FriendGroupDetails[] | null;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export interface FriendInfo {
|
|
423
|
+
nodeName: string;
|
|
424
|
+
contact?: ContactInfo | null;
|
|
425
|
+
groups?: FriendGroupDetails[] | null;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export interface FriendOfInfo {
|
|
429
|
+
remoteNodeName: string;
|
|
430
|
+
contact?: ContactInfo | null;
|
|
431
|
+
groups?: FriendGroupDetails[] | null;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export interface FundraiserInfo {
|
|
435
|
+
title: string;
|
|
436
|
+
qrCode?: string | null;
|
|
437
|
+
text?: string | null;
|
|
438
|
+
href?: string | null;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export interface LinkPreview {
|
|
442
|
+
siteName?: string | null;
|
|
443
|
+
url?: string | null;
|
|
444
|
+
title?: string | null;
|
|
445
|
+
description?: string | null;
|
|
446
|
+
imageHash?: string | null;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export interface LinkPreviewInfo {
|
|
450
|
+
siteName?: string | null;
|
|
451
|
+
url?: string | null;
|
|
452
|
+
title?: string | null;
|
|
453
|
+
description?: string | null;
|
|
454
|
+
imageUrl?: string | null;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export interface MediaFilePreviewInfo {
|
|
458
|
+
targetWidth: number;
|
|
459
|
+
directPath?: string | null;
|
|
460
|
+
width: number;
|
|
461
|
+
height: number;
|
|
462
|
+
original?: boolean | null;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export interface MediaWithDigest {
|
|
466
|
+
id: string;
|
|
467
|
+
digest?: string | null;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export interface NameToRegister {
|
|
471
|
+
name: string;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export interface NotificationPacket {
|
|
475
|
+
id: string;
|
|
476
|
+
nodeName: string;
|
|
477
|
+
fullName?: string | null;
|
|
478
|
+
gender?: string | null;
|
|
479
|
+
avatar?: AvatarImage | null;
|
|
480
|
+
createdAt: number;
|
|
481
|
+
type: string;
|
|
482
|
+
notification: string;
|
|
483
|
+
signature: string;
|
|
484
|
+
signatureVersion: number;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export interface NodeNameInfo {
|
|
488
|
+
name?: string | null;
|
|
489
|
+
operationStatus?: OperationStatus | null;
|
|
490
|
+
operationStatusUpdated?: number | null;
|
|
491
|
+
operationErrorCode?: string | null;
|
|
492
|
+
operationErrorMessage?: string | null;
|
|
493
|
+
operations?: NodeNameOperations | null;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export interface PeopleGeneralInfo {
|
|
497
|
+
feedSubscribersTotal?: number | null;
|
|
498
|
+
feedSubscriptionsTotal?: number | null;
|
|
499
|
+
friendsTotal?: Partial<Record<string, number>> | null;
|
|
500
|
+
friendOfsTotal?: number | null;
|
|
501
|
+
blockedTotal?: number | null;
|
|
502
|
+
blockedByTotal?: number | null;
|
|
503
|
+
operations?: PeopleOperations | null;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export interface PluginContext {
|
|
507
|
+
rootAdmin: boolean;
|
|
508
|
+
admin: boolean;
|
|
509
|
+
authCategories: string[];
|
|
510
|
+
clientName: string;
|
|
511
|
+
remoteAddress: string;
|
|
512
|
+
userAgent: string;
|
|
513
|
+
userAgentOs: string;
|
|
514
|
+
nodeId: string;
|
|
515
|
+
nodeName: string;
|
|
516
|
+
domainName: string;
|
|
517
|
+
originUrl: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export interface PostingFeatures {
|
|
521
|
+
post?: boolean | null;
|
|
522
|
+
subjectPresent: boolean;
|
|
523
|
+
sourceFormats: SourceFormat[];
|
|
524
|
+
mediaMaxSize: number;
|
|
525
|
+
imageRecommendedSize: number;
|
|
526
|
+
imageRecommendedPixels: number;
|
|
527
|
+
imageFormats: string[];
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export interface PostingSourceInfo {
|
|
531
|
+
nodeName: string;
|
|
532
|
+
fullName?: string | null;
|
|
533
|
+
avatar?: AvatarImage | null;
|
|
534
|
+
feedName: string;
|
|
535
|
+
postingId: string;
|
|
536
|
+
createdAt: number;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export interface PrivateMediaFileInfo {
|
|
540
|
+
id: string;
|
|
541
|
+
hash: string;
|
|
542
|
+
path: string;
|
|
543
|
+
directPath?: string | null;
|
|
544
|
+
mimeType: string;
|
|
545
|
+
width: number;
|
|
546
|
+
height: number;
|
|
547
|
+
orientation: number;
|
|
548
|
+
size: number;
|
|
549
|
+
postingId?: string | null;
|
|
550
|
+
previews?: MediaFilePreviewInfo[] | null;
|
|
551
|
+
operations?: PrivateMediaFileOperations | null;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export interface ProfileAttributes {
|
|
555
|
+
fullName?: string | null;
|
|
556
|
+
gender?: string | null;
|
|
557
|
+
email?: string | null;
|
|
558
|
+
title?: string | null;
|
|
559
|
+
bioSrc?: string | null;
|
|
560
|
+
bioSrcFormat?: SourceFormat | null;
|
|
561
|
+
avatarId?: string | null;
|
|
562
|
+
fundraisers?: FundraiserInfo[] | null;
|
|
563
|
+
operations?: ProfileOperations | null;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export interface ProfileInfo {
|
|
567
|
+
fullName?: string | null;
|
|
568
|
+
gender?: string | null;
|
|
569
|
+
email?: string | null;
|
|
570
|
+
title?: string | null;
|
|
571
|
+
bioSrc?: string | null;
|
|
572
|
+
bioSrcFormat?: SourceFormat | null;
|
|
573
|
+
bioHtml?: string | null;
|
|
574
|
+
avatar?: AvatarInfo | null;
|
|
575
|
+
fundraisers?: FundraiserInfo[] | null;
|
|
576
|
+
operations?: ProfileOperations | null;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export interface PublicMediaFileInfo {
|
|
580
|
+
id: string;
|
|
581
|
+
path: string;
|
|
582
|
+
width: number;
|
|
583
|
+
height: number;
|
|
584
|
+
orientation: number;
|
|
585
|
+
size: number;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export interface PushRelayClientAttributes {
|
|
589
|
+
type: PushRelayType;
|
|
590
|
+
clientId: string;
|
|
591
|
+
lang?: string | null;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export interface ReactionAttributes {
|
|
595
|
+
negative: boolean;
|
|
596
|
+
emoji: number;
|
|
597
|
+
operations?: ReactionOperations | null;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export interface ReactionDescription {
|
|
601
|
+
ownerName?: string | null;
|
|
602
|
+
ownerFullName?: string | null;
|
|
603
|
+
ownerGender?: string | null;
|
|
604
|
+
ownerAvatar?: AvatarDescription | null;
|
|
605
|
+
negative: boolean;
|
|
606
|
+
emoji: number;
|
|
607
|
+
signature?: string | null;
|
|
608
|
+
signatureVersion?: number | null;
|
|
609
|
+
operations?: ReactionOperations | null;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
export interface ReactionsFilter {
|
|
613
|
+
ownerName?: string | null;
|
|
614
|
+
postings?: string[] | null;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export interface ReactionInfo {
|
|
618
|
+
ownerName?: string | null;
|
|
619
|
+
ownerFullName?: string | null;
|
|
620
|
+
ownerGender?: string | null;
|
|
621
|
+
ownerAvatar?: AvatarImage | null;
|
|
622
|
+
postingId?: string | null;
|
|
623
|
+
postingRevisionId?: string | null;
|
|
624
|
+
commentId?: string | null;
|
|
625
|
+
commentRevisionId?: string | null;
|
|
626
|
+
negative?: boolean | null;
|
|
627
|
+
emoji?: number | null;
|
|
628
|
+
moment?: number | null;
|
|
629
|
+
createdAt?: number | null;
|
|
630
|
+
deadline?: number | null;
|
|
631
|
+
signature?: string | null;
|
|
632
|
+
signatureVersion?: number | null;
|
|
633
|
+
operations?: ReactionOperations | null;
|
|
634
|
+
ownerOperations?: ReactionOperations | null;
|
|
635
|
+
seniorOperations?: ReactionOperations | null;
|
|
636
|
+
majorOperations?: ReactionOperations | null;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
export interface ReactionsSliceInfo {
|
|
640
|
+
before: number;
|
|
641
|
+
after: number;
|
|
642
|
+
total: number;
|
|
643
|
+
reactions: ReactionInfo[];
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export interface ReactionTotalInfo {
|
|
647
|
+
emoji: number;
|
|
648
|
+
total?: number | null;
|
|
649
|
+
share?: number | null;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export interface ReactionTotalsFilter {
|
|
653
|
+
postings: string[];
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export interface ReactionTotalsInfo {
|
|
657
|
+
entryId: string;
|
|
658
|
+
positive: ReactionTotalInfo[];
|
|
659
|
+
negative: ReactionTotalInfo[];
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export interface ReactionOverride {
|
|
663
|
+
operations?: ReactionOperations | null;
|
|
664
|
+
seniorOperations?: ReactionOperations | null;
|
|
665
|
+
majorOperations?: ReactionOperations | null;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export interface RegisteredNameSecret {
|
|
669
|
+
name: string;
|
|
670
|
+
mnemonic?: string[] | null;
|
|
671
|
+
secret?: string | null;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export interface RemoteFeed {
|
|
675
|
+
nodeName: string;
|
|
676
|
+
feedName: string;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export interface RemoteMedia {
|
|
680
|
+
id: string;
|
|
681
|
+
hash?: string | null;
|
|
682
|
+
digest?: string | null;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export interface RemoteMediaInfo {
|
|
686
|
+
id: string;
|
|
687
|
+
hash?: string | null;
|
|
688
|
+
digest?: string | null;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export interface RemotePosting {
|
|
692
|
+
nodeName: string;
|
|
693
|
+
postingId: string;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export interface RemotePostingOrNode {
|
|
697
|
+
nodeName: string;
|
|
698
|
+
postingId?: string | null;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
export interface RemotePostingVerificationInfo {
|
|
702
|
+
id: string;
|
|
703
|
+
nodeName: string;
|
|
704
|
+
postingId: string;
|
|
705
|
+
revisionId?: string | null;
|
|
706
|
+
status?: VerificationStatus | null;
|
|
707
|
+
errorCode?: string | null;
|
|
708
|
+
errorMessage?: string | null;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export interface RemoteReactionVerificationInfo {
|
|
712
|
+
id: string;
|
|
713
|
+
nodeName: string;
|
|
714
|
+
postingId: string;
|
|
715
|
+
reactionOwnerName: string;
|
|
716
|
+
status?: VerificationStatus | null;
|
|
717
|
+
errorCode?: string | null;
|
|
718
|
+
errorMessage?: string | null;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
export interface RepliedTo {
|
|
722
|
+
id: string;
|
|
723
|
+
revisionId?: string | null;
|
|
724
|
+
name: string;
|
|
725
|
+
fullName?: string | null;
|
|
726
|
+
gender?: string | null;
|
|
727
|
+
avatar?: AvatarImage | null;
|
|
728
|
+
heading?: string | null;
|
|
729
|
+
digest: string;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
export interface Result {
|
|
733
|
+
errorCode: string;
|
|
734
|
+
message: string;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
export interface SheriffMark {
|
|
738
|
+
sheriffName: string;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export interface SettingInfo {
|
|
742
|
+
name: string;
|
|
743
|
+
value?: string | null;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export interface SettingMetaAttributes {
|
|
747
|
+
name: string;
|
|
748
|
+
defaultValue?: string | null;
|
|
749
|
+
privileged?: boolean | null;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export interface SettingTypeModifiers {
|
|
753
|
+
format?: string | null;
|
|
754
|
+
min?: string | null;
|
|
755
|
+
max?: string | null;
|
|
756
|
+
multiline?: boolean | null;
|
|
757
|
+
never?: boolean | null;
|
|
758
|
+
always?: boolean | null;
|
|
759
|
+
principals?: PrincipalFlag[] | null;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export interface SheriffComplaintDecisionText {
|
|
763
|
+
reject: boolean;
|
|
764
|
+
decisionCode?: SheriffOrderReason | null;
|
|
765
|
+
decisionDetails?: string | null;
|
|
766
|
+
anonymous?: boolean | null;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export interface SheriffComplaintGroupInfo {
|
|
770
|
+
id: string;
|
|
771
|
+
remoteNodeName: string;
|
|
772
|
+
remoteNodeFullName?: string | null;
|
|
773
|
+
remoteFeedName: string;
|
|
774
|
+
remotePostingId?: string | null;
|
|
775
|
+
remotePostingRevisionId?: string | null;
|
|
776
|
+
remotePostingOwnerName?: string | null;
|
|
777
|
+
remotePostingOwnerFullName?: string | null;
|
|
778
|
+
remotePostingOwnerGender?: string | null;
|
|
779
|
+
remotePostingHeading?: string | null;
|
|
780
|
+
remoteCommentId?: string | null;
|
|
781
|
+
remoteCommentRevisionId?: string | null;
|
|
782
|
+
remoteCommentOwnerName?: string | null;
|
|
783
|
+
remoteCommentOwnerFullName?: string | null;
|
|
784
|
+
remoteCommentOwnerGender?: string | null;
|
|
785
|
+
remoteCommentHeading?: string | null;
|
|
786
|
+
createdAt: number;
|
|
787
|
+
moment: number;
|
|
788
|
+
status: SheriffComplaintStatus;
|
|
789
|
+
decisionCode?: SheriffOrderReason | null;
|
|
790
|
+
decisionDetails?: string | null;
|
|
791
|
+
decidedAt?: number | null;
|
|
792
|
+
anonymous?: boolean | null;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export interface SheriffComplaintGroupsSliceInfo {
|
|
796
|
+
before: number;
|
|
797
|
+
after: number;
|
|
798
|
+
groups: SheriffComplaintGroupInfo[];
|
|
799
|
+
total: number;
|
|
800
|
+
totalInPast: number;
|
|
801
|
+
totalInFuture: number;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export interface SheriffComplaintInfo {
|
|
805
|
+
id: string;
|
|
806
|
+
ownerName: string;
|
|
807
|
+
ownerFullName?: string | null;
|
|
808
|
+
ownerGender?: string | null;
|
|
809
|
+
group?: SheriffComplaintGroupInfo | null;
|
|
810
|
+
reasonCode: SheriffOrderReason;
|
|
811
|
+
reasonDetails?: string | null;
|
|
812
|
+
anonymousRequested?: boolean | null;
|
|
813
|
+
createdAt: number;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
export interface SheriffComplaintText {
|
|
817
|
+
ownerFullName?: string | null;
|
|
818
|
+
ownerGender?: string | null;
|
|
819
|
+
nodeName: string;
|
|
820
|
+
fullName?: string | null;
|
|
821
|
+
feedName: string;
|
|
822
|
+
postingId?: string | null;
|
|
823
|
+
postingOwnerName?: string | null;
|
|
824
|
+
postingOwnerFullName?: string | null;
|
|
825
|
+
postingOwnerGender?: string | null;
|
|
826
|
+
postingHeading?: string | null;
|
|
827
|
+
commentId?: string | null;
|
|
828
|
+
commentOwnerName?: string | null;
|
|
829
|
+
commentOwnerFullName?: string | null;
|
|
830
|
+
commentOwnerGender?: string | null;
|
|
831
|
+
commentHeading?: string | null;
|
|
832
|
+
reasonCode?: SheriffOrderReason | null;
|
|
833
|
+
reasonDetails?: string | null;
|
|
834
|
+
anonymous?: boolean | null;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
export interface SheriffOrderAttributes {
|
|
838
|
+
delete?: boolean | null;
|
|
839
|
+
feedName: string;
|
|
840
|
+
postingId?: string | null;
|
|
841
|
+
commentId?: string | null;
|
|
842
|
+
category: SheriffOrderCategory;
|
|
843
|
+
reasonCode?: SheriffOrderReason | null;
|
|
844
|
+
reasonDetails?: string | null;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export interface SheriffOrderDetails {
|
|
848
|
+
id: string;
|
|
849
|
+
delete?: boolean | null;
|
|
850
|
+
sheriffName: string;
|
|
851
|
+
sheriffAvatar?: AvatarDescription | null;
|
|
852
|
+
feedName: string;
|
|
853
|
+
postingId?: string | null;
|
|
854
|
+
commentId?: string | null;
|
|
855
|
+
category: SheriffOrderCategory;
|
|
856
|
+
reasonCode?: SheriffOrderReason | null;
|
|
857
|
+
reasonDetails?: string | null;
|
|
858
|
+
createdAt: number;
|
|
859
|
+
signature: string;
|
|
860
|
+
signatureVersion: number;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export interface SheriffOrderInfo {
|
|
864
|
+
id: string;
|
|
865
|
+
delete?: boolean | null;
|
|
866
|
+
sheriffName: string;
|
|
867
|
+
nodeName: string;
|
|
868
|
+
nodeFullName?: string | null;
|
|
869
|
+
feedName: string;
|
|
870
|
+
postingId?: string | null;
|
|
871
|
+
postingRevisionId?: string | null;
|
|
872
|
+
postingOwnerName?: string | null;
|
|
873
|
+
postingOwnerFullName?: string | null;
|
|
874
|
+
postingOwnerGender?: string | null;
|
|
875
|
+
postingHeading?: string | null;
|
|
876
|
+
commentId?: string | null;
|
|
877
|
+
commentRevisionId?: string | null;
|
|
878
|
+
commentOwnerName?: string | null;
|
|
879
|
+
commentOwnerFullName?: string | null;
|
|
880
|
+
commentOwnerGender?: string | null;
|
|
881
|
+
commentHeading?: string | null;
|
|
882
|
+
category: SheriffOrderCategory;
|
|
883
|
+
reasonCode?: SheriffOrderReason | null;
|
|
884
|
+
reasonDetails?: string | null;
|
|
885
|
+
createdAt: number;
|
|
886
|
+
signature: string;
|
|
887
|
+
signatureVersion: number;
|
|
888
|
+
complaintGroupId?: string | null;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
export interface StoryAttributes {
|
|
892
|
+
feedName?: string | null;
|
|
893
|
+
publishAt?: number | null;
|
|
894
|
+
pinned?: boolean | null;
|
|
895
|
+
viewed?: boolean | null;
|
|
896
|
+
read?: boolean | null;
|
|
897
|
+
satisfied?: boolean | null;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
export interface StorySummaryBlocked {
|
|
901
|
+
operations: BlockedOperation[];
|
|
902
|
+
period?: number | null;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export interface StorySummaryFriendGroup {
|
|
906
|
+
id?: string | null;
|
|
907
|
+
title?: string | null;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export interface StorySummaryEntry {
|
|
911
|
+
ownerName?: string | null;
|
|
912
|
+
ownerFullName?: string | null;
|
|
913
|
+
ownerGender?: string | null;
|
|
914
|
+
heading?: string | null;
|
|
915
|
+
sheriffs?: string[] | null;
|
|
916
|
+
sheriffMarks?: SheriffMark[] | null;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
export interface StorySummaryNode {
|
|
920
|
+
ownerName?: string | null;
|
|
921
|
+
ownerFullName?: string | null;
|
|
922
|
+
ownerGender?: string | null;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export interface StorySummaryReaction {
|
|
926
|
+
ownerName?: string | null;
|
|
927
|
+
ownerFullName?: string | null;
|
|
928
|
+
ownerGender?: string | null;
|
|
929
|
+
emoji?: number | null;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
export interface StorySummarySheriff {
|
|
933
|
+
sheriffName: string;
|
|
934
|
+
orderId?: string | null;
|
|
935
|
+
complaintId?: string | null;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export interface SubscriberDescription {
|
|
939
|
+
type: SubscriptionType;
|
|
940
|
+
feedName?: string | null;
|
|
941
|
+
postingId?: string | null;
|
|
942
|
+
lastUpdatedAt?: number | null;
|
|
943
|
+
operations?: SubscriberOperations | null;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export interface SubscriberInfo {
|
|
947
|
+
id: string;
|
|
948
|
+
type: SubscriptionType;
|
|
949
|
+
feedName?: string | null;
|
|
950
|
+
postingId?: string | null;
|
|
951
|
+
nodeName: string;
|
|
952
|
+
contact?: ContactInfo | null;
|
|
953
|
+
createdAt: number;
|
|
954
|
+
operations?: SubscriberOperations | null;
|
|
955
|
+
ownerOperations?: SubscriberOperations | null;
|
|
956
|
+
adminOperations?: SubscriberOperations | null;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export interface SubscriberOverride {
|
|
960
|
+
operations?: SubscriberOperations | null;
|
|
961
|
+
adminOperations?: SubscriberOperations | null;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export interface SubscriptionDescription {
|
|
965
|
+
type: SubscriptionType;
|
|
966
|
+
feedName?: string | null;
|
|
967
|
+
remoteNodeName: string;
|
|
968
|
+
remoteFeedName?: string | null;
|
|
969
|
+
remotePostingId?: string | null;
|
|
970
|
+
reason?: SubscriptionReason | null;
|
|
971
|
+
operations?: SubscriptionOperations | null;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
export interface SubscriptionFilter {
|
|
975
|
+
type?: SubscriptionType | null;
|
|
976
|
+
feeds?: RemoteFeed[] | null;
|
|
977
|
+
postings?: RemotePosting[] | null;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export interface SubscriptionInfo {
|
|
981
|
+
id: string;
|
|
982
|
+
type: SubscriptionType;
|
|
983
|
+
feedName?: string | null;
|
|
984
|
+
remoteNodeName: string;
|
|
985
|
+
contact?: ContactInfo | null;
|
|
986
|
+
remoteFeedName?: string | null;
|
|
987
|
+
remotePostingId?: string | null;
|
|
988
|
+
createdAt: number;
|
|
989
|
+
reason: SubscriptionReason;
|
|
990
|
+
operations?: SubscriptionOperations | null;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export interface SubscriptionOverride {
|
|
994
|
+
operations?: SubscriptionOperations | null;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export interface TokenAttributes {
|
|
998
|
+
login: string;
|
|
999
|
+
password: string;
|
|
1000
|
+
authCategory?: number | null;
|
|
1001
|
+
name?: string | null;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export interface TokenInfo {
|
|
1005
|
+
id: string;
|
|
1006
|
+
token: string;
|
|
1007
|
+
name?: string | null;
|
|
1008
|
+
permissions: string[];
|
|
1009
|
+
pluginName?: string | null;
|
|
1010
|
+
createdAt: number;
|
|
1011
|
+
deadline?: number | null;
|
|
1012
|
+
lastUsedAt?: number | null;
|
|
1013
|
+
lastUsedBrowser?: string | null;
|
|
1014
|
+
lastUsedIp?: string | null;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
export interface TokenName {
|
|
1018
|
+
name?: string | null;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
export interface UpdateInfo {
|
|
1022
|
+
important?: boolean | null;
|
|
1023
|
+
description?: string | null;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export interface UserListInfo {
|
|
1027
|
+
name: string;
|
|
1028
|
+
total: number;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
export interface UserListItemAttributes {
|
|
1032
|
+
nodeName: string;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
export interface UserListItemInfo {
|
|
1036
|
+
nodeName: string;
|
|
1037
|
+
createdAt: number;
|
|
1038
|
+
moment: number;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export interface UserListSliceInfo {
|
|
1042
|
+
listName: string;
|
|
1043
|
+
before: number;
|
|
1044
|
+
after: number;
|
|
1045
|
+
items: UserListItemInfo[];
|
|
1046
|
+
total: number;
|
|
1047
|
+
totalInPast: number;
|
|
1048
|
+
totalInFuture: number;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
export interface WhoAmI {
|
|
1052
|
+
nodeName?: string | null;
|
|
1053
|
+
nodeNameChanging?: boolean | null;
|
|
1054
|
+
fullName?: string | null;
|
|
1055
|
+
gender?: string | null;
|
|
1056
|
+
title?: string | null;
|
|
1057
|
+
avatar?: AvatarImage | null;
|
|
1058
|
+
frozen?: boolean | null;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export interface ActivityReactionFilter {
|
|
1062
|
+
postings?: RemotePosting[] | null;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
export interface ActivityReactionInfo {
|
|
1066
|
+
remoteNodeName: string;
|
|
1067
|
+
remoteFullName?: string | null;
|
|
1068
|
+
remoteAvatar?: AvatarImage | null;
|
|
1069
|
+
remotePostingId: string;
|
|
1070
|
+
negative: boolean;
|
|
1071
|
+
emoji: number;
|
|
1072
|
+
createdAt: number;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
export interface BlockedByUserFilter {
|
|
1076
|
+
blockedOperations?: BlockedOperation[] | null;
|
|
1077
|
+
postings?: RemotePostingOrNode[] | null;
|
|
1078
|
+
strict?: boolean | null;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
export interface BlockedByUserInfo {
|
|
1082
|
+
id: string;
|
|
1083
|
+
blockedOperation: BlockedOperation;
|
|
1084
|
+
contact?: ContactInfo | null;
|
|
1085
|
+
nodeName: string;
|
|
1086
|
+
postingId?: string | null;
|
|
1087
|
+
createdAt: number;
|
|
1088
|
+
deadline?: number | null;
|
|
1089
|
+
reason?: string | null;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
export interface BlockedUserInfo {
|
|
1093
|
+
id: string;
|
|
1094
|
+
blockedOperation: BlockedOperation;
|
|
1095
|
+
nodeName: string;
|
|
1096
|
+
contact?: ContactInfo | null;
|
|
1097
|
+
entryId?: string | null;
|
|
1098
|
+
entryNodeName?: string | null;
|
|
1099
|
+
entryPostingId?: string | null;
|
|
1100
|
+
createdAt: number;
|
|
1101
|
+
deadline?: number | null;
|
|
1102
|
+
reasonSrc?: string | null;
|
|
1103
|
+
reasonSrcFormat?: SourceFormat | null;
|
|
1104
|
+
reason?: string | null;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export interface Body {
|
|
1108
|
+
subject?: string | null;
|
|
1109
|
+
text?: string | null;
|
|
1110
|
+
linkPreviews?: LinkPreview[] | null;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export interface CommentRevisionInfoBase<B> {
|
|
1114
|
+
id: string;
|
|
1115
|
+
postingRevisionId: string;
|
|
1116
|
+
bodyPreview?: B | null;
|
|
1117
|
+
bodySrcHash: string;
|
|
1118
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1119
|
+
body: B;
|
|
1120
|
+
bodyFormat?: BodyFormat | null;
|
|
1121
|
+
heading: string;
|
|
1122
|
+
createdAt: number;
|
|
1123
|
+
deletedAt?: number | null;
|
|
1124
|
+
deadline?: number | null;
|
|
1125
|
+
digest?: string | null;
|
|
1126
|
+
signature?: string | null;
|
|
1127
|
+
signatureVersion?: number | null;
|
|
1128
|
+
clientReaction?: ClientReactionInfo | null;
|
|
1129
|
+
reactions?: ReactionTotalsInfo | null;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export type EncodedCommentRevisionInfo = CommentRevisionInfoBase<string>;
|
|
1133
|
+
export type CommentRevisionInfo = CommentRevisionInfoBase<Body>;
|
|
1134
|
+
|
|
1135
|
+
export interface CommentSourceText {
|
|
1136
|
+
ownerAvatar?: AvatarDescription | null;
|
|
1137
|
+
bodySrc?: string | null;
|
|
1138
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1139
|
+
media?: MediaWithDigest[] | null;
|
|
1140
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1141
|
+
repliedToId?: string | null;
|
|
1142
|
+
operations?: CommentOperations | null;
|
|
1143
|
+
seniorOperations?: CommentOperations | null;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
export interface CommentText {
|
|
1147
|
+
ownerName?: string | null;
|
|
1148
|
+
ownerFullName?: string | null;
|
|
1149
|
+
ownerGender?: string | null;
|
|
1150
|
+
ownerAvatar?: AvatarDescription | null;
|
|
1151
|
+
bodyPreview?: string | null;
|
|
1152
|
+
bodySrc?: string | null;
|
|
1153
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1154
|
+
body?: string | null;
|
|
1155
|
+
bodyFormat?: BodyFormat | null;
|
|
1156
|
+
media?: string[] | null;
|
|
1157
|
+
createdAt?: number | null;
|
|
1158
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1159
|
+
repliedToId?: string | null;
|
|
1160
|
+
signature?: string | null;
|
|
1161
|
+
signatureVersion?: number | null;
|
|
1162
|
+
operations?: CommentOperations | null;
|
|
1163
|
+
reactionOperations?: ReactionOperations | null;
|
|
1164
|
+
seniorOperations?: CommentOperations | null;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
export interface DraftText {
|
|
1168
|
+
draftType: DraftType;
|
|
1169
|
+
receiverName: string;
|
|
1170
|
+
receiverPostingId?: string | null;
|
|
1171
|
+
receiverCommentId?: string | null;
|
|
1172
|
+
repliedToId?: string | null;
|
|
1173
|
+
ownerFullName?: string | null;
|
|
1174
|
+
ownerAvatar?: AvatarDescription | null;
|
|
1175
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1176
|
+
bodySrc?: string | null;
|
|
1177
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1178
|
+
media?: RemoteMedia[] | null;
|
|
1179
|
+
publishAt?: number | null;
|
|
1180
|
+
updateInfo?: UpdateInfo | null;
|
|
1181
|
+
operations?: PostingOperations | null;
|
|
1182
|
+
commentOperations?: CommentOperations | null;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
export interface Features {
|
|
1186
|
+
posting: PostingFeatures;
|
|
1187
|
+
plugins?: string[] | null;
|
|
1188
|
+
feedWidth: number;
|
|
1189
|
+
friendGroups?: FriendGroupsFeatures | null;
|
|
1190
|
+
ask?: AskSubject[] | null;
|
|
1191
|
+
subscribed?: boolean | null;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
export interface FeedInfo {
|
|
1195
|
+
feedName: string;
|
|
1196
|
+
title?: string | null;
|
|
1197
|
+
total: number;
|
|
1198
|
+
firstCreatedAt?: number | null;
|
|
1199
|
+
lastCreatedAt?: number | null;
|
|
1200
|
+
operations?: FeedOperations | null;
|
|
1201
|
+
sheriffs?: string[] | null;
|
|
1202
|
+
sheriffMarks?: SheriffMark[] | null;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export interface FriendDescription {
|
|
1206
|
+
nodeName: string;
|
|
1207
|
+
groups?: FriendGroupAssignment[] | null;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
export interface MediaAttachment {
|
|
1211
|
+
media?: PrivateMediaFileInfo | null;
|
|
1212
|
+
remoteMedia?: RemoteMediaInfo | null;
|
|
1213
|
+
embedded: boolean;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
export interface PostingInfoBase<B> {
|
|
1217
|
+
id: string;
|
|
1218
|
+
revisionId: string;
|
|
1219
|
+
receiverRevisionId?: string | null;
|
|
1220
|
+
totalRevisions: number;
|
|
1221
|
+
receiverName?: string | null;
|
|
1222
|
+
receiverFullName?: string | null;
|
|
1223
|
+
receiverGender?: string | null;
|
|
1224
|
+
receiverAvatar?: AvatarImage | null;
|
|
1225
|
+
receiverPostingId?: string | null;
|
|
1226
|
+
parentMediaId?: string | null;
|
|
1227
|
+
ownerName: string;
|
|
1228
|
+
ownerFullName?: string | null;
|
|
1229
|
+
ownerGender?: string | null;
|
|
1230
|
+
ownerAvatar?: AvatarImage | null;
|
|
1231
|
+
bodyPreview?: B | null;
|
|
1232
|
+
bodySrc?: B | null;
|
|
1233
|
+
bodySrcHash: string;
|
|
1234
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1235
|
+
body: B;
|
|
1236
|
+
bodyFormat?: BodyFormat | null;
|
|
1237
|
+
media?: MediaAttachment[] | null;
|
|
1238
|
+
heading: string;
|
|
1239
|
+
updateInfo?: UpdateInfo | null;
|
|
1240
|
+
createdAt: number;
|
|
1241
|
+
editedAt?: number | null;
|
|
1242
|
+
deletedAt?: number | null;
|
|
1243
|
+
receiverCreatedAt?: number | null;
|
|
1244
|
+
receiverEditedAt?: number | null;
|
|
1245
|
+
receiverDeletedAt?: number | null;
|
|
1246
|
+
revisionCreatedAt: number;
|
|
1247
|
+
receiverRevisionCreatedAt?: number | null;
|
|
1248
|
+
deadline?: number | null;
|
|
1249
|
+
digest?: string | null;
|
|
1250
|
+
signature?: string | null;
|
|
1251
|
+
signatureVersion?: number | null;
|
|
1252
|
+
feedReferences?: FeedReference[] | null;
|
|
1253
|
+
blockedInstants?: BlockedPostingInstantInfo[] | null;
|
|
1254
|
+
operations?: PostingOperations | null;
|
|
1255
|
+
receiverOperations?: PostingOperations | null;
|
|
1256
|
+
commentOperations?: CommentOperations | null;
|
|
1257
|
+
reactionOperations?: ReactionOperations | null;
|
|
1258
|
+
commentReactionOperations?: ReactionOperations | null;
|
|
1259
|
+
blockedOperations?: BlockedEntryOperation[] | null;
|
|
1260
|
+
blockedCommentOperations?: BlockedEntryOperation[] | null;
|
|
1261
|
+
sheriffs?: string[] | null;
|
|
1262
|
+
sheriffMarks?: SheriffMark[] | null;
|
|
1263
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1264
|
+
clientReaction?: ClientReactionInfo | null;
|
|
1265
|
+
reactions?: ReactionTotalsInfo | null;
|
|
1266
|
+
sources?: PostingSourceInfo[] | null;
|
|
1267
|
+
totalComments?: number | null;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
export type EncodedPostingInfo = PostingInfoBase<string>;
|
|
1271
|
+
export type PostingInfo = PostingInfoBase<Body>;
|
|
1272
|
+
|
|
1273
|
+
export interface PostingRevisionInfoBase<B> {
|
|
1274
|
+
id: string;
|
|
1275
|
+
receiverId?: string | null;
|
|
1276
|
+
bodyPreview?: B | null;
|
|
1277
|
+
bodySrcHash: string;
|
|
1278
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1279
|
+
body: B;
|
|
1280
|
+
bodyFormat?: BodyFormat | null;
|
|
1281
|
+
media?: MediaAttachment[] | null;
|
|
1282
|
+
heading: string;
|
|
1283
|
+
updateInfo?: UpdateInfo | null;
|
|
1284
|
+
createdAt: number;
|
|
1285
|
+
deletedAt?: number | null;
|
|
1286
|
+
receiverCreatedAt?: number | null;
|
|
1287
|
+
receiverDeletedAt?: number | null;
|
|
1288
|
+
digest?: string | null;
|
|
1289
|
+
signature?: string | null;
|
|
1290
|
+
signatureVersion?: number | null;
|
|
1291
|
+
clientReaction?: ClientReactionInfo | null;
|
|
1292
|
+
reactions?: ReactionTotalsInfo | null;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
export type EncodedPostingRevisionInfo = PostingRevisionInfoBase<string>;
|
|
1296
|
+
export type PostingRevisionInfo = PostingRevisionInfoBase<Body>;
|
|
1297
|
+
|
|
1298
|
+
export interface PostingSourceText {
|
|
1299
|
+
ownerAvatar?: AvatarDescription | null;
|
|
1300
|
+
bodySrc?: string | null;
|
|
1301
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1302
|
+
media?: MediaWithDigest[] | null;
|
|
1303
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1304
|
+
operations?: PostingOperations | null;
|
|
1305
|
+
commentOperations?: CommentOperations | null;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
export interface PostingText {
|
|
1309
|
+
ownerName?: string | null;
|
|
1310
|
+
ownerFullName?: string | null;
|
|
1311
|
+
ownerGender?: string | null;
|
|
1312
|
+
ownerAvatar?: AvatarDescription | null;
|
|
1313
|
+
bodyPreview?: string | null;
|
|
1314
|
+
bodySrc?: string | null;
|
|
1315
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1316
|
+
body?: string | null;
|
|
1317
|
+
bodyFormat?: BodyFormat | null;
|
|
1318
|
+
media?: string[] | null;
|
|
1319
|
+
createdAt?: number | null;
|
|
1320
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1321
|
+
publications?: StoryAttributes[] | null;
|
|
1322
|
+
updateInfo?: UpdateInfo | null;
|
|
1323
|
+
signature?: string | null;
|
|
1324
|
+
signatureVersion?: number | null;
|
|
1325
|
+
operations?: PostingOperations | null;
|
|
1326
|
+
commentOperations?: CommentOperations | null;
|
|
1327
|
+
reactionOperations?: ReactionOperations | null;
|
|
1328
|
+
commentReactionOperations?: ReactionOperations | null;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
export interface ReactionCreated {
|
|
1332
|
+
reaction?: ReactionInfo | null;
|
|
1333
|
+
totals: ReactionTotalsInfo;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
export interface SettingDescriptor {
|
|
1337
|
+
name: string;
|
|
1338
|
+
type: SettingType;
|
|
1339
|
+
defaultValue?: string | null;
|
|
1340
|
+
internal?: boolean | null;
|
|
1341
|
+
privileged?: boolean | null;
|
|
1342
|
+
title?: string | null;
|
|
1343
|
+
modifiers?: SettingTypeModifiers | null;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
export interface SettingMetaInfo {
|
|
1347
|
+
name: string;
|
|
1348
|
+
type: SettingType;
|
|
1349
|
+
defaultValue?: string | null;
|
|
1350
|
+
privileged?: boolean | null;
|
|
1351
|
+
title: string;
|
|
1352
|
+
modifiers?: SettingTypeModifiers | null;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
export interface StorySummaryData {
|
|
1356
|
+
node?: StorySummaryNode | null;
|
|
1357
|
+
posting?: StorySummaryEntry | null;
|
|
1358
|
+
comment?: StorySummaryEntry | null;
|
|
1359
|
+
comments?: StorySummaryEntry[] | null;
|
|
1360
|
+
totalComments?: number | null;
|
|
1361
|
+
repliedTo?: StorySummaryEntry | null;
|
|
1362
|
+
parentPosting?: StorySummaryEntry | null;
|
|
1363
|
+
reaction?: StorySummaryReaction | null;
|
|
1364
|
+
reactions?: StorySummaryReaction[] | null;
|
|
1365
|
+
totalReactions?: number | null;
|
|
1366
|
+
feedName?: string | null;
|
|
1367
|
+
subscriptionReason?: SubscriptionReason | null;
|
|
1368
|
+
friendGroup?: StorySummaryFriendGroup | null;
|
|
1369
|
+
blocked?: StorySummaryBlocked | null;
|
|
1370
|
+
sheriff?: StorySummarySheriff | null;
|
|
1371
|
+
description?: string | null;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export interface CommentInfoBase<B> {
|
|
1375
|
+
id: string;
|
|
1376
|
+
ownerName: string;
|
|
1377
|
+
ownerFullName?: string | null;
|
|
1378
|
+
ownerGender?: string | null;
|
|
1379
|
+
ownerAvatar?: AvatarImage | null;
|
|
1380
|
+
postingId: string;
|
|
1381
|
+
postingRevisionId: string;
|
|
1382
|
+
revisionId: string;
|
|
1383
|
+
totalRevisions: number;
|
|
1384
|
+
bodyPreview?: B | null;
|
|
1385
|
+
bodySrc?: B | null;
|
|
1386
|
+
bodySrcHash: string;
|
|
1387
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1388
|
+
body: B;
|
|
1389
|
+
bodyFormat?: BodyFormat | null;
|
|
1390
|
+
media?: MediaAttachment[] | null;
|
|
1391
|
+
heading: string;
|
|
1392
|
+
repliedTo?: RepliedTo | null;
|
|
1393
|
+
moment: number;
|
|
1394
|
+
createdAt: number;
|
|
1395
|
+
editedAt?: number | null;
|
|
1396
|
+
deletedAt?: number | null;
|
|
1397
|
+
revisionCreatedAt: number;
|
|
1398
|
+
deadline?: number | null;
|
|
1399
|
+
digest?: string | null;
|
|
1400
|
+
signature?: string | null;
|
|
1401
|
+
signatureVersion?: number | null;
|
|
1402
|
+
operations?: CommentOperations | null;
|
|
1403
|
+
reactionOperations?: ReactionOperations | null;
|
|
1404
|
+
ownerOperations?: CommentOperations | null;
|
|
1405
|
+
seniorOperations?: CommentOperations | null;
|
|
1406
|
+
blockedOperations?: BlockedEntryOperation[] | null;
|
|
1407
|
+
sheriffMarks?: SheriffMark[] | null;
|
|
1408
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1409
|
+
clientReaction?: ClientReactionInfo | null;
|
|
1410
|
+
seniorReaction?: ClientReactionInfo | null;
|
|
1411
|
+
reactions?: ReactionTotalsInfo | null;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
export type EncodedCommentInfo = CommentInfoBase<string>;
|
|
1415
|
+
export type CommentInfo = CommentInfoBase<Body>;
|
|
1416
|
+
|
|
1417
|
+
export interface CommentsSliceInfoBase<B> {
|
|
1418
|
+
before: number;
|
|
1419
|
+
after: number;
|
|
1420
|
+
comments: CommentInfoBase<B>[];
|
|
1421
|
+
total: number;
|
|
1422
|
+
totalInPast: number;
|
|
1423
|
+
totalInFuture: number;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
export type EncodedCommentsSliceInfo = CommentsSliceInfoBase<string>;
|
|
1427
|
+
export type CommentsSliceInfo = CommentsSliceInfoBase<Body>;
|
|
1428
|
+
|
|
1429
|
+
export interface DraftInfoBase<B> {
|
|
1430
|
+
id: string;
|
|
1431
|
+
draftType: DraftType;
|
|
1432
|
+
receiverName: string;
|
|
1433
|
+
receiverPostingId?: string | null;
|
|
1434
|
+
receiverCommentId?: string | null;
|
|
1435
|
+
repliedToId?: string | null;
|
|
1436
|
+
createdAt: number;
|
|
1437
|
+
editedAt?: number | null;
|
|
1438
|
+
deadline?: number | null;
|
|
1439
|
+
ownerFullName?: string | null;
|
|
1440
|
+
ownerAvatar?: AvatarImage | null;
|
|
1441
|
+
acceptedReactions?: AcceptedReactions | null;
|
|
1442
|
+
bodySrc?: B | null;
|
|
1443
|
+
bodySrcFormat?: SourceFormat | null;
|
|
1444
|
+
body: B;
|
|
1445
|
+
bodyFormat?: BodyFormat | null;
|
|
1446
|
+
media?: MediaAttachment[] | null;
|
|
1447
|
+
heading: string;
|
|
1448
|
+
publishAt?: number | null;
|
|
1449
|
+
updateInfo?: UpdateInfo | null;
|
|
1450
|
+
operations?: PostingOperations | null;
|
|
1451
|
+
commentOperations?: CommentOperations | null;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
export type EncodedDraftInfo = DraftInfoBase<string>;
|
|
1455
|
+
export type DraftInfo = DraftInfoBase<Body>;
|
|
1456
|
+
|
|
1457
|
+
export interface EntryInfoBase<B> {
|
|
1458
|
+
posting?: PostingInfoBase<B> | null;
|
|
1459
|
+
comment?: CommentInfoBase<B> | null;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
export type EncodedEntryInfo = EntryInfoBase<string>;
|
|
1463
|
+
export type EntryInfo = EntryInfoBase<Body>;
|
|
1464
|
+
|
|
1465
|
+
export interface PluginDescription {
|
|
1466
|
+
name: string;
|
|
1467
|
+
title?: string | null;
|
|
1468
|
+
description?: string | null;
|
|
1469
|
+
location?: string | null;
|
|
1470
|
+
acceptedEvents?: string[] | null;
|
|
1471
|
+
options?: SettingDescriptor[] | null;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
export interface PluginInfo {
|
|
1475
|
+
nodeId: string;
|
|
1476
|
+
local: boolean;
|
|
1477
|
+
name: string;
|
|
1478
|
+
title?: string | null;
|
|
1479
|
+
description?: string | null;
|
|
1480
|
+
location?: string | null;
|
|
1481
|
+
acceptedEvents?: string[] | null;
|
|
1482
|
+
settings?: SettingMetaInfo[] | null;
|
|
1483
|
+
tokenId?: string | null;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
export interface StoryInfoBase<B> {
|
|
1487
|
+
id: string;
|
|
1488
|
+
feedName: string;
|
|
1489
|
+
storyType: StoryType;
|
|
1490
|
+
createdAt: number;
|
|
1491
|
+
publishedAt: number;
|
|
1492
|
+
pinned?: boolean | null;
|
|
1493
|
+
moment: number;
|
|
1494
|
+
viewed?: boolean | null;
|
|
1495
|
+
read?: boolean | null;
|
|
1496
|
+
satisfied?: boolean | null;
|
|
1497
|
+
summaryNodeName?: string | null;
|
|
1498
|
+
summaryFullName?: string | null;
|
|
1499
|
+
summaryAvatar?: AvatarImage | null;
|
|
1500
|
+
summary?: string | null;
|
|
1501
|
+
summaryData?: StorySummaryData | null;
|
|
1502
|
+
posting?: PostingInfoBase<B> | null;
|
|
1503
|
+
postingId?: string | null;
|
|
1504
|
+
comment?: CommentInfoBase<B> | null;
|
|
1505
|
+
commentId?: string | null;
|
|
1506
|
+
remoteNodeName?: string | null;
|
|
1507
|
+
remoteFullName?: string | null;
|
|
1508
|
+
remotePostingId?: string | null;
|
|
1509
|
+
remoteCommentId?: string | null;
|
|
1510
|
+
remoteMediaId?: string | null;
|
|
1511
|
+
operations?: StoryOperations | null;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export type EncodedStoryInfo = StoryInfoBase<string>;
|
|
1515
|
+
export type StoryInfo = StoryInfoBase<Body>;
|
|
1516
|
+
|
|
1517
|
+
export interface CommentCreatedBase<B> {
|
|
1518
|
+
comment: CommentInfoBase<B>;
|
|
1519
|
+
total: number;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
export type EncodedCommentCreated = CommentCreatedBase<string>;
|
|
1523
|
+
export type CommentCreated = CommentCreatedBase<Body>;
|
|
1524
|
+
|
|
1525
|
+
export interface FeedSliceInfoBase<B> {
|
|
1526
|
+
before: number;
|
|
1527
|
+
after: number;
|
|
1528
|
+
stories: StoryInfoBase<B>[];
|
|
1529
|
+
totalInPast: number;
|
|
1530
|
+
totalInFuture: number;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
export type EncodedFeedSliceInfo = FeedSliceInfoBase<string>;
|
|
1534
|
+
export type FeedSliceInfo = FeedSliceInfoBase<Body>;
|
|
1535
|
+
|
|
1536
|
+
export interface PushContentBase<B> {
|
|
1537
|
+
type: PushContentType;
|
|
1538
|
+
id?: string | null;
|
|
1539
|
+
story?: StoryInfoBase<B> | null;
|
|
1540
|
+
feedStatus?: FeedWithStatus | null;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
export type EncodedPushContent = PushContentBase<string>;
|
|
1544
|
+
export type PushContent = PushContentBase<Body>;
|