@openpeepshq/react 0.5.1 → 0.6.1
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/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/markdown/CompiledMarkdown.d.ts +3 -1
- package/dist/components/markdown/CompiledMarkdown.js +17 -1
- package/dist/components/markdown/OpenpeepsMarkdown.d.ts +3 -7
- package/dist/components/markdown/OpenpeepsMarkdown.js +11 -7
- package/dist/components/markdown/classes.d.ts +3 -3
- package/dist/components/markdown/classes.js +3 -3
- package/dist/components/markdown/compileMarkdown.d.ts +3 -1
- package/dist/components/markdown/compileMarkdown.js +29 -4
- package/dist/components/markdown/index.d.ts +3 -1
- package/dist/components/markdown/linkTargets.d.ts +2 -3
- package/dist/components/markdown/linkTargets.js +2 -27
- package/dist/components/post/CompactReplyParent.js +8 -0
- package/dist/components/post/FeedPostContent.js +3 -0
- package/dist/components/post/NewResourceButton.d.ts +8 -0
- package/dist/components/post/NewResourceButton.js +36 -0
- package/dist/components/post/PostDetail.js +3 -0
- package/dist/components/post/index.d.ts +5 -0
- package/dist/components/post/index.js +3 -0
- package/dist/components/post/pieces/PostMenu.js +4 -0
- package/dist/components/post/post-form/PostTypeSwitcher.js +12 -2
- package/dist/components/post/post-form/ResourceForm.d.ts +7 -0
- package/dist/components/post/post-form/ResourceForm.js +68 -0
- package/dist/components/post/types/resource/FullResource.d.ts +5 -0
- package/dist/components/post/types/resource/FullResource.js +99 -0
- package/dist/components/resources/CategoryPathPicker.d.ts +7 -0
- package/dist/components/resources/CategoryPathPicker.js +26 -0
- package/dist/components/resources/ResourceCard.d.ts +8 -0
- package/dist/components/resources/ResourceCard.js +121 -0
- package/dist/components/resources/ResourceLibrary.d.ts +4 -0
- package/dist/components/resources/ResourceLibrary.js +106 -0
- package/dist/components/resources/index.d.ts +6 -0
- package/dist/components/resources/index.js +3 -0
- package/dist/contexts/openpeeps/hooks/admin.d.ts +1064 -38
- package/dist/contexts/openpeeps/hooks/jams.d.ts +1064 -38
- package/dist/contexts/openpeeps/hooks/posts.d.ts +4508 -39936
- package/dist/hooks/events/useEventComposer.d.ts +1184 -44
- package/dist/hooks/events/useEventsCalendar.d.ts +2113 -61
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/jams/useCreateNewJamForm.d.ts +39 -1
- package/dist/hooks/jams/useJamDetails.d.ts +1064 -38
- package/dist/hooks/jams/useJamRoom.d.ts +2113 -61
- package/dist/hooks/posts/useArticleComposer.d.ts +1184 -44
- package/dist/hooks/posts/useFeedPostPresentation.d.ts +2113 -61
- package/dist/hooks/posts/usePostDetailTitle.d.ts +1064 -38
- package/dist/hooks/posts/useResourceComposer.d.ts +12019 -0
- package/dist/hooks/posts/useResourceComposer.js +139 -0
- package/dist/hooks/resources/useResourceLibrary.d.ts +21880 -0
- package/dist/hooks/resources/useResourceLibrary.js +130 -0
- package/dist/hooks/settings/useNotificationPreferences.d.ts +1 -1
- package/dist/lib/analyticsClicks.js +1 -1
- package/dist/navigation/menuItems.js +5 -0
- package/dist/navigation/targets.d.ts +4 -0
- package/dist/pages/admin/analytics/Content.js +2 -1
- package/dist/pages/admin/analytics/Overview.js +15 -3
- package/dist/pages/groups/Show.js +7 -3
- package/dist/pages/index.d.ts +3 -0
- package/dist/pages/index.js +3 -0
- package/dist/pages/resources/Edit.d.ts +1 -0
- package/dist/pages/resources/Edit.js +26 -0
- package/dist/pages/resources/Index.d.ts +1 -0
- package/dist/pages/resources/Index.js +29 -0
- package/dist/pages/resources/New.d.ts +1 -0
- package/dist/pages/resources/New.js +15 -0
- package/dist/react-native.d.ts +3 -1
- package/dist/react-native.js +2 -1
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +1 -1
- package/dist/stores/newPosts.d.ts +79 -2
- package/dist/stores/newPosts.js +26 -2
- package/dist/stores/types.d.ts +2 -0
- package/package.json +7 -6
- package/src/components/index.ts +1 -0
- package/src/components/markdown/CompiledMarkdown.tsx +36 -7
- package/src/components/markdown/OpenpeepsMarkdown.tsx +16 -16
- package/src/components/markdown/classes.ts +3 -3
- package/src/components/markdown/compileMarkdown.ts +45 -5
- package/src/components/markdown/index.ts +6 -1
- package/src/components/markdown/linkTargets.ts +2 -31
- package/src/components/post/CompactReplyParent.tsx +8 -0
- package/src/components/post/FeedPostContent.tsx +3 -0
- package/src/components/post/NewResourceButton.tsx +75 -0
- package/src/components/post/PostDetail.tsx +3 -0
- package/src/components/post/index.ts +5 -0
- package/src/components/post/pieces/PostMenu.tsx +4 -0
- package/src/components/post/post-form/PostTypeSwitcher.tsx +19 -1
- package/src/components/post/post-form/ResourceForm.tsx +237 -0
- package/src/components/post/types/resource/FullResource.tsx +173 -0
- package/src/components/resources/CategoryPathPicker.tsx +95 -0
- package/src/components/resources/ResourceCard.tsx +335 -0
- package/src/components/resources/ResourceLibrary.tsx +374 -0
- package/src/components/resources/index.ts +6 -0
- package/src/contexts/openpeeps/hooks/posts.ts +11 -2
- package/src/hooks/index.ts +2 -0
- package/src/hooks/posts/useResourceComposer.ts +165 -0
- package/src/hooks/resources/useResourceLibrary.ts +156 -0
- package/src/lib/analyticsClicks.ts +1 -1
- package/src/navigation/menuItems.ts +6 -0
- package/src/navigation/targets.ts +1 -0
- package/src/pages/admin/analytics/Content.tsx +2 -1
- package/src/pages/admin/analytics/Overview.tsx +15 -3
- package/src/pages/groups/Show.tsx +30 -1
- package/src/pages/index.ts +3 -0
- package/src/pages/resources/Edit.tsx +73 -0
- package/src/pages/resources/Index.tsx +45 -0
- package/src/pages/resources/New.tsx +53 -0
- package/src/react-native.ts +12 -0
- package/src/stores/index.ts +1 -0
- package/src/stores/newPosts.ts +33 -2
- package/src/stores/types.ts +2 -0
|
@@ -7,7 +7,7 @@ export type FeedPostPresentationOptions = {
|
|
|
7
7
|
export declare const feedPostPresentation: (post: PublicPost, viewerId: string | undefined, options?: FeedPostPresentationOptions) => {
|
|
8
8
|
displayedPost: {
|
|
9
9
|
id: string;
|
|
10
|
-
type: "event" | "note" | "question" | "article";
|
|
10
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
11
11
|
profile: {
|
|
12
12
|
id: string;
|
|
13
13
|
type: "local" | "guest" | "federated";
|
|
@@ -258,6 +258,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
258
258
|
language?: string | undefined;
|
|
259
259
|
image?: string | undefined;
|
|
260
260
|
title?: string | undefined;
|
|
261
|
+
} | {
|
|
262
|
+
type: "resource";
|
|
263
|
+
title: string;
|
|
264
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
265
|
+
content?: string | undefined;
|
|
266
|
+
sensitive?: boolean | undefined;
|
|
267
|
+
spoilerText?: string | undefined;
|
|
268
|
+
attachments?: {
|
|
269
|
+
type: string;
|
|
270
|
+
url: string;
|
|
271
|
+
previewUrl: string | null;
|
|
272
|
+
textUrl: null;
|
|
273
|
+
filename: string;
|
|
274
|
+
meta: {
|
|
275
|
+
usage?: string | undefined;
|
|
276
|
+
focus?: {
|
|
277
|
+
x: number;
|
|
278
|
+
y: number;
|
|
279
|
+
} | undefined;
|
|
280
|
+
mimetype?: string | undefined;
|
|
281
|
+
size?: number | undefined;
|
|
282
|
+
};
|
|
283
|
+
description?: string | undefined;
|
|
284
|
+
blurhash?: string | undefined;
|
|
285
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
286
|
+
error?: string | undefined;
|
|
287
|
+
}[] | undefined;
|
|
288
|
+
customEmojis?: {
|
|
289
|
+
shortcode: string;
|
|
290
|
+
url: string;
|
|
291
|
+
staticUrl: string;
|
|
292
|
+
visibleInPicker: boolean;
|
|
293
|
+
category: string;
|
|
294
|
+
}[] | undefined;
|
|
295
|
+
language?: string | undefined;
|
|
296
|
+
tags?: string[] | undefined;
|
|
297
|
+
categoryPath?: string[] | undefined;
|
|
298
|
+
url?: string | undefined;
|
|
261
299
|
};
|
|
262
300
|
entries: ({
|
|
263
301
|
type: "create";
|
|
@@ -453,6 +491,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
453
491
|
language?: string | undefined;
|
|
454
492
|
image?: string | undefined;
|
|
455
493
|
title?: string | undefined;
|
|
494
|
+
} | {
|
|
495
|
+
type: "resource";
|
|
496
|
+
title: string;
|
|
497
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
498
|
+
content?: string | undefined;
|
|
499
|
+
sensitive?: boolean | undefined;
|
|
500
|
+
spoilerText?: string | undefined;
|
|
501
|
+
attachments?: {
|
|
502
|
+
type: string;
|
|
503
|
+
url: string;
|
|
504
|
+
previewUrl: string | null;
|
|
505
|
+
textUrl: null;
|
|
506
|
+
filename: string;
|
|
507
|
+
meta: {
|
|
508
|
+
usage?: string | undefined;
|
|
509
|
+
focus?: {
|
|
510
|
+
x: number;
|
|
511
|
+
y: number;
|
|
512
|
+
} | undefined;
|
|
513
|
+
mimetype?: string | undefined;
|
|
514
|
+
size?: number | undefined;
|
|
515
|
+
};
|
|
516
|
+
description?: string | undefined;
|
|
517
|
+
blurhash?: string | undefined;
|
|
518
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
519
|
+
error?: string | undefined;
|
|
520
|
+
}[] | undefined;
|
|
521
|
+
customEmojis?: {
|
|
522
|
+
shortcode: string;
|
|
523
|
+
url: string;
|
|
524
|
+
staticUrl: string;
|
|
525
|
+
visibleInPicker: boolean;
|
|
526
|
+
category: string;
|
|
527
|
+
}[] | undefined;
|
|
528
|
+
language?: string | undefined;
|
|
529
|
+
tags?: string[] | undefined;
|
|
530
|
+
categoryPath?: string[] | undefined;
|
|
531
|
+
url?: string | undefined;
|
|
456
532
|
};
|
|
457
533
|
profile: {
|
|
458
534
|
id: string;
|
|
@@ -707,6 +783,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
707
783
|
language?: string | undefined;
|
|
708
784
|
image?: string | undefined;
|
|
709
785
|
title?: string | undefined;
|
|
786
|
+
} | {
|
|
787
|
+
type: "resource";
|
|
788
|
+
title: string;
|
|
789
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
790
|
+
content?: string | undefined;
|
|
791
|
+
sensitive?: boolean | undefined;
|
|
792
|
+
spoilerText?: string | undefined;
|
|
793
|
+
attachments?: {
|
|
794
|
+
type: string;
|
|
795
|
+
url: string;
|
|
796
|
+
previewUrl: string | null;
|
|
797
|
+
textUrl: null;
|
|
798
|
+
filename: string;
|
|
799
|
+
meta: {
|
|
800
|
+
usage?: string | undefined;
|
|
801
|
+
focus?: {
|
|
802
|
+
x: number;
|
|
803
|
+
y: number;
|
|
804
|
+
} | undefined;
|
|
805
|
+
mimetype?: string | undefined;
|
|
806
|
+
size?: number | undefined;
|
|
807
|
+
};
|
|
808
|
+
description?: string | undefined;
|
|
809
|
+
blurhash?: string | undefined;
|
|
810
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
811
|
+
error?: string | undefined;
|
|
812
|
+
}[] | undefined;
|
|
813
|
+
customEmojis?: {
|
|
814
|
+
shortcode: string;
|
|
815
|
+
url: string;
|
|
816
|
+
staticUrl: string;
|
|
817
|
+
visibleInPicker: boolean;
|
|
818
|
+
category: string;
|
|
819
|
+
}[] | undefined;
|
|
820
|
+
language?: string | undefined;
|
|
821
|
+
tags?: string[] | undefined;
|
|
822
|
+
categoryPath?: string[] | undefined;
|
|
823
|
+
url?: string | undefined;
|
|
710
824
|
};
|
|
711
825
|
profile: {
|
|
712
826
|
id: string;
|
|
@@ -1299,7 +1413,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
1299
1413
|
hidden?: boolean | undefined;
|
|
1300
1414
|
latestReplies?: {
|
|
1301
1415
|
id: string;
|
|
1302
|
-
type: "event" | "note" | "question" | "article";
|
|
1416
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
1303
1417
|
profile: {
|
|
1304
1418
|
id: string;
|
|
1305
1419
|
type: "local" | "guest" | "federated";
|
|
@@ -1550,6 +1664,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
1550
1664
|
language?: string | undefined;
|
|
1551
1665
|
image?: string | undefined;
|
|
1552
1666
|
title?: string | undefined;
|
|
1667
|
+
} | {
|
|
1668
|
+
type: "resource";
|
|
1669
|
+
title: string;
|
|
1670
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
1671
|
+
content?: string | undefined;
|
|
1672
|
+
sensitive?: boolean | undefined;
|
|
1673
|
+
spoilerText?: string | undefined;
|
|
1674
|
+
attachments?: {
|
|
1675
|
+
type: string;
|
|
1676
|
+
url: string;
|
|
1677
|
+
previewUrl: string | null;
|
|
1678
|
+
textUrl: null;
|
|
1679
|
+
filename: string;
|
|
1680
|
+
meta: {
|
|
1681
|
+
usage?: string | undefined;
|
|
1682
|
+
focus?: {
|
|
1683
|
+
x: number;
|
|
1684
|
+
y: number;
|
|
1685
|
+
} | undefined;
|
|
1686
|
+
mimetype?: string | undefined;
|
|
1687
|
+
size?: number | undefined;
|
|
1688
|
+
};
|
|
1689
|
+
description?: string | undefined;
|
|
1690
|
+
blurhash?: string | undefined;
|
|
1691
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
1692
|
+
error?: string | undefined;
|
|
1693
|
+
}[] | undefined;
|
|
1694
|
+
customEmojis?: {
|
|
1695
|
+
shortcode: string;
|
|
1696
|
+
url: string;
|
|
1697
|
+
staticUrl: string;
|
|
1698
|
+
visibleInPicker: boolean;
|
|
1699
|
+
category: string;
|
|
1700
|
+
}[] | undefined;
|
|
1701
|
+
language?: string | undefined;
|
|
1702
|
+
tags?: string[] | undefined;
|
|
1703
|
+
categoryPath?: string[] | undefined;
|
|
1704
|
+
url?: string | undefined;
|
|
1553
1705
|
};
|
|
1554
1706
|
entries: ({
|
|
1555
1707
|
type: "create";
|
|
@@ -1745,6 +1897,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
1745
1897
|
language?: string | undefined;
|
|
1746
1898
|
image?: string | undefined;
|
|
1747
1899
|
title?: string | undefined;
|
|
1900
|
+
} | {
|
|
1901
|
+
type: "resource";
|
|
1902
|
+
title: string;
|
|
1903
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
1904
|
+
content?: string | undefined;
|
|
1905
|
+
sensitive?: boolean | undefined;
|
|
1906
|
+
spoilerText?: string | undefined;
|
|
1907
|
+
attachments?: {
|
|
1908
|
+
type: string;
|
|
1909
|
+
url: string;
|
|
1910
|
+
previewUrl: string | null;
|
|
1911
|
+
textUrl: null;
|
|
1912
|
+
filename: string;
|
|
1913
|
+
meta: {
|
|
1914
|
+
usage?: string | undefined;
|
|
1915
|
+
focus?: {
|
|
1916
|
+
x: number;
|
|
1917
|
+
y: number;
|
|
1918
|
+
} | undefined;
|
|
1919
|
+
mimetype?: string | undefined;
|
|
1920
|
+
size?: number | undefined;
|
|
1921
|
+
};
|
|
1922
|
+
description?: string | undefined;
|
|
1923
|
+
blurhash?: string | undefined;
|
|
1924
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
1925
|
+
error?: string | undefined;
|
|
1926
|
+
}[] | undefined;
|
|
1927
|
+
customEmojis?: {
|
|
1928
|
+
shortcode: string;
|
|
1929
|
+
url: string;
|
|
1930
|
+
staticUrl: string;
|
|
1931
|
+
visibleInPicker: boolean;
|
|
1932
|
+
category: string;
|
|
1933
|
+
}[] | undefined;
|
|
1934
|
+
language?: string | undefined;
|
|
1935
|
+
tags?: string[] | undefined;
|
|
1936
|
+
categoryPath?: string[] | undefined;
|
|
1937
|
+
url?: string | undefined;
|
|
1748
1938
|
};
|
|
1749
1939
|
profile: {
|
|
1750
1940
|
id: string;
|
|
@@ -1999,6 +2189,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
1999
2189
|
language?: string | undefined;
|
|
2000
2190
|
image?: string | undefined;
|
|
2001
2191
|
title?: string | undefined;
|
|
2192
|
+
} | {
|
|
2193
|
+
type: "resource";
|
|
2194
|
+
title: string;
|
|
2195
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
2196
|
+
content?: string | undefined;
|
|
2197
|
+
sensitive?: boolean | undefined;
|
|
2198
|
+
spoilerText?: string | undefined;
|
|
2199
|
+
attachments?: {
|
|
2200
|
+
type: string;
|
|
2201
|
+
url: string;
|
|
2202
|
+
previewUrl: string | null;
|
|
2203
|
+
textUrl: null;
|
|
2204
|
+
filename: string;
|
|
2205
|
+
meta: {
|
|
2206
|
+
usage?: string | undefined;
|
|
2207
|
+
focus?: {
|
|
2208
|
+
x: number;
|
|
2209
|
+
y: number;
|
|
2210
|
+
} | undefined;
|
|
2211
|
+
mimetype?: string | undefined;
|
|
2212
|
+
size?: number | undefined;
|
|
2213
|
+
};
|
|
2214
|
+
description?: string | undefined;
|
|
2215
|
+
blurhash?: string | undefined;
|
|
2216
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
2217
|
+
error?: string | undefined;
|
|
2218
|
+
}[] | undefined;
|
|
2219
|
+
customEmojis?: {
|
|
2220
|
+
shortcode: string;
|
|
2221
|
+
url: string;
|
|
2222
|
+
staticUrl: string;
|
|
2223
|
+
visibleInPicker: boolean;
|
|
2224
|
+
category: string;
|
|
2225
|
+
}[] | undefined;
|
|
2226
|
+
language?: string | undefined;
|
|
2227
|
+
tags?: string[] | undefined;
|
|
2228
|
+
categoryPath?: string[] | undefined;
|
|
2229
|
+
url?: string | undefined;
|
|
2002
2230
|
};
|
|
2003
2231
|
profile: {
|
|
2004
2232
|
id: string;
|
|
@@ -2337,7 +2565,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
2337
2565
|
hidden?: boolean | undefined;
|
|
2338
2566
|
replyTo?: {
|
|
2339
2567
|
id: string;
|
|
2340
|
-
type: "event" | "note" | "question" | "article";
|
|
2568
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
2341
2569
|
profile: {
|
|
2342
2570
|
id: string;
|
|
2343
2571
|
type: "local" | "guest" | "federated";
|
|
@@ -2588,6 +2816,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
2588
2816
|
language?: string | undefined;
|
|
2589
2817
|
image?: string | undefined;
|
|
2590
2818
|
title?: string | undefined;
|
|
2819
|
+
} | {
|
|
2820
|
+
type: "resource";
|
|
2821
|
+
title: string;
|
|
2822
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
2823
|
+
content?: string | undefined;
|
|
2824
|
+
sensitive?: boolean | undefined;
|
|
2825
|
+
spoilerText?: string | undefined;
|
|
2826
|
+
attachments?: {
|
|
2827
|
+
type: string;
|
|
2828
|
+
url: string;
|
|
2829
|
+
previewUrl: string | null;
|
|
2830
|
+
textUrl: null;
|
|
2831
|
+
filename: string;
|
|
2832
|
+
meta: {
|
|
2833
|
+
usage?: string | undefined;
|
|
2834
|
+
focus?: {
|
|
2835
|
+
x: number;
|
|
2836
|
+
y: number;
|
|
2837
|
+
} | undefined;
|
|
2838
|
+
mimetype?: string | undefined;
|
|
2839
|
+
size?: number | undefined;
|
|
2840
|
+
};
|
|
2841
|
+
description?: string | undefined;
|
|
2842
|
+
blurhash?: string | undefined;
|
|
2843
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
2844
|
+
error?: string | undefined;
|
|
2845
|
+
}[] | undefined;
|
|
2846
|
+
customEmojis?: {
|
|
2847
|
+
shortcode: string;
|
|
2848
|
+
url: string;
|
|
2849
|
+
staticUrl: string;
|
|
2850
|
+
visibleInPicker: boolean;
|
|
2851
|
+
category: string;
|
|
2852
|
+
}[] | undefined;
|
|
2853
|
+
language?: string | undefined;
|
|
2854
|
+
tags?: string[] | undefined;
|
|
2855
|
+
categoryPath?: string[] | undefined;
|
|
2856
|
+
url?: string | undefined;
|
|
2591
2857
|
};
|
|
2592
2858
|
entries: ({
|
|
2593
2859
|
type: "create";
|
|
@@ -2783,31 +3049,69 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
2783
3049
|
language?: string | undefined;
|
|
2784
3050
|
image?: string | undefined;
|
|
2785
3051
|
title?: string | undefined;
|
|
2786
|
-
}
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
3052
|
+
} | {
|
|
3053
|
+
type: "resource";
|
|
3054
|
+
title: string;
|
|
3055
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
3056
|
+
content?: string | undefined;
|
|
3057
|
+
sensitive?: boolean | undefined;
|
|
3058
|
+
spoilerText?: string | undefined;
|
|
3059
|
+
attachments?: {
|
|
3060
|
+
type: string;
|
|
3061
|
+
url: string;
|
|
3062
|
+
previewUrl: string | null;
|
|
3063
|
+
textUrl: null;
|
|
3064
|
+
filename: string;
|
|
3065
|
+
meta: {
|
|
3066
|
+
usage?: string | undefined;
|
|
3067
|
+
focus?: {
|
|
3068
|
+
x: number;
|
|
3069
|
+
y: number;
|
|
3070
|
+
} | undefined;
|
|
3071
|
+
mimetype?: string | undefined;
|
|
3072
|
+
size?: number | undefined;
|
|
3073
|
+
};
|
|
3074
|
+
description?: string | undefined;
|
|
3075
|
+
blurhash?: string | undefined;
|
|
3076
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
3077
|
+
error?: string | undefined;
|
|
3078
|
+
}[] | undefined;
|
|
3079
|
+
customEmojis?: {
|
|
3080
|
+
shortcode: string;
|
|
3081
|
+
url: string;
|
|
3082
|
+
staticUrl: string;
|
|
3083
|
+
visibleInPicker: boolean;
|
|
3084
|
+
category: string;
|
|
3085
|
+
}[] | undefined;
|
|
3086
|
+
language?: string | undefined;
|
|
3087
|
+
tags?: string[] | undefined;
|
|
3088
|
+
categoryPath?: string[] | undefined;
|
|
3089
|
+
url?: string | undefined;
|
|
3090
|
+
};
|
|
3091
|
+
profile: {
|
|
3092
|
+
id: string;
|
|
3093
|
+
type: "local" | "guest" | "federated";
|
|
3094
|
+
createdAt: string;
|
|
3095
|
+
updatedAt: string;
|
|
3096
|
+
handle: string;
|
|
3097
|
+
memberships: {
|
|
3098
|
+
group: {
|
|
3099
|
+
handle: string;
|
|
3100
|
+
capabilities: Record<string, {
|
|
3101
|
+
add?: string[] | undefined;
|
|
3102
|
+
remove?: string[] | undefined;
|
|
3103
|
+
} | undefined>;
|
|
3104
|
+
id: string;
|
|
3105
|
+
createdAt: string;
|
|
3106
|
+
updatedAt: string;
|
|
3107
|
+
avatar?: string | null | undefined;
|
|
3108
|
+
header?: string | null | undefined;
|
|
3109
|
+
displayName?: string | undefined;
|
|
3110
|
+
description?: string | undefined;
|
|
3111
|
+
rules?: string | undefined;
|
|
3112
|
+
pinnedPostId?: string | undefined;
|
|
3113
|
+
discoverable?: boolean | undefined;
|
|
3114
|
+
deletedAt?: string | null | undefined;
|
|
2811
3115
|
};
|
|
2812
3116
|
roles?: ("none" | "local" | "member" | "moderator" | "admin" | "owner" | "invited")[] | null | undefined;
|
|
2813
3117
|
}[] | undefined;
|
|
@@ -3037,6 +3341,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
3037
3341
|
language?: string | undefined;
|
|
3038
3342
|
image?: string | undefined;
|
|
3039
3343
|
title?: string | undefined;
|
|
3344
|
+
} | {
|
|
3345
|
+
type: "resource";
|
|
3346
|
+
title: string;
|
|
3347
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
3348
|
+
content?: string | undefined;
|
|
3349
|
+
sensitive?: boolean | undefined;
|
|
3350
|
+
spoilerText?: string | undefined;
|
|
3351
|
+
attachments?: {
|
|
3352
|
+
type: string;
|
|
3353
|
+
url: string;
|
|
3354
|
+
previewUrl: string | null;
|
|
3355
|
+
textUrl: null;
|
|
3356
|
+
filename: string;
|
|
3357
|
+
meta: {
|
|
3358
|
+
usage?: string | undefined;
|
|
3359
|
+
focus?: {
|
|
3360
|
+
x: number;
|
|
3361
|
+
y: number;
|
|
3362
|
+
} | undefined;
|
|
3363
|
+
mimetype?: string | undefined;
|
|
3364
|
+
size?: number | undefined;
|
|
3365
|
+
};
|
|
3366
|
+
description?: string | undefined;
|
|
3367
|
+
blurhash?: string | undefined;
|
|
3368
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
3369
|
+
error?: string | undefined;
|
|
3370
|
+
}[] | undefined;
|
|
3371
|
+
customEmojis?: {
|
|
3372
|
+
shortcode: string;
|
|
3373
|
+
url: string;
|
|
3374
|
+
staticUrl: string;
|
|
3375
|
+
visibleInPicker: boolean;
|
|
3376
|
+
category: string;
|
|
3377
|
+
}[] | undefined;
|
|
3378
|
+
language?: string | undefined;
|
|
3379
|
+
tags?: string[] | undefined;
|
|
3380
|
+
categoryPath?: string[] | undefined;
|
|
3381
|
+
url?: string | undefined;
|
|
3040
3382
|
};
|
|
3041
3383
|
profile: {
|
|
3042
3384
|
id: string;
|
|
@@ -3397,7 +3739,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
3397
3739
|
inReplyToId?: string | null | undefined;
|
|
3398
3740
|
replyTo?: {
|
|
3399
3741
|
id: string;
|
|
3400
|
-
type: "event" | "note" | "question" | "article";
|
|
3742
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
3401
3743
|
profile: {
|
|
3402
3744
|
id: string;
|
|
3403
3745
|
type: "local" | "guest" | "federated";
|
|
@@ -3648,6 +3990,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
3648
3990
|
language?: string | undefined;
|
|
3649
3991
|
image?: string | undefined;
|
|
3650
3992
|
title?: string | undefined;
|
|
3993
|
+
} | {
|
|
3994
|
+
type: "resource";
|
|
3995
|
+
title: string;
|
|
3996
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
3997
|
+
content?: string | undefined;
|
|
3998
|
+
sensitive?: boolean | undefined;
|
|
3999
|
+
spoilerText?: string | undefined;
|
|
4000
|
+
attachments?: {
|
|
4001
|
+
type: string;
|
|
4002
|
+
url: string;
|
|
4003
|
+
previewUrl: string | null;
|
|
4004
|
+
textUrl: null;
|
|
4005
|
+
filename: string;
|
|
4006
|
+
meta: {
|
|
4007
|
+
usage?: string | undefined;
|
|
4008
|
+
focus?: {
|
|
4009
|
+
x: number;
|
|
4010
|
+
y: number;
|
|
4011
|
+
} | undefined;
|
|
4012
|
+
mimetype?: string | undefined;
|
|
4013
|
+
size?: number | undefined;
|
|
4014
|
+
};
|
|
4015
|
+
description?: string | undefined;
|
|
4016
|
+
blurhash?: string | undefined;
|
|
4017
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
4018
|
+
error?: string | undefined;
|
|
4019
|
+
}[] | undefined;
|
|
4020
|
+
customEmojis?: {
|
|
4021
|
+
shortcode: string;
|
|
4022
|
+
url: string;
|
|
4023
|
+
staticUrl: string;
|
|
4024
|
+
visibleInPicker: boolean;
|
|
4025
|
+
category: string;
|
|
4026
|
+
}[] | undefined;
|
|
4027
|
+
language?: string | undefined;
|
|
4028
|
+
tags?: string[] | undefined;
|
|
4029
|
+
categoryPath?: string[] | undefined;
|
|
4030
|
+
url?: string | undefined;
|
|
3651
4031
|
};
|
|
3652
4032
|
entries: ({
|
|
3653
4033
|
type: "create";
|
|
@@ -3843,6 +4223,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
3843
4223
|
language?: string | undefined;
|
|
3844
4224
|
image?: string | undefined;
|
|
3845
4225
|
title?: string | undefined;
|
|
4226
|
+
} | {
|
|
4227
|
+
type: "resource";
|
|
4228
|
+
title: string;
|
|
4229
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
4230
|
+
content?: string | undefined;
|
|
4231
|
+
sensitive?: boolean | undefined;
|
|
4232
|
+
spoilerText?: string | undefined;
|
|
4233
|
+
attachments?: {
|
|
4234
|
+
type: string;
|
|
4235
|
+
url: string;
|
|
4236
|
+
previewUrl: string | null;
|
|
4237
|
+
textUrl: null;
|
|
4238
|
+
filename: string;
|
|
4239
|
+
meta: {
|
|
4240
|
+
usage?: string | undefined;
|
|
4241
|
+
focus?: {
|
|
4242
|
+
x: number;
|
|
4243
|
+
y: number;
|
|
4244
|
+
} | undefined;
|
|
4245
|
+
mimetype?: string | undefined;
|
|
4246
|
+
size?: number | undefined;
|
|
4247
|
+
};
|
|
4248
|
+
description?: string | undefined;
|
|
4249
|
+
blurhash?: string | undefined;
|
|
4250
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
4251
|
+
error?: string | undefined;
|
|
4252
|
+
}[] | undefined;
|
|
4253
|
+
customEmojis?: {
|
|
4254
|
+
shortcode: string;
|
|
4255
|
+
url: string;
|
|
4256
|
+
staticUrl: string;
|
|
4257
|
+
visibleInPicker: boolean;
|
|
4258
|
+
category: string;
|
|
4259
|
+
}[] | undefined;
|
|
4260
|
+
language?: string | undefined;
|
|
4261
|
+
tags?: string[] | undefined;
|
|
4262
|
+
categoryPath?: string[] | undefined;
|
|
4263
|
+
url?: string | undefined;
|
|
3846
4264
|
};
|
|
3847
4265
|
profile: {
|
|
3848
4266
|
id: string;
|
|
@@ -4097,6 +4515,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
4097
4515
|
language?: string | undefined;
|
|
4098
4516
|
image?: string | undefined;
|
|
4099
4517
|
title?: string | undefined;
|
|
4518
|
+
} | {
|
|
4519
|
+
type: "resource";
|
|
4520
|
+
title: string;
|
|
4521
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
4522
|
+
content?: string | undefined;
|
|
4523
|
+
sensitive?: boolean | undefined;
|
|
4524
|
+
spoilerText?: string | undefined;
|
|
4525
|
+
attachments?: {
|
|
4526
|
+
type: string;
|
|
4527
|
+
url: string;
|
|
4528
|
+
previewUrl: string | null;
|
|
4529
|
+
textUrl: null;
|
|
4530
|
+
filename: string;
|
|
4531
|
+
meta: {
|
|
4532
|
+
usage?: string | undefined;
|
|
4533
|
+
focus?: {
|
|
4534
|
+
x: number;
|
|
4535
|
+
y: number;
|
|
4536
|
+
} | undefined;
|
|
4537
|
+
mimetype?: string | undefined;
|
|
4538
|
+
size?: number | undefined;
|
|
4539
|
+
};
|
|
4540
|
+
description?: string | undefined;
|
|
4541
|
+
blurhash?: string | undefined;
|
|
4542
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
4543
|
+
error?: string | undefined;
|
|
4544
|
+
}[] | undefined;
|
|
4545
|
+
customEmojis?: {
|
|
4546
|
+
shortcode: string;
|
|
4547
|
+
url: string;
|
|
4548
|
+
staticUrl: string;
|
|
4549
|
+
visibleInPicker: boolean;
|
|
4550
|
+
category: string;
|
|
4551
|
+
}[] | undefined;
|
|
4552
|
+
language?: string | undefined;
|
|
4553
|
+
tags?: string[] | undefined;
|
|
4554
|
+
categoryPath?: string[] | undefined;
|
|
4555
|
+
url?: string | undefined;
|
|
4100
4556
|
};
|
|
4101
4557
|
profile: {
|
|
4102
4558
|
id: string;
|
|
@@ -4435,7 +4891,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
4435
4891
|
hidden?: boolean | undefined;
|
|
4436
4892
|
replyTo?: {
|
|
4437
4893
|
id: string;
|
|
4438
|
-
type: "event" | "note" | "question" | "article";
|
|
4894
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
4439
4895
|
profile: {
|
|
4440
4896
|
id: string;
|
|
4441
4897
|
type: "local" | "guest" | "federated";
|
|
@@ -4686,6 +5142,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
4686
5142
|
language?: string | undefined;
|
|
4687
5143
|
image?: string | undefined;
|
|
4688
5144
|
title?: string | undefined;
|
|
5145
|
+
} | {
|
|
5146
|
+
type: "resource";
|
|
5147
|
+
title: string;
|
|
5148
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
5149
|
+
content?: string | undefined;
|
|
5150
|
+
sensitive?: boolean | undefined;
|
|
5151
|
+
spoilerText?: string | undefined;
|
|
5152
|
+
attachments?: {
|
|
5153
|
+
type: string;
|
|
5154
|
+
url: string;
|
|
5155
|
+
previewUrl: string | null;
|
|
5156
|
+
textUrl: null;
|
|
5157
|
+
filename: string;
|
|
5158
|
+
meta: {
|
|
5159
|
+
usage?: string | undefined;
|
|
5160
|
+
focus?: {
|
|
5161
|
+
x: number;
|
|
5162
|
+
y: number;
|
|
5163
|
+
} | undefined;
|
|
5164
|
+
mimetype?: string | undefined;
|
|
5165
|
+
size?: number | undefined;
|
|
5166
|
+
};
|
|
5167
|
+
description?: string | undefined;
|
|
5168
|
+
blurhash?: string | undefined;
|
|
5169
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
5170
|
+
error?: string | undefined;
|
|
5171
|
+
}[] | undefined;
|
|
5172
|
+
customEmojis?: {
|
|
5173
|
+
shortcode: string;
|
|
5174
|
+
url: string;
|
|
5175
|
+
staticUrl: string;
|
|
5176
|
+
visibleInPicker: boolean;
|
|
5177
|
+
category: string;
|
|
5178
|
+
}[] | undefined;
|
|
5179
|
+
language?: string | undefined;
|
|
5180
|
+
tags?: string[] | undefined;
|
|
5181
|
+
categoryPath?: string[] | undefined;
|
|
5182
|
+
url?: string | undefined;
|
|
4689
5183
|
};
|
|
4690
5184
|
entries: ({
|
|
4691
5185
|
type: "create";
|
|
@@ -4881,6 +5375,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
4881
5375
|
language?: string | undefined;
|
|
4882
5376
|
image?: string | undefined;
|
|
4883
5377
|
title?: string | undefined;
|
|
5378
|
+
} | {
|
|
5379
|
+
type: "resource";
|
|
5380
|
+
title: string;
|
|
5381
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
5382
|
+
content?: string | undefined;
|
|
5383
|
+
sensitive?: boolean | undefined;
|
|
5384
|
+
spoilerText?: string | undefined;
|
|
5385
|
+
attachments?: {
|
|
5386
|
+
type: string;
|
|
5387
|
+
url: string;
|
|
5388
|
+
previewUrl: string | null;
|
|
5389
|
+
textUrl: null;
|
|
5390
|
+
filename: string;
|
|
5391
|
+
meta: {
|
|
5392
|
+
usage?: string | undefined;
|
|
5393
|
+
focus?: {
|
|
5394
|
+
x: number;
|
|
5395
|
+
y: number;
|
|
5396
|
+
} | undefined;
|
|
5397
|
+
mimetype?: string | undefined;
|
|
5398
|
+
size?: number | undefined;
|
|
5399
|
+
};
|
|
5400
|
+
description?: string | undefined;
|
|
5401
|
+
blurhash?: string | undefined;
|
|
5402
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
5403
|
+
error?: string | undefined;
|
|
5404
|
+
}[] | undefined;
|
|
5405
|
+
customEmojis?: {
|
|
5406
|
+
shortcode: string;
|
|
5407
|
+
url: string;
|
|
5408
|
+
staticUrl: string;
|
|
5409
|
+
visibleInPicker: boolean;
|
|
5410
|
+
category: string;
|
|
5411
|
+
}[] | undefined;
|
|
5412
|
+
language?: string | undefined;
|
|
5413
|
+
tags?: string[] | undefined;
|
|
5414
|
+
categoryPath?: string[] | undefined;
|
|
5415
|
+
url?: string | undefined;
|
|
4884
5416
|
};
|
|
4885
5417
|
profile: {
|
|
4886
5418
|
id: string;
|
|
@@ -5135,6 +5667,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
5135
5667
|
language?: string | undefined;
|
|
5136
5668
|
image?: string | undefined;
|
|
5137
5669
|
title?: string | undefined;
|
|
5670
|
+
} | {
|
|
5671
|
+
type: "resource";
|
|
5672
|
+
title: string;
|
|
5673
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
5674
|
+
content?: string | undefined;
|
|
5675
|
+
sensitive?: boolean | undefined;
|
|
5676
|
+
spoilerText?: string | undefined;
|
|
5677
|
+
attachments?: {
|
|
5678
|
+
type: string;
|
|
5679
|
+
url: string;
|
|
5680
|
+
previewUrl: string | null;
|
|
5681
|
+
textUrl: null;
|
|
5682
|
+
filename: string;
|
|
5683
|
+
meta: {
|
|
5684
|
+
usage?: string | undefined;
|
|
5685
|
+
focus?: {
|
|
5686
|
+
x: number;
|
|
5687
|
+
y: number;
|
|
5688
|
+
} | undefined;
|
|
5689
|
+
mimetype?: string | undefined;
|
|
5690
|
+
size?: number | undefined;
|
|
5691
|
+
};
|
|
5692
|
+
description?: string | undefined;
|
|
5693
|
+
blurhash?: string | undefined;
|
|
5694
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
5695
|
+
error?: string | undefined;
|
|
5696
|
+
}[] | undefined;
|
|
5697
|
+
customEmojis?: {
|
|
5698
|
+
shortcode: string;
|
|
5699
|
+
url: string;
|
|
5700
|
+
staticUrl: string;
|
|
5701
|
+
visibleInPicker: boolean;
|
|
5702
|
+
category: string;
|
|
5703
|
+
}[] | undefined;
|
|
5704
|
+
language?: string | undefined;
|
|
5705
|
+
tags?: string[] | undefined;
|
|
5706
|
+
categoryPath?: string[] | undefined;
|
|
5707
|
+
url?: string | undefined;
|
|
5138
5708
|
};
|
|
5139
5709
|
profile: {
|
|
5140
5710
|
id: string;
|
|
@@ -5475,7 +6045,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
5475
6045
|
} | null | undefined;
|
|
5476
6046
|
repost?: {
|
|
5477
6047
|
id: string;
|
|
5478
|
-
type: "event" | "note" | "question" | "article";
|
|
6048
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
5479
6049
|
profile: {
|
|
5480
6050
|
id: string;
|
|
5481
6051
|
type: "local" | "guest" | "federated";
|
|
@@ -5726,6 +6296,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
5726
6296
|
language?: string | undefined;
|
|
5727
6297
|
image?: string | undefined;
|
|
5728
6298
|
title?: string | undefined;
|
|
6299
|
+
} | {
|
|
6300
|
+
type: "resource";
|
|
6301
|
+
title: string;
|
|
6302
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
6303
|
+
content?: string | undefined;
|
|
6304
|
+
sensitive?: boolean | undefined;
|
|
6305
|
+
spoilerText?: string | undefined;
|
|
6306
|
+
attachments?: {
|
|
6307
|
+
type: string;
|
|
6308
|
+
url: string;
|
|
6309
|
+
previewUrl: string | null;
|
|
6310
|
+
textUrl: null;
|
|
6311
|
+
filename: string;
|
|
6312
|
+
meta: {
|
|
6313
|
+
usage?: string | undefined;
|
|
6314
|
+
focus?: {
|
|
6315
|
+
x: number;
|
|
6316
|
+
y: number;
|
|
6317
|
+
} | undefined;
|
|
6318
|
+
mimetype?: string | undefined;
|
|
6319
|
+
size?: number | undefined;
|
|
6320
|
+
};
|
|
6321
|
+
description?: string | undefined;
|
|
6322
|
+
blurhash?: string | undefined;
|
|
6323
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
6324
|
+
error?: string | undefined;
|
|
6325
|
+
}[] | undefined;
|
|
6326
|
+
customEmojis?: {
|
|
6327
|
+
shortcode: string;
|
|
6328
|
+
url: string;
|
|
6329
|
+
staticUrl: string;
|
|
6330
|
+
visibleInPicker: boolean;
|
|
6331
|
+
category: string;
|
|
6332
|
+
}[] | undefined;
|
|
6333
|
+
language?: string | undefined;
|
|
6334
|
+
tags?: string[] | undefined;
|
|
6335
|
+
categoryPath?: string[] | undefined;
|
|
6336
|
+
url?: string | undefined;
|
|
5729
6337
|
};
|
|
5730
6338
|
entries: ({
|
|
5731
6339
|
type: "create";
|
|
@@ -5884,10 +6492,47 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
5884
6492
|
lng: number;
|
|
5885
6493
|
alt?: number | undefined;
|
|
5886
6494
|
} | undefined;
|
|
5887
|
-
} | undefined;
|
|
6495
|
+
} | undefined;
|
|
6496
|
+
}[] | undefined;
|
|
6497
|
+
} | {
|
|
6498
|
+
type: "article";
|
|
6499
|
+
content?: string | undefined;
|
|
6500
|
+
sensitive?: boolean | undefined;
|
|
6501
|
+
spoilerText?: string | undefined;
|
|
6502
|
+
attachments?: {
|
|
6503
|
+
type: string;
|
|
6504
|
+
url: string;
|
|
6505
|
+
previewUrl: string | null;
|
|
6506
|
+
textUrl: null;
|
|
6507
|
+
filename: string;
|
|
6508
|
+
meta: {
|
|
6509
|
+
usage?: string | undefined;
|
|
6510
|
+
focus?: {
|
|
6511
|
+
x: number;
|
|
6512
|
+
y: number;
|
|
6513
|
+
} | undefined;
|
|
6514
|
+
mimetype?: string | undefined;
|
|
6515
|
+
size?: number | undefined;
|
|
6516
|
+
};
|
|
6517
|
+
description?: string | undefined;
|
|
6518
|
+
blurhash?: string | undefined;
|
|
6519
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
6520
|
+
error?: string | undefined;
|
|
6521
|
+
}[] | undefined;
|
|
6522
|
+
customEmojis?: {
|
|
6523
|
+
shortcode: string;
|
|
6524
|
+
url: string;
|
|
6525
|
+
staticUrl: string;
|
|
6526
|
+
visibleInPicker: boolean;
|
|
6527
|
+
category: string;
|
|
5888
6528
|
}[] | undefined;
|
|
6529
|
+
language?: string | undefined;
|
|
6530
|
+
image?: string | undefined;
|
|
6531
|
+
title?: string | undefined;
|
|
5889
6532
|
} | {
|
|
5890
|
-
type: "
|
|
6533
|
+
type: "resource";
|
|
6534
|
+
title: string;
|
|
6535
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
5891
6536
|
content?: string | undefined;
|
|
5892
6537
|
sensitive?: boolean | undefined;
|
|
5893
6538
|
spoilerText?: string | undefined;
|
|
@@ -5919,8 +6564,9 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
5919
6564
|
category: string;
|
|
5920
6565
|
}[] | undefined;
|
|
5921
6566
|
language?: string | undefined;
|
|
5922
|
-
|
|
5923
|
-
|
|
6567
|
+
tags?: string[] | undefined;
|
|
6568
|
+
categoryPath?: string[] | undefined;
|
|
6569
|
+
url?: string | undefined;
|
|
5924
6570
|
};
|
|
5925
6571
|
profile: {
|
|
5926
6572
|
id: string;
|
|
@@ -6175,6 +6821,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
6175
6821
|
language?: string | undefined;
|
|
6176
6822
|
image?: string | undefined;
|
|
6177
6823
|
title?: string | undefined;
|
|
6824
|
+
} | {
|
|
6825
|
+
type: "resource";
|
|
6826
|
+
title: string;
|
|
6827
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
6828
|
+
content?: string | undefined;
|
|
6829
|
+
sensitive?: boolean | undefined;
|
|
6830
|
+
spoilerText?: string | undefined;
|
|
6831
|
+
attachments?: {
|
|
6832
|
+
type: string;
|
|
6833
|
+
url: string;
|
|
6834
|
+
previewUrl: string | null;
|
|
6835
|
+
textUrl: null;
|
|
6836
|
+
filename: string;
|
|
6837
|
+
meta: {
|
|
6838
|
+
usage?: string | undefined;
|
|
6839
|
+
focus?: {
|
|
6840
|
+
x: number;
|
|
6841
|
+
y: number;
|
|
6842
|
+
} | undefined;
|
|
6843
|
+
mimetype?: string | undefined;
|
|
6844
|
+
size?: number | undefined;
|
|
6845
|
+
};
|
|
6846
|
+
description?: string | undefined;
|
|
6847
|
+
blurhash?: string | undefined;
|
|
6848
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
6849
|
+
error?: string | undefined;
|
|
6850
|
+
}[] | undefined;
|
|
6851
|
+
customEmojis?: {
|
|
6852
|
+
shortcode: string;
|
|
6853
|
+
url: string;
|
|
6854
|
+
staticUrl: string;
|
|
6855
|
+
visibleInPicker: boolean;
|
|
6856
|
+
category: string;
|
|
6857
|
+
}[] | undefined;
|
|
6858
|
+
language?: string | undefined;
|
|
6859
|
+
tags?: string[] | undefined;
|
|
6860
|
+
categoryPath?: string[] | undefined;
|
|
6861
|
+
url?: string | undefined;
|
|
6178
6862
|
};
|
|
6179
6863
|
profile: {
|
|
6180
6864
|
id: string;
|
|
@@ -6768,7 +7452,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
6768
7452
|
hidden?: boolean | undefined;
|
|
6769
7453
|
replyTo?: {
|
|
6770
7454
|
id: string;
|
|
6771
|
-
type: "event" | "note" | "question" | "article";
|
|
7455
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
6772
7456
|
profile: {
|
|
6773
7457
|
id: string;
|
|
6774
7458
|
type: "local" | "guest" | "federated";
|
|
@@ -7019,6 +7703,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
7019
7703
|
language?: string | undefined;
|
|
7020
7704
|
image?: string | undefined;
|
|
7021
7705
|
title?: string | undefined;
|
|
7706
|
+
} | {
|
|
7707
|
+
type: "resource";
|
|
7708
|
+
title: string;
|
|
7709
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
7710
|
+
content?: string | undefined;
|
|
7711
|
+
sensitive?: boolean | undefined;
|
|
7712
|
+
spoilerText?: string | undefined;
|
|
7713
|
+
attachments?: {
|
|
7714
|
+
type: string;
|
|
7715
|
+
url: string;
|
|
7716
|
+
previewUrl: string | null;
|
|
7717
|
+
textUrl: null;
|
|
7718
|
+
filename: string;
|
|
7719
|
+
meta: {
|
|
7720
|
+
usage?: string | undefined;
|
|
7721
|
+
focus?: {
|
|
7722
|
+
x: number;
|
|
7723
|
+
y: number;
|
|
7724
|
+
} | undefined;
|
|
7725
|
+
mimetype?: string | undefined;
|
|
7726
|
+
size?: number | undefined;
|
|
7727
|
+
};
|
|
7728
|
+
description?: string | undefined;
|
|
7729
|
+
blurhash?: string | undefined;
|
|
7730
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
7731
|
+
error?: string | undefined;
|
|
7732
|
+
}[] | undefined;
|
|
7733
|
+
customEmojis?: {
|
|
7734
|
+
shortcode: string;
|
|
7735
|
+
url: string;
|
|
7736
|
+
staticUrl: string;
|
|
7737
|
+
visibleInPicker: boolean;
|
|
7738
|
+
category: string;
|
|
7739
|
+
}[] | undefined;
|
|
7740
|
+
language?: string | undefined;
|
|
7741
|
+
tags?: string[] | undefined;
|
|
7742
|
+
categoryPath?: string[] | undefined;
|
|
7743
|
+
url?: string | undefined;
|
|
7022
7744
|
};
|
|
7023
7745
|
entries: ({
|
|
7024
7746
|
type: "create";
|
|
@@ -7214,6 +7936,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
7214
7936
|
language?: string | undefined;
|
|
7215
7937
|
image?: string | undefined;
|
|
7216
7938
|
title?: string | undefined;
|
|
7939
|
+
} | {
|
|
7940
|
+
type: "resource";
|
|
7941
|
+
title: string;
|
|
7942
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
7943
|
+
content?: string | undefined;
|
|
7944
|
+
sensitive?: boolean | undefined;
|
|
7945
|
+
spoilerText?: string | undefined;
|
|
7946
|
+
attachments?: {
|
|
7947
|
+
type: string;
|
|
7948
|
+
url: string;
|
|
7949
|
+
previewUrl: string | null;
|
|
7950
|
+
textUrl: null;
|
|
7951
|
+
filename: string;
|
|
7952
|
+
meta: {
|
|
7953
|
+
usage?: string | undefined;
|
|
7954
|
+
focus?: {
|
|
7955
|
+
x: number;
|
|
7956
|
+
y: number;
|
|
7957
|
+
} | undefined;
|
|
7958
|
+
mimetype?: string | undefined;
|
|
7959
|
+
size?: number | undefined;
|
|
7960
|
+
};
|
|
7961
|
+
description?: string | undefined;
|
|
7962
|
+
blurhash?: string | undefined;
|
|
7963
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
7964
|
+
error?: string | undefined;
|
|
7965
|
+
}[] | undefined;
|
|
7966
|
+
customEmojis?: {
|
|
7967
|
+
shortcode: string;
|
|
7968
|
+
url: string;
|
|
7969
|
+
staticUrl: string;
|
|
7970
|
+
visibleInPicker: boolean;
|
|
7971
|
+
category: string;
|
|
7972
|
+
}[] | undefined;
|
|
7973
|
+
language?: string | undefined;
|
|
7974
|
+
tags?: string[] | undefined;
|
|
7975
|
+
categoryPath?: string[] | undefined;
|
|
7976
|
+
url?: string | undefined;
|
|
7217
7977
|
};
|
|
7218
7978
|
profile: {
|
|
7219
7979
|
id: string;
|
|
@@ -7468,6 +8228,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
7468
8228
|
language?: string | undefined;
|
|
7469
8229
|
image?: string | undefined;
|
|
7470
8230
|
title?: string | undefined;
|
|
8231
|
+
} | {
|
|
8232
|
+
type: "resource";
|
|
8233
|
+
title: string;
|
|
8234
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
8235
|
+
content?: string | undefined;
|
|
8236
|
+
sensitive?: boolean | undefined;
|
|
8237
|
+
spoilerText?: string | undefined;
|
|
8238
|
+
attachments?: {
|
|
8239
|
+
type: string;
|
|
8240
|
+
url: string;
|
|
8241
|
+
previewUrl: string | null;
|
|
8242
|
+
textUrl: null;
|
|
8243
|
+
filename: string;
|
|
8244
|
+
meta: {
|
|
8245
|
+
usage?: string | undefined;
|
|
8246
|
+
focus?: {
|
|
8247
|
+
x: number;
|
|
8248
|
+
y: number;
|
|
8249
|
+
} | undefined;
|
|
8250
|
+
mimetype?: string | undefined;
|
|
8251
|
+
size?: number | undefined;
|
|
8252
|
+
};
|
|
8253
|
+
description?: string | undefined;
|
|
8254
|
+
blurhash?: string | undefined;
|
|
8255
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
8256
|
+
error?: string | undefined;
|
|
8257
|
+
}[] | undefined;
|
|
8258
|
+
customEmojis?: {
|
|
8259
|
+
shortcode: string;
|
|
8260
|
+
url: string;
|
|
8261
|
+
staticUrl: string;
|
|
8262
|
+
visibleInPicker: boolean;
|
|
8263
|
+
category: string;
|
|
8264
|
+
}[] | undefined;
|
|
8265
|
+
language?: string | undefined;
|
|
8266
|
+
tags?: string[] | undefined;
|
|
8267
|
+
categoryPath?: string[] | undefined;
|
|
8268
|
+
url?: string | undefined;
|
|
7471
8269
|
};
|
|
7472
8270
|
profile: {
|
|
7473
8271
|
id: string;
|
|
@@ -7807,7 +8605,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
7807
8605
|
} | null | undefined;
|
|
7808
8606
|
latestReplies?: {
|
|
7809
8607
|
id: string;
|
|
7810
|
-
type: "event" | "note" | "question" | "article";
|
|
8608
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
7811
8609
|
profile: {
|
|
7812
8610
|
id: string;
|
|
7813
8611
|
type: "local" | "guest" | "federated";
|
|
@@ -8058,6 +8856,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
8058
8856
|
language?: string | undefined;
|
|
8059
8857
|
image?: string | undefined;
|
|
8060
8858
|
title?: string | undefined;
|
|
8859
|
+
} | {
|
|
8860
|
+
type: "resource";
|
|
8861
|
+
title: string;
|
|
8862
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
8863
|
+
content?: string | undefined;
|
|
8864
|
+
sensitive?: boolean | undefined;
|
|
8865
|
+
spoilerText?: string | undefined;
|
|
8866
|
+
attachments?: {
|
|
8867
|
+
type: string;
|
|
8868
|
+
url: string;
|
|
8869
|
+
previewUrl: string | null;
|
|
8870
|
+
textUrl: null;
|
|
8871
|
+
filename: string;
|
|
8872
|
+
meta: {
|
|
8873
|
+
usage?: string | undefined;
|
|
8874
|
+
focus?: {
|
|
8875
|
+
x: number;
|
|
8876
|
+
y: number;
|
|
8877
|
+
} | undefined;
|
|
8878
|
+
mimetype?: string | undefined;
|
|
8879
|
+
size?: number | undefined;
|
|
8880
|
+
};
|
|
8881
|
+
description?: string | undefined;
|
|
8882
|
+
blurhash?: string | undefined;
|
|
8883
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
8884
|
+
error?: string | undefined;
|
|
8885
|
+
}[] | undefined;
|
|
8886
|
+
customEmojis?: {
|
|
8887
|
+
shortcode: string;
|
|
8888
|
+
url: string;
|
|
8889
|
+
staticUrl: string;
|
|
8890
|
+
visibleInPicker: boolean;
|
|
8891
|
+
category: string;
|
|
8892
|
+
}[] | undefined;
|
|
8893
|
+
language?: string | undefined;
|
|
8894
|
+
tags?: string[] | undefined;
|
|
8895
|
+
categoryPath?: string[] | undefined;
|
|
8896
|
+
url?: string | undefined;
|
|
8061
8897
|
};
|
|
8062
8898
|
entries: ({
|
|
8063
8899
|
type: "create";
|
|
@@ -8253,6 +9089,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
8253
9089
|
language?: string | undefined;
|
|
8254
9090
|
image?: string | undefined;
|
|
8255
9091
|
title?: string | undefined;
|
|
9092
|
+
} | {
|
|
9093
|
+
type: "resource";
|
|
9094
|
+
title: string;
|
|
9095
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
9096
|
+
content?: string | undefined;
|
|
9097
|
+
sensitive?: boolean | undefined;
|
|
9098
|
+
spoilerText?: string | undefined;
|
|
9099
|
+
attachments?: {
|
|
9100
|
+
type: string;
|
|
9101
|
+
url: string;
|
|
9102
|
+
previewUrl: string | null;
|
|
9103
|
+
textUrl: null;
|
|
9104
|
+
filename: string;
|
|
9105
|
+
meta: {
|
|
9106
|
+
usage?: string | undefined;
|
|
9107
|
+
focus?: {
|
|
9108
|
+
x: number;
|
|
9109
|
+
y: number;
|
|
9110
|
+
} | undefined;
|
|
9111
|
+
mimetype?: string | undefined;
|
|
9112
|
+
size?: number | undefined;
|
|
9113
|
+
};
|
|
9114
|
+
description?: string | undefined;
|
|
9115
|
+
blurhash?: string | undefined;
|
|
9116
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
9117
|
+
error?: string | undefined;
|
|
9118
|
+
}[] | undefined;
|
|
9119
|
+
customEmojis?: {
|
|
9120
|
+
shortcode: string;
|
|
9121
|
+
url: string;
|
|
9122
|
+
staticUrl: string;
|
|
9123
|
+
visibleInPicker: boolean;
|
|
9124
|
+
category: string;
|
|
9125
|
+
}[] | undefined;
|
|
9126
|
+
language?: string | undefined;
|
|
9127
|
+
tags?: string[] | undefined;
|
|
9128
|
+
categoryPath?: string[] | undefined;
|
|
9129
|
+
url?: string | undefined;
|
|
8256
9130
|
};
|
|
8257
9131
|
profile: {
|
|
8258
9132
|
id: string;
|
|
@@ -8473,7 +9347,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
8473
9347
|
} | undefined;
|
|
8474
9348
|
}[] | undefined;
|
|
8475
9349
|
} | {
|
|
8476
|
-
type: "article";
|
|
9350
|
+
type: "article";
|
|
9351
|
+
content?: string | undefined;
|
|
9352
|
+
sensitive?: boolean | undefined;
|
|
9353
|
+
spoilerText?: string | undefined;
|
|
9354
|
+
attachments?: {
|
|
9355
|
+
type: string;
|
|
9356
|
+
url: string;
|
|
9357
|
+
previewUrl: string | null;
|
|
9358
|
+
textUrl: null;
|
|
9359
|
+
filename: string;
|
|
9360
|
+
meta: {
|
|
9361
|
+
usage?: string | undefined;
|
|
9362
|
+
focus?: {
|
|
9363
|
+
x: number;
|
|
9364
|
+
y: number;
|
|
9365
|
+
} | undefined;
|
|
9366
|
+
mimetype?: string | undefined;
|
|
9367
|
+
size?: number | undefined;
|
|
9368
|
+
};
|
|
9369
|
+
description?: string | undefined;
|
|
9370
|
+
blurhash?: string | undefined;
|
|
9371
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
9372
|
+
error?: string | undefined;
|
|
9373
|
+
}[] | undefined;
|
|
9374
|
+
customEmojis?: {
|
|
9375
|
+
shortcode: string;
|
|
9376
|
+
url: string;
|
|
9377
|
+
staticUrl: string;
|
|
9378
|
+
visibleInPicker: boolean;
|
|
9379
|
+
category: string;
|
|
9380
|
+
}[] | undefined;
|
|
9381
|
+
language?: string | undefined;
|
|
9382
|
+
image?: string | undefined;
|
|
9383
|
+
title?: string | undefined;
|
|
9384
|
+
} | {
|
|
9385
|
+
type: "resource";
|
|
9386
|
+
title: string;
|
|
9387
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
8477
9388
|
content?: string | undefined;
|
|
8478
9389
|
sensitive?: boolean | undefined;
|
|
8479
9390
|
spoilerText?: string | undefined;
|
|
@@ -8505,8 +9416,9 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
8505
9416
|
category: string;
|
|
8506
9417
|
}[] | undefined;
|
|
8507
9418
|
language?: string | undefined;
|
|
8508
|
-
|
|
8509
|
-
|
|
9419
|
+
tags?: string[] | undefined;
|
|
9420
|
+
categoryPath?: string[] | undefined;
|
|
9421
|
+
url?: string | undefined;
|
|
8510
9422
|
};
|
|
8511
9423
|
profile: {
|
|
8512
9424
|
id: string;
|
|
@@ -8845,7 +9757,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
8845
9757
|
hidden?: boolean | undefined;
|
|
8846
9758
|
replyTo?: {
|
|
8847
9759
|
id: string;
|
|
8848
|
-
type: "event" | "note" | "question" | "article";
|
|
9760
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
8849
9761
|
profile: {
|
|
8850
9762
|
id: string;
|
|
8851
9763
|
type: "local" | "guest" | "federated";
|
|
@@ -9096,6 +10008,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
9096
10008
|
language?: string | undefined;
|
|
9097
10009
|
image?: string | undefined;
|
|
9098
10010
|
title?: string | undefined;
|
|
10011
|
+
} | {
|
|
10012
|
+
type: "resource";
|
|
10013
|
+
title: string;
|
|
10014
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
10015
|
+
content?: string | undefined;
|
|
10016
|
+
sensitive?: boolean | undefined;
|
|
10017
|
+
spoilerText?: string | undefined;
|
|
10018
|
+
attachments?: {
|
|
10019
|
+
type: string;
|
|
10020
|
+
url: string;
|
|
10021
|
+
previewUrl: string | null;
|
|
10022
|
+
textUrl: null;
|
|
10023
|
+
filename: string;
|
|
10024
|
+
meta: {
|
|
10025
|
+
usage?: string | undefined;
|
|
10026
|
+
focus?: {
|
|
10027
|
+
x: number;
|
|
10028
|
+
y: number;
|
|
10029
|
+
} | undefined;
|
|
10030
|
+
mimetype?: string | undefined;
|
|
10031
|
+
size?: number | undefined;
|
|
10032
|
+
};
|
|
10033
|
+
description?: string | undefined;
|
|
10034
|
+
blurhash?: string | undefined;
|
|
10035
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
10036
|
+
error?: string | undefined;
|
|
10037
|
+
}[] | undefined;
|
|
10038
|
+
customEmojis?: {
|
|
10039
|
+
shortcode: string;
|
|
10040
|
+
url: string;
|
|
10041
|
+
staticUrl: string;
|
|
10042
|
+
visibleInPicker: boolean;
|
|
10043
|
+
category: string;
|
|
10044
|
+
}[] | undefined;
|
|
10045
|
+
language?: string | undefined;
|
|
10046
|
+
tags?: string[] | undefined;
|
|
10047
|
+
categoryPath?: string[] | undefined;
|
|
10048
|
+
url?: string | undefined;
|
|
9099
10049
|
};
|
|
9100
10050
|
entries: ({
|
|
9101
10051
|
type: "create";
|
|
@@ -9291,6 +10241,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
9291
10241
|
language?: string | undefined;
|
|
9292
10242
|
image?: string | undefined;
|
|
9293
10243
|
title?: string | undefined;
|
|
10244
|
+
} | {
|
|
10245
|
+
type: "resource";
|
|
10246
|
+
title: string;
|
|
10247
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
10248
|
+
content?: string | undefined;
|
|
10249
|
+
sensitive?: boolean | undefined;
|
|
10250
|
+
spoilerText?: string | undefined;
|
|
10251
|
+
attachments?: {
|
|
10252
|
+
type: string;
|
|
10253
|
+
url: string;
|
|
10254
|
+
previewUrl: string | null;
|
|
10255
|
+
textUrl: null;
|
|
10256
|
+
filename: string;
|
|
10257
|
+
meta: {
|
|
10258
|
+
usage?: string | undefined;
|
|
10259
|
+
focus?: {
|
|
10260
|
+
x: number;
|
|
10261
|
+
y: number;
|
|
10262
|
+
} | undefined;
|
|
10263
|
+
mimetype?: string | undefined;
|
|
10264
|
+
size?: number | undefined;
|
|
10265
|
+
};
|
|
10266
|
+
description?: string | undefined;
|
|
10267
|
+
blurhash?: string | undefined;
|
|
10268
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
10269
|
+
error?: string | undefined;
|
|
10270
|
+
}[] | undefined;
|
|
10271
|
+
customEmojis?: {
|
|
10272
|
+
shortcode: string;
|
|
10273
|
+
url: string;
|
|
10274
|
+
staticUrl: string;
|
|
10275
|
+
visibleInPicker: boolean;
|
|
10276
|
+
category: string;
|
|
10277
|
+
}[] | undefined;
|
|
10278
|
+
language?: string | undefined;
|
|
10279
|
+
tags?: string[] | undefined;
|
|
10280
|
+
categoryPath?: string[] | undefined;
|
|
10281
|
+
url?: string | undefined;
|
|
9294
10282
|
};
|
|
9295
10283
|
profile: {
|
|
9296
10284
|
id: string;
|
|
@@ -9545,6 +10533,44 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
9545
10533
|
language?: string | undefined;
|
|
9546
10534
|
image?: string | undefined;
|
|
9547
10535
|
title?: string | undefined;
|
|
10536
|
+
} | {
|
|
10537
|
+
type: "resource";
|
|
10538
|
+
title: string;
|
|
10539
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
10540
|
+
content?: string | undefined;
|
|
10541
|
+
sensitive?: boolean | undefined;
|
|
10542
|
+
spoilerText?: string | undefined;
|
|
10543
|
+
attachments?: {
|
|
10544
|
+
type: string;
|
|
10545
|
+
url: string;
|
|
10546
|
+
previewUrl: string | null;
|
|
10547
|
+
textUrl: null;
|
|
10548
|
+
filename: string;
|
|
10549
|
+
meta: {
|
|
10550
|
+
usage?: string | undefined;
|
|
10551
|
+
focus?: {
|
|
10552
|
+
x: number;
|
|
10553
|
+
y: number;
|
|
10554
|
+
} | undefined;
|
|
10555
|
+
mimetype?: string | undefined;
|
|
10556
|
+
size?: number | undefined;
|
|
10557
|
+
};
|
|
10558
|
+
description?: string | undefined;
|
|
10559
|
+
blurhash?: string | undefined;
|
|
10560
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
10561
|
+
error?: string | undefined;
|
|
10562
|
+
}[] | undefined;
|
|
10563
|
+
customEmojis?: {
|
|
10564
|
+
shortcode: string;
|
|
10565
|
+
url: string;
|
|
10566
|
+
staticUrl: string;
|
|
10567
|
+
visibleInPicker: boolean;
|
|
10568
|
+
category: string;
|
|
10569
|
+
}[] | undefined;
|
|
10570
|
+
language?: string | undefined;
|
|
10571
|
+
tags?: string[] | undefined;
|
|
10572
|
+
categoryPath?: string[] | undefined;
|
|
10573
|
+
url?: string | undefined;
|
|
9548
10574
|
};
|
|
9549
10575
|
profile: {
|
|
9550
10576
|
id: string;
|
|
@@ -9917,7 +10943,7 @@ export declare const feedPostPresentation: (post: PublicPost, viewerId: string |
|
|
|
9917
10943
|
export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedPostPresentationOptions) => {
|
|
9918
10944
|
displayedPost: {
|
|
9919
10945
|
id: string;
|
|
9920
|
-
type: "event" | "note" | "question" | "article";
|
|
10946
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
9921
10947
|
profile: {
|
|
9922
10948
|
id: string;
|
|
9923
10949
|
type: "local" | "guest" | "federated";
|
|
@@ -10168,6 +11194,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
10168
11194
|
language?: string | undefined;
|
|
10169
11195
|
image?: string | undefined;
|
|
10170
11196
|
title?: string | undefined;
|
|
11197
|
+
} | {
|
|
11198
|
+
type: "resource";
|
|
11199
|
+
title: string;
|
|
11200
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
11201
|
+
content?: string | undefined;
|
|
11202
|
+
sensitive?: boolean | undefined;
|
|
11203
|
+
spoilerText?: string | undefined;
|
|
11204
|
+
attachments?: {
|
|
11205
|
+
type: string;
|
|
11206
|
+
url: string;
|
|
11207
|
+
previewUrl: string | null;
|
|
11208
|
+
textUrl: null;
|
|
11209
|
+
filename: string;
|
|
11210
|
+
meta: {
|
|
11211
|
+
usage?: string | undefined;
|
|
11212
|
+
focus?: {
|
|
11213
|
+
x: number;
|
|
11214
|
+
y: number;
|
|
11215
|
+
} | undefined;
|
|
11216
|
+
mimetype?: string | undefined;
|
|
11217
|
+
size?: number | undefined;
|
|
11218
|
+
};
|
|
11219
|
+
description?: string | undefined;
|
|
11220
|
+
blurhash?: string | undefined;
|
|
11221
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
11222
|
+
error?: string | undefined;
|
|
11223
|
+
}[] | undefined;
|
|
11224
|
+
customEmojis?: {
|
|
11225
|
+
shortcode: string;
|
|
11226
|
+
url: string;
|
|
11227
|
+
staticUrl: string;
|
|
11228
|
+
visibleInPicker: boolean;
|
|
11229
|
+
category: string;
|
|
11230
|
+
}[] | undefined;
|
|
11231
|
+
language?: string | undefined;
|
|
11232
|
+
tags?: string[] | undefined;
|
|
11233
|
+
categoryPath?: string[] | undefined;
|
|
11234
|
+
url?: string | undefined;
|
|
10171
11235
|
};
|
|
10172
11236
|
entries: ({
|
|
10173
11237
|
type: "create";
|
|
@@ -10363,6 +11427,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
10363
11427
|
language?: string | undefined;
|
|
10364
11428
|
image?: string | undefined;
|
|
10365
11429
|
title?: string | undefined;
|
|
11430
|
+
} | {
|
|
11431
|
+
type: "resource";
|
|
11432
|
+
title: string;
|
|
11433
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
11434
|
+
content?: string | undefined;
|
|
11435
|
+
sensitive?: boolean | undefined;
|
|
11436
|
+
spoilerText?: string | undefined;
|
|
11437
|
+
attachments?: {
|
|
11438
|
+
type: string;
|
|
11439
|
+
url: string;
|
|
11440
|
+
previewUrl: string | null;
|
|
11441
|
+
textUrl: null;
|
|
11442
|
+
filename: string;
|
|
11443
|
+
meta: {
|
|
11444
|
+
usage?: string | undefined;
|
|
11445
|
+
focus?: {
|
|
11446
|
+
x: number;
|
|
11447
|
+
y: number;
|
|
11448
|
+
} | undefined;
|
|
11449
|
+
mimetype?: string | undefined;
|
|
11450
|
+
size?: number | undefined;
|
|
11451
|
+
};
|
|
11452
|
+
description?: string | undefined;
|
|
11453
|
+
blurhash?: string | undefined;
|
|
11454
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
11455
|
+
error?: string | undefined;
|
|
11456
|
+
}[] | undefined;
|
|
11457
|
+
customEmojis?: {
|
|
11458
|
+
shortcode: string;
|
|
11459
|
+
url: string;
|
|
11460
|
+
staticUrl: string;
|
|
11461
|
+
visibleInPicker: boolean;
|
|
11462
|
+
category: string;
|
|
11463
|
+
}[] | undefined;
|
|
11464
|
+
language?: string | undefined;
|
|
11465
|
+
tags?: string[] | undefined;
|
|
11466
|
+
categoryPath?: string[] | undefined;
|
|
11467
|
+
url?: string | undefined;
|
|
10366
11468
|
};
|
|
10367
11469
|
profile: {
|
|
10368
11470
|
id: string;
|
|
@@ -10617,6 +11719,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
10617
11719
|
language?: string | undefined;
|
|
10618
11720
|
image?: string | undefined;
|
|
10619
11721
|
title?: string | undefined;
|
|
11722
|
+
} | {
|
|
11723
|
+
type: "resource";
|
|
11724
|
+
title: string;
|
|
11725
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
11726
|
+
content?: string | undefined;
|
|
11727
|
+
sensitive?: boolean | undefined;
|
|
11728
|
+
spoilerText?: string | undefined;
|
|
11729
|
+
attachments?: {
|
|
11730
|
+
type: string;
|
|
11731
|
+
url: string;
|
|
11732
|
+
previewUrl: string | null;
|
|
11733
|
+
textUrl: null;
|
|
11734
|
+
filename: string;
|
|
11735
|
+
meta: {
|
|
11736
|
+
usage?: string | undefined;
|
|
11737
|
+
focus?: {
|
|
11738
|
+
x: number;
|
|
11739
|
+
y: number;
|
|
11740
|
+
} | undefined;
|
|
11741
|
+
mimetype?: string | undefined;
|
|
11742
|
+
size?: number | undefined;
|
|
11743
|
+
};
|
|
11744
|
+
description?: string | undefined;
|
|
11745
|
+
blurhash?: string | undefined;
|
|
11746
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
11747
|
+
error?: string | undefined;
|
|
11748
|
+
}[] | undefined;
|
|
11749
|
+
customEmojis?: {
|
|
11750
|
+
shortcode: string;
|
|
11751
|
+
url: string;
|
|
11752
|
+
staticUrl: string;
|
|
11753
|
+
visibleInPicker: boolean;
|
|
11754
|
+
category: string;
|
|
11755
|
+
}[] | undefined;
|
|
11756
|
+
language?: string | undefined;
|
|
11757
|
+
tags?: string[] | undefined;
|
|
11758
|
+
categoryPath?: string[] | undefined;
|
|
11759
|
+
url?: string | undefined;
|
|
10620
11760
|
};
|
|
10621
11761
|
profile: {
|
|
10622
11762
|
id: string;
|
|
@@ -11209,7 +12349,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
11209
12349
|
hidden?: boolean | undefined;
|
|
11210
12350
|
latestReplies?: {
|
|
11211
12351
|
id: string;
|
|
11212
|
-
type: "event" | "note" | "question" | "article";
|
|
12352
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
11213
12353
|
profile: {
|
|
11214
12354
|
id: string;
|
|
11215
12355
|
type: "local" | "guest" | "federated";
|
|
@@ -11460,6 +12600,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
11460
12600
|
language?: string | undefined;
|
|
11461
12601
|
image?: string | undefined;
|
|
11462
12602
|
title?: string | undefined;
|
|
12603
|
+
} | {
|
|
12604
|
+
type: "resource";
|
|
12605
|
+
title: string;
|
|
12606
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
12607
|
+
content?: string | undefined;
|
|
12608
|
+
sensitive?: boolean | undefined;
|
|
12609
|
+
spoilerText?: string | undefined;
|
|
12610
|
+
attachments?: {
|
|
12611
|
+
type: string;
|
|
12612
|
+
url: string;
|
|
12613
|
+
previewUrl: string | null;
|
|
12614
|
+
textUrl: null;
|
|
12615
|
+
filename: string;
|
|
12616
|
+
meta: {
|
|
12617
|
+
usage?: string | undefined;
|
|
12618
|
+
focus?: {
|
|
12619
|
+
x: number;
|
|
12620
|
+
y: number;
|
|
12621
|
+
} | undefined;
|
|
12622
|
+
mimetype?: string | undefined;
|
|
12623
|
+
size?: number | undefined;
|
|
12624
|
+
};
|
|
12625
|
+
description?: string | undefined;
|
|
12626
|
+
blurhash?: string | undefined;
|
|
12627
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
12628
|
+
error?: string | undefined;
|
|
12629
|
+
}[] | undefined;
|
|
12630
|
+
customEmojis?: {
|
|
12631
|
+
shortcode: string;
|
|
12632
|
+
url: string;
|
|
12633
|
+
staticUrl: string;
|
|
12634
|
+
visibleInPicker: boolean;
|
|
12635
|
+
category: string;
|
|
12636
|
+
}[] | undefined;
|
|
12637
|
+
language?: string | undefined;
|
|
12638
|
+
tags?: string[] | undefined;
|
|
12639
|
+
categoryPath?: string[] | undefined;
|
|
12640
|
+
url?: string | undefined;
|
|
11463
12641
|
};
|
|
11464
12642
|
entries: ({
|
|
11465
12643
|
type: "create";
|
|
@@ -11618,10 +12796,47 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
11618
12796
|
lng: number;
|
|
11619
12797
|
alt?: number | undefined;
|
|
11620
12798
|
} | undefined;
|
|
11621
|
-
} | undefined;
|
|
12799
|
+
} | undefined;
|
|
12800
|
+
}[] | undefined;
|
|
12801
|
+
} | {
|
|
12802
|
+
type: "article";
|
|
12803
|
+
content?: string | undefined;
|
|
12804
|
+
sensitive?: boolean | undefined;
|
|
12805
|
+
spoilerText?: string | undefined;
|
|
12806
|
+
attachments?: {
|
|
12807
|
+
type: string;
|
|
12808
|
+
url: string;
|
|
12809
|
+
previewUrl: string | null;
|
|
12810
|
+
textUrl: null;
|
|
12811
|
+
filename: string;
|
|
12812
|
+
meta: {
|
|
12813
|
+
usage?: string | undefined;
|
|
12814
|
+
focus?: {
|
|
12815
|
+
x: number;
|
|
12816
|
+
y: number;
|
|
12817
|
+
} | undefined;
|
|
12818
|
+
mimetype?: string | undefined;
|
|
12819
|
+
size?: number | undefined;
|
|
12820
|
+
};
|
|
12821
|
+
description?: string | undefined;
|
|
12822
|
+
blurhash?: string | undefined;
|
|
12823
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
12824
|
+
error?: string | undefined;
|
|
12825
|
+
}[] | undefined;
|
|
12826
|
+
customEmojis?: {
|
|
12827
|
+
shortcode: string;
|
|
12828
|
+
url: string;
|
|
12829
|
+
staticUrl: string;
|
|
12830
|
+
visibleInPicker: boolean;
|
|
12831
|
+
category: string;
|
|
11622
12832
|
}[] | undefined;
|
|
12833
|
+
language?: string | undefined;
|
|
12834
|
+
image?: string | undefined;
|
|
12835
|
+
title?: string | undefined;
|
|
11623
12836
|
} | {
|
|
11624
|
-
type: "
|
|
12837
|
+
type: "resource";
|
|
12838
|
+
title: string;
|
|
12839
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
11625
12840
|
content?: string | undefined;
|
|
11626
12841
|
sensitive?: boolean | undefined;
|
|
11627
12842
|
spoilerText?: string | undefined;
|
|
@@ -11653,8 +12868,9 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
11653
12868
|
category: string;
|
|
11654
12869
|
}[] | undefined;
|
|
11655
12870
|
language?: string | undefined;
|
|
11656
|
-
|
|
11657
|
-
|
|
12871
|
+
tags?: string[] | undefined;
|
|
12872
|
+
categoryPath?: string[] | undefined;
|
|
12873
|
+
url?: string | undefined;
|
|
11658
12874
|
};
|
|
11659
12875
|
profile: {
|
|
11660
12876
|
id: string;
|
|
@@ -11909,6 +13125,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
11909
13125
|
language?: string | undefined;
|
|
11910
13126
|
image?: string | undefined;
|
|
11911
13127
|
title?: string | undefined;
|
|
13128
|
+
} | {
|
|
13129
|
+
type: "resource";
|
|
13130
|
+
title: string;
|
|
13131
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
13132
|
+
content?: string | undefined;
|
|
13133
|
+
sensitive?: boolean | undefined;
|
|
13134
|
+
spoilerText?: string | undefined;
|
|
13135
|
+
attachments?: {
|
|
13136
|
+
type: string;
|
|
13137
|
+
url: string;
|
|
13138
|
+
previewUrl: string | null;
|
|
13139
|
+
textUrl: null;
|
|
13140
|
+
filename: string;
|
|
13141
|
+
meta: {
|
|
13142
|
+
usage?: string | undefined;
|
|
13143
|
+
focus?: {
|
|
13144
|
+
x: number;
|
|
13145
|
+
y: number;
|
|
13146
|
+
} | undefined;
|
|
13147
|
+
mimetype?: string | undefined;
|
|
13148
|
+
size?: number | undefined;
|
|
13149
|
+
};
|
|
13150
|
+
description?: string | undefined;
|
|
13151
|
+
blurhash?: string | undefined;
|
|
13152
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
13153
|
+
error?: string | undefined;
|
|
13154
|
+
}[] | undefined;
|
|
13155
|
+
customEmojis?: {
|
|
13156
|
+
shortcode: string;
|
|
13157
|
+
url: string;
|
|
13158
|
+
staticUrl: string;
|
|
13159
|
+
visibleInPicker: boolean;
|
|
13160
|
+
category: string;
|
|
13161
|
+
}[] | undefined;
|
|
13162
|
+
language?: string | undefined;
|
|
13163
|
+
tags?: string[] | undefined;
|
|
13164
|
+
categoryPath?: string[] | undefined;
|
|
13165
|
+
url?: string | undefined;
|
|
11912
13166
|
};
|
|
11913
13167
|
profile: {
|
|
11914
13168
|
id: string;
|
|
@@ -12247,7 +13501,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
12247
13501
|
hidden?: boolean | undefined;
|
|
12248
13502
|
replyTo?: {
|
|
12249
13503
|
id: string;
|
|
12250
|
-
type: "event" | "note" | "question" | "article";
|
|
13504
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
12251
13505
|
profile: {
|
|
12252
13506
|
id: string;
|
|
12253
13507
|
type: "local" | "guest" | "federated";
|
|
@@ -12498,6 +13752,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
12498
13752
|
language?: string | undefined;
|
|
12499
13753
|
image?: string | undefined;
|
|
12500
13754
|
title?: string | undefined;
|
|
13755
|
+
} | {
|
|
13756
|
+
type: "resource";
|
|
13757
|
+
title: string;
|
|
13758
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
13759
|
+
content?: string | undefined;
|
|
13760
|
+
sensitive?: boolean | undefined;
|
|
13761
|
+
spoilerText?: string | undefined;
|
|
13762
|
+
attachments?: {
|
|
13763
|
+
type: string;
|
|
13764
|
+
url: string;
|
|
13765
|
+
previewUrl: string | null;
|
|
13766
|
+
textUrl: null;
|
|
13767
|
+
filename: string;
|
|
13768
|
+
meta: {
|
|
13769
|
+
usage?: string | undefined;
|
|
13770
|
+
focus?: {
|
|
13771
|
+
x: number;
|
|
13772
|
+
y: number;
|
|
13773
|
+
} | undefined;
|
|
13774
|
+
mimetype?: string | undefined;
|
|
13775
|
+
size?: number | undefined;
|
|
13776
|
+
};
|
|
13777
|
+
description?: string | undefined;
|
|
13778
|
+
blurhash?: string | undefined;
|
|
13779
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
13780
|
+
error?: string | undefined;
|
|
13781
|
+
}[] | undefined;
|
|
13782
|
+
customEmojis?: {
|
|
13783
|
+
shortcode: string;
|
|
13784
|
+
url: string;
|
|
13785
|
+
staticUrl: string;
|
|
13786
|
+
visibleInPicker: boolean;
|
|
13787
|
+
category: string;
|
|
13788
|
+
}[] | undefined;
|
|
13789
|
+
language?: string | undefined;
|
|
13790
|
+
tags?: string[] | undefined;
|
|
13791
|
+
categoryPath?: string[] | undefined;
|
|
13792
|
+
url?: string | undefined;
|
|
12501
13793
|
};
|
|
12502
13794
|
entries: ({
|
|
12503
13795
|
type: "create";
|
|
@@ -12693,6 +13985,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
12693
13985
|
language?: string | undefined;
|
|
12694
13986
|
image?: string | undefined;
|
|
12695
13987
|
title?: string | undefined;
|
|
13988
|
+
} | {
|
|
13989
|
+
type: "resource";
|
|
13990
|
+
title: string;
|
|
13991
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
13992
|
+
content?: string | undefined;
|
|
13993
|
+
sensitive?: boolean | undefined;
|
|
13994
|
+
spoilerText?: string | undefined;
|
|
13995
|
+
attachments?: {
|
|
13996
|
+
type: string;
|
|
13997
|
+
url: string;
|
|
13998
|
+
previewUrl: string | null;
|
|
13999
|
+
textUrl: null;
|
|
14000
|
+
filename: string;
|
|
14001
|
+
meta: {
|
|
14002
|
+
usage?: string | undefined;
|
|
14003
|
+
focus?: {
|
|
14004
|
+
x: number;
|
|
14005
|
+
y: number;
|
|
14006
|
+
} | undefined;
|
|
14007
|
+
mimetype?: string | undefined;
|
|
14008
|
+
size?: number | undefined;
|
|
14009
|
+
};
|
|
14010
|
+
description?: string | undefined;
|
|
14011
|
+
blurhash?: string | undefined;
|
|
14012
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
14013
|
+
error?: string | undefined;
|
|
14014
|
+
}[] | undefined;
|
|
14015
|
+
customEmojis?: {
|
|
14016
|
+
shortcode: string;
|
|
14017
|
+
url: string;
|
|
14018
|
+
staticUrl: string;
|
|
14019
|
+
visibleInPicker: boolean;
|
|
14020
|
+
category: string;
|
|
14021
|
+
}[] | undefined;
|
|
14022
|
+
language?: string | undefined;
|
|
14023
|
+
tags?: string[] | undefined;
|
|
14024
|
+
categoryPath?: string[] | undefined;
|
|
14025
|
+
url?: string | undefined;
|
|
12696
14026
|
};
|
|
12697
14027
|
profile: {
|
|
12698
14028
|
id: string;
|
|
@@ -12947,6 +14277,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
12947
14277
|
language?: string | undefined;
|
|
12948
14278
|
image?: string | undefined;
|
|
12949
14279
|
title?: string | undefined;
|
|
14280
|
+
} | {
|
|
14281
|
+
type: "resource";
|
|
14282
|
+
title: string;
|
|
14283
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
14284
|
+
content?: string | undefined;
|
|
14285
|
+
sensitive?: boolean | undefined;
|
|
14286
|
+
spoilerText?: string | undefined;
|
|
14287
|
+
attachments?: {
|
|
14288
|
+
type: string;
|
|
14289
|
+
url: string;
|
|
14290
|
+
previewUrl: string | null;
|
|
14291
|
+
textUrl: null;
|
|
14292
|
+
filename: string;
|
|
14293
|
+
meta: {
|
|
14294
|
+
usage?: string | undefined;
|
|
14295
|
+
focus?: {
|
|
14296
|
+
x: number;
|
|
14297
|
+
y: number;
|
|
14298
|
+
} | undefined;
|
|
14299
|
+
mimetype?: string | undefined;
|
|
14300
|
+
size?: number | undefined;
|
|
14301
|
+
};
|
|
14302
|
+
description?: string | undefined;
|
|
14303
|
+
blurhash?: string | undefined;
|
|
14304
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
14305
|
+
error?: string | undefined;
|
|
14306
|
+
}[] | undefined;
|
|
14307
|
+
customEmojis?: {
|
|
14308
|
+
shortcode: string;
|
|
14309
|
+
url: string;
|
|
14310
|
+
staticUrl: string;
|
|
14311
|
+
visibleInPicker: boolean;
|
|
14312
|
+
category: string;
|
|
14313
|
+
}[] | undefined;
|
|
14314
|
+
language?: string | undefined;
|
|
14315
|
+
tags?: string[] | undefined;
|
|
14316
|
+
categoryPath?: string[] | undefined;
|
|
14317
|
+
url?: string | undefined;
|
|
12950
14318
|
};
|
|
12951
14319
|
profile: {
|
|
12952
14320
|
id: string;
|
|
@@ -13307,7 +14675,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
13307
14675
|
inReplyToId?: string | null | undefined;
|
|
13308
14676
|
replyTo?: {
|
|
13309
14677
|
id: string;
|
|
13310
|
-
type: "event" | "note" | "question" | "article";
|
|
14678
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
13311
14679
|
profile: {
|
|
13312
14680
|
id: string;
|
|
13313
14681
|
type: "local" | "guest" | "federated";
|
|
@@ -13558,6 +14926,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
13558
14926
|
language?: string | undefined;
|
|
13559
14927
|
image?: string | undefined;
|
|
13560
14928
|
title?: string | undefined;
|
|
14929
|
+
} | {
|
|
14930
|
+
type: "resource";
|
|
14931
|
+
title: string;
|
|
14932
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
14933
|
+
content?: string | undefined;
|
|
14934
|
+
sensitive?: boolean | undefined;
|
|
14935
|
+
spoilerText?: string | undefined;
|
|
14936
|
+
attachments?: {
|
|
14937
|
+
type: string;
|
|
14938
|
+
url: string;
|
|
14939
|
+
previewUrl: string | null;
|
|
14940
|
+
textUrl: null;
|
|
14941
|
+
filename: string;
|
|
14942
|
+
meta: {
|
|
14943
|
+
usage?: string | undefined;
|
|
14944
|
+
focus?: {
|
|
14945
|
+
x: number;
|
|
14946
|
+
y: number;
|
|
14947
|
+
} | undefined;
|
|
14948
|
+
mimetype?: string | undefined;
|
|
14949
|
+
size?: number | undefined;
|
|
14950
|
+
};
|
|
14951
|
+
description?: string | undefined;
|
|
14952
|
+
blurhash?: string | undefined;
|
|
14953
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
14954
|
+
error?: string | undefined;
|
|
14955
|
+
}[] | undefined;
|
|
14956
|
+
customEmojis?: {
|
|
14957
|
+
shortcode: string;
|
|
14958
|
+
url: string;
|
|
14959
|
+
staticUrl: string;
|
|
14960
|
+
visibleInPicker: boolean;
|
|
14961
|
+
category: string;
|
|
14962
|
+
}[] | undefined;
|
|
14963
|
+
language?: string | undefined;
|
|
14964
|
+
tags?: string[] | undefined;
|
|
14965
|
+
categoryPath?: string[] | undefined;
|
|
14966
|
+
url?: string | undefined;
|
|
13561
14967
|
};
|
|
13562
14968
|
entries: ({
|
|
13563
14969
|
type: "create";
|
|
@@ -13753,6 +15159,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
13753
15159
|
language?: string | undefined;
|
|
13754
15160
|
image?: string | undefined;
|
|
13755
15161
|
title?: string | undefined;
|
|
15162
|
+
} | {
|
|
15163
|
+
type: "resource";
|
|
15164
|
+
title: string;
|
|
15165
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
15166
|
+
content?: string | undefined;
|
|
15167
|
+
sensitive?: boolean | undefined;
|
|
15168
|
+
spoilerText?: string | undefined;
|
|
15169
|
+
attachments?: {
|
|
15170
|
+
type: string;
|
|
15171
|
+
url: string;
|
|
15172
|
+
previewUrl: string | null;
|
|
15173
|
+
textUrl: null;
|
|
15174
|
+
filename: string;
|
|
15175
|
+
meta: {
|
|
15176
|
+
usage?: string | undefined;
|
|
15177
|
+
focus?: {
|
|
15178
|
+
x: number;
|
|
15179
|
+
y: number;
|
|
15180
|
+
} | undefined;
|
|
15181
|
+
mimetype?: string | undefined;
|
|
15182
|
+
size?: number | undefined;
|
|
15183
|
+
};
|
|
15184
|
+
description?: string | undefined;
|
|
15185
|
+
blurhash?: string | undefined;
|
|
15186
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
15187
|
+
error?: string | undefined;
|
|
15188
|
+
}[] | undefined;
|
|
15189
|
+
customEmojis?: {
|
|
15190
|
+
shortcode: string;
|
|
15191
|
+
url: string;
|
|
15192
|
+
staticUrl: string;
|
|
15193
|
+
visibleInPicker: boolean;
|
|
15194
|
+
category: string;
|
|
15195
|
+
}[] | undefined;
|
|
15196
|
+
language?: string | undefined;
|
|
15197
|
+
tags?: string[] | undefined;
|
|
15198
|
+
categoryPath?: string[] | undefined;
|
|
15199
|
+
url?: string | undefined;
|
|
13756
15200
|
};
|
|
13757
15201
|
profile: {
|
|
13758
15202
|
id: string;
|
|
@@ -13973,7 +15417,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
13973
15417
|
} | undefined;
|
|
13974
15418
|
}[] | undefined;
|
|
13975
15419
|
} | {
|
|
13976
|
-
type: "article";
|
|
15420
|
+
type: "article";
|
|
15421
|
+
content?: string | undefined;
|
|
15422
|
+
sensitive?: boolean | undefined;
|
|
15423
|
+
spoilerText?: string | undefined;
|
|
15424
|
+
attachments?: {
|
|
15425
|
+
type: string;
|
|
15426
|
+
url: string;
|
|
15427
|
+
previewUrl: string | null;
|
|
15428
|
+
textUrl: null;
|
|
15429
|
+
filename: string;
|
|
15430
|
+
meta: {
|
|
15431
|
+
usage?: string | undefined;
|
|
15432
|
+
focus?: {
|
|
15433
|
+
x: number;
|
|
15434
|
+
y: number;
|
|
15435
|
+
} | undefined;
|
|
15436
|
+
mimetype?: string | undefined;
|
|
15437
|
+
size?: number | undefined;
|
|
15438
|
+
};
|
|
15439
|
+
description?: string | undefined;
|
|
15440
|
+
blurhash?: string | undefined;
|
|
15441
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
15442
|
+
error?: string | undefined;
|
|
15443
|
+
}[] | undefined;
|
|
15444
|
+
customEmojis?: {
|
|
15445
|
+
shortcode: string;
|
|
15446
|
+
url: string;
|
|
15447
|
+
staticUrl: string;
|
|
15448
|
+
visibleInPicker: boolean;
|
|
15449
|
+
category: string;
|
|
15450
|
+
}[] | undefined;
|
|
15451
|
+
language?: string | undefined;
|
|
15452
|
+
image?: string | undefined;
|
|
15453
|
+
title?: string | undefined;
|
|
15454
|
+
} | {
|
|
15455
|
+
type: "resource";
|
|
15456
|
+
title: string;
|
|
15457
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
13977
15458
|
content?: string | undefined;
|
|
13978
15459
|
sensitive?: boolean | undefined;
|
|
13979
15460
|
spoilerText?: string | undefined;
|
|
@@ -14005,8 +15486,9 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
14005
15486
|
category: string;
|
|
14006
15487
|
}[] | undefined;
|
|
14007
15488
|
language?: string | undefined;
|
|
14008
|
-
|
|
14009
|
-
|
|
15489
|
+
tags?: string[] | undefined;
|
|
15490
|
+
categoryPath?: string[] | undefined;
|
|
15491
|
+
url?: string | undefined;
|
|
14010
15492
|
};
|
|
14011
15493
|
profile: {
|
|
14012
15494
|
id: string;
|
|
@@ -14345,7 +15827,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
14345
15827
|
hidden?: boolean | undefined;
|
|
14346
15828
|
replyTo?: {
|
|
14347
15829
|
id: string;
|
|
14348
|
-
type: "event" | "note" | "question" | "article";
|
|
15830
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
14349
15831
|
profile: {
|
|
14350
15832
|
id: string;
|
|
14351
15833
|
type: "local" | "guest" | "federated";
|
|
@@ -14596,6 +16078,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
14596
16078
|
language?: string | undefined;
|
|
14597
16079
|
image?: string | undefined;
|
|
14598
16080
|
title?: string | undefined;
|
|
16081
|
+
} | {
|
|
16082
|
+
type: "resource";
|
|
16083
|
+
title: string;
|
|
16084
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
16085
|
+
content?: string | undefined;
|
|
16086
|
+
sensitive?: boolean | undefined;
|
|
16087
|
+
spoilerText?: string | undefined;
|
|
16088
|
+
attachments?: {
|
|
16089
|
+
type: string;
|
|
16090
|
+
url: string;
|
|
16091
|
+
previewUrl: string | null;
|
|
16092
|
+
textUrl: null;
|
|
16093
|
+
filename: string;
|
|
16094
|
+
meta: {
|
|
16095
|
+
usage?: string | undefined;
|
|
16096
|
+
focus?: {
|
|
16097
|
+
x: number;
|
|
16098
|
+
y: number;
|
|
16099
|
+
} | undefined;
|
|
16100
|
+
mimetype?: string | undefined;
|
|
16101
|
+
size?: number | undefined;
|
|
16102
|
+
};
|
|
16103
|
+
description?: string | undefined;
|
|
16104
|
+
blurhash?: string | undefined;
|
|
16105
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
16106
|
+
error?: string | undefined;
|
|
16107
|
+
}[] | undefined;
|
|
16108
|
+
customEmojis?: {
|
|
16109
|
+
shortcode: string;
|
|
16110
|
+
url: string;
|
|
16111
|
+
staticUrl: string;
|
|
16112
|
+
visibleInPicker: boolean;
|
|
16113
|
+
category: string;
|
|
16114
|
+
}[] | undefined;
|
|
16115
|
+
language?: string | undefined;
|
|
16116
|
+
tags?: string[] | undefined;
|
|
16117
|
+
categoryPath?: string[] | undefined;
|
|
16118
|
+
url?: string | undefined;
|
|
14599
16119
|
};
|
|
14600
16120
|
entries: ({
|
|
14601
16121
|
type: "create";
|
|
@@ -14791,6 +16311,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
14791
16311
|
language?: string | undefined;
|
|
14792
16312
|
image?: string | undefined;
|
|
14793
16313
|
title?: string | undefined;
|
|
16314
|
+
} | {
|
|
16315
|
+
type: "resource";
|
|
16316
|
+
title: string;
|
|
16317
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
16318
|
+
content?: string | undefined;
|
|
16319
|
+
sensitive?: boolean | undefined;
|
|
16320
|
+
spoilerText?: string | undefined;
|
|
16321
|
+
attachments?: {
|
|
16322
|
+
type: string;
|
|
16323
|
+
url: string;
|
|
16324
|
+
previewUrl: string | null;
|
|
16325
|
+
textUrl: null;
|
|
16326
|
+
filename: string;
|
|
16327
|
+
meta: {
|
|
16328
|
+
usage?: string | undefined;
|
|
16329
|
+
focus?: {
|
|
16330
|
+
x: number;
|
|
16331
|
+
y: number;
|
|
16332
|
+
} | undefined;
|
|
16333
|
+
mimetype?: string | undefined;
|
|
16334
|
+
size?: number | undefined;
|
|
16335
|
+
};
|
|
16336
|
+
description?: string | undefined;
|
|
16337
|
+
blurhash?: string | undefined;
|
|
16338
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
16339
|
+
error?: string | undefined;
|
|
16340
|
+
}[] | undefined;
|
|
16341
|
+
customEmojis?: {
|
|
16342
|
+
shortcode: string;
|
|
16343
|
+
url: string;
|
|
16344
|
+
staticUrl: string;
|
|
16345
|
+
visibleInPicker: boolean;
|
|
16346
|
+
category: string;
|
|
16347
|
+
}[] | undefined;
|
|
16348
|
+
language?: string | undefined;
|
|
16349
|
+
tags?: string[] | undefined;
|
|
16350
|
+
categoryPath?: string[] | undefined;
|
|
16351
|
+
url?: string | undefined;
|
|
14794
16352
|
};
|
|
14795
16353
|
profile: {
|
|
14796
16354
|
id: string;
|
|
@@ -15045,6 +16603,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
15045
16603
|
language?: string | undefined;
|
|
15046
16604
|
image?: string | undefined;
|
|
15047
16605
|
title?: string | undefined;
|
|
16606
|
+
} | {
|
|
16607
|
+
type: "resource";
|
|
16608
|
+
title: string;
|
|
16609
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
16610
|
+
content?: string | undefined;
|
|
16611
|
+
sensitive?: boolean | undefined;
|
|
16612
|
+
spoilerText?: string | undefined;
|
|
16613
|
+
attachments?: {
|
|
16614
|
+
type: string;
|
|
16615
|
+
url: string;
|
|
16616
|
+
previewUrl: string | null;
|
|
16617
|
+
textUrl: null;
|
|
16618
|
+
filename: string;
|
|
16619
|
+
meta: {
|
|
16620
|
+
usage?: string | undefined;
|
|
16621
|
+
focus?: {
|
|
16622
|
+
x: number;
|
|
16623
|
+
y: number;
|
|
16624
|
+
} | undefined;
|
|
16625
|
+
mimetype?: string | undefined;
|
|
16626
|
+
size?: number | undefined;
|
|
16627
|
+
};
|
|
16628
|
+
description?: string | undefined;
|
|
16629
|
+
blurhash?: string | undefined;
|
|
16630
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
16631
|
+
error?: string | undefined;
|
|
16632
|
+
}[] | undefined;
|
|
16633
|
+
customEmojis?: {
|
|
16634
|
+
shortcode: string;
|
|
16635
|
+
url: string;
|
|
16636
|
+
staticUrl: string;
|
|
16637
|
+
visibleInPicker: boolean;
|
|
16638
|
+
category: string;
|
|
16639
|
+
}[] | undefined;
|
|
16640
|
+
language?: string | undefined;
|
|
16641
|
+
tags?: string[] | undefined;
|
|
16642
|
+
categoryPath?: string[] | undefined;
|
|
16643
|
+
url?: string | undefined;
|
|
15048
16644
|
};
|
|
15049
16645
|
profile: {
|
|
15050
16646
|
id: string;
|
|
@@ -15385,7 +16981,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
15385
16981
|
} | null | undefined;
|
|
15386
16982
|
repost?: {
|
|
15387
16983
|
id: string;
|
|
15388
|
-
type: "event" | "note" | "question" | "article";
|
|
16984
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
15389
16985
|
profile: {
|
|
15390
16986
|
id: string;
|
|
15391
16987
|
type: "local" | "guest" | "federated";
|
|
@@ -15636,6 +17232,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
15636
17232
|
language?: string | undefined;
|
|
15637
17233
|
image?: string | undefined;
|
|
15638
17234
|
title?: string | undefined;
|
|
17235
|
+
} | {
|
|
17236
|
+
type: "resource";
|
|
17237
|
+
title: string;
|
|
17238
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
17239
|
+
content?: string | undefined;
|
|
17240
|
+
sensitive?: boolean | undefined;
|
|
17241
|
+
spoilerText?: string | undefined;
|
|
17242
|
+
attachments?: {
|
|
17243
|
+
type: string;
|
|
17244
|
+
url: string;
|
|
17245
|
+
previewUrl: string | null;
|
|
17246
|
+
textUrl: null;
|
|
17247
|
+
filename: string;
|
|
17248
|
+
meta: {
|
|
17249
|
+
usage?: string | undefined;
|
|
17250
|
+
focus?: {
|
|
17251
|
+
x: number;
|
|
17252
|
+
y: number;
|
|
17253
|
+
} | undefined;
|
|
17254
|
+
mimetype?: string | undefined;
|
|
17255
|
+
size?: number | undefined;
|
|
17256
|
+
};
|
|
17257
|
+
description?: string | undefined;
|
|
17258
|
+
blurhash?: string | undefined;
|
|
17259
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
17260
|
+
error?: string | undefined;
|
|
17261
|
+
}[] | undefined;
|
|
17262
|
+
customEmojis?: {
|
|
17263
|
+
shortcode: string;
|
|
17264
|
+
url: string;
|
|
17265
|
+
staticUrl: string;
|
|
17266
|
+
visibleInPicker: boolean;
|
|
17267
|
+
category: string;
|
|
17268
|
+
}[] | undefined;
|
|
17269
|
+
language?: string | undefined;
|
|
17270
|
+
tags?: string[] | undefined;
|
|
17271
|
+
categoryPath?: string[] | undefined;
|
|
17272
|
+
url?: string | undefined;
|
|
15639
17273
|
};
|
|
15640
17274
|
entries: ({
|
|
15641
17275
|
type: "create";
|
|
@@ -15831,6 +17465,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
15831
17465
|
language?: string | undefined;
|
|
15832
17466
|
image?: string | undefined;
|
|
15833
17467
|
title?: string | undefined;
|
|
17468
|
+
} | {
|
|
17469
|
+
type: "resource";
|
|
17470
|
+
title: string;
|
|
17471
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
17472
|
+
content?: string | undefined;
|
|
17473
|
+
sensitive?: boolean | undefined;
|
|
17474
|
+
spoilerText?: string | undefined;
|
|
17475
|
+
attachments?: {
|
|
17476
|
+
type: string;
|
|
17477
|
+
url: string;
|
|
17478
|
+
previewUrl: string | null;
|
|
17479
|
+
textUrl: null;
|
|
17480
|
+
filename: string;
|
|
17481
|
+
meta: {
|
|
17482
|
+
usage?: string | undefined;
|
|
17483
|
+
focus?: {
|
|
17484
|
+
x: number;
|
|
17485
|
+
y: number;
|
|
17486
|
+
} | undefined;
|
|
17487
|
+
mimetype?: string | undefined;
|
|
17488
|
+
size?: number | undefined;
|
|
17489
|
+
};
|
|
17490
|
+
description?: string | undefined;
|
|
17491
|
+
blurhash?: string | undefined;
|
|
17492
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
17493
|
+
error?: string | undefined;
|
|
17494
|
+
}[] | undefined;
|
|
17495
|
+
customEmojis?: {
|
|
17496
|
+
shortcode: string;
|
|
17497
|
+
url: string;
|
|
17498
|
+
staticUrl: string;
|
|
17499
|
+
visibleInPicker: boolean;
|
|
17500
|
+
category: string;
|
|
17501
|
+
}[] | undefined;
|
|
17502
|
+
language?: string | undefined;
|
|
17503
|
+
tags?: string[] | undefined;
|
|
17504
|
+
categoryPath?: string[] | undefined;
|
|
17505
|
+
url?: string | undefined;
|
|
15834
17506
|
};
|
|
15835
17507
|
profile: {
|
|
15836
17508
|
id: string;
|
|
@@ -16085,6 +17757,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
16085
17757
|
language?: string | undefined;
|
|
16086
17758
|
image?: string | undefined;
|
|
16087
17759
|
title?: string | undefined;
|
|
17760
|
+
} | {
|
|
17761
|
+
type: "resource";
|
|
17762
|
+
title: string;
|
|
17763
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
17764
|
+
content?: string | undefined;
|
|
17765
|
+
sensitive?: boolean | undefined;
|
|
17766
|
+
spoilerText?: string | undefined;
|
|
17767
|
+
attachments?: {
|
|
17768
|
+
type: string;
|
|
17769
|
+
url: string;
|
|
17770
|
+
previewUrl: string | null;
|
|
17771
|
+
textUrl: null;
|
|
17772
|
+
filename: string;
|
|
17773
|
+
meta: {
|
|
17774
|
+
usage?: string | undefined;
|
|
17775
|
+
focus?: {
|
|
17776
|
+
x: number;
|
|
17777
|
+
y: number;
|
|
17778
|
+
} | undefined;
|
|
17779
|
+
mimetype?: string | undefined;
|
|
17780
|
+
size?: number | undefined;
|
|
17781
|
+
};
|
|
17782
|
+
description?: string | undefined;
|
|
17783
|
+
blurhash?: string | undefined;
|
|
17784
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
17785
|
+
error?: string | undefined;
|
|
17786
|
+
}[] | undefined;
|
|
17787
|
+
customEmojis?: {
|
|
17788
|
+
shortcode: string;
|
|
17789
|
+
url: string;
|
|
17790
|
+
staticUrl: string;
|
|
17791
|
+
visibleInPicker: boolean;
|
|
17792
|
+
category: string;
|
|
17793
|
+
}[] | undefined;
|
|
17794
|
+
language?: string | undefined;
|
|
17795
|
+
tags?: string[] | undefined;
|
|
17796
|
+
categoryPath?: string[] | undefined;
|
|
17797
|
+
url?: string | undefined;
|
|
16088
17798
|
};
|
|
16089
17799
|
profile: {
|
|
16090
17800
|
id: string;
|
|
@@ -16678,7 +18388,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
16678
18388
|
hidden?: boolean | undefined;
|
|
16679
18389
|
replyTo?: {
|
|
16680
18390
|
id: string;
|
|
16681
|
-
type: "event" | "note" | "question" | "article";
|
|
18391
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
16682
18392
|
profile: {
|
|
16683
18393
|
id: string;
|
|
16684
18394
|
type: "local" | "guest" | "federated";
|
|
@@ -16929,6 +18639,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
16929
18639
|
language?: string | undefined;
|
|
16930
18640
|
image?: string | undefined;
|
|
16931
18641
|
title?: string | undefined;
|
|
18642
|
+
} | {
|
|
18643
|
+
type: "resource";
|
|
18644
|
+
title: string;
|
|
18645
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
18646
|
+
content?: string | undefined;
|
|
18647
|
+
sensitive?: boolean | undefined;
|
|
18648
|
+
spoilerText?: string | undefined;
|
|
18649
|
+
attachments?: {
|
|
18650
|
+
type: string;
|
|
18651
|
+
url: string;
|
|
18652
|
+
previewUrl: string | null;
|
|
18653
|
+
textUrl: null;
|
|
18654
|
+
filename: string;
|
|
18655
|
+
meta: {
|
|
18656
|
+
usage?: string | undefined;
|
|
18657
|
+
focus?: {
|
|
18658
|
+
x: number;
|
|
18659
|
+
y: number;
|
|
18660
|
+
} | undefined;
|
|
18661
|
+
mimetype?: string | undefined;
|
|
18662
|
+
size?: number | undefined;
|
|
18663
|
+
};
|
|
18664
|
+
description?: string | undefined;
|
|
18665
|
+
blurhash?: string | undefined;
|
|
18666
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
18667
|
+
error?: string | undefined;
|
|
18668
|
+
}[] | undefined;
|
|
18669
|
+
customEmojis?: {
|
|
18670
|
+
shortcode: string;
|
|
18671
|
+
url: string;
|
|
18672
|
+
staticUrl: string;
|
|
18673
|
+
visibleInPicker: boolean;
|
|
18674
|
+
category: string;
|
|
18675
|
+
}[] | undefined;
|
|
18676
|
+
language?: string | undefined;
|
|
18677
|
+
tags?: string[] | undefined;
|
|
18678
|
+
categoryPath?: string[] | undefined;
|
|
18679
|
+
url?: string | undefined;
|
|
16932
18680
|
};
|
|
16933
18681
|
entries: ({
|
|
16934
18682
|
type: "create";
|
|
@@ -17087,10 +18835,47 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
17087
18835
|
lng: number;
|
|
17088
18836
|
alt?: number | undefined;
|
|
17089
18837
|
} | undefined;
|
|
17090
|
-
} | undefined;
|
|
18838
|
+
} | undefined;
|
|
18839
|
+
}[] | undefined;
|
|
18840
|
+
} | {
|
|
18841
|
+
type: "article";
|
|
18842
|
+
content?: string | undefined;
|
|
18843
|
+
sensitive?: boolean | undefined;
|
|
18844
|
+
spoilerText?: string | undefined;
|
|
18845
|
+
attachments?: {
|
|
18846
|
+
type: string;
|
|
18847
|
+
url: string;
|
|
18848
|
+
previewUrl: string | null;
|
|
18849
|
+
textUrl: null;
|
|
18850
|
+
filename: string;
|
|
18851
|
+
meta: {
|
|
18852
|
+
usage?: string | undefined;
|
|
18853
|
+
focus?: {
|
|
18854
|
+
x: number;
|
|
18855
|
+
y: number;
|
|
18856
|
+
} | undefined;
|
|
18857
|
+
mimetype?: string | undefined;
|
|
18858
|
+
size?: number | undefined;
|
|
18859
|
+
};
|
|
18860
|
+
description?: string | undefined;
|
|
18861
|
+
blurhash?: string | undefined;
|
|
18862
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
18863
|
+
error?: string | undefined;
|
|
18864
|
+
}[] | undefined;
|
|
18865
|
+
customEmojis?: {
|
|
18866
|
+
shortcode: string;
|
|
18867
|
+
url: string;
|
|
18868
|
+
staticUrl: string;
|
|
18869
|
+
visibleInPicker: boolean;
|
|
18870
|
+
category: string;
|
|
17091
18871
|
}[] | undefined;
|
|
18872
|
+
language?: string | undefined;
|
|
18873
|
+
image?: string | undefined;
|
|
18874
|
+
title?: string | undefined;
|
|
17092
18875
|
} | {
|
|
17093
|
-
type: "
|
|
18876
|
+
type: "resource";
|
|
18877
|
+
title: string;
|
|
18878
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
17094
18879
|
content?: string | undefined;
|
|
17095
18880
|
sensitive?: boolean | undefined;
|
|
17096
18881
|
spoilerText?: string | undefined;
|
|
@@ -17122,8 +18907,9 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
17122
18907
|
category: string;
|
|
17123
18908
|
}[] | undefined;
|
|
17124
18909
|
language?: string | undefined;
|
|
17125
|
-
|
|
17126
|
-
|
|
18910
|
+
tags?: string[] | undefined;
|
|
18911
|
+
categoryPath?: string[] | undefined;
|
|
18912
|
+
url?: string | undefined;
|
|
17127
18913
|
};
|
|
17128
18914
|
profile: {
|
|
17129
18915
|
id: string;
|
|
@@ -17378,6 +19164,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
17378
19164
|
language?: string | undefined;
|
|
17379
19165
|
image?: string | undefined;
|
|
17380
19166
|
title?: string | undefined;
|
|
19167
|
+
} | {
|
|
19168
|
+
type: "resource";
|
|
19169
|
+
title: string;
|
|
19170
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
19171
|
+
content?: string | undefined;
|
|
19172
|
+
sensitive?: boolean | undefined;
|
|
19173
|
+
spoilerText?: string | undefined;
|
|
19174
|
+
attachments?: {
|
|
19175
|
+
type: string;
|
|
19176
|
+
url: string;
|
|
19177
|
+
previewUrl: string | null;
|
|
19178
|
+
textUrl: null;
|
|
19179
|
+
filename: string;
|
|
19180
|
+
meta: {
|
|
19181
|
+
usage?: string | undefined;
|
|
19182
|
+
focus?: {
|
|
19183
|
+
x: number;
|
|
19184
|
+
y: number;
|
|
19185
|
+
} | undefined;
|
|
19186
|
+
mimetype?: string | undefined;
|
|
19187
|
+
size?: number | undefined;
|
|
19188
|
+
};
|
|
19189
|
+
description?: string | undefined;
|
|
19190
|
+
blurhash?: string | undefined;
|
|
19191
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
19192
|
+
error?: string | undefined;
|
|
19193
|
+
}[] | undefined;
|
|
19194
|
+
customEmojis?: {
|
|
19195
|
+
shortcode: string;
|
|
19196
|
+
url: string;
|
|
19197
|
+
staticUrl: string;
|
|
19198
|
+
visibleInPicker: boolean;
|
|
19199
|
+
category: string;
|
|
19200
|
+
}[] | undefined;
|
|
19201
|
+
language?: string | undefined;
|
|
19202
|
+
tags?: string[] | undefined;
|
|
19203
|
+
categoryPath?: string[] | undefined;
|
|
19204
|
+
url?: string | undefined;
|
|
17381
19205
|
};
|
|
17382
19206
|
profile: {
|
|
17383
19207
|
id: string;
|
|
@@ -17717,7 +19541,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
17717
19541
|
} | null | undefined;
|
|
17718
19542
|
latestReplies?: {
|
|
17719
19543
|
id: string;
|
|
17720
|
-
type: "event" | "note" | "question" | "article";
|
|
19544
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
17721
19545
|
profile: {
|
|
17722
19546
|
id: string;
|
|
17723
19547
|
type: "local" | "guest" | "federated";
|
|
@@ -17968,6 +19792,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
17968
19792
|
language?: string | undefined;
|
|
17969
19793
|
image?: string | undefined;
|
|
17970
19794
|
title?: string | undefined;
|
|
19795
|
+
} | {
|
|
19796
|
+
type: "resource";
|
|
19797
|
+
title: string;
|
|
19798
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
19799
|
+
content?: string | undefined;
|
|
19800
|
+
sensitive?: boolean | undefined;
|
|
19801
|
+
spoilerText?: string | undefined;
|
|
19802
|
+
attachments?: {
|
|
19803
|
+
type: string;
|
|
19804
|
+
url: string;
|
|
19805
|
+
previewUrl: string | null;
|
|
19806
|
+
textUrl: null;
|
|
19807
|
+
filename: string;
|
|
19808
|
+
meta: {
|
|
19809
|
+
usage?: string | undefined;
|
|
19810
|
+
focus?: {
|
|
19811
|
+
x: number;
|
|
19812
|
+
y: number;
|
|
19813
|
+
} | undefined;
|
|
19814
|
+
mimetype?: string | undefined;
|
|
19815
|
+
size?: number | undefined;
|
|
19816
|
+
};
|
|
19817
|
+
description?: string | undefined;
|
|
19818
|
+
blurhash?: string | undefined;
|
|
19819
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
19820
|
+
error?: string | undefined;
|
|
19821
|
+
}[] | undefined;
|
|
19822
|
+
customEmojis?: {
|
|
19823
|
+
shortcode: string;
|
|
19824
|
+
url: string;
|
|
19825
|
+
staticUrl: string;
|
|
19826
|
+
visibleInPicker: boolean;
|
|
19827
|
+
category: string;
|
|
19828
|
+
}[] | undefined;
|
|
19829
|
+
language?: string | undefined;
|
|
19830
|
+
tags?: string[] | undefined;
|
|
19831
|
+
categoryPath?: string[] | undefined;
|
|
19832
|
+
url?: string | undefined;
|
|
17971
19833
|
};
|
|
17972
19834
|
entries: ({
|
|
17973
19835
|
type: "create";
|
|
@@ -18163,6 +20025,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
18163
20025
|
language?: string | undefined;
|
|
18164
20026
|
image?: string | undefined;
|
|
18165
20027
|
title?: string | undefined;
|
|
20028
|
+
} | {
|
|
20029
|
+
type: "resource";
|
|
20030
|
+
title: string;
|
|
20031
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
20032
|
+
content?: string | undefined;
|
|
20033
|
+
sensitive?: boolean | undefined;
|
|
20034
|
+
spoilerText?: string | undefined;
|
|
20035
|
+
attachments?: {
|
|
20036
|
+
type: string;
|
|
20037
|
+
url: string;
|
|
20038
|
+
previewUrl: string | null;
|
|
20039
|
+
textUrl: null;
|
|
20040
|
+
filename: string;
|
|
20041
|
+
meta: {
|
|
20042
|
+
usage?: string | undefined;
|
|
20043
|
+
focus?: {
|
|
20044
|
+
x: number;
|
|
20045
|
+
y: number;
|
|
20046
|
+
} | undefined;
|
|
20047
|
+
mimetype?: string | undefined;
|
|
20048
|
+
size?: number | undefined;
|
|
20049
|
+
};
|
|
20050
|
+
description?: string | undefined;
|
|
20051
|
+
blurhash?: string | undefined;
|
|
20052
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
20053
|
+
error?: string | undefined;
|
|
20054
|
+
}[] | undefined;
|
|
20055
|
+
customEmojis?: {
|
|
20056
|
+
shortcode: string;
|
|
20057
|
+
url: string;
|
|
20058
|
+
staticUrl: string;
|
|
20059
|
+
visibleInPicker: boolean;
|
|
20060
|
+
category: string;
|
|
20061
|
+
}[] | undefined;
|
|
20062
|
+
language?: string | undefined;
|
|
20063
|
+
tags?: string[] | undefined;
|
|
20064
|
+
categoryPath?: string[] | undefined;
|
|
20065
|
+
url?: string | undefined;
|
|
18166
20066
|
};
|
|
18167
20067
|
profile: {
|
|
18168
20068
|
id: string;
|
|
@@ -18417,6 +20317,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
18417
20317
|
language?: string | undefined;
|
|
18418
20318
|
image?: string | undefined;
|
|
18419
20319
|
title?: string | undefined;
|
|
20320
|
+
} | {
|
|
20321
|
+
type: "resource";
|
|
20322
|
+
title: string;
|
|
20323
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
20324
|
+
content?: string | undefined;
|
|
20325
|
+
sensitive?: boolean | undefined;
|
|
20326
|
+
spoilerText?: string | undefined;
|
|
20327
|
+
attachments?: {
|
|
20328
|
+
type: string;
|
|
20329
|
+
url: string;
|
|
20330
|
+
previewUrl: string | null;
|
|
20331
|
+
textUrl: null;
|
|
20332
|
+
filename: string;
|
|
20333
|
+
meta: {
|
|
20334
|
+
usage?: string | undefined;
|
|
20335
|
+
focus?: {
|
|
20336
|
+
x: number;
|
|
20337
|
+
y: number;
|
|
20338
|
+
} | undefined;
|
|
20339
|
+
mimetype?: string | undefined;
|
|
20340
|
+
size?: number | undefined;
|
|
20341
|
+
};
|
|
20342
|
+
description?: string | undefined;
|
|
20343
|
+
blurhash?: string | undefined;
|
|
20344
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
20345
|
+
error?: string | undefined;
|
|
20346
|
+
}[] | undefined;
|
|
20347
|
+
customEmojis?: {
|
|
20348
|
+
shortcode: string;
|
|
20349
|
+
url: string;
|
|
20350
|
+
staticUrl: string;
|
|
20351
|
+
visibleInPicker: boolean;
|
|
20352
|
+
category: string;
|
|
20353
|
+
}[] | undefined;
|
|
20354
|
+
language?: string | undefined;
|
|
20355
|
+
tags?: string[] | undefined;
|
|
20356
|
+
categoryPath?: string[] | undefined;
|
|
20357
|
+
url?: string | undefined;
|
|
18420
20358
|
};
|
|
18421
20359
|
profile: {
|
|
18422
20360
|
id: string;
|
|
@@ -18755,7 +20693,7 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
18755
20693
|
hidden?: boolean | undefined;
|
|
18756
20694
|
replyTo?: {
|
|
18757
20695
|
id: string;
|
|
18758
|
-
type: "event" | "note" | "question" | "article";
|
|
20696
|
+
type: "event" | "resource" | "note" | "question" | "article";
|
|
18759
20697
|
profile: {
|
|
18760
20698
|
id: string;
|
|
18761
20699
|
type: "local" | "guest" | "federated";
|
|
@@ -19006,6 +20944,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
19006
20944
|
language?: string | undefined;
|
|
19007
20945
|
image?: string | undefined;
|
|
19008
20946
|
title?: string | undefined;
|
|
20947
|
+
} | {
|
|
20948
|
+
type: "resource";
|
|
20949
|
+
title: string;
|
|
20950
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
20951
|
+
content?: string | undefined;
|
|
20952
|
+
sensitive?: boolean | undefined;
|
|
20953
|
+
spoilerText?: string | undefined;
|
|
20954
|
+
attachments?: {
|
|
20955
|
+
type: string;
|
|
20956
|
+
url: string;
|
|
20957
|
+
previewUrl: string | null;
|
|
20958
|
+
textUrl: null;
|
|
20959
|
+
filename: string;
|
|
20960
|
+
meta: {
|
|
20961
|
+
usage?: string | undefined;
|
|
20962
|
+
focus?: {
|
|
20963
|
+
x: number;
|
|
20964
|
+
y: number;
|
|
20965
|
+
} | undefined;
|
|
20966
|
+
mimetype?: string | undefined;
|
|
20967
|
+
size?: number | undefined;
|
|
20968
|
+
};
|
|
20969
|
+
description?: string | undefined;
|
|
20970
|
+
blurhash?: string | undefined;
|
|
20971
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
20972
|
+
error?: string | undefined;
|
|
20973
|
+
}[] | undefined;
|
|
20974
|
+
customEmojis?: {
|
|
20975
|
+
shortcode: string;
|
|
20976
|
+
url: string;
|
|
20977
|
+
staticUrl: string;
|
|
20978
|
+
visibleInPicker: boolean;
|
|
20979
|
+
category: string;
|
|
20980
|
+
}[] | undefined;
|
|
20981
|
+
language?: string | undefined;
|
|
20982
|
+
tags?: string[] | undefined;
|
|
20983
|
+
categoryPath?: string[] | undefined;
|
|
20984
|
+
url?: string | undefined;
|
|
19009
20985
|
};
|
|
19010
20986
|
entries: ({
|
|
19011
20987
|
type: "create";
|
|
@@ -19201,6 +21177,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
19201
21177
|
language?: string | undefined;
|
|
19202
21178
|
image?: string | undefined;
|
|
19203
21179
|
title?: string | undefined;
|
|
21180
|
+
} | {
|
|
21181
|
+
type: "resource";
|
|
21182
|
+
title: string;
|
|
21183
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
21184
|
+
content?: string | undefined;
|
|
21185
|
+
sensitive?: boolean | undefined;
|
|
21186
|
+
spoilerText?: string | undefined;
|
|
21187
|
+
attachments?: {
|
|
21188
|
+
type: string;
|
|
21189
|
+
url: string;
|
|
21190
|
+
previewUrl: string | null;
|
|
21191
|
+
textUrl: null;
|
|
21192
|
+
filename: string;
|
|
21193
|
+
meta: {
|
|
21194
|
+
usage?: string | undefined;
|
|
21195
|
+
focus?: {
|
|
21196
|
+
x: number;
|
|
21197
|
+
y: number;
|
|
21198
|
+
} | undefined;
|
|
21199
|
+
mimetype?: string | undefined;
|
|
21200
|
+
size?: number | undefined;
|
|
21201
|
+
};
|
|
21202
|
+
description?: string | undefined;
|
|
21203
|
+
blurhash?: string | undefined;
|
|
21204
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
21205
|
+
error?: string | undefined;
|
|
21206
|
+
}[] | undefined;
|
|
21207
|
+
customEmojis?: {
|
|
21208
|
+
shortcode: string;
|
|
21209
|
+
url: string;
|
|
21210
|
+
staticUrl: string;
|
|
21211
|
+
visibleInPicker: boolean;
|
|
21212
|
+
category: string;
|
|
21213
|
+
}[] | undefined;
|
|
21214
|
+
language?: string | undefined;
|
|
21215
|
+
tags?: string[] | undefined;
|
|
21216
|
+
categoryPath?: string[] | undefined;
|
|
21217
|
+
url?: string | undefined;
|
|
19204
21218
|
};
|
|
19205
21219
|
profile: {
|
|
19206
21220
|
id: string;
|
|
@@ -19455,6 +21469,44 @@ export declare const useFeedPostPresentation: (post: PublicPost, options?: FeedP
|
|
|
19455
21469
|
language?: string | undefined;
|
|
19456
21470
|
image?: string | undefined;
|
|
19457
21471
|
title?: string | undefined;
|
|
21472
|
+
} | {
|
|
21473
|
+
type: "resource";
|
|
21474
|
+
title: string;
|
|
21475
|
+
resourceKind: "link" | "file" | "video" | "gallery" | "audio";
|
|
21476
|
+
content?: string | undefined;
|
|
21477
|
+
sensitive?: boolean | undefined;
|
|
21478
|
+
spoilerText?: string | undefined;
|
|
21479
|
+
attachments?: {
|
|
21480
|
+
type: string;
|
|
21481
|
+
url: string;
|
|
21482
|
+
previewUrl: string | null;
|
|
21483
|
+
textUrl: null;
|
|
21484
|
+
filename: string;
|
|
21485
|
+
meta: {
|
|
21486
|
+
usage?: string | undefined;
|
|
21487
|
+
focus?: {
|
|
21488
|
+
x: number;
|
|
21489
|
+
y: number;
|
|
21490
|
+
} | undefined;
|
|
21491
|
+
mimetype?: string | undefined;
|
|
21492
|
+
size?: number | undefined;
|
|
21493
|
+
};
|
|
21494
|
+
description?: string | undefined;
|
|
21495
|
+
blurhash?: string | undefined;
|
|
21496
|
+
status?: "processing" | "ready" | "failed" | undefined;
|
|
21497
|
+
error?: string | undefined;
|
|
21498
|
+
}[] | undefined;
|
|
21499
|
+
customEmojis?: {
|
|
21500
|
+
shortcode: string;
|
|
21501
|
+
url: string;
|
|
21502
|
+
staticUrl: string;
|
|
21503
|
+
visibleInPicker: boolean;
|
|
21504
|
+
category: string;
|
|
21505
|
+
}[] | undefined;
|
|
21506
|
+
language?: string | undefined;
|
|
21507
|
+
tags?: string[] | undefined;
|
|
21508
|
+
categoryPath?: string[] | undefined;
|
|
21509
|
+
url?: string | undefined;
|
|
19458
21510
|
};
|
|
19459
21511
|
profile: {
|
|
19460
21512
|
id: string;
|