@openpeepshq/core 0.1.34 → 0.2.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/dist/accessTokens/finders.js +5 -6
- package/dist/accessTokens/mutations.js +1 -1
- package/dist/accessTokens/tokens.js +8 -11
- package/dist/accounts/helpers.js +6 -2
- package/dist/accounts/mutations.js +13 -8
- package/dist/analytics/cache.js +3 -3
- package/dist/analytics/clicks.js +14 -22
- package/dist/analytics/compile.js +1 -2
- package/dist/analytics/dateRange.js +3 -5
- package/dist/analytics/jobs.js +3 -4
- package/dist/analytics/pdfReport.js +45 -61
- package/dist/analytics/privacy.js +1 -1
- package/dist/analytics/read.js +116 -135
- package/dist/analytics/report.d.ts +2 -1
- package/dist/analytics/report.js +2 -3
- package/dist/analytics/settings.js +3 -4
- package/dist/backups/index.js +13 -16
- package/dist/backups/metadata.js +1 -1
- package/dist/config/db.js +2 -4
- package/dist/config/defaults/community.js +1 -0
- package/dist/config/defaults/core.js +13 -8
- package/dist/config/defaults/logs.d.ts +4 -0
- package/dist/config/defaults/logs.js +5 -0
- package/dist/config/index.d.ts +9 -0
- package/dist/config/index.js +9 -11
- package/dist/db/explorer/query.js +9 -8
- package/dist/db/explorer/sql.js +8 -8
- package/dist/db/helpers.js +15 -5
- package/dist/db/migration/importCollections.js +15 -18
- package/dist/db/migration/shared.js +15 -35
- package/dist/db/pg/client.js +4 -7
- package/dist/db/pg/filters/index.js +1 -1
- package/dist/db/pg/filters/posts.d.ts +2 -0
- package/dist/db/pg/filters/posts.js +3 -1
- package/dist/db/pg/helpers.js +2 -14
- package/dist/db/pg/map/filters.js +8 -8
- package/dist/db/pg/map/helpers.js +5 -1
- package/dist/db/pg/map/index.js +46 -51
- package/dist/db/pg/map/mutations.js +56 -21
- package/dist/db/pg/map/registry.js +87 -50
- package/dist/db/pg/map/relations.js +67 -63
- package/dist/db/pg/map/search.js +15 -37
- package/dist/db/pg/mappers.js +13 -7
- package/dist/db/pg/migrate.js +2 -3
- package/dist/db/pg/queries/activity.js +2 -2
- package/dist/db/pg/queries/derived.js +8 -12
- package/dist/db/pg/schema/documents.js +119 -18
- package/dist/db/pg/schema/edges.js +7 -1
- package/dist/db/pg/schema/index.js +5 -1
- package/dist/db/pg/sql/0016_posts_search_vector_title_tags_path.sql +54 -0
- package/dist/db/pg/sql/meta/_journal.json +8 -1
- package/dist/db/replaceOrigin.js +1 -1
- package/dist/email/queueStats.js +8 -11
- package/dist/email/render.js +7 -4
- package/dist/email/send.js +19 -17
- package/dist/email/smtpTest.js +10 -6
- package/dist/errors/index.js +1 -1
- package/dist/events/once.js +2 -4
- package/dist/federation/activities.js +1 -2
- package/dist/groups/finders.d.ts +2 -2
- package/dist/groups/helpers.d.ts +6 -6
- package/dist/groups/helpers.js +1 -2
- package/dist/groups/mapping.d.ts +4 -4
- package/dist/groups/mutations.js +1 -1
- package/dist/hashtags/finders.js +2 -2
- package/dist/inviteLinks/mutations.js +2 -3
- package/dist/jams/export.js +5 -7
- package/dist/jams/finders.js +4 -1
- package/dist/jams/health.d.ts +6 -4
- package/dist/jams/health.js +15 -11
- package/dist/jams/helpers.d.ts +2 -2
- package/dist/jams/helpers.js +6 -2
- package/dist/jams/index.js +2 -2
- package/dist/jams/jobs.js +1 -2
- package/dist/jams/livekit.d.ts +2 -2
- package/dist/jams/livekit.js +8 -8
- package/dist/jams/mapping.d.ts +10 -10
- package/dist/jams/mutations.d.ts +2 -2
- package/dist/jams/recording.js +1 -1
- package/dist/jams/token.js +13 -17
- package/dist/jobs/index.js +7 -6
- package/dist/jobs/jobDetail.js +5 -6
- package/dist/jobs/jobLog.js +2 -3
- package/dist/lib/streams.js +4 -39
- package/dist/lib/zodDeepPartial.d.ts +1 -1
- package/dist/lib/zodDeepPartial.js +1 -1
- package/dist/log/index.d.ts +1 -0
- package/dist/log/index.js +14 -29
- package/dist/log/retention.d.ts +9 -0
- package/dist/log/retention.js +83 -0
- package/dist/log/retentionJobs.d.ts +17 -0
- package/dist/log/retentionJobs.js +50 -0
- package/dist/media/index.js +127 -4
- package/dist/media/jobs.js +1 -2
- package/dist/media/openpeeps/index.js +11 -46
- package/dist/media/processing.js +7 -4
- package/dist/media/streaming.js +5 -5
- package/dist/media/streamingCleanupJobs.js +1 -2
- package/dist/media/streamingJobs.js +3 -4
- package/dist/media/streamingPrewarm.js +7 -11
- package/dist/mediaAttachments/index.js +6 -2
- package/dist/mediaAttachments/mapping.d.ts +1 -1
- package/dist/notifications/defaultNotifications/announcement/index.js +15 -18
- package/dist/notifications/defaultNotifications/directMessage/index.js +9 -8
- package/dist/notifications/defaultNotifications/follow/index.js +14 -17
- package/dist/notifications/defaultNotifications/groupAdded/index.js +14 -17
- package/dist/notifications/defaultNotifications/groupMemberJoined/index.js +15 -18
- package/dist/notifications/defaultNotifications/groupMemberLeft/index.js +15 -18
- package/dist/notifications/defaultNotifications/jamModerator/index.js +27 -20
- package/dist/notifications/defaultNotifications/jamModerator/recipients.d.ts +2 -0
- package/dist/notifications/defaultNotifications/jamModerator/recipients.js +5 -0
- package/dist/notifications/defaultNotifications/jamSpeaker/index.js +14 -18
- package/dist/notifications/defaultNotifications/jamStarted/index.js +18 -22
- package/dist/notifications/defaultNotifications/mention/index.js +20 -24
- package/dist/notifications/defaultNotifications/newGroupPost/index.js +9 -10
- package/dist/notifications/defaultNotifications/newGroupPost/recipients.d.ts +5 -0
- package/dist/notifications/defaultNotifications/newGroupPost/recipients.js +23 -0
- package/dist/notifications/defaultNotifications/newProfile/index.js +14 -17
- package/dist/notifications/defaultNotifications/pollEnded/index.js +21 -21
- package/dist/notifications/defaultNotifications/pollEnded/recipients.js +2 -3
- package/dist/notifications/defaultNotifications/pollVote/index.js +14 -17
- package/dist/notifications/defaultNotifications/reaction/index.js +18 -21
- package/dist/notifications/defaultNotifications/reply/index.js +21 -22
- package/dist/notifications/defaultNotifications/repost/index.js +16 -20
- package/dist/notifications/defaultNotifications/rsvp/index.js +24 -18
- package/dist/notifications/defaultNotifications/rsvpCanceled/index.js +20 -13
- package/dist/notifications/eventIcsAttachment.d.ts +6 -0
- package/dist/notifications/eventIcsAttachment.js +32 -0
- package/dist/notifications/fcmCredential.js +1 -1
- package/dist/notifications/finders.js +1 -1
- package/dist/notifications/helpers.d.ts +11 -1
- package/dist/notifications/helpers.js +38 -9
- package/dist/notifications/jobs.js +16 -7
- package/dist/notifications/mutations.js +13 -2
- package/dist/notifications/push.js +11 -16
- package/dist/performance/index.js +3 -3
- package/dist/plugins/helpers.js +3 -6
- package/dist/plugins/index.js +2 -3
- package/dist/plugins/install.js +31 -17
- package/dist/plugins/pluginAuth.js +3 -4
- package/dist/plugins/state.js +2 -3
- package/dist/posts/activity.d.ts +1 -1
- package/dist/posts/activity.js +2 -3
- package/dist/posts/contextClosure.js +1 -2
- package/dist/posts/conversationQueries.js +2 -4
- package/dist/posts/eventAgenda.js +12 -7
- package/dist/posts/eventOccurrences.js +2 -2
- package/dist/posts/finders.d.ts +46 -6
- package/dist/posts/finders.js +21 -9
- package/dist/posts/helpers/filters.js +2 -3
- package/dist/posts/helpers/index.d.ts +170 -18
- package/dist/posts/helpers/index.js +43 -27
- package/dist/posts/mapping.d.ts +616 -84
- package/dist/posts/mapping.js +60 -18
- package/dist/posts/mutations.d.ts +85 -9
- package/dist/posts/mutations.js +47 -34
- package/dist/posts/pollEnd.js +3 -6
- package/dist/posts/rsvpConfirmationEmail.js +18 -8
- package/dist/posts/threadPreview.js +1 -1
- package/dist/processingStats/queries.js +6 -7
- package/dist/profileSettings/cache.js +1 -2
- package/dist/profileSettings/mapping.d.ts +1 -0
- package/dist/profiles/activitySummary.js +23 -28
- package/dist/profiles/cache.js +15 -8
- package/dist/profiles/export.js +30 -39
- package/dist/profiles/finders.js +7 -5
- package/dist/profiles/mapping.d.ts +10 -10
- package/dist/profiles/mutations.js +3 -5
- package/dist/redis/connection.js +1 -1
- package/dist/reports/helpers.js +7 -3
- package/dist/reports/mapping.d.ts +1 -1
- package/dist/roles/mutations.js +20 -21
- package/dist/search/finders.js +15 -3
- package/dist/search/helpers.js +1 -1
- package/dist/sentry/index.js +9 -11
- package/dist/seo/index.d.ts +50 -0
- package/dist/seo/index.js +145 -0
- package/dist/seo/route.d.ts +18 -0
- package/dist/seo/route.js +19 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +16 -11
- package/dist/server/status.js +6 -7
- package/dist/session/index.js +2 -2
- package/dist/stats/finders.js +13 -4
- package/dist/stats/helpers.js +4 -1
- package/dist/stats/mapping.d.ts +43 -5
- package/dist/stats/mapping.js +9 -2
- package/dist/stripe/cache.js +5 -6
- package/dist/stripe/connection.js +3 -4
- package/dist/stripe/helpers.js +15 -20
- package/package.json +5 -6
- package/LICENSE +0 -674
package/dist/posts/mapping.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export declare const EMBEDDED_LATEST_REPLIES_LIMIT = 3;
|
|
|
9
9
|
export declare const threadPreviewMappingForProfile: (profile?: {
|
|
10
10
|
id: string;
|
|
11
11
|
}) => Mapping<{
|
|
12
|
-
type: "note" | "question" | "event" | "article";
|
|
13
|
-
visibility: "local" | "
|
|
12
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
13
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
14
14
|
creatorId: string;
|
|
15
15
|
capabilitiesNeeded?: string[] | undefined;
|
|
16
16
|
data?: {
|
|
@@ -35,7 +35,7 @@ export declare const threadPreviewMappingForProfile: (profile?: {
|
|
|
35
35
|
};
|
|
36
36
|
description?: string | undefined;
|
|
37
37
|
blurhash?: string | undefined;
|
|
38
|
-
status?: "
|
|
38
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
39
39
|
error?: string | undefined;
|
|
40
40
|
}[] | undefined;
|
|
41
41
|
customEmojis?: {
|
|
@@ -72,7 +72,7 @@ export declare const threadPreviewMappingForProfile: (profile?: {
|
|
|
72
72
|
};
|
|
73
73
|
description?: string | undefined;
|
|
74
74
|
blurhash?: string | undefined;
|
|
75
|
-
status?: "
|
|
75
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
76
76
|
error?: string | undefined;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
customEmojis?: {
|
|
@@ -110,7 +110,7 @@ export declare const threadPreviewMappingForProfile: (profile?: {
|
|
|
110
110
|
};
|
|
111
111
|
description?: string | undefined;
|
|
112
112
|
blurhash?: string | undefined;
|
|
113
|
-
status?: "
|
|
113
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
114
114
|
error?: string | undefined;
|
|
115
115
|
}[] | undefined;
|
|
116
116
|
customEmojis?: {
|
|
@@ -192,7 +192,7 @@ export declare const threadPreviewMappingForProfile: (profile?: {
|
|
|
192
192
|
};
|
|
193
193
|
description?: string | undefined;
|
|
194
194
|
blurhash?: string | undefined;
|
|
195
|
-
status?: "
|
|
195
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
196
196
|
error?: string | undefined;
|
|
197
197
|
}[] | undefined;
|
|
198
198
|
customEmojis?: {
|
|
@@ -205,6 +205,44 @@ export declare const threadPreviewMappingForProfile: (profile?: {
|
|
|
205
205
|
language?: string | undefined;
|
|
206
206
|
image?: string | undefined;
|
|
207
207
|
title?: string | undefined;
|
|
208
|
+
} | {
|
|
209
|
+
type: "resource";
|
|
210
|
+
title: string;
|
|
211
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
212
|
+
content?: string | undefined;
|
|
213
|
+
sensitive?: boolean | undefined;
|
|
214
|
+
spoilerText?: string | undefined;
|
|
215
|
+
attachments?: {
|
|
216
|
+
type: string;
|
|
217
|
+
url: string;
|
|
218
|
+
previewUrl: string | null;
|
|
219
|
+
textUrl: null;
|
|
220
|
+
filename: string;
|
|
221
|
+
meta: {
|
|
222
|
+
usage?: string | undefined;
|
|
223
|
+
focus?: {
|
|
224
|
+
x: number;
|
|
225
|
+
y: number;
|
|
226
|
+
} | undefined;
|
|
227
|
+
mimetype?: string | undefined;
|
|
228
|
+
size?: number | undefined;
|
|
229
|
+
};
|
|
230
|
+
description?: string | undefined;
|
|
231
|
+
blurhash?: string | undefined;
|
|
232
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
233
|
+
error?: string | undefined;
|
|
234
|
+
}[] | undefined;
|
|
235
|
+
customEmojis?: {
|
|
236
|
+
shortcode: string;
|
|
237
|
+
url: string;
|
|
238
|
+
staticUrl: string;
|
|
239
|
+
visibleInPicker: boolean;
|
|
240
|
+
category: string;
|
|
241
|
+
}[] | undefined;
|
|
242
|
+
language?: string | undefined;
|
|
243
|
+
tags?: string[] | undefined;
|
|
244
|
+
categoryPath?: string[] | undefined;
|
|
245
|
+
url?: string | undefined;
|
|
208
246
|
} | undefined;
|
|
209
247
|
}, DbPost, DbPost>;
|
|
210
248
|
export declare const repostRelation: RelationWithMapping<DbBasePost>;
|
|
@@ -216,8 +254,8 @@ export declare const repostsOfPostRelationForProfile: (profile?: {
|
|
|
216
254
|
id: string;
|
|
217
255
|
}) => RelationWithMapping<DbPost>;
|
|
218
256
|
export declare const postsWithReplyCountMapping: Mapping<{
|
|
219
|
-
type: "note" | "question" | "event" | "article";
|
|
220
|
-
visibility: "local" | "
|
|
257
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
258
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
221
259
|
creatorId: string;
|
|
222
260
|
capabilitiesNeeded?: string[] | undefined;
|
|
223
261
|
data?: {
|
|
@@ -242,7 +280,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
242
280
|
};
|
|
243
281
|
description?: string | undefined;
|
|
244
282
|
blurhash?: string | undefined;
|
|
245
|
-
status?: "
|
|
283
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
246
284
|
error?: string | undefined;
|
|
247
285
|
}[] | undefined;
|
|
248
286
|
customEmojis?: {
|
|
@@ -279,7 +317,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
279
317
|
};
|
|
280
318
|
description?: string | undefined;
|
|
281
319
|
blurhash?: string | undefined;
|
|
282
|
-
status?: "
|
|
320
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
283
321
|
error?: string | undefined;
|
|
284
322
|
}[] | undefined;
|
|
285
323
|
customEmojis?: {
|
|
@@ -317,7 +355,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
317
355
|
};
|
|
318
356
|
description?: string | undefined;
|
|
319
357
|
blurhash?: string | undefined;
|
|
320
|
-
status?: "
|
|
358
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
321
359
|
error?: string | undefined;
|
|
322
360
|
}[] | undefined;
|
|
323
361
|
customEmojis?: {
|
|
@@ -399,7 +437,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
399
437
|
};
|
|
400
438
|
description?: string | undefined;
|
|
401
439
|
blurhash?: string | undefined;
|
|
402
|
-
status?: "
|
|
440
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
403
441
|
error?: string | undefined;
|
|
404
442
|
}[] | undefined;
|
|
405
443
|
customEmojis?: {
|
|
@@ -412,14 +450,52 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
412
450
|
language?: string | undefined;
|
|
413
451
|
image?: string | undefined;
|
|
414
452
|
title?: string | undefined;
|
|
453
|
+
} | {
|
|
454
|
+
type: "resource";
|
|
455
|
+
title: string;
|
|
456
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
457
|
+
content?: string | undefined;
|
|
458
|
+
sensitive?: boolean | undefined;
|
|
459
|
+
spoilerText?: string | undefined;
|
|
460
|
+
attachments?: {
|
|
461
|
+
type: string;
|
|
462
|
+
url: string;
|
|
463
|
+
previewUrl: string | null;
|
|
464
|
+
textUrl: null;
|
|
465
|
+
filename: string;
|
|
466
|
+
meta: {
|
|
467
|
+
usage?: string | undefined;
|
|
468
|
+
focus?: {
|
|
469
|
+
x: number;
|
|
470
|
+
y: number;
|
|
471
|
+
} | undefined;
|
|
472
|
+
mimetype?: string | undefined;
|
|
473
|
+
size?: number | undefined;
|
|
474
|
+
};
|
|
475
|
+
description?: string | undefined;
|
|
476
|
+
blurhash?: string | undefined;
|
|
477
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
478
|
+
error?: string | undefined;
|
|
479
|
+
}[] | undefined;
|
|
480
|
+
customEmojis?: {
|
|
481
|
+
shortcode: string;
|
|
482
|
+
url: string;
|
|
483
|
+
staticUrl: string;
|
|
484
|
+
visibleInPicker: boolean;
|
|
485
|
+
category: string;
|
|
486
|
+
}[] | undefined;
|
|
487
|
+
language?: string | undefined;
|
|
488
|
+
tags?: string[] | undefined;
|
|
489
|
+
categoryPath?: string[] | undefined;
|
|
490
|
+
url?: string | undefined;
|
|
415
491
|
} | undefined;
|
|
416
492
|
}, {
|
|
417
493
|
createdAt: string;
|
|
418
494
|
updatedAt: string;
|
|
419
495
|
deletedAt?: string | null | undefined;
|
|
420
496
|
} & {
|
|
421
|
-
type: "note" | "question" | "event" | "article";
|
|
422
|
-
visibility: "local" | "
|
|
497
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
498
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
423
499
|
creatorId: string;
|
|
424
500
|
capabilitiesNeeded?: string[] | undefined;
|
|
425
501
|
data?: {
|
|
@@ -444,7 +520,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
444
520
|
};
|
|
445
521
|
description?: string | undefined;
|
|
446
522
|
blurhash?: string | undefined;
|
|
447
|
-
status?: "
|
|
523
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
448
524
|
error?: string | undefined;
|
|
449
525
|
}[] | undefined;
|
|
450
526
|
customEmojis?: {
|
|
@@ -481,7 +557,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
481
557
|
};
|
|
482
558
|
description?: string | undefined;
|
|
483
559
|
blurhash?: string | undefined;
|
|
484
|
-
status?: "
|
|
560
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
485
561
|
error?: string | undefined;
|
|
486
562
|
}[] | undefined;
|
|
487
563
|
customEmojis?: {
|
|
@@ -519,7 +595,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
519
595
|
};
|
|
520
596
|
description?: string | undefined;
|
|
521
597
|
blurhash?: string | undefined;
|
|
522
|
-
status?: "
|
|
598
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
523
599
|
error?: string | undefined;
|
|
524
600
|
}[] | undefined;
|
|
525
601
|
customEmojis?: {
|
|
@@ -601,7 +677,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
601
677
|
};
|
|
602
678
|
description?: string | undefined;
|
|
603
679
|
blurhash?: string | undefined;
|
|
604
|
-
status?: "
|
|
680
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
605
681
|
error?: string | undefined;
|
|
606
682
|
}[] | undefined;
|
|
607
683
|
customEmojis?: {
|
|
@@ -614,6 +690,44 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
614
690
|
language?: string | undefined;
|
|
615
691
|
image?: string | undefined;
|
|
616
692
|
title?: string | undefined;
|
|
693
|
+
} | {
|
|
694
|
+
type: "resource";
|
|
695
|
+
title: string;
|
|
696
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
697
|
+
content?: string | undefined;
|
|
698
|
+
sensitive?: boolean | undefined;
|
|
699
|
+
spoilerText?: string | undefined;
|
|
700
|
+
attachments?: {
|
|
701
|
+
type: string;
|
|
702
|
+
url: string;
|
|
703
|
+
previewUrl: string | null;
|
|
704
|
+
textUrl: null;
|
|
705
|
+
filename: string;
|
|
706
|
+
meta: {
|
|
707
|
+
usage?: string | undefined;
|
|
708
|
+
focus?: {
|
|
709
|
+
x: number;
|
|
710
|
+
y: number;
|
|
711
|
+
} | undefined;
|
|
712
|
+
mimetype?: string | undefined;
|
|
713
|
+
size?: number | undefined;
|
|
714
|
+
};
|
|
715
|
+
description?: string | undefined;
|
|
716
|
+
blurhash?: string | undefined;
|
|
717
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
718
|
+
error?: string | undefined;
|
|
719
|
+
}[] | undefined;
|
|
720
|
+
customEmojis?: {
|
|
721
|
+
shortcode: string;
|
|
722
|
+
url: string;
|
|
723
|
+
staticUrl: string;
|
|
724
|
+
visibleInPicker: boolean;
|
|
725
|
+
category: string;
|
|
726
|
+
}[] | undefined;
|
|
727
|
+
language?: string | undefined;
|
|
728
|
+
tags?: string[] | undefined;
|
|
729
|
+
categoryPath?: string[] | undefined;
|
|
730
|
+
url?: string | undefined;
|
|
617
731
|
} | undefined;
|
|
618
732
|
} & {
|
|
619
733
|
id: string;
|
|
@@ -624,8 +738,8 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
624
738
|
updatedAt: string;
|
|
625
739
|
deletedAt?: string | null | undefined;
|
|
626
740
|
} & {
|
|
627
|
-
type: "note" | "question" | "event" | "article";
|
|
628
|
-
visibility: "local" | "
|
|
741
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
742
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
629
743
|
creatorId: string;
|
|
630
744
|
capabilitiesNeeded?: string[] | undefined;
|
|
631
745
|
data?: {
|
|
@@ -650,7 +764,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
650
764
|
};
|
|
651
765
|
description?: string | undefined;
|
|
652
766
|
blurhash?: string | undefined;
|
|
653
|
-
status?: "
|
|
767
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
654
768
|
error?: string | undefined;
|
|
655
769
|
}[] | undefined;
|
|
656
770
|
customEmojis?: {
|
|
@@ -687,7 +801,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
687
801
|
};
|
|
688
802
|
description?: string | undefined;
|
|
689
803
|
blurhash?: string | undefined;
|
|
690
|
-
status?: "
|
|
804
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
691
805
|
error?: string | undefined;
|
|
692
806
|
}[] | undefined;
|
|
693
807
|
customEmojis?: {
|
|
@@ -725,7 +839,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
725
839
|
};
|
|
726
840
|
description?: string | undefined;
|
|
727
841
|
blurhash?: string | undefined;
|
|
728
|
-
status?: "
|
|
842
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
729
843
|
error?: string | undefined;
|
|
730
844
|
}[] | undefined;
|
|
731
845
|
customEmojis?: {
|
|
@@ -807,7 +921,7 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
807
921
|
};
|
|
808
922
|
description?: string | undefined;
|
|
809
923
|
blurhash?: string | undefined;
|
|
810
|
-
status?: "
|
|
924
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
811
925
|
error?: string | undefined;
|
|
812
926
|
}[] | undefined;
|
|
813
927
|
customEmojis?: {
|
|
@@ -820,6 +934,44 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
820
934
|
language?: string | undefined;
|
|
821
935
|
image?: string | undefined;
|
|
822
936
|
title?: string | undefined;
|
|
937
|
+
} | {
|
|
938
|
+
type: "resource";
|
|
939
|
+
title: string;
|
|
940
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
941
|
+
content?: string | undefined;
|
|
942
|
+
sensitive?: boolean | undefined;
|
|
943
|
+
spoilerText?: string | undefined;
|
|
944
|
+
attachments?: {
|
|
945
|
+
type: string;
|
|
946
|
+
url: string;
|
|
947
|
+
previewUrl: string | null;
|
|
948
|
+
textUrl: null;
|
|
949
|
+
filename: string;
|
|
950
|
+
meta: {
|
|
951
|
+
usage?: string | undefined;
|
|
952
|
+
focus?: {
|
|
953
|
+
x: number;
|
|
954
|
+
y: number;
|
|
955
|
+
} | undefined;
|
|
956
|
+
mimetype?: string | undefined;
|
|
957
|
+
size?: number | undefined;
|
|
958
|
+
};
|
|
959
|
+
description?: string | undefined;
|
|
960
|
+
blurhash?: string | undefined;
|
|
961
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
962
|
+
error?: string | undefined;
|
|
963
|
+
}[] | undefined;
|
|
964
|
+
customEmojis?: {
|
|
965
|
+
shortcode: string;
|
|
966
|
+
url: string;
|
|
967
|
+
staticUrl: string;
|
|
968
|
+
visibleInPicker: boolean;
|
|
969
|
+
category: string;
|
|
970
|
+
}[] | undefined;
|
|
971
|
+
language?: string | undefined;
|
|
972
|
+
tags?: string[] | undefined;
|
|
973
|
+
categoryPath?: string[] | undefined;
|
|
974
|
+
url?: string | undefined;
|
|
823
975
|
} | undefined;
|
|
824
976
|
} & {
|
|
825
977
|
id: string;
|
|
@@ -827,8 +979,8 @@ export declare const postsWithReplyCountMapping: Mapping<{
|
|
|
827
979
|
replyCount: number;
|
|
828
980
|
}>;
|
|
829
981
|
export declare const postsWithReplyToCountMapping: Mapping<{
|
|
830
|
-
type: "note" | "question" | "event" | "article";
|
|
831
|
-
visibility: "local" | "
|
|
982
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
983
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
832
984
|
creatorId: string;
|
|
833
985
|
capabilitiesNeeded?: string[] | undefined;
|
|
834
986
|
data?: {
|
|
@@ -853,7 +1005,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
853
1005
|
};
|
|
854
1006
|
description?: string | undefined;
|
|
855
1007
|
blurhash?: string | undefined;
|
|
856
|
-
status?: "
|
|
1008
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
857
1009
|
error?: string | undefined;
|
|
858
1010
|
}[] | undefined;
|
|
859
1011
|
customEmojis?: {
|
|
@@ -890,7 +1042,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
890
1042
|
};
|
|
891
1043
|
description?: string | undefined;
|
|
892
1044
|
blurhash?: string | undefined;
|
|
893
|
-
status?: "
|
|
1045
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
894
1046
|
error?: string | undefined;
|
|
895
1047
|
}[] | undefined;
|
|
896
1048
|
customEmojis?: {
|
|
@@ -928,7 +1080,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
928
1080
|
};
|
|
929
1081
|
description?: string | undefined;
|
|
930
1082
|
blurhash?: string | undefined;
|
|
931
|
-
status?: "
|
|
1083
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
932
1084
|
error?: string | undefined;
|
|
933
1085
|
}[] | undefined;
|
|
934
1086
|
customEmojis?: {
|
|
@@ -1010,7 +1162,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1010
1162
|
};
|
|
1011
1163
|
description?: string | undefined;
|
|
1012
1164
|
blurhash?: string | undefined;
|
|
1013
|
-
status?: "
|
|
1165
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1014
1166
|
error?: string | undefined;
|
|
1015
1167
|
}[] | undefined;
|
|
1016
1168
|
customEmojis?: {
|
|
@@ -1023,14 +1175,52 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1023
1175
|
language?: string | undefined;
|
|
1024
1176
|
image?: string | undefined;
|
|
1025
1177
|
title?: string | undefined;
|
|
1178
|
+
} | {
|
|
1179
|
+
type: "resource";
|
|
1180
|
+
title: string;
|
|
1181
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
1182
|
+
content?: string | undefined;
|
|
1183
|
+
sensitive?: boolean | undefined;
|
|
1184
|
+
spoilerText?: string | undefined;
|
|
1185
|
+
attachments?: {
|
|
1186
|
+
type: string;
|
|
1187
|
+
url: string;
|
|
1188
|
+
previewUrl: string | null;
|
|
1189
|
+
textUrl: null;
|
|
1190
|
+
filename: string;
|
|
1191
|
+
meta: {
|
|
1192
|
+
usage?: string | undefined;
|
|
1193
|
+
focus?: {
|
|
1194
|
+
x: number;
|
|
1195
|
+
y: number;
|
|
1196
|
+
} | undefined;
|
|
1197
|
+
mimetype?: string | undefined;
|
|
1198
|
+
size?: number | undefined;
|
|
1199
|
+
};
|
|
1200
|
+
description?: string | undefined;
|
|
1201
|
+
blurhash?: string | undefined;
|
|
1202
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1203
|
+
error?: string | undefined;
|
|
1204
|
+
}[] | undefined;
|
|
1205
|
+
customEmojis?: {
|
|
1206
|
+
shortcode: string;
|
|
1207
|
+
url: string;
|
|
1208
|
+
staticUrl: string;
|
|
1209
|
+
visibleInPicker: boolean;
|
|
1210
|
+
category: string;
|
|
1211
|
+
}[] | undefined;
|
|
1212
|
+
language?: string | undefined;
|
|
1213
|
+
tags?: string[] | undefined;
|
|
1214
|
+
categoryPath?: string[] | undefined;
|
|
1215
|
+
url?: string | undefined;
|
|
1026
1216
|
} | undefined;
|
|
1027
1217
|
}, {
|
|
1028
1218
|
createdAt: string;
|
|
1029
1219
|
updatedAt: string;
|
|
1030
1220
|
deletedAt?: string | null | undefined;
|
|
1031
1221
|
} & {
|
|
1032
|
-
type: "note" | "question" | "event" | "article";
|
|
1033
|
-
visibility: "local" | "
|
|
1222
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
1223
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
1034
1224
|
creatorId: string;
|
|
1035
1225
|
capabilitiesNeeded?: string[] | undefined;
|
|
1036
1226
|
data?: {
|
|
@@ -1055,7 +1245,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1055
1245
|
};
|
|
1056
1246
|
description?: string | undefined;
|
|
1057
1247
|
blurhash?: string | undefined;
|
|
1058
|
-
status?: "
|
|
1248
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1059
1249
|
error?: string | undefined;
|
|
1060
1250
|
}[] | undefined;
|
|
1061
1251
|
customEmojis?: {
|
|
@@ -1092,7 +1282,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1092
1282
|
};
|
|
1093
1283
|
description?: string | undefined;
|
|
1094
1284
|
blurhash?: string | undefined;
|
|
1095
|
-
status?: "
|
|
1285
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1096
1286
|
error?: string | undefined;
|
|
1097
1287
|
}[] | undefined;
|
|
1098
1288
|
customEmojis?: {
|
|
@@ -1130,7 +1320,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1130
1320
|
};
|
|
1131
1321
|
description?: string | undefined;
|
|
1132
1322
|
blurhash?: string | undefined;
|
|
1133
|
-
status?: "
|
|
1323
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1134
1324
|
error?: string | undefined;
|
|
1135
1325
|
}[] | undefined;
|
|
1136
1326
|
customEmojis?: {
|
|
@@ -1212,7 +1402,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1212
1402
|
};
|
|
1213
1403
|
description?: string | undefined;
|
|
1214
1404
|
blurhash?: string | undefined;
|
|
1215
|
-
status?: "
|
|
1405
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1216
1406
|
error?: string | undefined;
|
|
1217
1407
|
}[] | undefined;
|
|
1218
1408
|
customEmojis?: {
|
|
@@ -1225,6 +1415,44 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1225
1415
|
language?: string | undefined;
|
|
1226
1416
|
image?: string | undefined;
|
|
1227
1417
|
title?: string | undefined;
|
|
1418
|
+
} | {
|
|
1419
|
+
type: "resource";
|
|
1420
|
+
title: string;
|
|
1421
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
1422
|
+
content?: string | undefined;
|
|
1423
|
+
sensitive?: boolean | undefined;
|
|
1424
|
+
spoilerText?: string | undefined;
|
|
1425
|
+
attachments?: {
|
|
1426
|
+
type: string;
|
|
1427
|
+
url: string;
|
|
1428
|
+
previewUrl: string | null;
|
|
1429
|
+
textUrl: null;
|
|
1430
|
+
filename: string;
|
|
1431
|
+
meta: {
|
|
1432
|
+
usage?: string | undefined;
|
|
1433
|
+
focus?: {
|
|
1434
|
+
x: number;
|
|
1435
|
+
y: number;
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
mimetype?: string | undefined;
|
|
1438
|
+
size?: number | undefined;
|
|
1439
|
+
};
|
|
1440
|
+
description?: string | undefined;
|
|
1441
|
+
blurhash?: string | undefined;
|
|
1442
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1443
|
+
error?: string | undefined;
|
|
1444
|
+
}[] | undefined;
|
|
1445
|
+
customEmojis?: {
|
|
1446
|
+
shortcode: string;
|
|
1447
|
+
url: string;
|
|
1448
|
+
staticUrl: string;
|
|
1449
|
+
visibleInPicker: boolean;
|
|
1450
|
+
category: string;
|
|
1451
|
+
}[] | undefined;
|
|
1452
|
+
language?: string | undefined;
|
|
1453
|
+
tags?: string[] | undefined;
|
|
1454
|
+
categoryPath?: string[] | undefined;
|
|
1455
|
+
url?: string | undefined;
|
|
1228
1456
|
} | undefined;
|
|
1229
1457
|
} & {
|
|
1230
1458
|
id: string;
|
|
@@ -1235,8 +1463,8 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1235
1463
|
updatedAt: string;
|
|
1236
1464
|
deletedAt?: string | null | undefined;
|
|
1237
1465
|
} & {
|
|
1238
|
-
type: "note" | "question" | "event" | "article";
|
|
1239
|
-
visibility: "local" | "
|
|
1466
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
1467
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
1240
1468
|
creatorId: string;
|
|
1241
1469
|
capabilitiesNeeded?: string[] | undefined;
|
|
1242
1470
|
data?: {
|
|
@@ -1261,7 +1489,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1261
1489
|
};
|
|
1262
1490
|
description?: string | undefined;
|
|
1263
1491
|
blurhash?: string | undefined;
|
|
1264
|
-
status?: "
|
|
1492
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1265
1493
|
error?: string | undefined;
|
|
1266
1494
|
}[] | undefined;
|
|
1267
1495
|
customEmojis?: {
|
|
@@ -1298,7 +1526,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1298
1526
|
};
|
|
1299
1527
|
description?: string | undefined;
|
|
1300
1528
|
blurhash?: string | undefined;
|
|
1301
|
-
status?: "
|
|
1529
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1302
1530
|
error?: string | undefined;
|
|
1303
1531
|
}[] | undefined;
|
|
1304
1532
|
customEmojis?: {
|
|
@@ -1336,7 +1564,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1336
1564
|
};
|
|
1337
1565
|
description?: string | undefined;
|
|
1338
1566
|
blurhash?: string | undefined;
|
|
1339
|
-
status?: "
|
|
1567
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1340
1568
|
error?: string | undefined;
|
|
1341
1569
|
}[] | undefined;
|
|
1342
1570
|
customEmojis?: {
|
|
@@ -1418,7 +1646,7 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1418
1646
|
};
|
|
1419
1647
|
description?: string | undefined;
|
|
1420
1648
|
blurhash?: string | undefined;
|
|
1421
|
-
status?: "
|
|
1649
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1422
1650
|
error?: string | undefined;
|
|
1423
1651
|
}[] | undefined;
|
|
1424
1652
|
customEmojis?: {
|
|
@@ -1431,6 +1659,44 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1431
1659
|
language?: string | undefined;
|
|
1432
1660
|
image?: string | undefined;
|
|
1433
1661
|
title?: string | undefined;
|
|
1662
|
+
} | {
|
|
1663
|
+
type: "resource";
|
|
1664
|
+
title: string;
|
|
1665
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
1666
|
+
content?: string | undefined;
|
|
1667
|
+
sensitive?: boolean | undefined;
|
|
1668
|
+
spoilerText?: string | undefined;
|
|
1669
|
+
attachments?: {
|
|
1670
|
+
type: string;
|
|
1671
|
+
url: string;
|
|
1672
|
+
previewUrl: string | null;
|
|
1673
|
+
textUrl: null;
|
|
1674
|
+
filename: string;
|
|
1675
|
+
meta: {
|
|
1676
|
+
usage?: string | undefined;
|
|
1677
|
+
focus?: {
|
|
1678
|
+
x: number;
|
|
1679
|
+
y: number;
|
|
1680
|
+
} | undefined;
|
|
1681
|
+
mimetype?: string | undefined;
|
|
1682
|
+
size?: number | undefined;
|
|
1683
|
+
};
|
|
1684
|
+
description?: string | undefined;
|
|
1685
|
+
blurhash?: string | undefined;
|
|
1686
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1687
|
+
error?: string | undefined;
|
|
1688
|
+
}[] | undefined;
|
|
1689
|
+
customEmojis?: {
|
|
1690
|
+
shortcode: string;
|
|
1691
|
+
url: string;
|
|
1692
|
+
staticUrl: string;
|
|
1693
|
+
visibleInPicker: boolean;
|
|
1694
|
+
category: string;
|
|
1695
|
+
}[] | undefined;
|
|
1696
|
+
language?: string | undefined;
|
|
1697
|
+
tags?: string[] | undefined;
|
|
1698
|
+
categoryPath?: string[] | undefined;
|
|
1699
|
+
url?: string | undefined;
|
|
1434
1700
|
} | undefined;
|
|
1435
1701
|
} & {
|
|
1436
1702
|
id: string;
|
|
@@ -1438,8 +1704,8 @@ export declare const postsWithReplyToCountMapping: Mapping<{
|
|
|
1438
1704
|
replyToCount: number;
|
|
1439
1705
|
}>;
|
|
1440
1706
|
export declare const postsMapping: Mapping<{
|
|
1441
|
-
type: "note" | "question" | "event" | "article";
|
|
1442
|
-
visibility: "local" | "
|
|
1707
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
1708
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
1443
1709
|
creatorId: string;
|
|
1444
1710
|
capabilitiesNeeded?: string[] | undefined;
|
|
1445
1711
|
data?: {
|
|
@@ -1464,7 +1730,7 @@ export declare const postsMapping: Mapping<{
|
|
|
1464
1730
|
};
|
|
1465
1731
|
description?: string | undefined;
|
|
1466
1732
|
blurhash?: string | undefined;
|
|
1467
|
-
status?: "
|
|
1733
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1468
1734
|
error?: string | undefined;
|
|
1469
1735
|
}[] | undefined;
|
|
1470
1736
|
customEmojis?: {
|
|
@@ -1501,7 +1767,7 @@ export declare const postsMapping: Mapping<{
|
|
|
1501
1767
|
};
|
|
1502
1768
|
description?: string | undefined;
|
|
1503
1769
|
blurhash?: string | undefined;
|
|
1504
|
-
status?: "
|
|
1770
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1505
1771
|
error?: string | undefined;
|
|
1506
1772
|
}[] | undefined;
|
|
1507
1773
|
customEmojis?: {
|
|
@@ -1539,7 +1805,7 @@ export declare const postsMapping: Mapping<{
|
|
|
1539
1805
|
};
|
|
1540
1806
|
description?: string | undefined;
|
|
1541
1807
|
blurhash?: string | undefined;
|
|
1542
|
-
status?: "
|
|
1808
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1543
1809
|
error?: string | undefined;
|
|
1544
1810
|
}[] | undefined;
|
|
1545
1811
|
customEmojis?: {
|
|
@@ -1621,7 +1887,7 @@ export declare const postsMapping: Mapping<{
|
|
|
1621
1887
|
};
|
|
1622
1888
|
description?: string | undefined;
|
|
1623
1889
|
blurhash?: string | undefined;
|
|
1624
|
-
status?: "
|
|
1890
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1625
1891
|
error?: string | undefined;
|
|
1626
1892
|
}[] | undefined;
|
|
1627
1893
|
customEmojis?: {
|
|
@@ -1634,12 +1900,50 @@ export declare const postsMapping: Mapping<{
|
|
|
1634
1900
|
language?: string | undefined;
|
|
1635
1901
|
image?: string | undefined;
|
|
1636
1902
|
title?: string | undefined;
|
|
1903
|
+
} | {
|
|
1904
|
+
type: "resource";
|
|
1905
|
+
title: string;
|
|
1906
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
1907
|
+
content?: string | undefined;
|
|
1908
|
+
sensitive?: boolean | undefined;
|
|
1909
|
+
spoilerText?: string | undefined;
|
|
1910
|
+
attachments?: {
|
|
1911
|
+
type: string;
|
|
1912
|
+
url: string;
|
|
1913
|
+
previewUrl: string | null;
|
|
1914
|
+
textUrl: null;
|
|
1915
|
+
filename: string;
|
|
1916
|
+
meta: {
|
|
1917
|
+
usage?: string | undefined;
|
|
1918
|
+
focus?: {
|
|
1919
|
+
x: number;
|
|
1920
|
+
y: number;
|
|
1921
|
+
} | undefined;
|
|
1922
|
+
mimetype?: string | undefined;
|
|
1923
|
+
size?: number | undefined;
|
|
1924
|
+
};
|
|
1925
|
+
description?: string | undefined;
|
|
1926
|
+
blurhash?: string | undefined;
|
|
1927
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1928
|
+
error?: string | undefined;
|
|
1929
|
+
}[] | undefined;
|
|
1930
|
+
customEmojis?: {
|
|
1931
|
+
shortcode: string;
|
|
1932
|
+
url: string;
|
|
1933
|
+
staticUrl: string;
|
|
1934
|
+
visibleInPicker: boolean;
|
|
1935
|
+
category: string;
|
|
1936
|
+
}[] | undefined;
|
|
1937
|
+
language?: string | undefined;
|
|
1938
|
+
tags?: string[] | undefined;
|
|
1939
|
+
categoryPath?: string[] | undefined;
|
|
1940
|
+
url?: string | undefined;
|
|
1637
1941
|
} | undefined;
|
|
1638
1942
|
}, DbPost, DbPost>;
|
|
1639
1943
|
/** Auth / mark-seen: post graph without nested replyTo/repost hydrate. */
|
|
1640
1944
|
export declare const postsAuthMapping: Mapping<{
|
|
1641
|
-
type: "note" | "question" | "event" | "article";
|
|
1642
|
-
visibility: "local" | "
|
|
1945
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
1946
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
1643
1947
|
creatorId: string;
|
|
1644
1948
|
capabilitiesNeeded?: string[] | undefined;
|
|
1645
1949
|
data?: {
|
|
@@ -1664,7 +1968,7 @@ export declare const postsAuthMapping: Mapping<{
|
|
|
1664
1968
|
};
|
|
1665
1969
|
description?: string | undefined;
|
|
1666
1970
|
blurhash?: string | undefined;
|
|
1667
|
-
status?: "
|
|
1971
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1668
1972
|
error?: string | undefined;
|
|
1669
1973
|
}[] | undefined;
|
|
1670
1974
|
customEmojis?: {
|
|
@@ -1701,7 +2005,7 @@ export declare const postsAuthMapping: Mapping<{
|
|
|
1701
2005
|
};
|
|
1702
2006
|
description?: string | undefined;
|
|
1703
2007
|
blurhash?: string | undefined;
|
|
1704
|
-
status?: "
|
|
2008
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1705
2009
|
error?: string | undefined;
|
|
1706
2010
|
}[] | undefined;
|
|
1707
2011
|
customEmojis?: {
|
|
@@ -1739,7 +2043,7 @@ export declare const postsAuthMapping: Mapping<{
|
|
|
1739
2043
|
};
|
|
1740
2044
|
description?: string | undefined;
|
|
1741
2045
|
blurhash?: string | undefined;
|
|
1742
|
-
status?: "
|
|
2046
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1743
2047
|
error?: string | undefined;
|
|
1744
2048
|
}[] | undefined;
|
|
1745
2049
|
customEmojis?: {
|
|
@@ -1821,7 +2125,7 @@ export declare const postsAuthMapping: Mapping<{
|
|
|
1821
2125
|
};
|
|
1822
2126
|
description?: string | undefined;
|
|
1823
2127
|
blurhash?: string | undefined;
|
|
1824
|
-
status?: "
|
|
2128
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1825
2129
|
error?: string | undefined;
|
|
1826
2130
|
}[] | undefined;
|
|
1827
2131
|
customEmojis?: {
|
|
@@ -1834,13 +2138,51 @@ export declare const postsAuthMapping: Mapping<{
|
|
|
1834
2138
|
language?: string | undefined;
|
|
1835
2139
|
image?: string | undefined;
|
|
1836
2140
|
title?: string | undefined;
|
|
2141
|
+
} | {
|
|
2142
|
+
type: "resource";
|
|
2143
|
+
title: string;
|
|
2144
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
2145
|
+
content?: string | undefined;
|
|
2146
|
+
sensitive?: boolean | undefined;
|
|
2147
|
+
spoilerText?: string | undefined;
|
|
2148
|
+
attachments?: {
|
|
2149
|
+
type: string;
|
|
2150
|
+
url: string;
|
|
2151
|
+
previewUrl: string | null;
|
|
2152
|
+
textUrl: null;
|
|
2153
|
+
filename: string;
|
|
2154
|
+
meta: {
|
|
2155
|
+
usage?: string | undefined;
|
|
2156
|
+
focus?: {
|
|
2157
|
+
x: number;
|
|
2158
|
+
y: number;
|
|
2159
|
+
} | undefined;
|
|
2160
|
+
mimetype?: string | undefined;
|
|
2161
|
+
size?: number | undefined;
|
|
2162
|
+
};
|
|
2163
|
+
description?: string | undefined;
|
|
2164
|
+
blurhash?: string | undefined;
|
|
2165
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2166
|
+
error?: string | undefined;
|
|
2167
|
+
}[] | undefined;
|
|
2168
|
+
customEmojis?: {
|
|
2169
|
+
shortcode: string;
|
|
2170
|
+
url: string;
|
|
2171
|
+
staticUrl: string;
|
|
2172
|
+
visibleInPicker: boolean;
|
|
2173
|
+
category: string;
|
|
2174
|
+
}[] | undefined;
|
|
2175
|
+
language?: string | undefined;
|
|
2176
|
+
tags?: string[] | undefined;
|
|
2177
|
+
categoryPath?: string[] | undefined;
|
|
2178
|
+
url?: string | undefined;
|
|
1837
2179
|
} | undefined;
|
|
1838
2180
|
}, DbPost, DbPost>;
|
|
1839
2181
|
export declare const postsMappingForProfile: (profile?: {
|
|
1840
2182
|
id: string;
|
|
1841
2183
|
}) => Mapping<{
|
|
1842
|
-
type: "note" | "question" | "event" | "article";
|
|
1843
|
-
visibility: "local" | "
|
|
2184
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
2185
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
1844
2186
|
creatorId: string;
|
|
1845
2187
|
capabilitiesNeeded?: string[] | undefined;
|
|
1846
2188
|
data?: {
|
|
@@ -1865,7 +2207,7 @@ export declare const postsMappingForProfile: (profile?: {
|
|
|
1865
2207
|
};
|
|
1866
2208
|
description?: string | undefined;
|
|
1867
2209
|
blurhash?: string | undefined;
|
|
1868
|
-
status?: "
|
|
2210
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1869
2211
|
error?: string | undefined;
|
|
1870
2212
|
}[] | undefined;
|
|
1871
2213
|
customEmojis?: {
|
|
@@ -1902,7 +2244,7 @@ export declare const postsMappingForProfile: (profile?: {
|
|
|
1902
2244
|
};
|
|
1903
2245
|
description?: string | undefined;
|
|
1904
2246
|
blurhash?: string | undefined;
|
|
1905
|
-
status?: "
|
|
2247
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1906
2248
|
error?: string | undefined;
|
|
1907
2249
|
}[] | undefined;
|
|
1908
2250
|
customEmojis?: {
|
|
@@ -1940,7 +2282,7 @@ export declare const postsMappingForProfile: (profile?: {
|
|
|
1940
2282
|
};
|
|
1941
2283
|
description?: string | undefined;
|
|
1942
2284
|
blurhash?: string | undefined;
|
|
1943
|
-
status?: "
|
|
2285
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
1944
2286
|
error?: string | undefined;
|
|
1945
2287
|
}[] | undefined;
|
|
1946
2288
|
customEmojis?: {
|
|
@@ -2022,7 +2364,7 @@ export declare const postsMappingForProfile: (profile?: {
|
|
|
2022
2364
|
};
|
|
2023
2365
|
description?: string | undefined;
|
|
2024
2366
|
blurhash?: string | undefined;
|
|
2025
|
-
status?: "
|
|
2367
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2026
2368
|
error?: string | undefined;
|
|
2027
2369
|
}[] | undefined;
|
|
2028
2370
|
customEmojis?: {
|
|
@@ -2035,13 +2377,51 @@ export declare const postsMappingForProfile: (profile?: {
|
|
|
2035
2377
|
language?: string | undefined;
|
|
2036
2378
|
image?: string | undefined;
|
|
2037
2379
|
title?: string | undefined;
|
|
2380
|
+
} | {
|
|
2381
|
+
type: "resource";
|
|
2382
|
+
title: string;
|
|
2383
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
2384
|
+
content?: string | undefined;
|
|
2385
|
+
sensitive?: boolean | undefined;
|
|
2386
|
+
spoilerText?: string | undefined;
|
|
2387
|
+
attachments?: {
|
|
2388
|
+
type: string;
|
|
2389
|
+
url: string;
|
|
2390
|
+
previewUrl: string | null;
|
|
2391
|
+
textUrl: null;
|
|
2392
|
+
filename: string;
|
|
2393
|
+
meta: {
|
|
2394
|
+
usage?: string | undefined;
|
|
2395
|
+
focus?: {
|
|
2396
|
+
x: number;
|
|
2397
|
+
y: number;
|
|
2398
|
+
} | undefined;
|
|
2399
|
+
mimetype?: string | undefined;
|
|
2400
|
+
size?: number | undefined;
|
|
2401
|
+
};
|
|
2402
|
+
description?: string | undefined;
|
|
2403
|
+
blurhash?: string | undefined;
|
|
2404
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2405
|
+
error?: string | undefined;
|
|
2406
|
+
}[] | undefined;
|
|
2407
|
+
customEmojis?: {
|
|
2408
|
+
shortcode: string;
|
|
2409
|
+
url: string;
|
|
2410
|
+
staticUrl: string;
|
|
2411
|
+
visibleInPicker: boolean;
|
|
2412
|
+
category: string;
|
|
2413
|
+
}[] | undefined;
|
|
2414
|
+
language?: string | undefined;
|
|
2415
|
+
tags?: string[] | undefined;
|
|
2416
|
+
categoryPath?: string[] | undefined;
|
|
2417
|
+
url?: string | undefined;
|
|
2038
2418
|
} | undefined;
|
|
2039
2419
|
}, DbPost, DbPost>;
|
|
2040
2420
|
export declare const postContextMappingForProfile: (profile?: {
|
|
2041
2421
|
id: string;
|
|
2042
2422
|
}) => Mapping<{
|
|
2043
|
-
type: "note" | "question" | "event" | "article";
|
|
2044
|
-
visibility: "local" | "
|
|
2423
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
2424
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
2045
2425
|
creatorId: string;
|
|
2046
2426
|
capabilitiesNeeded?: string[] | undefined;
|
|
2047
2427
|
data?: {
|
|
@@ -2066,7 +2446,7 @@ export declare const postContextMappingForProfile: (profile?: {
|
|
|
2066
2446
|
};
|
|
2067
2447
|
description?: string | undefined;
|
|
2068
2448
|
blurhash?: string | undefined;
|
|
2069
|
-
status?: "
|
|
2449
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2070
2450
|
error?: string | undefined;
|
|
2071
2451
|
}[] | undefined;
|
|
2072
2452
|
customEmojis?: {
|
|
@@ -2103,7 +2483,7 @@ export declare const postContextMappingForProfile: (profile?: {
|
|
|
2103
2483
|
};
|
|
2104
2484
|
description?: string | undefined;
|
|
2105
2485
|
blurhash?: string | undefined;
|
|
2106
|
-
status?: "
|
|
2486
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2107
2487
|
error?: string | undefined;
|
|
2108
2488
|
}[] | undefined;
|
|
2109
2489
|
customEmojis?: {
|
|
@@ -2141,7 +2521,7 @@ export declare const postContextMappingForProfile: (profile?: {
|
|
|
2141
2521
|
};
|
|
2142
2522
|
description?: string | undefined;
|
|
2143
2523
|
blurhash?: string | undefined;
|
|
2144
|
-
status?: "
|
|
2524
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2145
2525
|
error?: string | undefined;
|
|
2146
2526
|
}[] | undefined;
|
|
2147
2527
|
customEmojis?: {
|
|
@@ -2223,7 +2603,7 @@ export declare const postContextMappingForProfile: (profile?: {
|
|
|
2223
2603
|
};
|
|
2224
2604
|
description?: string | undefined;
|
|
2225
2605
|
blurhash?: string | undefined;
|
|
2226
|
-
status?: "
|
|
2606
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2227
2607
|
error?: string | undefined;
|
|
2228
2608
|
}[] | undefined;
|
|
2229
2609
|
customEmojis?: {
|
|
@@ -2236,12 +2616,50 @@ export declare const postContextMappingForProfile: (profile?: {
|
|
|
2236
2616
|
language?: string | undefined;
|
|
2237
2617
|
image?: string | undefined;
|
|
2238
2618
|
title?: string | undefined;
|
|
2619
|
+
} | {
|
|
2620
|
+
type: "resource";
|
|
2621
|
+
title: string;
|
|
2622
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
2623
|
+
content?: string | undefined;
|
|
2624
|
+
sensitive?: boolean | undefined;
|
|
2625
|
+
spoilerText?: string | undefined;
|
|
2626
|
+
attachments?: {
|
|
2627
|
+
type: string;
|
|
2628
|
+
url: string;
|
|
2629
|
+
previewUrl: string | null;
|
|
2630
|
+
textUrl: null;
|
|
2631
|
+
filename: string;
|
|
2632
|
+
meta: {
|
|
2633
|
+
usage?: string | undefined;
|
|
2634
|
+
focus?: {
|
|
2635
|
+
x: number;
|
|
2636
|
+
y: number;
|
|
2637
|
+
} | undefined;
|
|
2638
|
+
mimetype?: string | undefined;
|
|
2639
|
+
size?: number | undefined;
|
|
2640
|
+
};
|
|
2641
|
+
description?: string | undefined;
|
|
2642
|
+
blurhash?: string | undefined;
|
|
2643
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2644
|
+
error?: string | undefined;
|
|
2645
|
+
}[] | undefined;
|
|
2646
|
+
customEmojis?: {
|
|
2647
|
+
shortcode: string;
|
|
2648
|
+
url: string;
|
|
2649
|
+
staticUrl: string;
|
|
2650
|
+
visibleInPicker: boolean;
|
|
2651
|
+
category: string;
|
|
2652
|
+
}[] | undefined;
|
|
2653
|
+
language?: string | undefined;
|
|
2654
|
+
tags?: string[] | undefined;
|
|
2655
|
+
categoryPath?: string[] | undefined;
|
|
2656
|
+
url?: string | undefined;
|
|
2239
2657
|
} | undefined;
|
|
2240
2658
|
}, DbPost, DbPost>;
|
|
2241
2659
|
export declare const contextRelation: (depth: number, direction: "ancestors" | "descendents", contextMapping?: Mapping<DbPost>) => RelationWithMapping<DbPost>;
|
|
2242
2660
|
export declare const conversationLeavesMapping: Mapping<{
|
|
2243
|
-
type: "note" | "question" | "event" | "article";
|
|
2244
|
-
visibility: "local" | "
|
|
2661
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
2662
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
2245
2663
|
creatorId: string;
|
|
2246
2664
|
capabilitiesNeeded?: string[] | undefined;
|
|
2247
2665
|
data?: {
|
|
@@ -2266,7 +2684,7 @@ export declare const conversationLeavesMapping: Mapping<{
|
|
|
2266
2684
|
};
|
|
2267
2685
|
description?: string | undefined;
|
|
2268
2686
|
blurhash?: string | undefined;
|
|
2269
|
-
status?: "
|
|
2687
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2270
2688
|
error?: string | undefined;
|
|
2271
2689
|
}[] | undefined;
|
|
2272
2690
|
customEmojis?: {
|
|
@@ -2303,7 +2721,7 @@ export declare const conversationLeavesMapping: Mapping<{
|
|
|
2303
2721
|
};
|
|
2304
2722
|
description?: string | undefined;
|
|
2305
2723
|
blurhash?: string | undefined;
|
|
2306
|
-
status?: "
|
|
2724
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2307
2725
|
error?: string | undefined;
|
|
2308
2726
|
}[] | undefined;
|
|
2309
2727
|
customEmojis?: {
|
|
@@ -2341,7 +2759,7 @@ export declare const conversationLeavesMapping: Mapping<{
|
|
|
2341
2759
|
};
|
|
2342
2760
|
description?: string | undefined;
|
|
2343
2761
|
blurhash?: string | undefined;
|
|
2344
|
-
status?: "
|
|
2762
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2345
2763
|
error?: string | undefined;
|
|
2346
2764
|
}[] | undefined;
|
|
2347
2765
|
customEmojis?: {
|
|
@@ -2423,7 +2841,7 @@ export declare const conversationLeavesMapping: Mapping<{
|
|
|
2423
2841
|
};
|
|
2424
2842
|
description?: string | undefined;
|
|
2425
2843
|
blurhash?: string | undefined;
|
|
2426
|
-
status?: "
|
|
2844
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2427
2845
|
error?: string | undefined;
|
|
2428
2846
|
}[] | undefined;
|
|
2429
2847
|
customEmojis?: {
|
|
@@ -2436,13 +2854,51 @@ export declare const conversationLeavesMapping: Mapping<{
|
|
|
2436
2854
|
language?: string | undefined;
|
|
2437
2855
|
image?: string | undefined;
|
|
2438
2856
|
title?: string | undefined;
|
|
2857
|
+
} | {
|
|
2858
|
+
type: "resource";
|
|
2859
|
+
title: string;
|
|
2860
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
2861
|
+
content?: string | undefined;
|
|
2862
|
+
sensitive?: boolean | undefined;
|
|
2863
|
+
spoilerText?: string | undefined;
|
|
2864
|
+
attachments?: {
|
|
2865
|
+
type: string;
|
|
2866
|
+
url: string;
|
|
2867
|
+
previewUrl: string | null;
|
|
2868
|
+
textUrl: null;
|
|
2869
|
+
filename: string;
|
|
2870
|
+
meta: {
|
|
2871
|
+
usage?: string | undefined;
|
|
2872
|
+
focus?: {
|
|
2873
|
+
x: number;
|
|
2874
|
+
y: number;
|
|
2875
|
+
} | undefined;
|
|
2876
|
+
mimetype?: string | undefined;
|
|
2877
|
+
size?: number | undefined;
|
|
2878
|
+
};
|
|
2879
|
+
description?: string | undefined;
|
|
2880
|
+
blurhash?: string | undefined;
|
|
2881
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2882
|
+
error?: string | undefined;
|
|
2883
|
+
}[] | undefined;
|
|
2884
|
+
customEmojis?: {
|
|
2885
|
+
shortcode: string;
|
|
2886
|
+
url: string;
|
|
2887
|
+
staticUrl: string;
|
|
2888
|
+
visibleInPicker: boolean;
|
|
2889
|
+
category: string;
|
|
2890
|
+
}[] | undefined;
|
|
2891
|
+
language?: string | undefined;
|
|
2892
|
+
tags?: string[] | undefined;
|
|
2893
|
+
categoryPath?: string[] | undefined;
|
|
2894
|
+
url?: string | undefined;
|
|
2439
2895
|
} | undefined;
|
|
2440
2896
|
}, DbPost, DbPost>;
|
|
2441
2897
|
export declare const conversationLeavesMappingForProfile: (profile?: {
|
|
2442
2898
|
id: string;
|
|
2443
2899
|
}) => Mapping<{
|
|
2444
|
-
type: "note" | "question" | "event" | "article";
|
|
2445
|
-
visibility: "local" | "
|
|
2900
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
2901
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
2446
2902
|
creatorId: string;
|
|
2447
2903
|
capabilitiesNeeded?: string[] | undefined;
|
|
2448
2904
|
data?: {
|
|
@@ -2467,7 +2923,7 @@ export declare const conversationLeavesMappingForProfile: (profile?: {
|
|
|
2467
2923
|
};
|
|
2468
2924
|
description?: string | undefined;
|
|
2469
2925
|
blurhash?: string | undefined;
|
|
2470
|
-
status?: "
|
|
2926
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2471
2927
|
error?: string | undefined;
|
|
2472
2928
|
}[] | undefined;
|
|
2473
2929
|
customEmojis?: {
|
|
@@ -2504,7 +2960,7 @@ export declare const conversationLeavesMappingForProfile: (profile?: {
|
|
|
2504
2960
|
};
|
|
2505
2961
|
description?: string | undefined;
|
|
2506
2962
|
blurhash?: string | undefined;
|
|
2507
|
-
status?: "
|
|
2963
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2508
2964
|
error?: string | undefined;
|
|
2509
2965
|
}[] | undefined;
|
|
2510
2966
|
customEmojis?: {
|
|
@@ -2542,7 +2998,7 @@ export declare const conversationLeavesMappingForProfile: (profile?: {
|
|
|
2542
2998
|
};
|
|
2543
2999
|
description?: string | undefined;
|
|
2544
3000
|
blurhash?: string | undefined;
|
|
2545
|
-
status?: "
|
|
3001
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2546
3002
|
error?: string | undefined;
|
|
2547
3003
|
}[] | undefined;
|
|
2548
3004
|
customEmojis?: {
|
|
@@ -2624,7 +3080,7 @@ export declare const conversationLeavesMappingForProfile: (profile?: {
|
|
|
2624
3080
|
};
|
|
2625
3081
|
description?: string | undefined;
|
|
2626
3082
|
blurhash?: string | undefined;
|
|
2627
|
-
status?: "
|
|
3083
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2628
3084
|
error?: string | undefined;
|
|
2629
3085
|
}[] | undefined;
|
|
2630
3086
|
customEmojis?: {
|
|
@@ -2637,11 +3093,49 @@ export declare const conversationLeavesMappingForProfile: (profile?: {
|
|
|
2637
3093
|
language?: string | undefined;
|
|
2638
3094
|
image?: string | undefined;
|
|
2639
3095
|
title?: string | undefined;
|
|
3096
|
+
} | {
|
|
3097
|
+
type: "resource";
|
|
3098
|
+
title: string;
|
|
3099
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
3100
|
+
content?: string | undefined;
|
|
3101
|
+
sensitive?: boolean | undefined;
|
|
3102
|
+
spoilerText?: string | undefined;
|
|
3103
|
+
attachments?: {
|
|
3104
|
+
type: string;
|
|
3105
|
+
url: string;
|
|
3106
|
+
previewUrl: string | null;
|
|
3107
|
+
textUrl: null;
|
|
3108
|
+
filename: string;
|
|
3109
|
+
meta: {
|
|
3110
|
+
usage?: string | undefined;
|
|
3111
|
+
focus?: {
|
|
3112
|
+
x: number;
|
|
3113
|
+
y: number;
|
|
3114
|
+
} | undefined;
|
|
3115
|
+
mimetype?: string | undefined;
|
|
3116
|
+
size?: number | undefined;
|
|
3117
|
+
};
|
|
3118
|
+
description?: string | undefined;
|
|
3119
|
+
blurhash?: string | undefined;
|
|
3120
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
3121
|
+
error?: string | undefined;
|
|
3122
|
+
}[] | undefined;
|
|
3123
|
+
customEmojis?: {
|
|
3124
|
+
shortcode: string;
|
|
3125
|
+
url: string;
|
|
3126
|
+
staticUrl: string;
|
|
3127
|
+
visibleInPicker: boolean;
|
|
3128
|
+
category: string;
|
|
3129
|
+
}[] | undefined;
|
|
3130
|
+
language?: string | undefined;
|
|
3131
|
+
tags?: string[] | undefined;
|
|
3132
|
+
categoryPath?: string[] | undefined;
|
|
3133
|
+
url?: string | undefined;
|
|
2640
3134
|
} | undefined;
|
|
2641
3135
|
}, DbPost, DbPost>;
|
|
2642
3136
|
export declare const postIdsMapping: Mapping<{
|
|
2643
|
-
type: "note" | "question" | "event" | "article";
|
|
2644
|
-
visibility: "local" | "
|
|
3137
|
+
type: "resource" | "note" | "question" | "event" | "article";
|
|
3138
|
+
visibility: "local" | "group" | "report" | "public" | "unlisted" | "private" | "direct";
|
|
2645
3139
|
creatorId: string;
|
|
2646
3140
|
capabilitiesNeeded?: string[] | undefined;
|
|
2647
3141
|
data?: {
|
|
@@ -2666,7 +3160,7 @@ export declare const postIdsMapping: Mapping<{
|
|
|
2666
3160
|
};
|
|
2667
3161
|
description?: string | undefined;
|
|
2668
3162
|
blurhash?: string | undefined;
|
|
2669
|
-
status?: "
|
|
3163
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2670
3164
|
error?: string | undefined;
|
|
2671
3165
|
}[] | undefined;
|
|
2672
3166
|
customEmojis?: {
|
|
@@ -2703,7 +3197,7 @@ export declare const postIdsMapping: Mapping<{
|
|
|
2703
3197
|
};
|
|
2704
3198
|
description?: string | undefined;
|
|
2705
3199
|
blurhash?: string | undefined;
|
|
2706
|
-
status?: "
|
|
3200
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2707
3201
|
error?: string | undefined;
|
|
2708
3202
|
}[] | undefined;
|
|
2709
3203
|
customEmojis?: {
|
|
@@ -2741,7 +3235,7 @@ export declare const postIdsMapping: Mapping<{
|
|
|
2741
3235
|
};
|
|
2742
3236
|
description?: string | undefined;
|
|
2743
3237
|
blurhash?: string | undefined;
|
|
2744
|
-
status?: "
|
|
3238
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2745
3239
|
error?: string | undefined;
|
|
2746
3240
|
}[] | undefined;
|
|
2747
3241
|
customEmojis?: {
|
|
@@ -2823,7 +3317,7 @@ export declare const postIdsMapping: Mapping<{
|
|
|
2823
3317
|
};
|
|
2824
3318
|
description?: string | undefined;
|
|
2825
3319
|
blurhash?: string | undefined;
|
|
2826
|
-
status?: "
|
|
3320
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
2827
3321
|
error?: string | undefined;
|
|
2828
3322
|
}[] | undefined;
|
|
2829
3323
|
customEmojis?: {
|
|
@@ -2836,6 +3330,44 @@ export declare const postIdsMapping: Mapping<{
|
|
|
2836
3330
|
language?: string | undefined;
|
|
2837
3331
|
image?: string | undefined;
|
|
2838
3332
|
title?: string | undefined;
|
|
3333
|
+
} | {
|
|
3334
|
+
type: "resource";
|
|
3335
|
+
title: string;
|
|
3336
|
+
resourceKind: "file" | "link" | "video" | "gallery" | "audio";
|
|
3337
|
+
content?: string | undefined;
|
|
3338
|
+
sensitive?: boolean | undefined;
|
|
3339
|
+
spoilerText?: string | undefined;
|
|
3340
|
+
attachments?: {
|
|
3341
|
+
type: string;
|
|
3342
|
+
url: string;
|
|
3343
|
+
previewUrl: string | null;
|
|
3344
|
+
textUrl: null;
|
|
3345
|
+
filename: string;
|
|
3346
|
+
meta: {
|
|
3347
|
+
usage?: string | undefined;
|
|
3348
|
+
focus?: {
|
|
3349
|
+
x: number;
|
|
3350
|
+
y: number;
|
|
3351
|
+
} | undefined;
|
|
3352
|
+
mimetype?: string | undefined;
|
|
3353
|
+
size?: number | undefined;
|
|
3354
|
+
};
|
|
3355
|
+
description?: string | undefined;
|
|
3356
|
+
blurhash?: string | undefined;
|
|
3357
|
+
status?: "failed" | "ready" | "processing" | undefined;
|
|
3358
|
+
error?: string | undefined;
|
|
3359
|
+
}[] | undefined;
|
|
3360
|
+
customEmojis?: {
|
|
3361
|
+
shortcode: string;
|
|
3362
|
+
url: string;
|
|
3363
|
+
staticUrl: string;
|
|
3364
|
+
visibleInPicker: boolean;
|
|
3365
|
+
category: string;
|
|
3366
|
+
}[] | undefined;
|
|
3367
|
+
language?: string | undefined;
|
|
3368
|
+
tags?: string[] | undefined;
|
|
3369
|
+
categoryPath?: string[] | undefined;
|
|
3370
|
+
url?: string | undefined;
|
|
2839
3371
|
} | undefined;
|
|
2840
3372
|
}, {
|
|
2841
3373
|
id: string;
|