@atproto/api 0.20.7 → 0.20.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/definitions/labels.json +4 -20
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +294 -10
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +149 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.d.ts +10 -0
- package/dist/client/types/app/bsky/draft/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.js +7 -0
- package/dist/client/types/app/bsky/draft/defs.js.map +1 -1
- package/dist/client/types/app/bsky/embed/gallery.d.ts +45 -0
- package/dist/client/types/app/bsky/embed/gallery.d.ts.map +1 -0
- package/dist/client/types/app/bsky/embed/gallery.js +33 -0
- package/dist/client/types/app/bsky/embed/gallery.js.map +1 -0
- package/dist/client/types/app/bsky/embed/record.d.ts +2 -1
- package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/record.js.map +1 -1
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +3 -2
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/recordWithMedia.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +2 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/post.d.ts +2 -1
- package/dist/client/types/app/bsky/feed/post.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/post.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getConvos.d.ts +23 -0
- package/dist/client/types/chat/bsky/moderation/getConvos.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getConvos.js +8 -0
- package/dist/client/types/chat/bsky/moderation/getConvos.js.map +1 -0
- package/dist/moderation/const/labels.d.ts.map +1 -1
- package/dist/moderation/const/labels.js +0 -21
- package/dist/moderation/const/labels.js.map +1 -1
- package/dist/moderation/subjects/post.d.ts.map +1 -1
- package/dist/moderation/subjects/post.js +69 -1
- package/dist/moderation/subjects/post.js.map +1 -1
- package/package.json +1 -1
- package/src/moderation/subjects/post.ts +73 -0
- package/tests/moderation-behaviors.test.ts +7 -26
- package/tests/moderation-mutewords.test.ts +178 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -2238,6 +2238,10 @@ export declare const schemaDict: {
|
|
|
2238
2238
|
};
|
|
2239
2239
|
readonly maxLength: 4;
|
|
2240
2240
|
};
|
|
2241
|
+
readonly embedGallery: {
|
|
2242
|
+
readonly type: "ref";
|
|
2243
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedGallery";
|
|
2244
|
+
};
|
|
2241
2245
|
readonly embedVideos: {
|
|
2242
2246
|
readonly type: "array";
|
|
2243
2247
|
readonly items: {
|
|
@@ -2316,6 +2320,25 @@ export declare const schemaDict: {
|
|
|
2316
2320
|
};
|
|
2317
2321
|
};
|
|
2318
2322
|
};
|
|
2323
|
+
readonly draftEmbedGallery: {
|
|
2324
|
+
readonly type: "object";
|
|
2325
|
+
readonly required: ["items"];
|
|
2326
|
+
readonly properties: {
|
|
2327
|
+
readonly items: {
|
|
2328
|
+
readonly type: "ref";
|
|
2329
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedGalleryItems";
|
|
2330
|
+
};
|
|
2331
|
+
};
|
|
2332
|
+
};
|
|
2333
|
+
readonly draftEmbedGalleryItems: {
|
|
2334
|
+
readonly type: "array";
|
|
2335
|
+
readonly items: {
|
|
2336
|
+
readonly type: "union";
|
|
2337
|
+
readonly refs: ["lex:app.bsky.draft.defs#draftEmbedImage"];
|
|
2338
|
+
};
|
|
2339
|
+
readonly maxLength: 20;
|
|
2340
|
+
readonly description: "The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.";
|
|
2341
|
+
};
|
|
2319
2342
|
readonly draftEmbedImage: {
|
|
2320
2343
|
readonly type: "object";
|
|
2321
2344
|
readonly required: ["localRef"];
|
|
@@ -2672,6 +2695,85 @@ export declare const schemaDict: {
|
|
|
2672
2695
|
};
|
|
2673
2696
|
};
|
|
2674
2697
|
};
|
|
2698
|
+
readonly AppBskyEmbedGallery: {
|
|
2699
|
+
readonly lexicon: 1;
|
|
2700
|
+
readonly id: "app.bsky.embed.gallery";
|
|
2701
|
+
readonly description: "An assortment of media embedded in a Bluesky record (eg, a post).";
|
|
2702
|
+
readonly defs: {
|
|
2703
|
+
readonly main: {
|
|
2704
|
+
readonly type: "object";
|
|
2705
|
+
readonly required: ["items"];
|
|
2706
|
+
readonly properties: {
|
|
2707
|
+
readonly items: {
|
|
2708
|
+
readonly type: "array";
|
|
2709
|
+
readonly maxLength: 20;
|
|
2710
|
+
readonly description: "The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.";
|
|
2711
|
+
readonly items: {
|
|
2712
|
+
readonly type: "union";
|
|
2713
|
+
readonly refs: ["lex:app.bsky.embed.gallery#image"];
|
|
2714
|
+
readonly description: "The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.";
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
};
|
|
2718
|
+
};
|
|
2719
|
+
readonly image: {
|
|
2720
|
+
readonly type: "object";
|
|
2721
|
+
readonly required: ["image", "alt", "aspectRatio"];
|
|
2722
|
+
readonly properties: {
|
|
2723
|
+
readonly image: {
|
|
2724
|
+
readonly type: "blob";
|
|
2725
|
+
readonly accept: ["image/*"];
|
|
2726
|
+
readonly maxSize: 2000000;
|
|
2727
|
+
};
|
|
2728
|
+
readonly alt: {
|
|
2729
|
+
readonly type: "string";
|
|
2730
|
+
readonly description: "Alt text description of the image, for accessibility.";
|
|
2731
|
+
};
|
|
2732
|
+
readonly aspectRatio: {
|
|
2733
|
+
readonly type: "ref";
|
|
2734
|
+
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
2735
|
+
};
|
|
2736
|
+
};
|
|
2737
|
+
};
|
|
2738
|
+
readonly view: {
|
|
2739
|
+
readonly type: "object";
|
|
2740
|
+
readonly required: ["items"];
|
|
2741
|
+
readonly properties: {
|
|
2742
|
+
readonly items: {
|
|
2743
|
+
readonly type: "array";
|
|
2744
|
+
readonly items: {
|
|
2745
|
+
readonly type: "union";
|
|
2746
|
+
readonly refs: ["lex:app.bsky.embed.gallery#viewImage"];
|
|
2747
|
+
};
|
|
2748
|
+
};
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
|
+
readonly viewImage: {
|
|
2752
|
+
readonly type: "object";
|
|
2753
|
+
readonly required: ["thumbnail", "fullsize", "alt", "aspectRatio"];
|
|
2754
|
+
readonly properties: {
|
|
2755
|
+
readonly thumbnail: {
|
|
2756
|
+
readonly type: "string";
|
|
2757
|
+
readonly format: "uri";
|
|
2758
|
+
readonly description: "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.";
|
|
2759
|
+
};
|
|
2760
|
+
readonly fullsize: {
|
|
2761
|
+
readonly type: "string";
|
|
2762
|
+
readonly format: "uri";
|
|
2763
|
+
readonly description: "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.";
|
|
2764
|
+
};
|
|
2765
|
+
readonly alt: {
|
|
2766
|
+
readonly type: "string";
|
|
2767
|
+
readonly description: "Alt text description of the image, for accessibility.";
|
|
2768
|
+
};
|
|
2769
|
+
readonly aspectRatio: {
|
|
2770
|
+
readonly type: "ref";
|
|
2771
|
+
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
2772
|
+
};
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
};
|
|
2776
|
+
};
|
|
2675
2777
|
readonly AppBskyEmbedGetEmbedExternalView: {
|
|
2676
2778
|
readonly lexicon: 1;
|
|
2677
2779
|
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
@@ -2877,7 +2979,7 @@ export declare const schemaDict: {
|
|
|
2877
2979
|
readonly type: "array";
|
|
2878
2980
|
readonly items: {
|
|
2879
2981
|
readonly type: "union";
|
|
2880
|
-
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
2982
|
+
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.gallery#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
2881
2983
|
};
|
|
2882
2984
|
};
|
|
2883
2985
|
readonly indexedAt: {
|
|
@@ -2949,7 +3051,7 @@ export declare const schemaDict: {
|
|
|
2949
3051
|
};
|
|
2950
3052
|
readonly media: {
|
|
2951
3053
|
readonly type: "union";
|
|
2952
|
-
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.external"];
|
|
3054
|
+
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.gallery", "lex:app.bsky.embed.external"];
|
|
2953
3055
|
};
|
|
2954
3056
|
};
|
|
2955
3057
|
};
|
|
@@ -2963,7 +3065,7 @@ export declare const schemaDict: {
|
|
|
2963
3065
|
};
|
|
2964
3066
|
readonly media: {
|
|
2965
3067
|
readonly type: "union";
|
|
2966
|
-
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.external#view"];
|
|
3068
|
+
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.gallery#view", "lex:app.bsky.embed.external#view"];
|
|
2967
3069
|
};
|
|
2968
3070
|
};
|
|
2969
3071
|
};
|
|
@@ -3083,7 +3185,7 @@ export declare const schemaDict: {
|
|
|
3083
3185
|
};
|
|
3084
3186
|
readonly embed: {
|
|
3085
3187
|
readonly type: "union";
|
|
3086
|
-
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
3188
|
+
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.gallery#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
3087
3189
|
};
|
|
3088
3190
|
readonly bookmarkCount: {
|
|
3089
3191
|
readonly type: "integer";
|
|
@@ -4500,7 +4602,7 @@ export declare const schemaDict: {
|
|
|
4500
4602
|
};
|
|
4501
4603
|
readonly embed: {
|
|
4502
4604
|
readonly type: "union";
|
|
4503
|
-
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.external", "lex:app.bsky.embed.record", "lex:app.bsky.embed.recordWithMedia"];
|
|
4605
|
+
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.gallery", "lex:app.bsky.embed.external", "lex:app.bsky.embed.record", "lex:app.bsky.embed.recordWithMedia"];
|
|
4504
4606
|
};
|
|
4505
4607
|
readonly langs: {
|
|
4506
4608
|
readonly type: "array";
|
|
@@ -12497,6 +12599,46 @@ export declare const schemaDict: {
|
|
|
12497
12599
|
};
|
|
12498
12600
|
};
|
|
12499
12601
|
};
|
|
12602
|
+
readonly ChatBskyModerationGetConvos: {
|
|
12603
|
+
readonly lexicon: 1;
|
|
12604
|
+
readonly id: "chat.bsky.moderation.getConvos";
|
|
12605
|
+
readonly defs: {
|
|
12606
|
+
readonly main: {
|
|
12607
|
+
readonly type: "query";
|
|
12608
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.";
|
|
12609
|
+
readonly parameters: {
|
|
12610
|
+
readonly type: "params";
|
|
12611
|
+
readonly required: ["convoIds"];
|
|
12612
|
+
readonly properties: {
|
|
12613
|
+
readonly convoIds: {
|
|
12614
|
+
readonly type: "array";
|
|
12615
|
+
readonly minLength: 1;
|
|
12616
|
+
readonly maxLength: 100;
|
|
12617
|
+
readonly items: {
|
|
12618
|
+
readonly type: "string";
|
|
12619
|
+
};
|
|
12620
|
+
};
|
|
12621
|
+
};
|
|
12622
|
+
};
|
|
12623
|
+
readonly output: {
|
|
12624
|
+
readonly encoding: "application/json";
|
|
12625
|
+
readonly schema: {
|
|
12626
|
+
readonly type: "object";
|
|
12627
|
+
readonly required: ["convos"];
|
|
12628
|
+
readonly properties: {
|
|
12629
|
+
readonly convos: {
|
|
12630
|
+
readonly type: "array";
|
|
12631
|
+
readonly items: {
|
|
12632
|
+
readonly type: "ref";
|
|
12633
|
+
readonly ref: "lex:chat.bsky.moderation.defs#convoView";
|
|
12634
|
+
};
|
|
12635
|
+
};
|
|
12636
|
+
};
|
|
12637
|
+
};
|
|
12638
|
+
};
|
|
12639
|
+
};
|
|
12640
|
+
};
|
|
12641
|
+
};
|
|
12500
12642
|
readonly ChatBskyModerationGetMessageContext: {
|
|
12501
12643
|
readonly lexicon: 1;
|
|
12502
12644
|
readonly id: "chat.bsky.moderation.getMessageContext";
|
|
@@ -25928,6 +26070,10 @@ export declare const schemas: ({
|
|
|
25928
26070
|
};
|
|
25929
26071
|
readonly maxLength: 4;
|
|
25930
26072
|
};
|
|
26073
|
+
readonly embedGallery: {
|
|
26074
|
+
readonly type: "ref";
|
|
26075
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedGallery";
|
|
26076
|
+
};
|
|
25931
26077
|
readonly embedVideos: {
|
|
25932
26078
|
readonly type: "array";
|
|
25933
26079
|
readonly items: {
|
|
@@ -26006,6 +26152,25 @@ export declare const schemas: ({
|
|
|
26006
26152
|
};
|
|
26007
26153
|
};
|
|
26008
26154
|
};
|
|
26155
|
+
readonly draftEmbedGallery: {
|
|
26156
|
+
readonly type: "object";
|
|
26157
|
+
readonly required: ["items"];
|
|
26158
|
+
readonly properties: {
|
|
26159
|
+
readonly items: {
|
|
26160
|
+
readonly type: "ref";
|
|
26161
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedGalleryItems";
|
|
26162
|
+
};
|
|
26163
|
+
};
|
|
26164
|
+
};
|
|
26165
|
+
readonly draftEmbedGalleryItems: {
|
|
26166
|
+
readonly type: "array";
|
|
26167
|
+
readonly items: {
|
|
26168
|
+
readonly type: "union";
|
|
26169
|
+
readonly refs: ["lex:app.bsky.draft.defs#draftEmbedImage"];
|
|
26170
|
+
};
|
|
26171
|
+
readonly maxLength: 20;
|
|
26172
|
+
readonly description: "The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.";
|
|
26173
|
+
};
|
|
26009
26174
|
readonly draftEmbedImage: {
|
|
26010
26175
|
readonly type: "object";
|
|
26011
26176
|
readonly required: ["localRef"];
|
|
@@ -26356,6 +26521,84 @@ export declare const schemas: ({
|
|
|
26356
26521
|
};
|
|
26357
26522
|
};
|
|
26358
26523
|
};
|
|
26524
|
+
} | {
|
|
26525
|
+
readonly lexicon: 1;
|
|
26526
|
+
readonly id: "app.bsky.embed.gallery";
|
|
26527
|
+
readonly description: "An assortment of media embedded in a Bluesky record (eg, a post).";
|
|
26528
|
+
readonly defs: {
|
|
26529
|
+
readonly main: {
|
|
26530
|
+
readonly type: "object";
|
|
26531
|
+
readonly required: ["items"];
|
|
26532
|
+
readonly properties: {
|
|
26533
|
+
readonly items: {
|
|
26534
|
+
readonly type: "array";
|
|
26535
|
+
readonly maxLength: 20;
|
|
26536
|
+
readonly description: "The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.";
|
|
26537
|
+
readonly items: {
|
|
26538
|
+
readonly type: "union";
|
|
26539
|
+
readonly refs: ["lex:app.bsky.embed.gallery#image"];
|
|
26540
|
+
readonly description: "The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.";
|
|
26541
|
+
};
|
|
26542
|
+
};
|
|
26543
|
+
};
|
|
26544
|
+
};
|
|
26545
|
+
readonly image: {
|
|
26546
|
+
readonly type: "object";
|
|
26547
|
+
readonly required: ["image", "alt", "aspectRatio"];
|
|
26548
|
+
readonly properties: {
|
|
26549
|
+
readonly image: {
|
|
26550
|
+
readonly type: "blob";
|
|
26551
|
+
readonly accept: ["image/*"];
|
|
26552
|
+
readonly maxSize: 2000000;
|
|
26553
|
+
};
|
|
26554
|
+
readonly alt: {
|
|
26555
|
+
readonly type: "string";
|
|
26556
|
+
readonly description: "Alt text description of the image, for accessibility.";
|
|
26557
|
+
};
|
|
26558
|
+
readonly aspectRatio: {
|
|
26559
|
+
readonly type: "ref";
|
|
26560
|
+
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
26561
|
+
};
|
|
26562
|
+
};
|
|
26563
|
+
};
|
|
26564
|
+
readonly view: {
|
|
26565
|
+
readonly type: "object";
|
|
26566
|
+
readonly required: ["items"];
|
|
26567
|
+
readonly properties: {
|
|
26568
|
+
readonly items: {
|
|
26569
|
+
readonly type: "array";
|
|
26570
|
+
readonly items: {
|
|
26571
|
+
readonly type: "union";
|
|
26572
|
+
readonly refs: ["lex:app.bsky.embed.gallery#viewImage"];
|
|
26573
|
+
};
|
|
26574
|
+
};
|
|
26575
|
+
};
|
|
26576
|
+
};
|
|
26577
|
+
readonly viewImage: {
|
|
26578
|
+
readonly type: "object";
|
|
26579
|
+
readonly required: ["thumbnail", "fullsize", "alt", "aspectRatio"];
|
|
26580
|
+
readonly properties: {
|
|
26581
|
+
readonly thumbnail: {
|
|
26582
|
+
readonly type: "string";
|
|
26583
|
+
readonly format: "uri";
|
|
26584
|
+
readonly description: "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.";
|
|
26585
|
+
};
|
|
26586
|
+
readonly fullsize: {
|
|
26587
|
+
readonly type: "string";
|
|
26588
|
+
readonly format: "uri";
|
|
26589
|
+
readonly description: "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.";
|
|
26590
|
+
};
|
|
26591
|
+
readonly alt: {
|
|
26592
|
+
readonly type: "string";
|
|
26593
|
+
readonly description: "Alt text description of the image, for accessibility.";
|
|
26594
|
+
};
|
|
26595
|
+
readonly aspectRatio: {
|
|
26596
|
+
readonly type: "ref";
|
|
26597
|
+
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
26598
|
+
};
|
|
26599
|
+
};
|
|
26600
|
+
};
|
|
26601
|
+
};
|
|
26359
26602
|
} | {
|
|
26360
26603
|
readonly lexicon: 1;
|
|
26361
26604
|
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
@@ -26559,7 +26802,7 @@ export declare const schemas: ({
|
|
|
26559
26802
|
readonly type: "array";
|
|
26560
26803
|
readonly items: {
|
|
26561
26804
|
readonly type: "union";
|
|
26562
|
-
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
26805
|
+
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.gallery#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
26563
26806
|
};
|
|
26564
26807
|
};
|
|
26565
26808
|
readonly indexedAt: {
|
|
@@ -26630,7 +26873,7 @@ export declare const schemas: ({
|
|
|
26630
26873
|
};
|
|
26631
26874
|
readonly media: {
|
|
26632
26875
|
readonly type: "union";
|
|
26633
|
-
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.external"];
|
|
26876
|
+
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.gallery", "lex:app.bsky.embed.external"];
|
|
26634
26877
|
};
|
|
26635
26878
|
};
|
|
26636
26879
|
};
|
|
@@ -26644,7 +26887,7 @@ export declare const schemas: ({
|
|
|
26644
26887
|
};
|
|
26645
26888
|
readonly media: {
|
|
26646
26889
|
readonly type: "union";
|
|
26647
|
-
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.external#view"];
|
|
26890
|
+
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.gallery#view", "lex:app.bsky.embed.external#view"];
|
|
26648
26891
|
};
|
|
26649
26892
|
};
|
|
26650
26893
|
};
|
|
@@ -26762,7 +27005,7 @@ export declare const schemas: ({
|
|
|
26762
27005
|
};
|
|
26763
27006
|
readonly embed: {
|
|
26764
27007
|
readonly type: "union";
|
|
26765
|
-
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
27008
|
+
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.gallery#view", "lex:app.bsky.embed.external#view", "lex:app.bsky.embed.record#view", "lex:app.bsky.embed.recordWithMedia#view"];
|
|
26766
27009
|
};
|
|
26767
27010
|
readonly bookmarkCount: {
|
|
26768
27011
|
readonly type: "integer";
|
|
@@ -28160,7 +28403,7 @@ export declare const schemas: ({
|
|
|
28160
28403
|
};
|
|
28161
28404
|
readonly embed: {
|
|
28162
28405
|
readonly type: "union";
|
|
28163
|
-
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.external", "lex:app.bsky.embed.record", "lex:app.bsky.embed.recordWithMedia"];
|
|
28406
|
+
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.gallery", "lex:app.bsky.embed.external", "lex:app.bsky.embed.record", "lex:app.bsky.embed.recordWithMedia"];
|
|
28164
28407
|
};
|
|
28165
28408
|
readonly langs: {
|
|
28166
28409
|
readonly type: "array";
|
|
@@ -36020,6 +36263,45 @@ export declare const schemas: ({
|
|
|
36020
36263
|
};
|
|
36021
36264
|
};
|
|
36022
36265
|
};
|
|
36266
|
+
} | {
|
|
36267
|
+
readonly lexicon: 1;
|
|
36268
|
+
readonly id: "chat.bsky.moderation.getConvos";
|
|
36269
|
+
readonly defs: {
|
|
36270
|
+
readonly main: {
|
|
36271
|
+
readonly type: "query";
|
|
36272
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.";
|
|
36273
|
+
readonly parameters: {
|
|
36274
|
+
readonly type: "params";
|
|
36275
|
+
readonly required: ["convoIds"];
|
|
36276
|
+
readonly properties: {
|
|
36277
|
+
readonly convoIds: {
|
|
36278
|
+
readonly type: "array";
|
|
36279
|
+
readonly minLength: 1;
|
|
36280
|
+
readonly maxLength: 100;
|
|
36281
|
+
readonly items: {
|
|
36282
|
+
readonly type: "string";
|
|
36283
|
+
};
|
|
36284
|
+
};
|
|
36285
|
+
};
|
|
36286
|
+
};
|
|
36287
|
+
readonly output: {
|
|
36288
|
+
readonly encoding: "application/json";
|
|
36289
|
+
readonly schema: {
|
|
36290
|
+
readonly type: "object";
|
|
36291
|
+
readonly required: ["convos"];
|
|
36292
|
+
readonly properties: {
|
|
36293
|
+
readonly convos: {
|
|
36294
|
+
readonly type: "array";
|
|
36295
|
+
readonly items: {
|
|
36296
|
+
readonly type: "ref";
|
|
36297
|
+
readonly ref: "lex:chat.bsky.moderation.defs#convoView";
|
|
36298
|
+
};
|
|
36299
|
+
};
|
|
36300
|
+
};
|
|
36301
|
+
};
|
|
36302
|
+
};
|
|
36303
|
+
};
|
|
36304
|
+
};
|
|
36023
36305
|
} | {
|
|
36024
36306
|
readonly lexicon: 1;
|
|
36025
36307
|
readonly id: "chat.bsky.moderation.getMessageContext";
|
|
@@ -47112,6 +47394,7 @@ export declare const ids: {
|
|
|
47112
47394
|
readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
|
|
47113
47395
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
47114
47396
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
47397
|
+
readonly AppBskyEmbedGallery: "app.bsky.embed.gallery";
|
|
47115
47398
|
readonly AppBskyEmbedGetEmbedExternalView: "app.bsky.embed.getEmbedExternalView";
|
|
47116
47399
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|
|
47117
47400
|
readonly AppBskyEmbedRecord: "app.bsky.embed.record";
|
|
@@ -47273,6 +47556,7 @@ export declare const ids: {
|
|
|
47273
47556
|
readonly ChatBskyModerationGetActorMetadata: "chat.bsky.moderation.getActorMetadata";
|
|
47274
47557
|
readonly ChatBskyModerationGetConvo: "chat.bsky.moderation.getConvo";
|
|
47275
47558
|
readonly ChatBskyModerationGetConvoMembers: "chat.bsky.moderation.getConvoMembers";
|
|
47559
|
+
readonly ChatBskyModerationGetConvos: "chat.bsky.moderation.getConvos";
|
|
47276
47560
|
readonly ChatBskyModerationGetMessageContext: "chat.bsky.moderation.getMessageContext";
|
|
47277
47561
|
readonly ChatBskyModerationSubscribeModEvents: "chat.bsky.moderation.subscribeModEvents";
|
|
47278
47562
|
readonly ChatBskyModerationUpdateActorAccess: "chat.bsky.moderation.updateActorAccess";
|