@openpeepshq/client 0.1.38 → 0.2.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.
Files changed (38) hide show
  1. package/dist/common/authenticated.js +2 -2
  2. package/dist/endpoints/admin.js +2 -2
  3. package/dist/endpoints/conversations.d.ts +13 -39942
  4. package/dist/endpoints/jams.d.ts +1064 -38
  5. package/dist/endpoints/jams.js +1 -1
  6. package/dist/endpoints/posts.js +10 -2
  7. package/dist/endpoints/profiles.d.ts +3153 -75
  8. package/dist/endpoints/search.d.ts +3155 -77
  9. package/dist/endpoints/server.d.ts +1 -0
  10. package/dist/index.js +8 -11
  11. package/package.json +30 -9
  12. package/src/common/authenticated.ts +28 -0
  13. package/src/common/base.ts +11 -0
  14. package/src/endpoints/accounts.ts +52 -0
  15. package/src/endpoints/admin.ts +616 -0
  16. package/src/endpoints/analytics.ts +13 -0
  17. package/src/endpoints/auth.ts +43 -0
  18. package/src/endpoints/conversations.ts +44 -0
  19. package/src/endpoints/groups.ts +69 -0
  20. package/src/endpoints/helpers.ts +91 -0
  21. package/src/endpoints/i18n.ts +14 -0
  22. package/src/endpoints/jams.ts +126 -0
  23. package/src/endpoints/location.ts +10 -0
  24. package/src/endpoints/media.ts +56 -0
  25. package/src/endpoints/payments.ts +34 -0
  26. package/src/endpoints/plugins.ts +25 -0
  27. package/src/endpoints/posts.ts +377 -0
  28. package/src/endpoints/previewLink.ts +10 -0
  29. package/src/endpoints/profiles.ts +167 -0
  30. package/src/endpoints/reports.ts +32 -0
  31. package/src/endpoints/search.ts +34 -0
  32. package/src/endpoints/server.ts +38 -0
  33. package/src/endpoints/sso.ts +35 -0
  34. package/src/endpoints/streaming.ts +29 -0
  35. package/src/endpoints/types.ts +66 -0
  36. package/src/index.ts +88 -0
  37. package/src/types/index.ts +20 -0
  38. package/src/webhooks/index.ts +50 -0
@@ -146,7 +146,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
146
146
  } | null | undefined;
147
147
  post?: {
148
148
  id: string;
149
- type: "note" | "question" | "event" | "article";
149
+ type: "resource" | "note" | "question" | "event" | "article";
150
150
  profile: {
151
151
  id: string;
152
152
  type: "guest" | "local" | "federated";
@@ -397,6 +397,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
397
397
  language?: string | undefined;
398
398
  image?: string | undefined;
399
399
  title?: string | undefined;
400
+ } | {
401
+ type: "resource";
402
+ title: string;
403
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
404
+ content?: string | undefined;
405
+ sensitive?: boolean | undefined;
406
+ spoilerText?: string | undefined;
407
+ attachments?: {
408
+ type: string;
409
+ url: string;
410
+ previewUrl: string | null;
411
+ textUrl: null;
412
+ filename: string;
413
+ meta: {
414
+ usage?: string | undefined;
415
+ focus?: {
416
+ x: number;
417
+ y: number;
418
+ } | undefined;
419
+ mimetype?: string | undefined;
420
+ size?: number | undefined;
421
+ };
422
+ description?: string | undefined;
423
+ blurhash?: string | undefined;
424
+ status?: "failed" | "processing" | "ready" | undefined;
425
+ error?: string | undefined;
426
+ }[] | undefined;
427
+ customEmojis?: {
428
+ shortcode: string;
429
+ url: string;
430
+ staticUrl: string;
431
+ visibleInPicker: boolean;
432
+ category: string;
433
+ }[] | undefined;
434
+ language?: string | undefined;
435
+ tags?: string[] | undefined;
436
+ categoryPath?: string[] | undefined;
437
+ url?: string | undefined;
400
438
  };
401
439
  entries: ({
402
440
  type: "create";
@@ -592,6 +630,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
592
630
  language?: string | undefined;
593
631
  image?: string | undefined;
594
632
  title?: string | undefined;
633
+ } | {
634
+ type: "resource";
635
+ title: string;
636
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
637
+ content?: string | undefined;
638
+ sensitive?: boolean | undefined;
639
+ spoilerText?: string | undefined;
640
+ attachments?: {
641
+ type: string;
642
+ url: string;
643
+ previewUrl: string | null;
644
+ textUrl: null;
645
+ filename: string;
646
+ meta: {
647
+ usage?: string | undefined;
648
+ focus?: {
649
+ x: number;
650
+ y: number;
651
+ } | undefined;
652
+ mimetype?: string | undefined;
653
+ size?: number | undefined;
654
+ };
655
+ description?: string | undefined;
656
+ blurhash?: string | undefined;
657
+ status?: "failed" | "processing" | "ready" | undefined;
658
+ error?: string | undefined;
659
+ }[] | undefined;
660
+ customEmojis?: {
661
+ shortcode: string;
662
+ url: string;
663
+ staticUrl: string;
664
+ visibleInPicker: boolean;
665
+ category: string;
666
+ }[] | undefined;
667
+ language?: string | undefined;
668
+ tags?: string[] | undefined;
669
+ categoryPath?: string[] | undefined;
670
+ url?: string | undefined;
595
671
  };
596
672
  profile: {
597
673
  id: string;
@@ -846,6 +922,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
846
922
  language?: string | undefined;
847
923
  image?: string | undefined;
848
924
  title?: string | undefined;
925
+ } | {
926
+ type: "resource";
927
+ title: string;
928
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
929
+ content?: string | undefined;
930
+ sensitive?: boolean | undefined;
931
+ spoilerText?: string | undefined;
932
+ attachments?: {
933
+ type: string;
934
+ url: string;
935
+ previewUrl: string | null;
936
+ textUrl: null;
937
+ filename: string;
938
+ meta: {
939
+ usage?: string | undefined;
940
+ focus?: {
941
+ x: number;
942
+ y: number;
943
+ } | undefined;
944
+ mimetype?: string | undefined;
945
+ size?: number | undefined;
946
+ };
947
+ description?: string | undefined;
948
+ blurhash?: string | undefined;
949
+ status?: "failed" | "processing" | "ready" | undefined;
950
+ error?: string | undefined;
951
+ }[] | undefined;
952
+ customEmojis?: {
953
+ shortcode: string;
954
+ url: string;
955
+ staticUrl: string;
956
+ visibleInPicker: boolean;
957
+ category: string;
958
+ }[] | undefined;
959
+ language?: string | undefined;
960
+ tags?: string[] | undefined;
961
+ categoryPath?: string[] | undefined;
962
+ url?: string | undefined;
849
963
  };
850
964
  profile: {
851
965
  id: string;
@@ -1438,7 +1552,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
1438
1552
  hidden?: boolean | undefined;
1439
1553
  latestReplies?: {
1440
1554
  id: string;
1441
- type: "note" | "question" | "event" | "article";
1555
+ type: "resource" | "note" | "question" | "event" | "article";
1442
1556
  profile: {
1443
1557
  id: string;
1444
1558
  type: "guest" | "local" | "federated";
@@ -1689,6 +1803,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
1689
1803
  language?: string | undefined;
1690
1804
  image?: string | undefined;
1691
1805
  title?: string | undefined;
1806
+ } | {
1807
+ type: "resource";
1808
+ title: string;
1809
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
1810
+ content?: string | undefined;
1811
+ sensitive?: boolean | undefined;
1812
+ spoilerText?: string | undefined;
1813
+ attachments?: {
1814
+ type: string;
1815
+ url: string;
1816
+ previewUrl: string | null;
1817
+ textUrl: null;
1818
+ filename: string;
1819
+ meta: {
1820
+ usage?: string | undefined;
1821
+ focus?: {
1822
+ x: number;
1823
+ y: number;
1824
+ } | undefined;
1825
+ mimetype?: string | undefined;
1826
+ size?: number | undefined;
1827
+ };
1828
+ description?: string | undefined;
1829
+ blurhash?: string | undefined;
1830
+ status?: "failed" | "processing" | "ready" | undefined;
1831
+ error?: string | undefined;
1832
+ }[] | undefined;
1833
+ customEmojis?: {
1834
+ shortcode: string;
1835
+ url: string;
1836
+ staticUrl: string;
1837
+ visibleInPicker: boolean;
1838
+ category: string;
1839
+ }[] | undefined;
1840
+ language?: string | undefined;
1841
+ tags?: string[] | undefined;
1842
+ categoryPath?: string[] | undefined;
1843
+ url?: string | undefined;
1692
1844
  };
1693
1845
  entries: ({
1694
1846
  type: "create";
@@ -1884,6 +2036,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
1884
2036
  language?: string | undefined;
1885
2037
  image?: string | undefined;
1886
2038
  title?: string | undefined;
2039
+ } | {
2040
+ type: "resource";
2041
+ title: string;
2042
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
2043
+ content?: string | undefined;
2044
+ sensitive?: boolean | undefined;
2045
+ spoilerText?: string | undefined;
2046
+ attachments?: {
2047
+ type: string;
2048
+ url: string;
2049
+ previewUrl: string | null;
2050
+ textUrl: null;
2051
+ filename: string;
2052
+ meta: {
2053
+ usage?: string | undefined;
2054
+ focus?: {
2055
+ x: number;
2056
+ y: number;
2057
+ } | undefined;
2058
+ mimetype?: string | undefined;
2059
+ size?: number | undefined;
2060
+ };
2061
+ description?: string | undefined;
2062
+ blurhash?: string | undefined;
2063
+ status?: "failed" | "processing" | "ready" | undefined;
2064
+ error?: string | undefined;
2065
+ }[] | undefined;
2066
+ customEmojis?: {
2067
+ shortcode: string;
2068
+ url: string;
2069
+ staticUrl: string;
2070
+ visibleInPicker: boolean;
2071
+ category: string;
2072
+ }[] | undefined;
2073
+ language?: string | undefined;
2074
+ tags?: string[] | undefined;
2075
+ categoryPath?: string[] | undefined;
2076
+ url?: string | undefined;
1887
2077
  };
1888
2078
  profile: {
1889
2079
  id: string;
@@ -2138,6 +2328,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
2138
2328
  language?: string | undefined;
2139
2329
  image?: string | undefined;
2140
2330
  title?: string | undefined;
2331
+ } | {
2332
+ type: "resource";
2333
+ title: string;
2334
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
2335
+ content?: string | undefined;
2336
+ sensitive?: boolean | undefined;
2337
+ spoilerText?: string | undefined;
2338
+ attachments?: {
2339
+ type: string;
2340
+ url: string;
2341
+ previewUrl: string | null;
2342
+ textUrl: null;
2343
+ filename: string;
2344
+ meta: {
2345
+ usage?: string | undefined;
2346
+ focus?: {
2347
+ x: number;
2348
+ y: number;
2349
+ } | undefined;
2350
+ mimetype?: string | undefined;
2351
+ size?: number | undefined;
2352
+ };
2353
+ description?: string | undefined;
2354
+ blurhash?: string | undefined;
2355
+ status?: "failed" | "processing" | "ready" | undefined;
2356
+ error?: string | undefined;
2357
+ }[] | undefined;
2358
+ customEmojis?: {
2359
+ shortcode: string;
2360
+ url: string;
2361
+ staticUrl: string;
2362
+ visibleInPicker: boolean;
2363
+ category: string;
2364
+ }[] | undefined;
2365
+ language?: string | undefined;
2366
+ tags?: string[] | undefined;
2367
+ categoryPath?: string[] | undefined;
2368
+ url?: string | undefined;
2141
2369
  };
2142
2370
  profile: {
2143
2371
  id: string;
@@ -2476,7 +2704,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
2476
2704
  hidden?: boolean | undefined;
2477
2705
  replyTo?: {
2478
2706
  id: string;
2479
- type: "note" | "question" | "event" | "article";
2707
+ type: "resource" | "note" | "question" | "event" | "article";
2480
2708
  profile: {
2481
2709
  id: string;
2482
2710
  type: "guest" | "local" | "federated";
@@ -2727,6 +2955,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
2727
2955
  language?: string | undefined;
2728
2956
  image?: string | undefined;
2729
2957
  title?: string | undefined;
2958
+ } | {
2959
+ type: "resource";
2960
+ title: string;
2961
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
2962
+ content?: string | undefined;
2963
+ sensitive?: boolean | undefined;
2964
+ spoilerText?: string | undefined;
2965
+ attachments?: {
2966
+ type: string;
2967
+ url: string;
2968
+ previewUrl: string | null;
2969
+ textUrl: null;
2970
+ filename: string;
2971
+ meta: {
2972
+ usage?: string | undefined;
2973
+ focus?: {
2974
+ x: number;
2975
+ y: number;
2976
+ } | undefined;
2977
+ mimetype?: string | undefined;
2978
+ size?: number | undefined;
2979
+ };
2980
+ description?: string | undefined;
2981
+ blurhash?: string | undefined;
2982
+ status?: "failed" | "processing" | "ready" | undefined;
2983
+ error?: string | undefined;
2984
+ }[] | undefined;
2985
+ customEmojis?: {
2986
+ shortcode: string;
2987
+ url: string;
2988
+ staticUrl: string;
2989
+ visibleInPicker: boolean;
2990
+ category: string;
2991
+ }[] | undefined;
2992
+ language?: string | undefined;
2993
+ tags?: string[] | undefined;
2994
+ categoryPath?: string[] | undefined;
2995
+ url?: string | undefined;
2730
2996
  };
2731
2997
  entries: ({
2732
2998
  type: "create";
@@ -2922,28 +3188,66 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
2922
3188
  language?: string | undefined;
2923
3189
  image?: string | undefined;
2924
3190
  title?: string | undefined;
2925
- };
2926
- profile: {
2927
- id: string;
2928
- type: "guest" | "local" | "federated";
2929
- createdAt: string;
2930
- updatedAt: string;
2931
- handle: string;
2932
- memberships: {
2933
- group: {
2934
- handle: string;
2935
- capabilities: Record<string, {
2936
- add?: string[] | undefined;
2937
- remove?: string[] | undefined;
2938
- } | undefined>;
2939
- id: string;
2940
- createdAt: string;
2941
- updatedAt: string;
2942
- avatar?: string | null | undefined;
2943
- header?: string | null | undefined;
2944
- displayName?: string | undefined;
2945
- description?: string | undefined;
2946
- rules?: string | undefined;
3191
+ } | {
3192
+ type: "resource";
3193
+ title: string;
3194
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
3195
+ content?: string | undefined;
3196
+ sensitive?: boolean | undefined;
3197
+ spoilerText?: string | undefined;
3198
+ attachments?: {
3199
+ type: string;
3200
+ url: string;
3201
+ previewUrl: string | null;
3202
+ textUrl: null;
3203
+ filename: string;
3204
+ meta: {
3205
+ usage?: string | undefined;
3206
+ focus?: {
3207
+ x: number;
3208
+ y: number;
3209
+ } | undefined;
3210
+ mimetype?: string | undefined;
3211
+ size?: number | undefined;
3212
+ };
3213
+ description?: string | undefined;
3214
+ blurhash?: string | undefined;
3215
+ status?: "failed" | "processing" | "ready" | undefined;
3216
+ error?: string | undefined;
3217
+ }[] | undefined;
3218
+ customEmojis?: {
3219
+ shortcode: string;
3220
+ url: string;
3221
+ staticUrl: string;
3222
+ visibleInPicker: boolean;
3223
+ category: string;
3224
+ }[] | undefined;
3225
+ language?: string | undefined;
3226
+ tags?: string[] | undefined;
3227
+ categoryPath?: string[] | undefined;
3228
+ url?: string | undefined;
3229
+ };
3230
+ profile: {
3231
+ id: string;
3232
+ type: "guest" | "local" | "federated";
3233
+ createdAt: string;
3234
+ updatedAt: string;
3235
+ handle: string;
3236
+ memberships: {
3237
+ group: {
3238
+ handle: string;
3239
+ capabilities: Record<string, {
3240
+ add?: string[] | undefined;
3241
+ remove?: string[] | undefined;
3242
+ } | undefined>;
3243
+ id: string;
3244
+ createdAt: string;
3245
+ updatedAt: string;
3246
+ avatar?: string | null | undefined;
3247
+ header?: string | null | undefined;
3248
+ displayName?: string | undefined;
3249
+ description?: string | undefined;
3250
+ rules?: string | undefined;
2947
3251
  pinnedPostId?: string | undefined;
2948
3252
  discoverable?: boolean | undefined;
2949
3253
  deletedAt?: string | null | undefined;
@@ -3176,6 +3480,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
3176
3480
  language?: string | undefined;
3177
3481
  image?: string | undefined;
3178
3482
  title?: string | undefined;
3483
+ } | {
3484
+ type: "resource";
3485
+ title: string;
3486
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
3487
+ content?: string | undefined;
3488
+ sensitive?: boolean | undefined;
3489
+ spoilerText?: string | undefined;
3490
+ attachments?: {
3491
+ type: string;
3492
+ url: string;
3493
+ previewUrl: string | null;
3494
+ textUrl: null;
3495
+ filename: string;
3496
+ meta: {
3497
+ usage?: string | undefined;
3498
+ focus?: {
3499
+ x: number;
3500
+ y: number;
3501
+ } | undefined;
3502
+ mimetype?: string | undefined;
3503
+ size?: number | undefined;
3504
+ };
3505
+ description?: string | undefined;
3506
+ blurhash?: string | undefined;
3507
+ status?: "failed" | "processing" | "ready" | undefined;
3508
+ error?: string | undefined;
3509
+ }[] | undefined;
3510
+ customEmojis?: {
3511
+ shortcode: string;
3512
+ url: string;
3513
+ staticUrl: string;
3514
+ visibleInPicker: boolean;
3515
+ category: string;
3516
+ }[] | undefined;
3517
+ language?: string | undefined;
3518
+ tags?: string[] | undefined;
3519
+ categoryPath?: string[] | undefined;
3520
+ url?: string | undefined;
3179
3521
  };
3180
3522
  profile: {
3181
3523
  id: string;
@@ -3536,7 +3878,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
3536
3878
  inReplyToId?: string | null | undefined;
3537
3879
  replyTo?: {
3538
3880
  id: string;
3539
- type: "note" | "question" | "event" | "article";
3881
+ type: "resource" | "note" | "question" | "event" | "article";
3540
3882
  profile: {
3541
3883
  id: string;
3542
3884
  type: "guest" | "local" | "federated";
@@ -3787,6 +4129,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
3787
4129
  language?: string | undefined;
3788
4130
  image?: string | undefined;
3789
4131
  title?: string | undefined;
4132
+ } | {
4133
+ type: "resource";
4134
+ title: string;
4135
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
4136
+ content?: string | undefined;
4137
+ sensitive?: boolean | undefined;
4138
+ spoilerText?: string | undefined;
4139
+ attachments?: {
4140
+ type: string;
4141
+ url: string;
4142
+ previewUrl: string | null;
4143
+ textUrl: null;
4144
+ filename: string;
4145
+ meta: {
4146
+ usage?: string | undefined;
4147
+ focus?: {
4148
+ x: number;
4149
+ y: number;
4150
+ } | undefined;
4151
+ mimetype?: string | undefined;
4152
+ size?: number | undefined;
4153
+ };
4154
+ description?: string | undefined;
4155
+ blurhash?: string | undefined;
4156
+ status?: "failed" | "processing" | "ready" | undefined;
4157
+ error?: string | undefined;
4158
+ }[] | undefined;
4159
+ customEmojis?: {
4160
+ shortcode: string;
4161
+ url: string;
4162
+ staticUrl: string;
4163
+ visibleInPicker: boolean;
4164
+ category: string;
4165
+ }[] | undefined;
4166
+ language?: string | undefined;
4167
+ tags?: string[] | undefined;
4168
+ categoryPath?: string[] | undefined;
4169
+ url?: string | undefined;
3790
4170
  };
3791
4171
  entries: ({
3792
4172
  type: "create";
@@ -3982,6 +4362,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
3982
4362
  language?: string | undefined;
3983
4363
  image?: string | undefined;
3984
4364
  title?: string | undefined;
4365
+ } | {
4366
+ type: "resource";
4367
+ title: string;
4368
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
4369
+ content?: string | undefined;
4370
+ sensitive?: boolean | undefined;
4371
+ spoilerText?: string | undefined;
4372
+ attachments?: {
4373
+ type: string;
4374
+ url: string;
4375
+ previewUrl: string | null;
4376
+ textUrl: null;
4377
+ filename: string;
4378
+ meta: {
4379
+ usage?: string | undefined;
4380
+ focus?: {
4381
+ x: number;
4382
+ y: number;
4383
+ } | undefined;
4384
+ mimetype?: string | undefined;
4385
+ size?: number | undefined;
4386
+ };
4387
+ description?: string | undefined;
4388
+ blurhash?: string | undefined;
4389
+ status?: "failed" | "processing" | "ready" | undefined;
4390
+ error?: string | undefined;
4391
+ }[] | undefined;
4392
+ customEmojis?: {
4393
+ shortcode: string;
4394
+ url: string;
4395
+ staticUrl: string;
4396
+ visibleInPicker: boolean;
4397
+ category: string;
4398
+ }[] | undefined;
4399
+ language?: string | undefined;
4400
+ tags?: string[] | undefined;
4401
+ categoryPath?: string[] | undefined;
4402
+ url?: string | undefined;
3985
4403
  };
3986
4404
  profile: {
3987
4405
  id: string;
@@ -4236,6 +4654,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
4236
4654
  language?: string | undefined;
4237
4655
  image?: string | undefined;
4238
4656
  title?: string | undefined;
4657
+ } | {
4658
+ type: "resource";
4659
+ title: string;
4660
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
4661
+ content?: string | undefined;
4662
+ sensitive?: boolean | undefined;
4663
+ spoilerText?: string | undefined;
4664
+ attachments?: {
4665
+ type: string;
4666
+ url: string;
4667
+ previewUrl: string | null;
4668
+ textUrl: null;
4669
+ filename: string;
4670
+ meta: {
4671
+ usage?: string | undefined;
4672
+ focus?: {
4673
+ x: number;
4674
+ y: number;
4675
+ } | undefined;
4676
+ mimetype?: string | undefined;
4677
+ size?: number | undefined;
4678
+ };
4679
+ description?: string | undefined;
4680
+ blurhash?: string | undefined;
4681
+ status?: "failed" | "processing" | "ready" | undefined;
4682
+ error?: string | undefined;
4683
+ }[] | undefined;
4684
+ customEmojis?: {
4685
+ shortcode: string;
4686
+ url: string;
4687
+ staticUrl: string;
4688
+ visibleInPicker: boolean;
4689
+ category: string;
4690
+ }[] | undefined;
4691
+ language?: string | undefined;
4692
+ tags?: string[] | undefined;
4693
+ categoryPath?: string[] | undefined;
4694
+ url?: string | undefined;
4239
4695
  };
4240
4696
  profile: {
4241
4697
  id: string;
@@ -4574,7 +5030,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
4574
5030
  hidden?: boolean | undefined;
4575
5031
  replyTo?: {
4576
5032
  id: string;
4577
- type: "note" | "question" | "event" | "article";
5033
+ type: "resource" | "note" | "question" | "event" | "article";
4578
5034
  profile: {
4579
5035
  id: string;
4580
5036
  type: "guest" | "local" | "federated";
@@ -4825,6 +5281,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
4825
5281
  language?: string | undefined;
4826
5282
  image?: string | undefined;
4827
5283
  title?: string | undefined;
5284
+ } | {
5285
+ type: "resource";
5286
+ title: string;
5287
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
5288
+ content?: string | undefined;
5289
+ sensitive?: boolean | undefined;
5290
+ spoilerText?: string | undefined;
5291
+ attachments?: {
5292
+ type: string;
5293
+ url: string;
5294
+ previewUrl: string | null;
5295
+ textUrl: null;
5296
+ filename: string;
5297
+ meta: {
5298
+ usage?: string | undefined;
5299
+ focus?: {
5300
+ x: number;
5301
+ y: number;
5302
+ } | undefined;
5303
+ mimetype?: string | undefined;
5304
+ size?: number | undefined;
5305
+ };
5306
+ description?: string | undefined;
5307
+ blurhash?: string | undefined;
5308
+ status?: "failed" | "processing" | "ready" | undefined;
5309
+ error?: string | undefined;
5310
+ }[] | undefined;
5311
+ customEmojis?: {
5312
+ shortcode: string;
5313
+ url: string;
5314
+ staticUrl: string;
5315
+ visibleInPicker: boolean;
5316
+ category: string;
5317
+ }[] | undefined;
5318
+ language?: string | undefined;
5319
+ tags?: string[] | undefined;
5320
+ categoryPath?: string[] | undefined;
5321
+ url?: string | undefined;
4828
5322
  };
4829
5323
  entries: ({
4830
5324
  type: "create";
@@ -5020,6 +5514,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
5020
5514
  language?: string | undefined;
5021
5515
  image?: string | undefined;
5022
5516
  title?: string | undefined;
5517
+ } | {
5518
+ type: "resource";
5519
+ title: string;
5520
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
5521
+ content?: string | undefined;
5522
+ sensitive?: boolean | undefined;
5523
+ spoilerText?: string | undefined;
5524
+ attachments?: {
5525
+ type: string;
5526
+ url: string;
5527
+ previewUrl: string | null;
5528
+ textUrl: null;
5529
+ filename: string;
5530
+ meta: {
5531
+ usage?: string | undefined;
5532
+ focus?: {
5533
+ x: number;
5534
+ y: number;
5535
+ } | undefined;
5536
+ mimetype?: string | undefined;
5537
+ size?: number | undefined;
5538
+ };
5539
+ description?: string | undefined;
5540
+ blurhash?: string | undefined;
5541
+ status?: "failed" | "processing" | "ready" | undefined;
5542
+ error?: string | undefined;
5543
+ }[] | undefined;
5544
+ customEmojis?: {
5545
+ shortcode: string;
5546
+ url: string;
5547
+ staticUrl: string;
5548
+ visibleInPicker: boolean;
5549
+ category: string;
5550
+ }[] | undefined;
5551
+ language?: string | undefined;
5552
+ tags?: string[] | undefined;
5553
+ categoryPath?: string[] | undefined;
5554
+ url?: string | undefined;
5023
5555
  };
5024
5556
  profile: {
5025
5557
  id: string;
@@ -5274,6 +5806,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
5274
5806
  language?: string | undefined;
5275
5807
  image?: string | undefined;
5276
5808
  title?: string | undefined;
5809
+ } | {
5810
+ type: "resource";
5811
+ title: string;
5812
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
5813
+ content?: string | undefined;
5814
+ sensitive?: boolean | undefined;
5815
+ spoilerText?: string | undefined;
5816
+ attachments?: {
5817
+ type: string;
5818
+ url: string;
5819
+ previewUrl: string | null;
5820
+ textUrl: null;
5821
+ filename: string;
5822
+ meta: {
5823
+ usage?: string | undefined;
5824
+ focus?: {
5825
+ x: number;
5826
+ y: number;
5827
+ } | undefined;
5828
+ mimetype?: string | undefined;
5829
+ size?: number | undefined;
5830
+ };
5831
+ description?: string | undefined;
5832
+ blurhash?: string | undefined;
5833
+ status?: "failed" | "processing" | "ready" | undefined;
5834
+ error?: string | undefined;
5835
+ }[] | undefined;
5836
+ customEmojis?: {
5837
+ shortcode: string;
5838
+ url: string;
5839
+ staticUrl: string;
5840
+ visibleInPicker: boolean;
5841
+ category: string;
5842
+ }[] | undefined;
5843
+ language?: string | undefined;
5844
+ tags?: string[] | undefined;
5845
+ categoryPath?: string[] | undefined;
5846
+ url?: string | undefined;
5277
5847
  };
5278
5848
  profile: {
5279
5849
  id: string;
@@ -5614,7 +6184,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
5614
6184
  } | null | undefined;
5615
6185
  repost?: {
5616
6186
  id: string;
5617
- type: "note" | "question" | "event" | "article";
6187
+ type: "resource" | "note" | "question" | "event" | "article";
5618
6188
  profile: {
5619
6189
  id: string;
5620
6190
  type: "guest" | "local" | "federated";
@@ -5865,6 +6435,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
5865
6435
  language?: string | undefined;
5866
6436
  image?: string | undefined;
5867
6437
  title?: string | undefined;
6438
+ } | {
6439
+ type: "resource";
6440
+ title: string;
6441
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
6442
+ content?: string | undefined;
6443
+ sensitive?: boolean | undefined;
6444
+ spoilerText?: string | undefined;
6445
+ attachments?: {
6446
+ type: string;
6447
+ url: string;
6448
+ previewUrl: string | null;
6449
+ textUrl: null;
6450
+ filename: string;
6451
+ meta: {
6452
+ usage?: string | undefined;
6453
+ focus?: {
6454
+ x: number;
6455
+ y: number;
6456
+ } | undefined;
6457
+ mimetype?: string | undefined;
6458
+ size?: number | undefined;
6459
+ };
6460
+ description?: string | undefined;
6461
+ blurhash?: string | undefined;
6462
+ status?: "failed" | "processing" | "ready" | undefined;
6463
+ error?: string | undefined;
6464
+ }[] | undefined;
6465
+ customEmojis?: {
6466
+ shortcode: string;
6467
+ url: string;
6468
+ staticUrl: string;
6469
+ visibleInPicker: boolean;
6470
+ category: string;
6471
+ }[] | undefined;
6472
+ language?: string | undefined;
6473
+ tags?: string[] | undefined;
6474
+ categoryPath?: string[] | undefined;
6475
+ url?: string | undefined;
5868
6476
  };
5869
6477
  entries: ({
5870
6478
  type: "create";
@@ -6060,6 +6668,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
6060
6668
  language?: string | undefined;
6061
6669
  image?: string | undefined;
6062
6670
  title?: string | undefined;
6671
+ } | {
6672
+ type: "resource";
6673
+ title: string;
6674
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
6675
+ content?: string | undefined;
6676
+ sensitive?: boolean | undefined;
6677
+ spoilerText?: string | undefined;
6678
+ attachments?: {
6679
+ type: string;
6680
+ url: string;
6681
+ previewUrl: string | null;
6682
+ textUrl: null;
6683
+ filename: string;
6684
+ meta: {
6685
+ usage?: string | undefined;
6686
+ focus?: {
6687
+ x: number;
6688
+ y: number;
6689
+ } | undefined;
6690
+ mimetype?: string | undefined;
6691
+ size?: number | undefined;
6692
+ };
6693
+ description?: string | undefined;
6694
+ blurhash?: string | undefined;
6695
+ status?: "failed" | "processing" | "ready" | undefined;
6696
+ error?: string | undefined;
6697
+ }[] | undefined;
6698
+ customEmojis?: {
6699
+ shortcode: string;
6700
+ url: string;
6701
+ staticUrl: string;
6702
+ visibleInPicker: boolean;
6703
+ category: string;
6704
+ }[] | undefined;
6705
+ language?: string | undefined;
6706
+ tags?: string[] | undefined;
6707
+ categoryPath?: string[] | undefined;
6708
+ url?: string | undefined;
6063
6709
  };
6064
6710
  profile: {
6065
6711
  id: string;
@@ -6314,6 +6960,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
6314
6960
  language?: string | undefined;
6315
6961
  image?: string | undefined;
6316
6962
  title?: string | undefined;
6963
+ } | {
6964
+ type: "resource";
6965
+ title: string;
6966
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
6967
+ content?: string | undefined;
6968
+ sensitive?: boolean | undefined;
6969
+ spoilerText?: string | undefined;
6970
+ attachments?: {
6971
+ type: string;
6972
+ url: string;
6973
+ previewUrl: string | null;
6974
+ textUrl: null;
6975
+ filename: string;
6976
+ meta: {
6977
+ usage?: string | undefined;
6978
+ focus?: {
6979
+ x: number;
6980
+ y: number;
6981
+ } | undefined;
6982
+ mimetype?: string | undefined;
6983
+ size?: number | undefined;
6984
+ };
6985
+ description?: string | undefined;
6986
+ blurhash?: string | undefined;
6987
+ status?: "failed" | "processing" | "ready" | undefined;
6988
+ error?: string | undefined;
6989
+ }[] | undefined;
6990
+ customEmojis?: {
6991
+ shortcode: string;
6992
+ url: string;
6993
+ staticUrl: string;
6994
+ visibleInPicker: boolean;
6995
+ category: string;
6996
+ }[] | undefined;
6997
+ language?: string | undefined;
6998
+ tags?: string[] | undefined;
6999
+ categoryPath?: string[] | undefined;
7000
+ url?: string | undefined;
6317
7001
  };
6318
7002
  profile: {
6319
7003
  id: string;
@@ -6907,7 +7591,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
6907
7591
  hidden?: boolean | undefined;
6908
7592
  replyTo?: {
6909
7593
  id: string;
6910
- type: "note" | "question" | "event" | "article";
7594
+ type: "resource" | "note" | "question" | "event" | "article";
6911
7595
  profile: {
6912
7596
  id: string;
6913
7597
  type: "guest" | "local" | "federated";
@@ -7158,6 +7842,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
7158
7842
  language?: string | undefined;
7159
7843
  image?: string | undefined;
7160
7844
  title?: string | undefined;
7845
+ } | {
7846
+ type: "resource";
7847
+ title: string;
7848
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
7849
+ content?: string | undefined;
7850
+ sensitive?: boolean | undefined;
7851
+ spoilerText?: string | undefined;
7852
+ attachments?: {
7853
+ type: string;
7854
+ url: string;
7855
+ previewUrl: string | null;
7856
+ textUrl: null;
7857
+ filename: string;
7858
+ meta: {
7859
+ usage?: string | undefined;
7860
+ focus?: {
7861
+ x: number;
7862
+ y: number;
7863
+ } | undefined;
7864
+ mimetype?: string | undefined;
7865
+ size?: number | undefined;
7866
+ };
7867
+ description?: string | undefined;
7868
+ blurhash?: string | undefined;
7869
+ status?: "failed" | "processing" | "ready" | undefined;
7870
+ error?: string | undefined;
7871
+ }[] | undefined;
7872
+ customEmojis?: {
7873
+ shortcode: string;
7874
+ url: string;
7875
+ staticUrl: string;
7876
+ visibleInPicker: boolean;
7877
+ category: string;
7878
+ }[] | undefined;
7879
+ language?: string | undefined;
7880
+ tags?: string[] | undefined;
7881
+ categoryPath?: string[] | undefined;
7882
+ url?: string | undefined;
7161
7883
  };
7162
7884
  entries: ({
7163
7885
  type: "create";
@@ -7353,6 +8075,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
7353
8075
  language?: string | undefined;
7354
8076
  image?: string | undefined;
7355
8077
  title?: string | undefined;
8078
+ } | {
8079
+ type: "resource";
8080
+ title: string;
8081
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
8082
+ content?: string | undefined;
8083
+ sensitive?: boolean | undefined;
8084
+ spoilerText?: string | undefined;
8085
+ attachments?: {
8086
+ type: string;
8087
+ url: string;
8088
+ previewUrl: string | null;
8089
+ textUrl: null;
8090
+ filename: string;
8091
+ meta: {
8092
+ usage?: string | undefined;
8093
+ focus?: {
8094
+ x: number;
8095
+ y: number;
8096
+ } | undefined;
8097
+ mimetype?: string | undefined;
8098
+ size?: number | undefined;
8099
+ };
8100
+ description?: string | undefined;
8101
+ blurhash?: string | undefined;
8102
+ status?: "failed" | "processing" | "ready" | undefined;
8103
+ error?: string | undefined;
8104
+ }[] | undefined;
8105
+ customEmojis?: {
8106
+ shortcode: string;
8107
+ url: string;
8108
+ staticUrl: string;
8109
+ visibleInPicker: boolean;
8110
+ category: string;
8111
+ }[] | undefined;
8112
+ language?: string | undefined;
8113
+ tags?: string[] | undefined;
8114
+ categoryPath?: string[] | undefined;
8115
+ url?: string | undefined;
7356
8116
  };
7357
8117
  profile: {
7358
8118
  id: string;
@@ -7573,7 +8333,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
7573
8333
  } | undefined;
7574
8334
  }[] | undefined;
7575
8335
  } | {
7576
- type: "article";
8336
+ type: "article";
8337
+ content?: string | undefined;
8338
+ sensitive?: boolean | undefined;
8339
+ spoilerText?: string | undefined;
8340
+ attachments?: {
8341
+ type: string;
8342
+ url: string;
8343
+ previewUrl: string | null;
8344
+ textUrl: null;
8345
+ filename: string;
8346
+ meta: {
8347
+ usage?: string | undefined;
8348
+ focus?: {
8349
+ x: number;
8350
+ y: number;
8351
+ } | undefined;
8352
+ mimetype?: string | undefined;
8353
+ size?: number | undefined;
8354
+ };
8355
+ description?: string | undefined;
8356
+ blurhash?: string | undefined;
8357
+ status?: "failed" | "processing" | "ready" | undefined;
8358
+ error?: string | undefined;
8359
+ }[] | undefined;
8360
+ customEmojis?: {
8361
+ shortcode: string;
8362
+ url: string;
8363
+ staticUrl: string;
8364
+ visibleInPicker: boolean;
8365
+ category: string;
8366
+ }[] | undefined;
8367
+ language?: string | undefined;
8368
+ image?: string | undefined;
8369
+ title?: string | undefined;
8370
+ } | {
8371
+ type: "resource";
8372
+ title: string;
8373
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
7577
8374
  content?: string | undefined;
7578
8375
  sensitive?: boolean | undefined;
7579
8376
  spoilerText?: string | undefined;
@@ -7605,8 +8402,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
7605
8402
  category: string;
7606
8403
  }[] | undefined;
7607
8404
  language?: string | undefined;
7608
- image?: string | undefined;
7609
- title?: string | undefined;
8405
+ tags?: string[] | undefined;
8406
+ categoryPath?: string[] | undefined;
8407
+ url?: string | undefined;
7610
8408
  };
7611
8409
  profile: {
7612
8410
  id: string;
@@ -7946,7 +8744,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
7946
8744
  } | null | undefined;
7947
8745
  latestReplies?: {
7948
8746
  id: string;
7949
- type: "note" | "question" | "event" | "article";
8747
+ type: "resource" | "note" | "question" | "event" | "article";
7950
8748
  profile: {
7951
8749
  id: string;
7952
8750
  type: "guest" | "local" | "federated";
@@ -8197,6 +8995,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
8197
8995
  language?: string | undefined;
8198
8996
  image?: string | undefined;
8199
8997
  title?: string | undefined;
8998
+ } | {
8999
+ type: "resource";
9000
+ title: string;
9001
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
9002
+ content?: string | undefined;
9003
+ sensitive?: boolean | undefined;
9004
+ spoilerText?: string | undefined;
9005
+ attachments?: {
9006
+ type: string;
9007
+ url: string;
9008
+ previewUrl: string | null;
9009
+ textUrl: null;
9010
+ filename: string;
9011
+ meta: {
9012
+ usage?: string | undefined;
9013
+ focus?: {
9014
+ x: number;
9015
+ y: number;
9016
+ } | undefined;
9017
+ mimetype?: string | undefined;
9018
+ size?: number | undefined;
9019
+ };
9020
+ description?: string | undefined;
9021
+ blurhash?: string | undefined;
9022
+ status?: "failed" | "processing" | "ready" | undefined;
9023
+ error?: string | undefined;
9024
+ }[] | undefined;
9025
+ customEmojis?: {
9026
+ shortcode: string;
9027
+ url: string;
9028
+ staticUrl: string;
9029
+ visibleInPicker: boolean;
9030
+ category: string;
9031
+ }[] | undefined;
9032
+ language?: string | undefined;
9033
+ tags?: string[] | undefined;
9034
+ categoryPath?: string[] | undefined;
9035
+ url?: string | undefined;
8200
9036
  };
8201
9037
  entries: ({
8202
9038
  type: "create";
@@ -8392,6 +9228,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
8392
9228
  language?: string | undefined;
8393
9229
  image?: string | undefined;
8394
9230
  title?: string | undefined;
9231
+ } | {
9232
+ type: "resource";
9233
+ title: string;
9234
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
9235
+ content?: string | undefined;
9236
+ sensitive?: boolean | undefined;
9237
+ spoilerText?: string | undefined;
9238
+ attachments?: {
9239
+ type: string;
9240
+ url: string;
9241
+ previewUrl: string | null;
9242
+ textUrl: null;
9243
+ filename: string;
9244
+ meta: {
9245
+ usage?: string | undefined;
9246
+ focus?: {
9247
+ x: number;
9248
+ y: number;
9249
+ } | undefined;
9250
+ mimetype?: string | undefined;
9251
+ size?: number | undefined;
9252
+ };
9253
+ description?: string | undefined;
9254
+ blurhash?: string | undefined;
9255
+ status?: "failed" | "processing" | "ready" | undefined;
9256
+ error?: string | undefined;
9257
+ }[] | undefined;
9258
+ customEmojis?: {
9259
+ shortcode: string;
9260
+ url: string;
9261
+ staticUrl: string;
9262
+ visibleInPicker: boolean;
9263
+ category: string;
9264
+ }[] | undefined;
9265
+ language?: string | undefined;
9266
+ tags?: string[] | undefined;
9267
+ categoryPath?: string[] | undefined;
9268
+ url?: string | undefined;
8395
9269
  };
8396
9270
  profile: {
8397
9271
  id: string;
@@ -8646,6 +9520,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
8646
9520
  language?: string | undefined;
8647
9521
  image?: string | undefined;
8648
9522
  title?: string | undefined;
9523
+ } | {
9524
+ type: "resource";
9525
+ title: string;
9526
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
9527
+ content?: string | undefined;
9528
+ sensitive?: boolean | undefined;
9529
+ spoilerText?: string | undefined;
9530
+ attachments?: {
9531
+ type: string;
9532
+ url: string;
9533
+ previewUrl: string | null;
9534
+ textUrl: null;
9535
+ filename: string;
9536
+ meta: {
9537
+ usage?: string | undefined;
9538
+ focus?: {
9539
+ x: number;
9540
+ y: number;
9541
+ } | undefined;
9542
+ mimetype?: string | undefined;
9543
+ size?: number | undefined;
9544
+ };
9545
+ description?: string | undefined;
9546
+ blurhash?: string | undefined;
9547
+ status?: "failed" | "processing" | "ready" | undefined;
9548
+ error?: string | undefined;
9549
+ }[] | undefined;
9550
+ customEmojis?: {
9551
+ shortcode: string;
9552
+ url: string;
9553
+ staticUrl: string;
9554
+ visibleInPicker: boolean;
9555
+ category: string;
9556
+ }[] | undefined;
9557
+ language?: string | undefined;
9558
+ tags?: string[] | undefined;
9559
+ categoryPath?: string[] | undefined;
9560
+ url?: string | undefined;
8649
9561
  };
8650
9562
  profile: {
8651
9563
  id: string;
@@ -8984,7 +9896,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
8984
9896
  hidden?: boolean | undefined;
8985
9897
  replyTo?: {
8986
9898
  id: string;
8987
- type: "note" | "question" | "event" | "article";
9899
+ type: "resource" | "note" | "question" | "event" | "article";
8988
9900
  profile: {
8989
9901
  id: string;
8990
9902
  type: "guest" | "local" | "federated";
@@ -9235,6 +10147,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
9235
10147
  language?: string | undefined;
9236
10148
  image?: string | undefined;
9237
10149
  title?: string | undefined;
10150
+ } | {
10151
+ type: "resource";
10152
+ title: string;
10153
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
10154
+ content?: string | undefined;
10155
+ sensitive?: boolean | undefined;
10156
+ spoilerText?: string | undefined;
10157
+ attachments?: {
10158
+ type: string;
10159
+ url: string;
10160
+ previewUrl: string | null;
10161
+ textUrl: null;
10162
+ filename: string;
10163
+ meta: {
10164
+ usage?: string | undefined;
10165
+ focus?: {
10166
+ x: number;
10167
+ y: number;
10168
+ } | undefined;
10169
+ mimetype?: string | undefined;
10170
+ size?: number | undefined;
10171
+ };
10172
+ description?: string | undefined;
10173
+ blurhash?: string | undefined;
10174
+ status?: "failed" | "processing" | "ready" | undefined;
10175
+ error?: string | undefined;
10176
+ }[] | undefined;
10177
+ customEmojis?: {
10178
+ shortcode: string;
10179
+ url: string;
10180
+ staticUrl: string;
10181
+ visibleInPicker: boolean;
10182
+ category: string;
10183
+ }[] | undefined;
10184
+ language?: string | undefined;
10185
+ tags?: string[] | undefined;
10186
+ categoryPath?: string[] | undefined;
10187
+ url?: string | undefined;
9238
10188
  };
9239
10189
  entries: ({
9240
10190
  type: "create";
@@ -9430,6 +10380,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
9430
10380
  language?: string | undefined;
9431
10381
  image?: string | undefined;
9432
10382
  title?: string | undefined;
10383
+ } | {
10384
+ type: "resource";
10385
+ title: string;
10386
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
10387
+ content?: string | undefined;
10388
+ sensitive?: boolean | undefined;
10389
+ spoilerText?: string | undefined;
10390
+ attachments?: {
10391
+ type: string;
10392
+ url: string;
10393
+ previewUrl: string | null;
10394
+ textUrl: null;
10395
+ filename: string;
10396
+ meta: {
10397
+ usage?: string | undefined;
10398
+ focus?: {
10399
+ x: number;
10400
+ y: number;
10401
+ } | undefined;
10402
+ mimetype?: string | undefined;
10403
+ size?: number | undefined;
10404
+ };
10405
+ description?: string | undefined;
10406
+ blurhash?: string | undefined;
10407
+ status?: "failed" | "processing" | "ready" | undefined;
10408
+ error?: string | undefined;
10409
+ }[] | undefined;
10410
+ customEmojis?: {
10411
+ shortcode: string;
10412
+ url: string;
10413
+ staticUrl: string;
10414
+ visibleInPicker: boolean;
10415
+ category: string;
10416
+ }[] | undefined;
10417
+ language?: string | undefined;
10418
+ tags?: string[] | undefined;
10419
+ categoryPath?: string[] | undefined;
10420
+ url?: string | undefined;
9433
10421
  };
9434
10422
  profile: {
9435
10423
  id: string;
@@ -9684,6 +10672,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
9684
10672
  language?: string | undefined;
9685
10673
  image?: string | undefined;
9686
10674
  title?: string | undefined;
10675
+ } | {
10676
+ type: "resource";
10677
+ title: string;
10678
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
10679
+ content?: string | undefined;
10680
+ sensitive?: boolean | undefined;
10681
+ spoilerText?: string | undefined;
10682
+ attachments?: {
10683
+ type: string;
10684
+ url: string;
10685
+ previewUrl: string | null;
10686
+ textUrl: null;
10687
+ filename: string;
10688
+ meta: {
10689
+ usage?: string | undefined;
10690
+ focus?: {
10691
+ x: number;
10692
+ y: number;
10693
+ } | undefined;
10694
+ mimetype?: string | undefined;
10695
+ size?: number | undefined;
10696
+ };
10697
+ description?: string | undefined;
10698
+ blurhash?: string | undefined;
10699
+ status?: "failed" | "processing" | "ready" | undefined;
10700
+ error?: string | undefined;
10701
+ }[] | undefined;
10702
+ customEmojis?: {
10703
+ shortcode: string;
10704
+ url: string;
10705
+ staticUrl: string;
10706
+ visibleInPicker: boolean;
10707
+ category: string;
10708
+ }[] | undefined;
10709
+ language?: string | undefined;
10710
+ tags?: string[] | undefined;
10711
+ categoryPath?: string[] | undefined;
10712
+ url?: string | undefined;
9687
10713
  };
9688
10714
  profile: {
9689
10715
  id: string;
@@ -10059,7 +11085,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
10059
11085
  }, undefined, undefined>;
10060
11086
  notificationTypes: import("@openpeepshq/fetch-client").TypedNoPayloadEndpoint<{
10061
11087
  type: string;
10062
- requiredCapabilities?: ("core-posts-delete" | "core-groups-read" | "core-groups-delete" | "core-groups-addMember" | "core-groups-removeMember" | "core-groups-changeMemberRole" | "core-profiles-read" | "core-profiles-update" | "core-profiles-delete" | "core-reports-create" | "core-serviceTokens-create" | "core-serviceTokens-read" | "core-serviceTokens-delete" | "core-local" | "core-accounts-read" | "core-accounts-create" | "core-accounts-update" | "core-accounts-delete" | "core-reports-update" | "core-groups-create" | "core-posts-create-note-local" | "core-posts-create-note-public" | "core-posts-create-note-direct" | "core-posts-create-note-private" | "core-posts-create-event-local" | "core-posts-create-event-public" | "core-posts-create-event-direct" | "core-posts-create-event-private" | "core-posts-create-poll-local" | "core-posts-create-poll-public" | "core-posts-create-poll-direct" | "core-posts-create-poll-private" | "core-posts-create-article-local" | "core-posts-create-article-public" | "core-posts-create-article-direct" | "core-posts-create-article-private" | "core-posts-read-local" | "core-posts-announce" | "core-profiles-roles-update" | "core-profiles-suspend" | "core-profiles-impersonate" | "core-analytics-read" | "core-config-update" | "core-config-read" | "core-customization-read" | "core-customization-update" | "core-capabilities-read" | "core-capabilities-update" | "core-backups-create" | "core-backups-read" | "core-backups-download" | "core-backups-restore" | "core-db-access" | "core-i18n-update" | "core-logs-read" | "core-roles-read" | "core-roles-update" | "core-maintenance-restart" | "core-inviteLinks-create" | "core-inviteLinks-read" | "core-inviteLinks-update" | "core-inviteLinks-delete" | "core-serviceTokens-update" | "core-plugins-manage")[] | undefined;
11088
+ requiredCapabilities?: ("core-posts-delete" | "core-groups-read" | "core-groups-delete" | "core-groups-addMember" | "core-groups-removeMember" | "core-groups-changeMemberRole" | "core-profiles-read" | "core-profiles-update" | "core-profiles-delete" | "core-reports-create" | "core-serviceTokens-create" | "core-serviceTokens-read" | "core-serviceTokens-delete" | "core-local" | "core-accounts-read" | "core-accounts-create" | "core-accounts-update" | "core-accounts-delete" | "core-reports-update" | "core-groups-create" | "core-posts-create-note-local" | "core-posts-create-note-public" | "core-posts-create-note-direct" | "core-posts-create-note-private" | "core-posts-create-event-local" | "core-posts-create-event-public" | "core-posts-create-event-direct" | "core-posts-create-event-private" | "core-posts-create-poll-local" | "core-posts-create-poll-public" | "core-posts-create-poll-direct" | "core-posts-create-poll-private" | "core-posts-create-article-local" | "core-posts-create-article-public" | "core-posts-create-article-direct" | "core-posts-create-article-private" | "core-posts-create-resource-local" | "core-posts-create-resource-public" | "core-posts-create-resource-direct" | "core-posts-create-resource-private" | "core-posts-read-local" | "core-posts-announce" | "core-profiles-roles-update" | "core-profiles-suspend" | "core-profiles-impersonate" | "core-analytics-read" | "core-config-update" | "core-config-read" | "core-customization-read" | "core-customization-update" | "core-capabilities-read" | "core-capabilities-update" | "core-backups-create" | "core-backups-read" | "core-backups-download" | "core-backups-restore" | "core-db-access" | "core-i18n-update" | "core-logs-read" | "core-roles-read" | "core-roles-update" | "core-maintenance-restart" | "core-inviteLinks-create" | "core-inviteLinks-read" | "core-inviteLinks-update" | "core-inviteLinks-delete" | "core-serviceTokens-update" | "core-plugins-manage")[] | undefined;
10063
11089
  defaultSettings?: {
10064
11090
  create: boolean;
10065
11091
  push: boolean;
@@ -10072,7 +11098,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
10072
11098
  }, undefined, undefined>;
10073
11099
  reposts: import("@openpeepshq/fetch-client").TypedNoPayloadEndpoint<{
10074
11100
  id: string;
10075
- type: "note" | "question" | "event" | "article";
11101
+ type: "resource" | "note" | "question" | "event" | "article";
10076
11102
  profile: {
10077
11103
  id: string;
10078
11104
  type: "guest" | "local" | "federated";
@@ -10323,6 +11349,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
10323
11349
  language?: string | undefined;
10324
11350
  image?: string | undefined;
10325
11351
  title?: string | undefined;
11352
+ } | {
11353
+ type: "resource";
11354
+ title: string;
11355
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
11356
+ content?: string | undefined;
11357
+ sensitive?: boolean | undefined;
11358
+ spoilerText?: string | undefined;
11359
+ attachments?: {
11360
+ type: string;
11361
+ url: string;
11362
+ previewUrl: string | null;
11363
+ textUrl: null;
11364
+ filename: string;
11365
+ meta: {
11366
+ usage?: string | undefined;
11367
+ focus?: {
11368
+ x: number;
11369
+ y: number;
11370
+ } | undefined;
11371
+ mimetype?: string | undefined;
11372
+ size?: number | undefined;
11373
+ };
11374
+ description?: string | undefined;
11375
+ blurhash?: string | undefined;
11376
+ status?: "failed" | "processing" | "ready" | undefined;
11377
+ error?: string | undefined;
11378
+ }[] | undefined;
11379
+ customEmojis?: {
11380
+ shortcode: string;
11381
+ url: string;
11382
+ staticUrl: string;
11383
+ visibleInPicker: boolean;
11384
+ category: string;
11385
+ }[] | undefined;
11386
+ language?: string | undefined;
11387
+ tags?: string[] | undefined;
11388
+ categoryPath?: string[] | undefined;
11389
+ url?: string | undefined;
10326
11390
  };
10327
11391
  entries: ({
10328
11392
  type: "create";
@@ -10481,10 +11545,47 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
10481
11545
  lng: number;
10482
11546
  alt?: number | undefined;
10483
11547
  } | undefined;
10484
- } | undefined;
11548
+ } | undefined;
11549
+ }[] | undefined;
11550
+ } | {
11551
+ type: "article";
11552
+ content?: string | undefined;
11553
+ sensitive?: boolean | undefined;
11554
+ spoilerText?: string | undefined;
11555
+ attachments?: {
11556
+ type: string;
11557
+ url: string;
11558
+ previewUrl: string | null;
11559
+ textUrl: null;
11560
+ filename: string;
11561
+ meta: {
11562
+ usage?: string | undefined;
11563
+ focus?: {
11564
+ x: number;
11565
+ y: number;
11566
+ } | undefined;
11567
+ mimetype?: string | undefined;
11568
+ size?: number | undefined;
11569
+ };
11570
+ description?: string | undefined;
11571
+ blurhash?: string | undefined;
11572
+ status?: "failed" | "processing" | "ready" | undefined;
11573
+ error?: string | undefined;
10485
11574
  }[] | undefined;
11575
+ customEmojis?: {
11576
+ shortcode: string;
11577
+ url: string;
11578
+ staticUrl: string;
11579
+ visibleInPicker: boolean;
11580
+ category: string;
11581
+ }[] | undefined;
11582
+ language?: string | undefined;
11583
+ image?: string | undefined;
11584
+ title?: string | undefined;
10486
11585
  } | {
10487
- type: "article";
11586
+ type: "resource";
11587
+ title: string;
11588
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
10488
11589
  content?: string | undefined;
10489
11590
  sensitive?: boolean | undefined;
10490
11591
  spoilerText?: string | undefined;
@@ -10516,8 +11617,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
10516
11617
  category: string;
10517
11618
  }[] | undefined;
10518
11619
  language?: string | undefined;
10519
- image?: string | undefined;
10520
- title?: string | undefined;
11620
+ tags?: string[] | undefined;
11621
+ categoryPath?: string[] | undefined;
11622
+ url?: string | undefined;
10521
11623
  };
10522
11624
  profile: {
10523
11625
  id: string;
@@ -10772,6 +11874,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
10772
11874
  language?: string | undefined;
10773
11875
  image?: string | undefined;
10774
11876
  title?: string | undefined;
11877
+ } | {
11878
+ type: "resource";
11879
+ title: string;
11880
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
11881
+ content?: string | undefined;
11882
+ sensitive?: boolean | undefined;
11883
+ spoilerText?: string | undefined;
11884
+ attachments?: {
11885
+ type: string;
11886
+ url: string;
11887
+ previewUrl: string | null;
11888
+ textUrl: null;
11889
+ filename: string;
11890
+ meta: {
11891
+ usage?: string | undefined;
11892
+ focus?: {
11893
+ x: number;
11894
+ y: number;
11895
+ } | undefined;
11896
+ mimetype?: string | undefined;
11897
+ size?: number | undefined;
11898
+ };
11899
+ description?: string | undefined;
11900
+ blurhash?: string | undefined;
11901
+ status?: "failed" | "processing" | "ready" | undefined;
11902
+ error?: string | undefined;
11903
+ }[] | undefined;
11904
+ customEmojis?: {
11905
+ shortcode: string;
11906
+ url: string;
11907
+ staticUrl: string;
11908
+ visibleInPicker: boolean;
11909
+ category: string;
11910
+ }[] | undefined;
11911
+ language?: string | undefined;
11912
+ tags?: string[] | undefined;
11913
+ categoryPath?: string[] | undefined;
11914
+ url?: string | undefined;
10775
11915
  };
10776
11916
  profile: {
10777
11917
  id: string;
@@ -11364,7 +12504,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
11364
12504
  hidden?: boolean | undefined;
11365
12505
  latestReplies?: {
11366
12506
  id: string;
11367
- type: "note" | "question" | "event" | "article";
12507
+ type: "resource" | "note" | "question" | "event" | "article";
11368
12508
  profile: {
11369
12509
  id: string;
11370
12510
  type: "guest" | "local" | "federated";
@@ -11615,6 +12755,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
11615
12755
  language?: string | undefined;
11616
12756
  image?: string | undefined;
11617
12757
  title?: string | undefined;
12758
+ } | {
12759
+ type: "resource";
12760
+ title: string;
12761
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
12762
+ content?: string | undefined;
12763
+ sensitive?: boolean | undefined;
12764
+ spoilerText?: string | undefined;
12765
+ attachments?: {
12766
+ type: string;
12767
+ url: string;
12768
+ previewUrl: string | null;
12769
+ textUrl: null;
12770
+ filename: string;
12771
+ meta: {
12772
+ usage?: string | undefined;
12773
+ focus?: {
12774
+ x: number;
12775
+ y: number;
12776
+ } | undefined;
12777
+ mimetype?: string | undefined;
12778
+ size?: number | undefined;
12779
+ };
12780
+ description?: string | undefined;
12781
+ blurhash?: string | undefined;
12782
+ status?: "failed" | "processing" | "ready" | undefined;
12783
+ error?: string | undefined;
12784
+ }[] | undefined;
12785
+ customEmojis?: {
12786
+ shortcode: string;
12787
+ url: string;
12788
+ staticUrl: string;
12789
+ visibleInPicker: boolean;
12790
+ category: string;
12791
+ }[] | undefined;
12792
+ language?: string | undefined;
12793
+ tags?: string[] | undefined;
12794
+ categoryPath?: string[] | undefined;
12795
+ url?: string | undefined;
11618
12796
  };
11619
12797
  entries: ({
11620
12798
  type: "create";
@@ -11810,6 +12988,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
11810
12988
  language?: string | undefined;
11811
12989
  image?: string | undefined;
11812
12990
  title?: string | undefined;
12991
+ } | {
12992
+ type: "resource";
12993
+ title: string;
12994
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
12995
+ content?: string | undefined;
12996
+ sensitive?: boolean | undefined;
12997
+ spoilerText?: string | undefined;
12998
+ attachments?: {
12999
+ type: string;
13000
+ url: string;
13001
+ previewUrl: string | null;
13002
+ textUrl: null;
13003
+ filename: string;
13004
+ meta: {
13005
+ usage?: string | undefined;
13006
+ focus?: {
13007
+ x: number;
13008
+ y: number;
13009
+ } | undefined;
13010
+ mimetype?: string | undefined;
13011
+ size?: number | undefined;
13012
+ };
13013
+ description?: string | undefined;
13014
+ blurhash?: string | undefined;
13015
+ status?: "failed" | "processing" | "ready" | undefined;
13016
+ error?: string | undefined;
13017
+ }[] | undefined;
13018
+ customEmojis?: {
13019
+ shortcode: string;
13020
+ url: string;
13021
+ staticUrl: string;
13022
+ visibleInPicker: boolean;
13023
+ category: string;
13024
+ }[] | undefined;
13025
+ language?: string | undefined;
13026
+ tags?: string[] | undefined;
13027
+ categoryPath?: string[] | undefined;
13028
+ url?: string | undefined;
11813
13029
  };
11814
13030
  profile: {
11815
13031
  id: string;
@@ -12064,6 +13280,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
12064
13280
  language?: string | undefined;
12065
13281
  image?: string | undefined;
12066
13282
  title?: string | undefined;
13283
+ } | {
13284
+ type: "resource";
13285
+ title: string;
13286
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
13287
+ content?: string | undefined;
13288
+ sensitive?: boolean | undefined;
13289
+ spoilerText?: string | undefined;
13290
+ attachments?: {
13291
+ type: string;
13292
+ url: string;
13293
+ previewUrl: string | null;
13294
+ textUrl: null;
13295
+ filename: string;
13296
+ meta: {
13297
+ usage?: string | undefined;
13298
+ focus?: {
13299
+ x: number;
13300
+ y: number;
13301
+ } | undefined;
13302
+ mimetype?: string | undefined;
13303
+ size?: number | undefined;
13304
+ };
13305
+ description?: string | undefined;
13306
+ blurhash?: string | undefined;
13307
+ status?: "failed" | "processing" | "ready" | undefined;
13308
+ error?: string | undefined;
13309
+ }[] | undefined;
13310
+ customEmojis?: {
13311
+ shortcode: string;
13312
+ url: string;
13313
+ staticUrl: string;
13314
+ visibleInPicker: boolean;
13315
+ category: string;
13316
+ }[] | undefined;
13317
+ language?: string | undefined;
13318
+ tags?: string[] | undefined;
13319
+ categoryPath?: string[] | undefined;
13320
+ url?: string | undefined;
12067
13321
  };
12068
13322
  profile: {
12069
13323
  id: string;
@@ -12402,7 +13656,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
12402
13656
  hidden?: boolean | undefined;
12403
13657
  replyTo?: {
12404
13658
  id: string;
12405
- type: "note" | "question" | "event" | "article";
13659
+ type: "resource" | "note" | "question" | "event" | "article";
12406
13660
  profile: {
12407
13661
  id: string;
12408
13662
  type: "guest" | "local" | "federated";
@@ -12653,6 +13907,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
12653
13907
  language?: string | undefined;
12654
13908
  image?: string | undefined;
12655
13909
  title?: string | undefined;
13910
+ } | {
13911
+ type: "resource";
13912
+ title: string;
13913
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
13914
+ content?: string | undefined;
13915
+ sensitive?: boolean | undefined;
13916
+ spoilerText?: string | undefined;
13917
+ attachments?: {
13918
+ type: string;
13919
+ url: string;
13920
+ previewUrl: string | null;
13921
+ textUrl: null;
13922
+ filename: string;
13923
+ meta: {
13924
+ usage?: string | undefined;
13925
+ focus?: {
13926
+ x: number;
13927
+ y: number;
13928
+ } | undefined;
13929
+ mimetype?: string | undefined;
13930
+ size?: number | undefined;
13931
+ };
13932
+ description?: string | undefined;
13933
+ blurhash?: string | undefined;
13934
+ status?: "failed" | "processing" | "ready" | undefined;
13935
+ error?: string | undefined;
13936
+ }[] | undefined;
13937
+ customEmojis?: {
13938
+ shortcode: string;
13939
+ url: string;
13940
+ staticUrl: string;
13941
+ visibleInPicker: boolean;
13942
+ category: string;
13943
+ }[] | undefined;
13944
+ language?: string | undefined;
13945
+ tags?: string[] | undefined;
13946
+ categoryPath?: string[] | undefined;
13947
+ url?: string | undefined;
12656
13948
  };
12657
13949
  entries: ({
12658
13950
  type: "create";
@@ -12848,6 +14140,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
12848
14140
  language?: string | undefined;
12849
14141
  image?: string | undefined;
12850
14142
  title?: string | undefined;
14143
+ } | {
14144
+ type: "resource";
14145
+ title: string;
14146
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
14147
+ content?: string | undefined;
14148
+ sensitive?: boolean | undefined;
14149
+ spoilerText?: string | undefined;
14150
+ attachments?: {
14151
+ type: string;
14152
+ url: string;
14153
+ previewUrl: string | null;
14154
+ textUrl: null;
14155
+ filename: string;
14156
+ meta: {
14157
+ usage?: string | undefined;
14158
+ focus?: {
14159
+ x: number;
14160
+ y: number;
14161
+ } | undefined;
14162
+ mimetype?: string | undefined;
14163
+ size?: number | undefined;
14164
+ };
14165
+ description?: string | undefined;
14166
+ blurhash?: string | undefined;
14167
+ status?: "failed" | "processing" | "ready" | undefined;
14168
+ error?: string | undefined;
14169
+ }[] | undefined;
14170
+ customEmojis?: {
14171
+ shortcode: string;
14172
+ url: string;
14173
+ staticUrl: string;
14174
+ visibleInPicker: boolean;
14175
+ category: string;
14176
+ }[] | undefined;
14177
+ language?: string | undefined;
14178
+ tags?: string[] | undefined;
14179
+ categoryPath?: string[] | undefined;
14180
+ url?: string | undefined;
12851
14181
  };
12852
14182
  profile: {
12853
14183
  id: string;
@@ -13068,7 +14398,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
13068
14398
  } | undefined;
13069
14399
  }[] | undefined;
13070
14400
  } | {
13071
- type: "article";
14401
+ type: "article";
14402
+ content?: string | undefined;
14403
+ sensitive?: boolean | undefined;
14404
+ spoilerText?: string | undefined;
14405
+ attachments?: {
14406
+ type: string;
14407
+ url: string;
14408
+ previewUrl: string | null;
14409
+ textUrl: null;
14410
+ filename: string;
14411
+ meta: {
14412
+ usage?: string | undefined;
14413
+ focus?: {
14414
+ x: number;
14415
+ y: number;
14416
+ } | undefined;
14417
+ mimetype?: string | undefined;
14418
+ size?: number | undefined;
14419
+ };
14420
+ description?: string | undefined;
14421
+ blurhash?: string | undefined;
14422
+ status?: "failed" | "processing" | "ready" | undefined;
14423
+ error?: string | undefined;
14424
+ }[] | undefined;
14425
+ customEmojis?: {
14426
+ shortcode: string;
14427
+ url: string;
14428
+ staticUrl: string;
14429
+ visibleInPicker: boolean;
14430
+ category: string;
14431
+ }[] | undefined;
14432
+ language?: string | undefined;
14433
+ image?: string | undefined;
14434
+ title?: string | undefined;
14435
+ } | {
14436
+ type: "resource";
14437
+ title: string;
14438
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
13072
14439
  content?: string | undefined;
13073
14440
  sensitive?: boolean | undefined;
13074
14441
  spoilerText?: string | undefined;
@@ -13100,8 +14467,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
13100
14467
  category: string;
13101
14468
  }[] | undefined;
13102
14469
  language?: string | undefined;
13103
- image?: string | undefined;
13104
- title?: string | undefined;
14470
+ tags?: string[] | undefined;
14471
+ categoryPath?: string[] | undefined;
14472
+ url?: string | undefined;
13105
14473
  };
13106
14474
  profile: {
13107
14475
  id: string;
@@ -13462,7 +14830,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
13462
14830
  inReplyToId?: string | null | undefined;
13463
14831
  replyTo?: {
13464
14832
  id: string;
13465
- type: "note" | "question" | "event" | "article";
14833
+ type: "resource" | "note" | "question" | "event" | "article";
13466
14834
  profile: {
13467
14835
  id: string;
13468
14836
  type: "guest" | "local" | "federated";
@@ -13713,6 +15081,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
13713
15081
  language?: string | undefined;
13714
15082
  image?: string | undefined;
13715
15083
  title?: string | undefined;
15084
+ } | {
15085
+ type: "resource";
15086
+ title: string;
15087
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
15088
+ content?: string | undefined;
15089
+ sensitive?: boolean | undefined;
15090
+ spoilerText?: string | undefined;
15091
+ attachments?: {
15092
+ type: string;
15093
+ url: string;
15094
+ previewUrl: string | null;
15095
+ textUrl: null;
15096
+ filename: string;
15097
+ meta: {
15098
+ usage?: string | undefined;
15099
+ focus?: {
15100
+ x: number;
15101
+ y: number;
15102
+ } | undefined;
15103
+ mimetype?: string | undefined;
15104
+ size?: number | undefined;
15105
+ };
15106
+ description?: string | undefined;
15107
+ blurhash?: string | undefined;
15108
+ status?: "failed" | "processing" | "ready" | undefined;
15109
+ error?: string | undefined;
15110
+ }[] | undefined;
15111
+ customEmojis?: {
15112
+ shortcode: string;
15113
+ url: string;
15114
+ staticUrl: string;
15115
+ visibleInPicker: boolean;
15116
+ category: string;
15117
+ }[] | undefined;
15118
+ language?: string | undefined;
15119
+ tags?: string[] | undefined;
15120
+ categoryPath?: string[] | undefined;
15121
+ url?: string | undefined;
13716
15122
  };
13717
15123
  entries: ({
13718
15124
  type: "create";
@@ -13908,6 +15314,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
13908
15314
  language?: string | undefined;
13909
15315
  image?: string | undefined;
13910
15316
  title?: string | undefined;
15317
+ } | {
15318
+ type: "resource";
15319
+ title: string;
15320
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
15321
+ content?: string | undefined;
15322
+ sensitive?: boolean | undefined;
15323
+ spoilerText?: string | undefined;
15324
+ attachments?: {
15325
+ type: string;
15326
+ url: string;
15327
+ previewUrl: string | null;
15328
+ textUrl: null;
15329
+ filename: string;
15330
+ meta: {
15331
+ usage?: string | undefined;
15332
+ focus?: {
15333
+ x: number;
15334
+ y: number;
15335
+ } | undefined;
15336
+ mimetype?: string | undefined;
15337
+ size?: number | undefined;
15338
+ };
15339
+ description?: string | undefined;
15340
+ blurhash?: string | undefined;
15341
+ status?: "failed" | "processing" | "ready" | undefined;
15342
+ error?: string | undefined;
15343
+ }[] | undefined;
15344
+ customEmojis?: {
15345
+ shortcode: string;
15346
+ url: string;
15347
+ staticUrl: string;
15348
+ visibleInPicker: boolean;
15349
+ category: string;
15350
+ }[] | undefined;
15351
+ language?: string | undefined;
15352
+ tags?: string[] | undefined;
15353
+ categoryPath?: string[] | undefined;
15354
+ url?: string | undefined;
13911
15355
  };
13912
15356
  profile: {
13913
15357
  id: string;
@@ -14162,6 +15606,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
14162
15606
  language?: string | undefined;
14163
15607
  image?: string | undefined;
14164
15608
  title?: string | undefined;
15609
+ } | {
15610
+ type: "resource";
15611
+ title: string;
15612
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
15613
+ content?: string | undefined;
15614
+ sensitive?: boolean | undefined;
15615
+ spoilerText?: string | undefined;
15616
+ attachments?: {
15617
+ type: string;
15618
+ url: string;
15619
+ previewUrl: string | null;
15620
+ textUrl: null;
15621
+ filename: string;
15622
+ meta: {
15623
+ usage?: string | undefined;
15624
+ focus?: {
15625
+ x: number;
15626
+ y: number;
15627
+ } | undefined;
15628
+ mimetype?: string | undefined;
15629
+ size?: number | undefined;
15630
+ };
15631
+ description?: string | undefined;
15632
+ blurhash?: string | undefined;
15633
+ status?: "failed" | "processing" | "ready" | undefined;
15634
+ error?: string | undefined;
15635
+ }[] | undefined;
15636
+ customEmojis?: {
15637
+ shortcode: string;
15638
+ url: string;
15639
+ staticUrl: string;
15640
+ visibleInPicker: boolean;
15641
+ category: string;
15642
+ }[] | undefined;
15643
+ language?: string | undefined;
15644
+ tags?: string[] | undefined;
15645
+ categoryPath?: string[] | undefined;
15646
+ url?: string | undefined;
14165
15647
  };
14166
15648
  profile: {
14167
15649
  id: string;
@@ -14500,7 +15982,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
14500
15982
  hidden?: boolean | undefined;
14501
15983
  replyTo?: {
14502
15984
  id: string;
14503
- type: "note" | "question" | "event" | "article";
15985
+ type: "resource" | "note" | "question" | "event" | "article";
14504
15986
  profile: {
14505
15987
  id: string;
14506
15988
  type: "guest" | "local" | "federated";
@@ -14751,6 +16233,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
14751
16233
  language?: string | undefined;
14752
16234
  image?: string | undefined;
14753
16235
  title?: string | undefined;
16236
+ } | {
16237
+ type: "resource";
16238
+ title: string;
16239
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
16240
+ content?: string | undefined;
16241
+ sensitive?: boolean | undefined;
16242
+ spoilerText?: string | undefined;
16243
+ attachments?: {
16244
+ type: string;
16245
+ url: string;
16246
+ previewUrl: string | null;
16247
+ textUrl: null;
16248
+ filename: string;
16249
+ meta: {
16250
+ usage?: string | undefined;
16251
+ focus?: {
16252
+ x: number;
16253
+ y: number;
16254
+ } | undefined;
16255
+ mimetype?: string | undefined;
16256
+ size?: number | undefined;
16257
+ };
16258
+ description?: string | undefined;
16259
+ blurhash?: string | undefined;
16260
+ status?: "failed" | "processing" | "ready" | undefined;
16261
+ error?: string | undefined;
16262
+ }[] | undefined;
16263
+ customEmojis?: {
16264
+ shortcode: string;
16265
+ url: string;
16266
+ staticUrl: string;
16267
+ visibleInPicker: boolean;
16268
+ category: string;
16269
+ }[] | undefined;
16270
+ language?: string | undefined;
16271
+ tags?: string[] | undefined;
16272
+ categoryPath?: string[] | undefined;
16273
+ url?: string | undefined;
14754
16274
  };
14755
16275
  entries: ({
14756
16276
  type: "create";
@@ -14946,6 +16466,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
14946
16466
  language?: string | undefined;
14947
16467
  image?: string | undefined;
14948
16468
  title?: string | undefined;
16469
+ } | {
16470
+ type: "resource";
16471
+ title: string;
16472
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
16473
+ content?: string | undefined;
16474
+ sensitive?: boolean | undefined;
16475
+ spoilerText?: string | undefined;
16476
+ attachments?: {
16477
+ type: string;
16478
+ url: string;
16479
+ previewUrl: string | null;
16480
+ textUrl: null;
16481
+ filename: string;
16482
+ meta: {
16483
+ usage?: string | undefined;
16484
+ focus?: {
16485
+ x: number;
16486
+ y: number;
16487
+ } | undefined;
16488
+ mimetype?: string | undefined;
16489
+ size?: number | undefined;
16490
+ };
16491
+ description?: string | undefined;
16492
+ blurhash?: string | undefined;
16493
+ status?: "failed" | "processing" | "ready" | undefined;
16494
+ error?: string | undefined;
16495
+ }[] | undefined;
16496
+ customEmojis?: {
16497
+ shortcode: string;
16498
+ url: string;
16499
+ staticUrl: string;
16500
+ visibleInPicker: boolean;
16501
+ category: string;
16502
+ }[] | undefined;
16503
+ language?: string | undefined;
16504
+ tags?: string[] | undefined;
16505
+ categoryPath?: string[] | undefined;
16506
+ url?: string | undefined;
14949
16507
  };
14950
16508
  profile: {
14951
16509
  id: string;
@@ -15200,6 +16758,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
15200
16758
  language?: string | undefined;
15201
16759
  image?: string | undefined;
15202
16760
  title?: string | undefined;
16761
+ } | {
16762
+ type: "resource";
16763
+ title: string;
16764
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
16765
+ content?: string | undefined;
16766
+ sensitive?: boolean | undefined;
16767
+ spoilerText?: string | undefined;
16768
+ attachments?: {
16769
+ type: string;
16770
+ url: string;
16771
+ previewUrl: string | null;
16772
+ textUrl: null;
16773
+ filename: string;
16774
+ meta: {
16775
+ usage?: string | undefined;
16776
+ focus?: {
16777
+ x: number;
16778
+ y: number;
16779
+ } | undefined;
16780
+ mimetype?: string | undefined;
16781
+ size?: number | undefined;
16782
+ };
16783
+ description?: string | undefined;
16784
+ blurhash?: string | undefined;
16785
+ status?: "failed" | "processing" | "ready" | undefined;
16786
+ error?: string | undefined;
16787
+ }[] | undefined;
16788
+ customEmojis?: {
16789
+ shortcode: string;
16790
+ url: string;
16791
+ staticUrl: string;
16792
+ visibleInPicker: boolean;
16793
+ category: string;
16794
+ }[] | undefined;
16795
+ language?: string | undefined;
16796
+ tags?: string[] | undefined;
16797
+ categoryPath?: string[] | undefined;
16798
+ url?: string | undefined;
15203
16799
  };
15204
16800
  profile: {
15205
16801
  id: string;
@@ -15540,7 +17136,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
15540
17136
  } | null | undefined;
15541
17137
  repost?: {
15542
17138
  id: string;
15543
- type: "note" | "question" | "event" | "article";
17139
+ type: "resource" | "note" | "question" | "event" | "article";
15544
17140
  profile: {
15545
17141
  id: string;
15546
17142
  type: "guest" | "local" | "federated";
@@ -15791,6 +17387,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
15791
17387
  language?: string | undefined;
15792
17388
  image?: string | undefined;
15793
17389
  title?: string | undefined;
17390
+ } | {
17391
+ type: "resource";
17392
+ title: string;
17393
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
17394
+ content?: string | undefined;
17395
+ sensitive?: boolean | undefined;
17396
+ spoilerText?: string | undefined;
17397
+ attachments?: {
17398
+ type: string;
17399
+ url: string;
17400
+ previewUrl: string | null;
17401
+ textUrl: null;
17402
+ filename: string;
17403
+ meta: {
17404
+ usage?: string | undefined;
17405
+ focus?: {
17406
+ x: number;
17407
+ y: number;
17408
+ } | undefined;
17409
+ mimetype?: string | undefined;
17410
+ size?: number | undefined;
17411
+ };
17412
+ description?: string | undefined;
17413
+ blurhash?: string | undefined;
17414
+ status?: "failed" | "processing" | "ready" | undefined;
17415
+ error?: string | undefined;
17416
+ }[] | undefined;
17417
+ customEmojis?: {
17418
+ shortcode: string;
17419
+ url: string;
17420
+ staticUrl: string;
17421
+ visibleInPicker: boolean;
17422
+ category: string;
17423
+ }[] | undefined;
17424
+ language?: string | undefined;
17425
+ tags?: string[] | undefined;
17426
+ categoryPath?: string[] | undefined;
17427
+ url?: string | undefined;
15794
17428
  };
15795
17429
  entries: ({
15796
17430
  type: "create";
@@ -15952,7 +17586,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
15952
17586
  } | undefined;
15953
17587
  }[] | undefined;
15954
17588
  } | {
15955
- type: "article";
17589
+ type: "article";
17590
+ content?: string | undefined;
17591
+ sensitive?: boolean | undefined;
17592
+ spoilerText?: string | undefined;
17593
+ attachments?: {
17594
+ type: string;
17595
+ url: string;
17596
+ previewUrl: string | null;
17597
+ textUrl: null;
17598
+ filename: string;
17599
+ meta: {
17600
+ usage?: string | undefined;
17601
+ focus?: {
17602
+ x: number;
17603
+ y: number;
17604
+ } | undefined;
17605
+ mimetype?: string | undefined;
17606
+ size?: number | undefined;
17607
+ };
17608
+ description?: string | undefined;
17609
+ blurhash?: string | undefined;
17610
+ status?: "failed" | "processing" | "ready" | undefined;
17611
+ error?: string | undefined;
17612
+ }[] | undefined;
17613
+ customEmojis?: {
17614
+ shortcode: string;
17615
+ url: string;
17616
+ staticUrl: string;
17617
+ visibleInPicker: boolean;
17618
+ category: string;
17619
+ }[] | undefined;
17620
+ language?: string | undefined;
17621
+ image?: string | undefined;
17622
+ title?: string | undefined;
17623
+ } | {
17624
+ type: "resource";
17625
+ title: string;
17626
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
15956
17627
  content?: string | undefined;
15957
17628
  sensitive?: boolean | undefined;
15958
17629
  spoilerText?: string | undefined;
@@ -15984,8 +17655,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
15984
17655
  category: string;
15985
17656
  }[] | undefined;
15986
17657
  language?: string | undefined;
15987
- image?: string | undefined;
15988
- title?: string | undefined;
17658
+ tags?: string[] | undefined;
17659
+ categoryPath?: string[] | undefined;
17660
+ url?: string | undefined;
15989
17661
  };
15990
17662
  profile: {
15991
17663
  id: string;
@@ -16240,6 +17912,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
16240
17912
  language?: string | undefined;
16241
17913
  image?: string | undefined;
16242
17914
  title?: string | undefined;
17915
+ } | {
17916
+ type: "resource";
17917
+ title: string;
17918
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
17919
+ content?: string | undefined;
17920
+ sensitive?: boolean | undefined;
17921
+ spoilerText?: string | undefined;
17922
+ attachments?: {
17923
+ type: string;
17924
+ url: string;
17925
+ previewUrl: string | null;
17926
+ textUrl: null;
17927
+ filename: string;
17928
+ meta: {
17929
+ usage?: string | undefined;
17930
+ focus?: {
17931
+ x: number;
17932
+ y: number;
17933
+ } | undefined;
17934
+ mimetype?: string | undefined;
17935
+ size?: number | undefined;
17936
+ };
17937
+ description?: string | undefined;
17938
+ blurhash?: string | undefined;
17939
+ status?: "failed" | "processing" | "ready" | undefined;
17940
+ error?: string | undefined;
17941
+ }[] | undefined;
17942
+ customEmojis?: {
17943
+ shortcode: string;
17944
+ url: string;
17945
+ staticUrl: string;
17946
+ visibleInPicker: boolean;
17947
+ category: string;
17948
+ }[] | undefined;
17949
+ language?: string | undefined;
17950
+ tags?: string[] | undefined;
17951
+ categoryPath?: string[] | undefined;
17952
+ url?: string | undefined;
16243
17953
  };
16244
17954
  profile: {
16245
17955
  id: string;
@@ -16833,7 +18543,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
16833
18543
  hidden?: boolean | undefined;
16834
18544
  replyTo?: {
16835
18545
  id: string;
16836
- type: "note" | "question" | "event" | "article";
18546
+ type: "resource" | "note" | "question" | "event" | "article";
16837
18547
  profile: {
16838
18548
  id: string;
16839
18549
  type: "guest" | "local" | "federated";
@@ -17084,6 +18794,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
17084
18794
  language?: string | undefined;
17085
18795
  image?: string | undefined;
17086
18796
  title?: string | undefined;
18797
+ } | {
18798
+ type: "resource";
18799
+ title: string;
18800
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
18801
+ content?: string | undefined;
18802
+ sensitive?: boolean | undefined;
18803
+ spoilerText?: string | undefined;
18804
+ attachments?: {
18805
+ type: string;
18806
+ url: string;
18807
+ previewUrl: string | null;
18808
+ textUrl: null;
18809
+ filename: string;
18810
+ meta: {
18811
+ usage?: string | undefined;
18812
+ focus?: {
18813
+ x: number;
18814
+ y: number;
18815
+ } | undefined;
18816
+ mimetype?: string | undefined;
18817
+ size?: number | undefined;
18818
+ };
18819
+ description?: string | undefined;
18820
+ blurhash?: string | undefined;
18821
+ status?: "failed" | "processing" | "ready" | undefined;
18822
+ error?: string | undefined;
18823
+ }[] | undefined;
18824
+ customEmojis?: {
18825
+ shortcode: string;
18826
+ url: string;
18827
+ staticUrl: string;
18828
+ visibleInPicker: boolean;
18829
+ category: string;
18830
+ }[] | undefined;
18831
+ language?: string | undefined;
18832
+ tags?: string[] | undefined;
18833
+ categoryPath?: string[] | undefined;
18834
+ url?: string | undefined;
17087
18835
  };
17088
18836
  entries: ({
17089
18837
  type: "create";
@@ -17279,6 +19027,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
17279
19027
  language?: string | undefined;
17280
19028
  image?: string | undefined;
17281
19029
  title?: string | undefined;
19030
+ } | {
19031
+ type: "resource";
19032
+ title: string;
19033
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
19034
+ content?: string | undefined;
19035
+ sensitive?: boolean | undefined;
19036
+ spoilerText?: string | undefined;
19037
+ attachments?: {
19038
+ type: string;
19039
+ url: string;
19040
+ previewUrl: string | null;
19041
+ textUrl: null;
19042
+ filename: string;
19043
+ meta: {
19044
+ usage?: string | undefined;
19045
+ focus?: {
19046
+ x: number;
19047
+ y: number;
19048
+ } | undefined;
19049
+ mimetype?: string | undefined;
19050
+ size?: number | undefined;
19051
+ };
19052
+ description?: string | undefined;
19053
+ blurhash?: string | undefined;
19054
+ status?: "failed" | "processing" | "ready" | undefined;
19055
+ error?: string | undefined;
19056
+ }[] | undefined;
19057
+ customEmojis?: {
19058
+ shortcode: string;
19059
+ url: string;
19060
+ staticUrl: string;
19061
+ visibleInPicker: boolean;
19062
+ category: string;
19063
+ }[] | undefined;
19064
+ language?: string | undefined;
19065
+ tags?: string[] | undefined;
19066
+ categoryPath?: string[] | undefined;
19067
+ url?: string | undefined;
17282
19068
  };
17283
19069
  profile: {
17284
19070
  id: string;
@@ -17533,6 +19319,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
17533
19319
  language?: string | undefined;
17534
19320
  image?: string | undefined;
17535
19321
  title?: string | undefined;
19322
+ } | {
19323
+ type: "resource";
19324
+ title: string;
19325
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
19326
+ content?: string | undefined;
19327
+ sensitive?: boolean | undefined;
19328
+ spoilerText?: string | undefined;
19329
+ attachments?: {
19330
+ type: string;
19331
+ url: string;
19332
+ previewUrl: string | null;
19333
+ textUrl: null;
19334
+ filename: string;
19335
+ meta: {
19336
+ usage?: string | undefined;
19337
+ focus?: {
19338
+ x: number;
19339
+ y: number;
19340
+ } | undefined;
19341
+ mimetype?: string | undefined;
19342
+ size?: number | undefined;
19343
+ };
19344
+ description?: string | undefined;
19345
+ blurhash?: string | undefined;
19346
+ status?: "failed" | "processing" | "ready" | undefined;
19347
+ error?: string | undefined;
19348
+ }[] | undefined;
19349
+ customEmojis?: {
19350
+ shortcode: string;
19351
+ url: string;
19352
+ staticUrl: string;
19353
+ visibleInPicker: boolean;
19354
+ category: string;
19355
+ }[] | undefined;
19356
+ language?: string | undefined;
19357
+ tags?: string[] | undefined;
19358
+ categoryPath?: string[] | undefined;
19359
+ url?: string | undefined;
17536
19360
  };
17537
19361
  profile: {
17538
19362
  id: string;
@@ -17872,7 +19696,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
17872
19696
  } | null | undefined;
17873
19697
  latestReplies?: {
17874
19698
  id: string;
17875
- type: "note" | "question" | "event" | "article";
19699
+ type: "resource" | "note" | "question" | "event" | "article";
17876
19700
  profile: {
17877
19701
  id: string;
17878
19702
  type: "guest" | "local" | "federated";
@@ -18123,6 +19947,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
18123
19947
  language?: string | undefined;
18124
19948
  image?: string | undefined;
18125
19949
  title?: string | undefined;
19950
+ } | {
19951
+ type: "resource";
19952
+ title: string;
19953
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
19954
+ content?: string | undefined;
19955
+ sensitive?: boolean | undefined;
19956
+ spoilerText?: string | undefined;
19957
+ attachments?: {
19958
+ type: string;
19959
+ url: string;
19960
+ previewUrl: string | null;
19961
+ textUrl: null;
19962
+ filename: string;
19963
+ meta: {
19964
+ usage?: string | undefined;
19965
+ focus?: {
19966
+ x: number;
19967
+ y: number;
19968
+ } | undefined;
19969
+ mimetype?: string | undefined;
19970
+ size?: number | undefined;
19971
+ };
19972
+ description?: string | undefined;
19973
+ blurhash?: string | undefined;
19974
+ status?: "failed" | "processing" | "ready" | undefined;
19975
+ error?: string | undefined;
19976
+ }[] | undefined;
19977
+ customEmojis?: {
19978
+ shortcode: string;
19979
+ url: string;
19980
+ staticUrl: string;
19981
+ visibleInPicker: boolean;
19982
+ category: string;
19983
+ }[] | undefined;
19984
+ language?: string | undefined;
19985
+ tags?: string[] | undefined;
19986
+ categoryPath?: string[] | undefined;
19987
+ url?: string | undefined;
18126
19988
  };
18127
19989
  entries: ({
18128
19990
  type: "create";
@@ -18318,6 +20180,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
18318
20180
  language?: string | undefined;
18319
20181
  image?: string | undefined;
18320
20182
  title?: string | undefined;
20183
+ } | {
20184
+ type: "resource";
20185
+ title: string;
20186
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
20187
+ content?: string | undefined;
20188
+ sensitive?: boolean | undefined;
20189
+ spoilerText?: string | undefined;
20190
+ attachments?: {
20191
+ type: string;
20192
+ url: string;
20193
+ previewUrl: string | null;
20194
+ textUrl: null;
20195
+ filename: string;
20196
+ meta: {
20197
+ usage?: string | undefined;
20198
+ focus?: {
20199
+ x: number;
20200
+ y: number;
20201
+ } | undefined;
20202
+ mimetype?: string | undefined;
20203
+ size?: number | undefined;
20204
+ };
20205
+ description?: string | undefined;
20206
+ blurhash?: string | undefined;
20207
+ status?: "failed" | "processing" | "ready" | undefined;
20208
+ error?: string | undefined;
20209
+ }[] | undefined;
20210
+ customEmojis?: {
20211
+ shortcode: string;
20212
+ url: string;
20213
+ staticUrl: string;
20214
+ visibleInPicker: boolean;
20215
+ category: string;
20216
+ }[] | undefined;
20217
+ language?: string | undefined;
20218
+ tags?: string[] | undefined;
20219
+ categoryPath?: string[] | undefined;
20220
+ url?: string | undefined;
18321
20221
  };
18322
20222
  profile: {
18323
20223
  id: string;
@@ -18538,7 +20438,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
18538
20438
  } | undefined;
18539
20439
  }[] | undefined;
18540
20440
  } | {
18541
- type: "article";
20441
+ type: "article";
20442
+ content?: string | undefined;
20443
+ sensitive?: boolean | undefined;
20444
+ spoilerText?: string | undefined;
20445
+ attachments?: {
20446
+ type: string;
20447
+ url: string;
20448
+ previewUrl: string | null;
20449
+ textUrl: null;
20450
+ filename: string;
20451
+ meta: {
20452
+ usage?: string | undefined;
20453
+ focus?: {
20454
+ x: number;
20455
+ y: number;
20456
+ } | undefined;
20457
+ mimetype?: string | undefined;
20458
+ size?: number | undefined;
20459
+ };
20460
+ description?: string | undefined;
20461
+ blurhash?: string | undefined;
20462
+ status?: "failed" | "processing" | "ready" | undefined;
20463
+ error?: string | undefined;
20464
+ }[] | undefined;
20465
+ customEmojis?: {
20466
+ shortcode: string;
20467
+ url: string;
20468
+ staticUrl: string;
20469
+ visibleInPicker: boolean;
20470
+ category: string;
20471
+ }[] | undefined;
20472
+ language?: string | undefined;
20473
+ image?: string | undefined;
20474
+ title?: string | undefined;
20475
+ } | {
20476
+ type: "resource";
20477
+ title: string;
20478
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
18542
20479
  content?: string | undefined;
18543
20480
  sensitive?: boolean | undefined;
18544
20481
  spoilerText?: string | undefined;
@@ -18570,8 +20507,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
18570
20507
  category: string;
18571
20508
  }[] | undefined;
18572
20509
  language?: string | undefined;
18573
- image?: string | undefined;
18574
- title?: string | undefined;
20510
+ tags?: string[] | undefined;
20511
+ categoryPath?: string[] | undefined;
20512
+ url?: string | undefined;
18575
20513
  };
18576
20514
  profile: {
18577
20515
  id: string;
@@ -18910,7 +20848,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
18910
20848
  hidden?: boolean | undefined;
18911
20849
  replyTo?: {
18912
20850
  id: string;
18913
- type: "note" | "question" | "event" | "article";
20851
+ type: "resource" | "note" | "question" | "event" | "article";
18914
20852
  profile: {
18915
20853
  id: string;
18916
20854
  type: "guest" | "local" | "federated";
@@ -19161,6 +21099,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
19161
21099
  language?: string | undefined;
19162
21100
  image?: string | undefined;
19163
21101
  title?: string | undefined;
21102
+ } | {
21103
+ type: "resource";
21104
+ title: string;
21105
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
21106
+ content?: string | undefined;
21107
+ sensitive?: boolean | undefined;
21108
+ spoilerText?: string | undefined;
21109
+ attachments?: {
21110
+ type: string;
21111
+ url: string;
21112
+ previewUrl: string | null;
21113
+ textUrl: null;
21114
+ filename: string;
21115
+ meta: {
21116
+ usage?: string | undefined;
21117
+ focus?: {
21118
+ x: number;
21119
+ y: number;
21120
+ } | undefined;
21121
+ mimetype?: string | undefined;
21122
+ size?: number | undefined;
21123
+ };
21124
+ description?: string | undefined;
21125
+ blurhash?: string | undefined;
21126
+ status?: "failed" | "processing" | "ready" | undefined;
21127
+ error?: string | undefined;
21128
+ }[] | undefined;
21129
+ customEmojis?: {
21130
+ shortcode: string;
21131
+ url: string;
21132
+ staticUrl: string;
21133
+ visibleInPicker: boolean;
21134
+ category: string;
21135
+ }[] | undefined;
21136
+ language?: string | undefined;
21137
+ tags?: string[] | undefined;
21138
+ categoryPath?: string[] | undefined;
21139
+ url?: string | undefined;
19164
21140
  };
19165
21141
  entries: ({
19166
21142
  type: "create";
@@ -19356,6 +21332,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
19356
21332
  language?: string | undefined;
19357
21333
  image?: string | undefined;
19358
21334
  title?: string | undefined;
21335
+ } | {
21336
+ type: "resource";
21337
+ title: string;
21338
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
21339
+ content?: string | undefined;
21340
+ sensitive?: boolean | undefined;
21341
+ spoilerText?: string | undefined;
21342
+ attachments?: {
21343
+ type: string;
21344
+ url: string;
21345
+ previewUrl: string | null;
21346
+ textUrl: null;
21347
+ filename: string;
21348
+ meta: {
21349
+ usage?: string | undefined;
21350
+ focus?: {
21351
+ x: number;
21352
+ y: number;
21353
+ } | undefined;
21354
+ mimetype?: string | undefined;
21355
+ size?: number | undefined;
21356
+ };
21357
+ description?: string | undefined;
21358
+ blurhash?: string | undefined;
21359
+ status?: "failed" | "processing" | "ready" | undefined;
21360
+ error?: string | undefined;
21361
+ }[] | undefined;
21362
+ customEmojis?: {
21363
+ shortcode: string;
21364
+ url: string;
21365
+ staticUrl: string;
21366
+ visibleInPicker: boolean;
21367
+ category: string;
21368
+ }[] | undefined;
21369
+ language?: string | undefined;
21370
+ tags?: string[] | undefined;
21371
+ categoryPath?: string[] | undefined;
21372
+ url?: string | undefined;
19359
21373
  };
19360
21374
  profile: {
19361
21375
  id: string;
@@ -19610,6 +21624,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
19610
21624
  language?: string | undefined;
19611
21625
  image?: string | undefined;
19612
21626
  title?: string | undefined;
21627
+ } | {
21628
+ type: "resource";
21629
+ title: string;
21630
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
21631
+ content?: string | undefined;
21632
+ sensitive?: boolean | undefined;
21633
+ spoilerText?: string | undefined;
21634
+ attachments?: {
21635
+ type: string;
21636
+ url: string;
21637
+ previewUrl: string | null;
21638
+ textUrl: null;
21639
+ filename: string;
21640
+ meta: {
21641
+ usage?: string | undefined;
21642
+ focus?: {
21643
+ x: number;
21644
+ y: number;
21645
+ } | undefined;
21646
+ mimetype?: string | undefined;
21647
+ size?: number | undefined;
21648
+ };
21649
+ description?: string | undefined;
21650
+ blurhash?: string | undefined;
21651
+ status?: "failed" | "processing" | "ready" | undefined;
21652
+ error?: string | undefined;
21653
+ }[] | undefined;
21654
+ customEmojis?: {
21655
+ shortcode: string;
21656
+ url: string;
21657
+ staticUrl: string;
21658
+ visibleInPicker: boolean;
21659
+ category: string;
21660
+ }[] | undefined;
21661
+ language?: string | undefined;
21662
+ tags?: string[] | undefined;
21663
+ categoryPath?: string[] | undefined;
21664
+ url?: string | undefined;
19613
21665
  };
19614
21666
  profile: {
19615
21667
  id: string;
@@ -20577,7 +22629,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
20577
22629
  groupsCount: number;
20578
22630
  topPosts: {
20579
22631
  id: string;
20580
- type: "note" | "question" | "event" | "article";
22632
+ type: "resource" | "note" | "question" | "event" | "article";
20581
22633
  profile: {
20582
22634
  id: string;
20583
22635
  type: "guest" | "local" | "federated";
@@ -20828,6 +22880,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
20828
22880
  language?: string | undefined;
20829
22881
  image?: string | undefined;
20830
22882
  title?: string | undefined;
22883
+ } | {
22884
+ type: "resource";
22885
+ title: string;
22886
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
22887
+ content?: string | undefined;
22888
+ sensitive?: boolean | undefined;
22889
+ spoilerText?: string | undefined;
22890
+ attachments?: {
22891
+ type: string;
22892
+ url: string;
22893
+ previewUrl: string | null;
22894
+ textUrl: null;
22895
+ filename: string;
22896
+ meta: {
22897
+ usage?: string | undefined;
22898
+ focus?: {
22899
+ x: number;
22900
+ y: number;
22901
+ } | undefined;
22902
+ mimetype?: string | undefined;
22903
+ size?: number | undefined;
22904
+ };
22905
+ description?: string | undefined;
22906
+ blurhash?: string | undefined;
22907
+ status?: "failed" | "processing" | "ready" | undefined;
22908
+ error?: string | undefined;
22909
+ }[] | undefined;
22910
+ customEmojis?: {
22911
+ shortcode: string;
22912
+ url: string;
22913
+ staticUrl: string;
22914
+ visibleInPicker: boolean;
22915
+ category: string;
22916
+ }[] | undefined;
22917
+ language?: string | undefined;
22918
+ tags?: string[] | undefined;
22919
+ categoryPath?: string[] | undefined;
22920
+ url?: string | undefined;
20831
22921
  };
20832
22922
  entries: ({
20833
22923
  type: "create";
@@ -21023,6 +23113,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
21023
23113
  language?: string | undefined;
21024
23114
  image?: string | undefined;
21025
23115
  title?: string | undefined;
23116
+ } | {
23117
+ type: "resource";
23118
+ title: string;
23119
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
23120
+ content?: string | undefined;
23121
+ sensitive?: boolean | undefined;
23122
+ spoilerText?: string | undefined;
23123
+ attachments?: {
23124
+ type: string;
23125
+ url: string;
23126
+ previewUrl: string | null;
23127
+ textUrl: null;
23128
+ filename: string;
23129
+ meta: {
23130
+ usage?: string | undefined;
23131
+ focus?: {
23132
+ x: number;
23133
+ y: number;
23134
+ } | undefined;
23135
+ mimetype?: string | undefined;
23136
+ size?: number | undefined;
23137
+ };
23138
+ description?: string | undefined;
23139
+ blurhash?: string | undefined;
23140
+ status?: "failed" | "processing" | "ready" | undefined;
23141
+ error?: string | undefined;
23142
+ }[] | undefined;
23143
+ customEmojis?: {
23144
+ shortcode: string;
23145
+ url: string;
23146
+ staticUrl: string;
23147
+ visibleInPicker: boolean;
23148
+ category: string;
23149
+ }[] | undefined;
23150
+ language?: string | undefined;
23151
+ tags?: string[] | undefined;
23152
+ categoryPath?: string[] | undefined;
23153
+ url?: string | undefined;
21026
23154
  };
21027
23155
  profile: {
21028
23156
  id: string;
@@ -21277,6 +23405,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
21277
23405
  language?: string | undefined;
21278
23406
  image?: string | undefined;
21279
23407
  title?: string | undefined;
23408
+ } | {
23409
+ type: "resource";
23410
+ title: string;
23411
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
23412
+ content?: string | undefined;
23413
+ sensitive?: boolean | undefined;
23414
+ spoilerText?: string | undefined;
23415
+ attachments?: {
23416
+ type: string;
23417
+ url: string;
23418
+ previewUrl: string | null;
23419
+ textUrl: null;
23420
+ filename: string;
23421
+ meta: {
23422
+ usage?: string | undefined;
23423
+ focus?: {
23424
+ x: number;
23425
+ y: number;
23426
+ } | undefined;
23427
+ mimetype?: string | undefined;
23428
+ size?: number | undefined;
23429
+ };
23430
+ description?: string | undefined;
23431
+ blurhash?: string | undefined;
23432
+ status?: "failed" | "processing" | "ready" | undefined;
23433
+ error?: string | undefined;
23434
+ }[] | undefined;
23435
+ customEmojis?: {
23436
+ shortcode: string;
23437
+ url: string;
23438
+ staticUrl: string;
23439
+ visibleInPicker: boolean;
23440
+ category: string;
23441
+ }[] | undefined;
23442
+ language?: string | undefined;
23443
+ tags?: string[] | undefined;
23444
+ categoryPath?: string[] | undefined;
23445
+ url?: string | undefined;
21280
23446
  };
21281
23447
  profile: {
21282
23448
  id: string;
@@ -21870,7 +24036,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
21870
24036
  hidden?: boolean | undefined;
21871
24037
  latestReplies?: {
21872
24038
  id: string;
21873
- type: "note" | "question" | "event" | "article";
24039
+ type: "resource" | "note" | "question" | "event" | "article";
21874
24040
  profile: {
21875
24041
  id: string;
21876
24042
  type: "guest" | "local" | "federated";
@@ -22121,6 +24287,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
22121
24287
  language?: string | undefined;
22122
24288
  image?: string | undefined;
22123
24289
  title?: string | undefined;
24290
+ } | {
24291
+ type: "resource";
24292
+ title: string;
24293
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
24294
+ content?: string | undefined;
24295
+ sensitive?: boolean | undefined;
24296
+ spoilerText?: string | undefined;
24297
+ attachments?: {
24298
+ type: string;
24299
+ url: string;
24300
+ previewUrl: string | null;
24301
+ textUrl: null;
24302
+ filename: string;
24303
+ meta: {
24304
+ usage?: string | undefined;
24305
+ focus?: {
24306
+ x: number;
24307
+ y: number;
24308
+ } | undefined;
24309
+ mimetype?: string | undefined;
24310
+ size?: number | undefined;
24311
+ };
24312
+ description?: string | undefined;
24313
+ blurhash?: string | undefined;
24314
+ status?: "failed" | "processing" | "ready" | undefined;
24315
+ error?: string | undefined;
24316
+ }[] | undefined;
24317
+ customEmojis?: {
24318
+ shortcode: string;
24319
+ url: string;
24320
+ staticUrl: string;
24321
+ visibleInPicker: boolean;
24322
+ category: string;
24323
+ }[] | undefined;
24324
+ language?: string | undefined;
24325
+ tags?: string[] | undefined;
24326
+ categoryPath?: string[] | undefined;
24327
+ url?: string | undefined;
22124
24328
  };
22125
24329
  entries: ({
22126
24330
  type: "create";
@@ -22282,7 +24486,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
22282
24486
  } | undefined;
22283
24487
  }[] | undefined;
22284
24488
  } | {
22285
- type: "article";
24489
+ type: "article";
24490
+ content?: string | undefined;
24491
+ sensitive?: boolean | undefined;
24492
+ spoilerText?: string | undefined;
24493
+ attachments?: {
24494
+ type: string;
24495
+ url: string;
24496
+ previewUrl: string | null;
24497
+ textUrl: null;
24498
+ filename: string;
24499
+ meta: {
24500
+ usage?: string | undefined;
24501
+ focus?: {
24502
+ x: number;
24503
+ y: number;
24504
+ } | undefined;
24505
+ mimetype?: string | undefined;
24506
+ size?: number | undefined;
24507
+ };
24508
+ description?: string | undefined;
24509
+ blurhash?: string | undefined;
24510
+ status?: "failed" | "processing" | "ready" | undefined;
24511
+ error?: string | undefined;
24512
+ }[] | undefined;
24513
+ customEmojis?: {
24514
+ shortcode: string;
24515
+ url: string;
24516
+ staticUrl: string;
24517
+ visibleInPicker: boolean;
24518
+ category: string;
24519
+ }[] | undefined;
24520
+ language?: string | undefined;
24521
+ image?: string | undefined;
24522
+ title?: string | undefined;
24523
+ } | {
24524
+ type: "resource";
24525
+ title: string;
24526
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
22286
24527
  content?: string | undefined;
22287
24528
  sensitive?: boolean | undefined;
22288
24529
  spoilerText?: string | undefined;
@@ -22314,8 +24555,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
22314
24555
  category: string;
22315
24556
  }[] | undefined;
22316
24557
  language?: string | undefined;
22317
- image?: string | undefined;
22318
- title?: string | undefined;
24558
+ tags?: string[] | undefined;
24559
+ categoryPath?: string[] | undefined;
24560
+ url?: string | undefined;
22319
24561
  };
22320
24562
  profile: {
22321
24563
  id: string;
@@ -22570,6 +24812,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
22570
24812
  language?: string | undefined;
22571
24813
  image?: string | undefined;
22572
24814
  title?: string | undefined;
24815
+ } | {
24816
+ type: "resource";
24817
+ title: string;
24818
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
24819
+ content?: string | undefined;
24820
+ sensitive?: boolean | undefined;
24821
+ spoilerText?: string | undefined;
24822
+ attachments?: {
24823
+ type: string;
24824
+ url: string;
24825
+ previewUrl: string | null;
24826
+ textUrl: null;
24827
+ filename: string;
24828
+ meta: {
24829
+ usage?: string | undefined;
24830
+ focus?: {
24831
+ x: number;
24832
+ y: number;
24833
+ } | undefined;
24834
+ mimetype?: string | undefined;
24835
+ size?: number | undefined;
24836
+ };
24837
+ description?: string | undefined;
24838
+ blurhash?: string | undefined;
24839
+ status?: "failed" | "processing" | "ready" | undefined;
24840
+ error?: string | undefined;
24841
+ }[] | undefined;
24842
+ customEmojis?: {
24843
+ shortcode: string;
24844
+ url: string;
24845
+ staticUrl: string;
24846
+ visibleInPicker: boolean;
24847
+ category: string;
24848
+ }[] | undefined;
24849
+ language?: string | undefined;
24850
+ tags?: string[] | undefined;
24851
+ categoryPath?: string[] | undefined;
24852
+ url?: string | undefined;
22573
24853
  };
22574
24854
  profile: {
22575
24855
  id: string;
@@ -22908,7 +25188,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
22908
25188
  hidden?: boolean | undefined;
22909
25189
  replyTo?: {
22910
25190
  id: string;
22911
- type: "note" | "question" | "event" | "article";
25191
+ type: "resource" | "note" | "question" | "event" | "article";
22912
25192
  profile: {
22913
25193
  id: string;
22914
25194
  type: "guest" | "local" | "federated";
@@ -23159,6 +25439,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
23159
25439
  language?: string | undefined;
23160
25440
  image?: string | undefined;
23161
25441
  title?: string | undefined;
25442
+ } | {
25443
+ type: "resource";
25444
+ title: string;
25445
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
25446
+ content?: string | undefined;
25447
+ sensitive?: boolean | undefined;
25448
+ spoilerText?: string | undefined;
25449
+ attachments?: {
25450
+ type: string;
25451
+ url: string;
25452
+ previewUrl: string | null;
25453
+ textUrl: null;
25454
+ filename: string;
25455
+ meta: {
25456
+ usage?: string | undefined;
25457
+ focus?: {
25458
+ x: number;
25459
+ y: number;
25460
+ } | undefined;
25461
+ mimetype?: string | undefined;
25462
+ size?: number | undefined;
25463
+ };
25464
+ description?: string | undefined;
25465
+ blurhash?: string | undefined;
25466
+ status?: "failed" | "processing" | "ready" | undefined;
25467
+ error?: string | undefined;
25468
+ }[] | undefined;
25469
+ customEmojis?: {
25470
+ shortcode: string;
25471
+ url: string;
25472
+ staticUrl: string;
25473
+ visibleInPicker: boolean;
25474
+ category: string;
25475
+ }[] | undefined;
25476
+ language?: string | undefined;
25477
+ tags?: string[] | undefined;
25478
+ categoryPath?: string[] | undefined;
25479
+ url?: string | undefined;
23162
25480
  };
23163
25481
  entries: ({
23164
25482
  type: "create";
@@ -23354,6 +25672,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
23354
25672
  language?: string | undefined;
23355
25673
  image?: string | undefined;
23356
25674
  title?: string | undefined;
25675
+ } | {
25676
+ type: "resource";
25677
+ title: string;
25678
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
25679
+ content?: string | undefined;
25680
+ sensitive?: boolean | undefined;
25681
+ spoilerText?: string | undefined;
25682
+ attachments?: {
25683
+ type: string;
25684
+ url: string;
25685
+ previewUrl: string | null;
25686
+ textUrl: null;
25687
+ filename: string;
25688
+ meta: {
25689
+ usage?: string | undefined;
25690
+ focus?: {
25691
+ x: number;
25692
+ y: number;
25693
+ } | undefined;
25694
+ mimetype?: string | undefined;
25695
+ size?: number | undefined;
25696
+ };
25697
+ description?: string | undefined;
25698
+ blurhash?: string | undefined;
25699
+ status?: "failed" | "processing" | "ready" | undefined;
25700
+ error?: string | undefined;
25701
+ }[] | undefined;
25702
+ customEmojis?: {
25703
+ shortcode: string;
25704
+ url: string;
25705
+ staticUrl: string;
25706
+ visibleInPicker: boolean;
25707
+ category: string;
25708
+ }[] | undefined;
25709
+ language?: string | undefined;
25710
+ tags?: string[] | undefined;
25711
+ categoryPath?: string[] | undefined;
25712
+ url?: string | undefined;
23357
25713
  };
23358
25714
  profile: {
23359
25715
  id: string;
@@ -23608,6 +25964,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
23608
25964
  language?: string | undefined;
23609
25965
  image?: string | undefined;
23610
25966
  title?: string | undefined;
25967
+ } | {
25968
+ type: "resource";
25969
+ title: string;
25970
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
25971
+ content?: string | undefined;
25972
+ sensitive?: boolean | undefined;
25973
+ spoilerText?: string | undefined;
25974
+ attachments?: {
25975
+ type: string;
25976
+ url: string;
25977
+ previewUrl: string | null;
25978
+ textUrl: null;
25979
+ filename: string;
25980
+ meta: {
25981
+ usage?: string | undefined;
25982
+ focus?: {
25983
+ x: number;
25984
+ y: number;
25985
+ } | undefined;
25986
+ mimetype?: string | undefined;
25987
+ size?: number | undefined;
25988
+ };
25989
+ description?: string | undefined;
25990
+ blurhash?: string | undefined;
25991
+ status?: "failed" | "processing" | "ready" | undefined;
25992
+ error?: string | undefined;
25993
+ }[] | undefined;
25994
+ customEmojis?: {
25995
+ shortcode: string;
25996
+ url: string;
25997
+ staticUrl: string;
25998
+ visibleInPicker: boolean;
25999
+ category: string;
26000
+ }[] | undefined;
26001
+ language?: string | undefined;
26002
+ tags?: string[] | undefined;
26003
+ categoryPath?: string[] | undefined;
26004
+ url?: string | undefined;
23611
26005
  };
23612
26006
  profile: {
23613
26007
  id: string;
@@ -23968,7 +26362,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
23968
26362
  inReplyToId?: string | null | undefined;
23969
26363
  replyTo?: {
23970
26364
  id: string;
23971
- type: "note" | "question" | "event" | "article";
26365
+ type: "resource" | "note" | "question" | "event" | "article";
23972
26366
  profile: {
23973
26367
  id: string;
23974
26368
  type: "guest" | "local" | "federated";
@@ -24219,6 +26613,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
24219
26613
  language?: string | undefined;
24220
26614
  image?: string | undefined;
24221
26615
  title?: string | undefined;
26616
+ } | {
26617
+ type: "resource";
26618
+ title: string;
26619
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
26620
+ content?: string | undefined;
26621
+ sensitive?: boolean | undefined;
26622
+ spoilerText?: string | undefined;
26623
+ attachments?: {
26624
+ type: string;
26625
+ url: string;
26626
+ previewUrl: string | null;
26627
+ textUrl: null;
26628
+ filename: string;
26629
+ meta: {
26630
+ usage?: string | undefined;
26631
+ focus?: {
26632
+ x: number;
26633
+ y: number;
26634
+ } | undefined;
26635
+ mimetype?: string | undefined;
26636
+ size?: number | undefined;
26637
+ };
26638
+ description?: string | undefined;
26639
+ blurhash?: string | undefined;
26640
+ status?: "failed" | "processing" | "ready" | undefined;
26641
+ error?: string | undefined;
26642
+ }[] | undefined;
26643
+ customEmojis?: {
26644
+ shortcode: string;
26645
+ url: string;
26646
+ staticUrl: string;
26647
+ visibleInPicker: boolean;
26648
+ category: string;
26649
+ }[] | undefined;
26650
+ language?: string | undefined;
26651
+ tags?: string[] | undefined;
26652
+ categoryPath?: string[] | undefined;
26653
+ url?: string | undefined;
24222
26654
  };
24223
26655
  entries: ({
24224
26656
  type: "create";
@@ -24414,6 +26846,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
24414
26846
  language?: string | undefined;
24415
26847
  image?: string | undefined;
24416
26848
  title?: string | undefined;
26849
+ } | {
26850
+ type: "resource";
26851
+ title: string;
26852
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
26853
+ content?: string | undefined;
26854
+ sensitive?: boolean | undefined;
26855
+ spoilerText?: string | undefined;
26856
+ attachments?: {
26857
+ type: string;
26858
+ url: string;
26859
+ previewUrl: string | null;
26860
+ textUrl: null;
26861
+ filename: string;
26862
+ meta: {
26863
+ usage?: string | undefined;
26864
+ focus?: {
26865
+ x: number;
26866
+ y: number;
26867
+ } | undefined;
26868
+ mimetype?: string | undefined;
26869
+ size?: number | undefined;
26870
+ };
26871
+ description?: string | undefined;
26872
+ blurhash?: string | undefined;
26873
+ status?: "failed" | "processing" | "ready" | undefined;
26874
+ error?: string | undefined;
26875
+ }[] | undefined;
26876
+ customEmojis?: {
26877
+ shortcode: string;
26878
+ url: string;
26879
+ staticUrl: string;
26880
+ visibleInPicker: boolean;
26881
+ category: string;
26882
+ }[] | undefined;
26883
+ language?: string | undefined;
26884
+ tags?: string[] | undefined;
26885
+ categoryPath?: string[] | undefined;
26886
+ url?: string | undefined;
24417
26887
  };
24418
26888
  profile: {
24419
26889
  id: string;
@@ -24634,7 +27104,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
24634
27104
  } | undefined;
24635
27105
  }[] | undefined;
24636
27106
  } | {
24637
- type: "article";
27107
+ type: "article";
27108
+ content?: string | undefined;
27109
+ sensitive?: boolean | undefined;
27110
+ spoilerText?: string | undefined;
27111
+ attachments?: {
27112
+ type: string;
27113
+ url: string;
27114
+ previewUrl: string | null;
27115
+ textUrl: null;
27116
+ filename: string;
27117
+ meta: {
27118
+ usage?: string | undefined;
27119
+ focus?: {
27120
+ x: number;
27121
+ y: number;
27122
+ } | undefined;
27123
+ mimetype?: string | undefined;
27124
+ size?: number | undefined;
27125
+ };
27126
+ description?: string | undefined;
27127
+ blurhash?: string | undefined;
27128
+ status?: "failed" | "processing" | "ready" | undefined;
27129
+ error?: string | undefined;
27130
+ }[] | undefined;
27131
+ customEmojis?: {
27132
+ shortcode: string;
27133
+ url: string;
27134
+ staticUrl: string;
27135
+ visibleInPicker: boolean;
27136
+ category: string;
27137
+ }[] | undefined;
27138
+ language?: string | undefined;
27139
+ image?: string | undefined;
27140
+ title?: string | undefined;
27141
+ } | {
27142
+ type: "resource";
27143
+ title: string;
27144
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
24638
27145
  content?: string | undefined;
24639
27146
  sensitive?: boolean | undefined;
24640
27147
  spoilerText?: string | undefined;
@@ -24666,8 +27173,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
24666
27173
  category: string;
24667
27174
  }[] | undefined;
24668
27175
  language?: string | undefined;
24669
- image?: string | undefined;
24670
- title?: string | undefined;
27176
+ tags?: string[] | undefined;
27177
+ categoryPath?: string[] | undefined;
27178
+ url?: string | undefined;
24671
27179
  };
24672
27180
  profile: {
24673
27181
  id: string;
@@ -25006,7 +27514,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
25006
27514
  hidden?: boolean | undefined;
25007
27515
  replyTo?: {
25008
27516
  id: string;
25009
- type: "note" | "question" | "event" | "article";
27517
+ type: "resource" | "note" | "question" | "event" | "article";
25010
27518
  profile: {
25011
27519
  id: string;
25012
27520
  type: "guest" | "local" | "federated";
@@ -25257,6 +27765,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
25257
27765
  language?: string | undefined;
25258
27766
  image?: string | undefined;
25259
27767
  title?: string | undefined;
27768
+ } | {
27769
+ type: "resource";
27770
+ title: string;
27771
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
27772
+ content?: string | undefined;
27773
+ sensitive?: boolean | undefined;
27774
+ spoilerText?: string | undefined;
27775
+ attachments?: {
27776
+ type: string;
27777
+ url: string;
27778
+ previewUrl: string | null;
27779
+ textUrl: null;
27780
+ filename: string;
27781
+ meta: {
27782
+ usage?: string | undefined;
27783
+ focus?: {
27784
+ x: number;
27785
+ y: number;
27786
+ } | undefined;
27787
+ mimetype?: string | undefined;
27788
+ size?: number | undefined;
27789
+ };
27790
+ description?: string | undefined;
27791
+ blurhash?: string | undefined;
27792
+ status?: "failed" | "processing" | "ready" | undefined;
27793
+ error?: string | undefined;
27794
+ }[] | undefined;
27795
+ customEmojis?: {
27796
+ shortcode: string;
27797
+ url: string;
27798
+ staticUrl: string;
27799
+ visibleInPicker: boolean;
27800
+ category: string;
27801
+ }[] | undefined;
27802
+ language?: string | undefined;
27803
+ tags?: string[] | undefined;
27804
+ categoryPath?: string[] | undefined;
27805
+ url?: string | undefined;
25260
27806
  };
25261
27807
  entries: ({
25262
27808
  type: "create";
@@ -25452,6 +27998,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
25452
27998
  language?: string | undefined;
25453
27999
  image?: string | undefined;
25454
28000
  title?: string | undefined;
28001
+ } | {
28002
+ type: "resource";
28003
+ title: string;
28004
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
28005
+ content?: string | undefined;
28006
+ sensitive?: boolean | undefined;
28007
+ spoilerText?: string | undefined;
28008
+ attachments?: {
28009
+ type: string;
28010
+ url: string;
28011
+ previewUrl: string | null;
28012
+ textUrl: null;
28013
+ filename: string;
28014
+ meta: {
28015
+ usage?: string | undefined;
28016
+ focus?: {
28017
+ x: number;
28018
+ y: number;
28019
+ } | undefined;
28020
+ mimetype?: string | undefined;
28021
+ size?: number | undefined;
28022
+ };
28023
+ description?: string | undefined;
28024
+ blurhash?: string | undefined;
28025
+ status?: "failed" | "processing" | "ready" | undefined;
28026
+ error?: string | undefined;
28027
+ }[] | undefined;
28028
+ customEmojis?: {
28029
+ shortcode: string;
28030
+ url: string;
28031
+ staticUrl: string;
28032
+ visibleInPicker: boolean;
28033
+ category: string;
28034
+ }[] | undefined;
28035
+ language?: string | undefined;
28036
+ tags?: string[] | undefined;
28037
+ categoryPath?: string[] | undefined;
28038
+ url?: string | undefined;
25455
28039
  };
25456
28040
  profile: {
25457
28041
  id: string;
@@ -25706,6 +28290,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
25706
28290
  language?: string | undefined;
25707
28291
  image?: string | undefined;
25708
28292
  title?: string | undefined;
28293
+ } | {
28294
+ type: "resource";
28295
+ title: string;
28296
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
28297
+ content?: string | undefined;
28298
+ sensitive?: boolean | undefined;
28299
+ spoilerText?: string | undefined;
28300
+ attachments?: {
28301
+ type: string;
28302
+ url: string;
28303
+ previewUrl: string | null;
28304
+ textUrl: null;
28305
+ filename: string;
28306
+ meta: {
28307
+ usage?: string | undefined;
28308
+ focus?: {
28309
+ x: number;
28310
+ y: number;
28311
+ } | undefined;
28312
+ mimetype?: string | undefined;
28313
+ size?: number | undefined;
28314
+ };
28315
+ description?: string | undefined;
28316
+ blurhash?: string | undefined;
28317
+ status?: "failed" | "processing" | "ready" | undefined;
28318
+ error?: string | undefined;
28319
+ }[] | undefined;
28320
+ customEmojis?: {
28321
+ shortcode: string;
28322
+ url: string;
28323
+ staticUrl: string;
28324
+ visibleInPicker: boolean;
28325
+ category: string;
28326
+ }[] | undefined;
28327
+ language?: string | undefined;
28328
+ tags?: string[] | undefined;
28329
+ categoryPath?: string[] | undefined;
28330
+ url?: string | undefined;
25709
28331
  };
25710
28332
  profile: {
25711
28333
  id: string;
@@ -26046,7 +28668,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
26046
28668
  } | null | undefined;
26047
28669
  repost?: {
26048
28670
  id: string;
26049
- type: "note" | "question" | "event" | "article";
28671
+ type: "resource" | "note" | "question" | "event" | "article";
26050
28672
  profile: {
26051
28673
  id: string;
26052
28674
  type: "guest" | "local" | "federated";
@@ -26297,6 +28919,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
26297
28919
  language?: string | undefined;
26298
28920
  image?: string | undefined;
26299
28921
  title?: string | undefined;
28922
+ } | {
28923
+ type: "resource";
28924
+ title: string;
28925
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
28926
+ content?: string | undefined;
28927
+ sensitive?: boolean | undefined;
28928
+ spoilerText?: string | undefined;
28929
+ attachments?: {
28930
+ type: string;
28931
+ url: string;
28932
+ previewUrl: string | null;
28933
+ textUrl: null;
28934
+ filename: string;
28935
+ meta: {
28936
+ usage?: string | undefined;
28937
+ focus?: {
28938
+ x: number;
28939
+ y: number;
28940
+ } | undefined;
28941
+ mimetype?: string | undefined;
28942
+ size?: number | undefined;
28943
+ };
28944
+ description?: string | undefined;
28945
+ blurhash?: string | undefined;
28946
+ status?: "failed" | "processing" | "ready" | undefined;
28947
+ error?: string | undefined;
28948
+ }[] | undefined;
28949
+ customEmojis?: {
28950
+ shortcode: string;
28951
+ url: string;
28952
+ staticUrl: string;
28953
+ visibleInPicker: boolean;
28954
+ category: string;
28955
+ }[] | undefined;
28956
+ language?: string | undefined;
28957
+ tags?: string[] | undefined;
28958
+ categoryPath?: string[] | undefined;
28959
+ url?: string | undefined;
26300
28960
  };
26301
28961
  entries: ({
26302
28962
  type: "create";
@@ -26492,6 +29152,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
26492
29152
  language?: string | undefined;
26493
29153
  image?: string | undefined;
26494
29154
  title?: string | undefined;
29155
+ } | {
29156
+ type: "resource";
29157
+ title: string;
29158
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
29159
+ content?: string | undefined;
29160
+ sensitive?: boolean | undefined;
29161
+ spoilerText?: string | undefined;
29162
+ attachments?: {
29163
+ type: string;
29164
+ url: string;
29165
+ previewUrl: string | null;
29166
+ textUrl: null;
29167
+ filename: string;
29168
+ meta: {
29169
+ usage?: string | undefined;
29170
+ focus?: {
29171
+ x: number;
29172
+ y: number;
29173
+ } | undefined;
29174
+ mimetype?: string | undefined;
29175
+ size?: number | undefined;
29176
+ };
29177
+ description?: string | undefined;
29178
+ blurhash?: string | undefined;
29179
+ status?: "failed" | "processing" | "ready" | undefined;
29180
+ error?: string | undefined;
29181
+ }[] | undefined;
29182
+ customEmojis?: {
29183
+ shortcode: string;
29184
+ url: string;
29185
+ staticUrl: string;
29186
+ visibleInPicker: boolean;
29187
+ category: string;
29188
+ }[] | undefined;
29189
+ language?: string | undefined;
29190
+ tags?: string[] | undefined;
29191
+ categoryPath?: string[] | undefined;
29192
+ url?: string | undefined;
26495
29193
  };
26496
29194
  profile: {
26497
29195
  id: string;
@@ -26746,6 +29444,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
26746
29444
  language?: string | undefined;
26747
29445
  image?: string | undefined;
26748
29446
  title?: string | undefined;
29447
+ } | {
29448
+ type: "resource";
29449
+ title: string;
29450
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
29451
+ content?: string | undefined;
29452
+ sensitive?: boolean | undefined;
29453
+ spoilerText?: string | undefined;
29454
+ attachments?: {
29455
+ type: string;
29456
+ url: string;
29457
+ previewUrl: string | null;
29458
+ textUrl: null;
29459
+ filename: string;
29460
+ meta: {
29461
+ usage?: string | undefined;
29462
+ focus?: {
29463
+ x: number;
29464
+ y: number;
29465
+ } | undefined;
29466
+ mimetype?: string | undefined;
29467
+ size?: number | undefined;
29468
+ };
29469
+ description?: string | undefined;
29470
+ blurhash?: string | undefined;
29471
+ status?: "failed" | "processing" | "ready" | undefined;
29472
+ error?: string | undefined;
29473
+ }[] | undefined;
29474
+ customEmojis?: {
29475
+ shortcode: string;
29476
+ url: string;
29477
+ staticUrl: string;
29478
+ visibleInPicker: boolean;
29479
+ category: string;
29480
+ }[] | undefined;
29481
+ language?: string | undefined;
29482
+ tags?: string[] | undefined;
29483
+ categoryPath?: string[] | undefined;
29484
+ url?: string | undefined;
26749
29485
  };
26750
29486
  profile: {
26751
29487
  id: string;
@@ -27339,7 +30075,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
27339
30075
  hidden?: boolean | undefined;
27340
30076
  replyTo?: {
27341
30077
  id: string;
27342
- type: "note" | "question" | "event" | "article";
30078
+ type: "resource" | "note" | "question" | "event" | "article";
27343
30079
  profile: {
27344
30080
  id: string;
27345
30081
  type: "guest" | "local" | "federated";
@@ -27590,6 +30326,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
27590
30326
  language?: string | undefined;
27591
30327
  image?: string | undefined;
27592
30328
  title?: string | undefined;
30329
+ } | {
30330
+ type: "resource";
30331
+ title: string;
30332
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
30333
+ content?: string | undefined;
30334
+ sensitive?: boolean | undefined;
30335
+ spoilerText?: string | undefined;
30336
+ attachments?: {
30337
+ type: string;
30338
+ url: string;
30339
+ previewUrl: string | null;
30340
+ textUrl: null;
30341
+ filename: string;
30342
+ meta: {
30343
+ usage?: string | undefined;
30344
+ focus?: {
30345
+ x: number;
30346
+ y: number;
30347
+ } | undefined;
30348
+ mimetype?: string | undefined;
30349
+ size?: number | undefined;
30350
+ };
30351
+ description?: string | undefined;
30352
+ blurhash?: string | undefined;
30353
+ status?: "failed" | "processing" | "ready" | undefined;
30354
+ error?: string | undefined;
30355
+ }[] | undefined;
30356
+ customEmojis?: {
30357
+ shortcode: string;
30358
+ url: string;
30359
+ staticUrl: string;
30360
+ visibleInPicker: boolean;
30361
+ category: string;
30362
+ }[] | undefined;
30363
+ language?: string | undefined;
30364
+ tags?: string[] | undefined;
30365
+ categoryPath?: string[] | undefined;
30366
+ url?: string | undefined;
27593
30367
  };
27594
30368
  entries: ({
27595
30369
  type: "create";
@@ -27751,7 +30525,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
27751
30525
  } | undefined;
27752
30526
  }[] | undefined;
27753
30527
  } | {
27754
- type: "article";
30528
+ type: "article";
30529
+ content?: string | undefined;
30530
+ sensitive?: boolean | undefined;
30531
+ spoilerText?: string | undefined;
30532
+ attachments?: {
30533
+ type: string;
30534
+ url: string;
30535
+ previewUrl: string | null;
30536
+ textUrl: null;
30537
+ filename: string;
30538
+ meta: {
30539
+ usage?: string | undefined;
30540
+ focus?: {
30541
+ x: number;
30542
+ y: number;
30543
+ } | undefined;
30544
+ mimetype?: string | undefined;
30545
+ size?: number | undefined;
30546
+ };
30547
+ description?: string | undefined;
30548
+ blurhash?: string | undefined;
30549
+ status?: "failed" | "processing" | "ready" | undefined;
30550
+ error?: string | undefined;
30551
+ }[] | undefined;
30552
+ customEmojis?: {
30553
+ shortcode: string;
30554
+ url: string;
30555
+ staticUrl: string;
30556
+ visibleInPicker: boolean;
30557
+ category: string;
30558
+ }[] | undefined;
30559
+ language?: string | undefined;
30560
+ image?: string | undefined;
30561
+ title?: string | undefined;
30562
+ } | {
30563
+ type: "resource";
30564
+ title: string;
30565
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
27755
30566
  content?: string | undefined;
27756
30567
  sensitive?: boolean | undefined;
27757
30568
  spoilerText?: string | undefined;
@@ -27783,8 +30594,9 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
27783
30594
  category: string;
27784
30595
  }[] | undefined;
27785
30596
  language?: string | undefined;
27786
- image?: string | undefined;
27787
- title?: string | undefined;
30597
+ tags?: string[] | undefined;
30598
+ categoryPath?: string[] | undefined;
30599
+ url?: string | undefined;
27788
30600
  };
27789
30601
  profile: {
27790
30602
  id: string;
@@ -28039,6 +30851,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
28039
30851
  language?: string | undefined;
28040
30852
  image?: string | undefined;
28041
30853
  title?: string | undefined;
30854
+ } | {
30855
+ type: "resource";
30856
+ title: string;
30857
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
30858
+ content?: string | undefined;
30859
+ sensitive?: boolean | undefined;
30860
+ spoilerText?: string | undefined;
30861
+ attachments?: {
30862
+ type: string;
30863
+ url: string;
30864
+ previewUrl: string | null;
30865
+ textUrl: null;
30866
+ filename: string;
30867
+ meta: {
30868
+ usage?: string | undefined;
30869
+ focus?: {
30870
+ x: number;
30871
+ y: number;
30872
+ } | undefined;
30873
+ mimetype?: string | undefined;
30874
+ size?: number | undefined;
30875
+ };
30876
+ description?: string | undefined;
30877
+ blurhash?: string | undefined;
30878
+ status?: "failed" | "processing" | "ready" | undefined;
30879
+ error?: string | undefined;
30880
+ }[] | undefined;
30881
+ customEmojis?: {
30882
+ shortcode: string;
30883
+ url: string;
30884
+ staticUrl: string;
30885
+ visibleInPicker: boolean;
30886
+ category: string;
30887
+ }[] | undefined;
30888
+ language?: string | undefined;
30889
+ tags?: string[] | undefined;
30890
+ categoryPath?: string[] | undefined;
30891
+ url?: string | undefined;
28042
30892
  };
28043
30893
  profile: {
28044
30894
  id: string;
@@ -28378,7 +31228,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
28378
31228
  } | null | undefined;
28379
31229
  latestReplies?: {
28380
31230
  id: string;
28381
- type: "note" | "question" | "event" | "article";
31231
+ type: "resource" | "note" | "question" | "event" | "article";
28382
31232
  profile: {
28383
31233
  id: string;
28384
31234
  type: "guest" | "local" | "federated";
@@ -28629,6 +31479,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
28629
31479
  language?: string | undefined;
28630
31480
  image?: string | undefined;
28631
31481
  title?: string | undefined;
31482
+ } | {
31483
+ type: "resource";
31484
+ title: string;
31485
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
31486
+ content?: string | undefined;
31487
+ sensitive?: boolean | undefined;
31488
+ spoilerText?: string | undefined;
31489
+ attachments?: {
31490
+ type: string;
31491
+ url: string;
31492
+ previewUrl: string | null;
31493
+ textUrl: null;
31494
+ filename: string;
31495
+ meta: {
31496
+ usage?: string | undefined;
31497
+ focus?: {
31498
+ x: number;
31499
+ y: number;
31500
+ } | undefined;
31501
+ mimetype?: string | undefined;
31502
+ size?: number | undefined;
31503
+ };
31504
+ description?: string | undefined;
31505
+ blurhash?: string | undefined;
31506
+ status?: "failed" | "processing" | "ready" | undefined;
31507
+ error?: string | undefined;
31508
+ }[] | undefined;
31509
+ customEmojis?: {
31510
+ shortcode: string;
31511
+ url: string;
31512
+ staticUrl: string;
31513
+ visibleInPicker: boolean;
31514
+ category: string;
31515
+ }[] | undefined;
31516
+ language?: string | undefined;
31517
+ tags?: string[] | undefined;
31518
+ categoryPath?: string[] | undefined;
31519
+ url?: string | undefined;
28632
31520
  };
28633
31521
  entries: ({
28634
31522
  type: "create";
@@ -28824,6 +31712,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
28824
31712
  language?: string | undefined;
28825
31713
  image?: string | undefined;
28826
31714
  title?: string | undefined;
31715
+ } | {
31716
+ type: "resource";
31717
+ title: string;
31718
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
31719
+ content?: string | undefined;
31720
+ sensitive?: boolean | undefined;
31721
+ spoilerText?: string | undefined;
31722
+ attachments?: {
31723
+ type: string;
31724
+ url: string;
31725
+ previewUrl: string | null;
31726
+ textUrl: null;
31727
+ filename: string;
31728
+ meta: {
31729
+ usage?: string | undefined;
31730
+ focus?: {
31731
+ x: number;
31732
+ y: number;
31733
+ } | undefined;
31734
+ mimetype?: string | undefined;
31735
+ size?: number | undefined;
31736
+ };
31737
+ description?: string | undefined;
31738
+ blurhash?: string | undefined;
31739
+ status?: "failed" | "processing" | "ready" | undefined;
31740
+ error?: string | undefined;
31741
+ }[] | undefined;
31742
+ customEmojis?: {
31743
+ shortcode: string;
31744
+ url: string;
31745
+ staticUrl: string;
31746
+ visibleInPicker: boolean;
31747
+ category: string;
31748
+ }[] | undefined;
31749
+ language?: string | undefined;
31750
+ tags?: string[] | undefined;
31751
+ categoryPath?: string[] | undefined;
31752
+ url?: string | undefined;
28827
31753
  };
28828
31754
  profile: {
28829
31755
  id: string;
@@ -29078,6 +32004,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
29078
32004
  language?: string | undefined;
29079
32005
  image?: string | undefined;
29080
32006
  title?: string | undefined;
32007
+ } | {
32008
+ type: "resource";
32009
+ title: string;
32010
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
32011
+ content?: string | undefined;
32012
+ sensitive?: boolean | undefined;
32013
+ spoilerText?: string | undefined;
32014
+ attachments?: {
32015
+ type: string;
32016
+ url: string;
32017
+ previewUrl: string | null;
32018
+ textUrl: null;
32019
+ filename: string;
32020
+ meta: {
32021
+ usage?: string | undefined;
32022
+ focus?: {
32023
+ x: number;
32024
+ y: number;
32025
+ } | undefined;
32026
+ mimetype?: string | undefined;
32027
+ size?: number | undefined;
32028
+ };
32029
+ description?: string | undefined;
32030
+ blurhash?: string | undefined;
32031
+ status?: "failed" | "processing" | "ready" | undefined;
32032
+ error?: string | undefined;
32033
+ }[] | undefined;
32034
+ customEmojis?: {
32035
+ shortcode: string;
32036
+ url: string;
32037
+ staticUrl: string;
32038
+ visibleInPicker: boolean;
32039
+ category: string;
32040
+ }[] | undefined;
32041
+ language?: string | undefined;
32042
+ tags?: string[] | undefined;
32043
+ categoryPath?: string[] | undefined;
32044
+ url?: string | undefined;
29081
32045
  };
29082
32046
  profile: {
29083
32047
  id: string;
@@ -29416,7 +32380,7 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
29416
32380
  hidden?: boolean | undefined;
29417
32381
  replyTo?: {
29418
32382
  id: string;
29419
- type: "note" | "question" | "event" | "article";
32383
+ type: "resource" | "note" | "question" | "event" | "article";
29420
32384
  profile: {
29421
32385
  id: string;
29422
32386
  type: "guest" | "local" | "federated";
@@ -29667,6 +32631,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
29667
32631
  language?: string | undefined;
29668
32632
  image?: string | undefined;
29669
32633
  title?: string | undefined;
32634
+ } | {
32635
+ type: "resource";
32636
+ title: string;
32637
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
32638
+ content?: string | undefined;
32639
+ sensitive?: boolean | undefined;
32640
+ spoilerText?: string | undefined;
32641
+ attachments?: {
32642
+ type: string;
32643
+ url: string;
32644
+ previewUrl: string | null;
32645
+ textUrl: null;
32646
+ filename: string;
32647
+ meta: {
32648
+ usage?: string | undefined;
32649
+ focus?: {
32650
+ x: number;
32651
+ y: number;
32652
+ } | undefined;
32653
+ mimetype?: string | undefined;
32654
+ size?: number | undefined;
32655
+ };
32656
+ description?: string | undefined;
32657
+ blurhash?: string | undefined;
32658
+ status?: "failed" | "processing" | "ready" | undefined;
32659
+ error?: string | undefined;
32660
+ }[] | undefined;
32661
+ customEmojis?: {
32662
+ shortcode: string;
32663
+ url: string;
32664
+ staticUrl: string;
32665
+ visibleInPicker: boolean;
32666
+ category: string;
32667
+ }[] | undefined;
32668
+ language?: string | undefined;
32669
+ tags?: string[] | undefined;
32670
+ categoryPath?: string[] | undefined;
32671
+ url?: string | undefined;
29670
32672
  };
29671
32673
  entries: ({
29672
32674
  type: "create";
@@ -29862,6 +32864,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
29862
32864
  language?: string | undefined;
29863
32865
  image?: string | undefined;
29864
32866
  title?: string | undefined;
32867
+ } | {
32868
+ type: "resource";
32869
+ title: string;
32870
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
32871
+ content?: string | undefined;
32872
+ sensitive?: boolean | undefined;
32873
+ spoilerText?: string | undefined;
32874
+ attachments?: {
32875
+ type: string;
32876
+ url: string;
32877
+ previewUrl: string | null;
32878
+ textUrl: null;
32879
+ filename: string;
32880
+ meta: {
32881
+ usage?: string | undefined;
32882
+ focus?: {
32883
+ x: number;
32884
+ y: number;
32885
+ } | undefined;
32886
+ mimetype?: string | undefined;
32887
+ size?: number | undefined;
32888
+ };
32889
+ description?: string | undefined;
32890
+ blurhash?: string | undefined;
32891
+ status?: "failed" | "processing" | "ready" | undefined;
32892
+ error?: string | undefined;
32893
+ }[] | undefined;
32894
+ customEmojis?: {
32895
+ shortcode: string;
32896
+ url: string;
32897
+ staticUrl: string;
32898
+ visibleInPicker: boolean;
32899
+ category: string;
32900
+ }[] | undefined;
32901
+ language?: string | undefined;
32902
+ tags?: string[] | undefined;
32903
+ categoryPath?: string[] | undefined;
32904
+ url?: string | undefined;
29865
32905
  };
29866
32906
  profile: {
29867
32907
  id: string;
@@ -30116,6 +33156,44 @@ export declare const profiles: (rawClient: FetchClient, eventSource: ReturnType<
30116
33156
  language?: string | undefined;
30117
33157
  image?: string | undefined;
30118
33158
  title?: string | undefined;
33159
+ } | {
33160
+ type: "resource";
33161
+ title: string;
33162
+ resourceKind: "link" | "file" | "video" | "gallery" | "audio";
33163
+ content?: string | undefined;
33164
+ sensitive?: boolean | undefined;
33165
+ spoilerText?: string | undefined;
33166
+ attachments?: {
33167
+ type: string;
33168
+ url: string;
33169
+ previewUrl: string | null;
33170
+ textUrl: null;
33171
+ filename: string;
33172
+ meta: {
33173
+ usage?: string | undefined;
33174
+ focus?: {
33175
+ x: number;
33176
+ y: number;
33177
+ } | undefined;
33178
+ mimetype?: string | undefined;
33179
+ size?: number | undefined;
33180
+ };
33181
+ description?: string | undefined;
33182
+ blurhash?: string | undefined;
33183
+ status?: "failed" | "processing" | "ready" | undefined;
33184
+ error?: string | undefined;
33185
+ }[] | undefined;
33186
+ customEmojis?: {
33187
+ shortcode: string;
33188
+ url: string;
33189
+ staticUrl: string;
33190
+ visibleInPicker: boolean;
33191
+ category: string;
33192
+ }[] | undefined;
33193
+ language?: string | undefined;
33194
+ tags?: string[] | undefined;
33195
+ categoryPath?: string[] | undefined;
33196
+ url?: string | undefined;
30119
33197
  };
30120
33198
  profile: {
30121
33199
  id: string;