@atproto/api 0.20.8 → 0.20.10
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/dist/client/index.d.ts +1 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +240 -24
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +121 -6
- 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/group/defs.d.ts +5 -1
- package/dist/client/types/chat/bsky/group/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/defs.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 +4 -4
- package/src/moderation/subjects/post.ts +73 -0
- package/tests/moderation-mutewords.test.ts +178 -1
- package/tsconfig.build.json +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.json +2 -2
- package/tsconfig.tests.json +2 -2
|
@@ -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";
|
|
@@ -11550,8 +11652,8 @@ export declare const schemaDict: {
|
|
|
11550
11652
|
readonly name: {
|
|
11551
11653
|
readonly type: "string";
|
|
11552
11654
|
readonly minLength: 1;
|
|
11553
|
-
readonly maxGraphemes:
|
|
11554
|
-
readonly maxLength:
|
|
11655
|
+
readonly maxGraphemes: 50;
|
|
11656
|
+
readonly maxLength: 500;
|
|
11555
11657
|
};
|
|
11556
11658
|
};
|
|
11557
11659
|
};
|
|
@@ -11636,6 +11738,7 @@ export declare const schemaDict: {
|
|
|
11636
11738
|
readonly knownValues: ["anyone", "followedByOwner"];
|
|
11637
11739
|
};
|
|
11638
11740
|
readonly joinLinkView: {
|
|
11741
|
+
readonly description: "Join link view to be used within a group view, so the convo is surrounding, not specified inside this view.";
|
|
11639
11742
|
readonly type: "object";
|
|
11640
11743
|
readonly required: ["code", "enabledStatus", "requireApproval", "joinRule", "createdAt"];
|
|
11641
11744
|
readonly properties: {
|
|
@@ -11660,9 +11763,13 @@ export declare const schemaDict: {
|
|
|
11660
11763
|
};
|
|
11661
11764
|
};
|
|
11662
11765
|
readonly joinLinkPreviewView: {
|
|
11766
|
+
readonly description: "Preview that can be shown in feeds, including to unauthenticated viewers.";
|
|
11663
11767
|
readonly type: "object";
|
|
11664
|
-
readonly required: ["code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
|
|
11768
|
+
readonly required: ["convoId", "code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
|
|
11665
11769
|
readonly properties: {
|
|
11770
|
+
readonly convoId: {
|
|
11771
|
+
readonly type: "string";
|
|
11772
|
+
};
|
|
11666
11773
|
readonly code: {
|
|
11667
11774
|
readonly type: "string";
|
|
11668
11775
|
};
|
|
@@ -11711,6 +11818,7 @@ export declare const schemaDict: {
|
|
|
11711
11818
|
};
|
|
11712
11819
|
};
|
|
11713
11820
|
readonly joinRequestView: {
|
|
11821
|
+
readonly description: "A join request from the perspective of the group owner.";
|
|
11714
11822
|
readonly type: "object";
|
|
11715
11823
|
readonly required: ["convoId", "requestedBy", "requestedAt"];
|
|
11716
11824
|
readonly properties: {
|
|
@@ -11730,7 +11838,7 @@ export declare const schemaDict: {
|
|
|
11730
11838
|
readonly joinRequestConvoView: {
|
|
11731
11839
|
readonly description: "A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).";
|
|
11732
11840
|
readonly type: "object";
|
|
11733
|
-
readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "
|
|
11841
|
+
readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "viewer"];
|
|
11734
11842
|
readonly properties: {
|
|
11735
11843
|
readonly convoId: {
|
|
11736
11844
|
readonly type: "string";
|
|
@@ -11748,9 +11856,9 @@ export declare const schemaDict: {
|
|
|
11748
11856
|
readonly memberLimit: {
|
|
11749
11857
|
readonly type: "integer";
|
|
11750
11858
|
};
|
|
11751
|
-
readonly
|
|
11752
|
-
readonly type: "
|
|
11753
|
-
readonly
|
|
11859
|
+
readonly viewer: {
|
|
11860
|
+
readonly type: "ref";
|
|
11861
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkViewerState";
|
|
11754
11862
|
};
|
|
11755
11863
|
};
|
|
11756
11864
|
};
|
|
@@ -25968,6 +26076,10 @@ export declare const schemas: ({
|
|
|
25968
26076
|
};
|
|
25969
26077
|
readonly maxLength: 4;
|
|
25970
26078
|
};
|
|
26079
|
+
readonly embedGallery: {
|
|
26080
|
+
readonly type: "ref";
|
|
26081
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedGallery";
|
|
26082
|
+
};
|
|
25971
26083
|
readonly embedVideos: {
|
|
25972
26084
|
readonly type: "array";
|
|
25973
26085
|
readonly items: {
|
|
@@ -26046,6 +26158,25 @@ export declare const schemas: ({
|
|
|
26046
26158
|
};
|
|
26047
26159
|
};
|
|
26048
26160
|
};
|
|
26161
|
+
readonly draftEmbedGallery: {
|
|
26162
|
+
readonly type: "object";
|
|
26163
|
+
readonly required: ["items"];
|
|
26164
|
+
readonly properties: {
|
|
26165
|
+
readonly items: {
|
|
26166
|
+
readonly type: "ref";
|
|
26167
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedGalleryItems";
|
|
26168
|
+
};
|
|
26169
|
+
};
|
|
26170
|
+
};
|
|
26171
|
+
readonly draftEmbedGalleryItems: {
|
|
26172
|
+
readonly type: "array";
|
|
26173
|
+
readonly items: {
|
|
26174
|
+
readonly type: "union";
|
|
26175
|
+
readonly refs: ["lex:app.bsky.draft.defs#draftEmbedImage"];
|
|
26176
|
+
};
|
|
26177
|
+
readonly maxLength: 20;
|
|
26178
|
+
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.";
|
|
26179
|
+
};
|
|
26049
26180
|
readonly draftEmbedImage: {
|
|
26050
26181
|
readonly type: "object";
|
|
26051
26182
|
readonly required: ["localRef"];
|
|
@@ -26396,6 +26527,84 @@ export declare const schemas: ({
|
|
|
26396
26527
|
};
|
|
26397
26528
|
};
|
|
26398
26529
|
};
|
|
26530
|
+
} | {
|
|
26531
|
+
readonly lexicon: 1;
|
|
26532
|
+
readonly id: "app.bsky.embed.gallery";
|
|
26533
|
+
readonly description: "An assortment of media embedded in a Bluesky record (eg, a post).";
|
|
26534
|
+
readonly defs: {
|
|
26535
|
+
readonly main: {
|
|
26536
|
+
readonly type: "object";
|
|
26537
|
+
readonly required: ["items"];
|
|
26538
|
+
readonly properties: {
|
|
26539
|
+
readonly items: {
|
|
26540
|
+
readonly type: "array";
|
|
26541
|
+
readonly maxLength: 20;
|
|
26542
|
+
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.";
|
|
26543
|
+
readonly items: {
|
|
26544
|
+
readonly type: "union";
|
|
26545
|
+
readonly refs: ["lex:app.bsky.embed.gallery#image"];
|
|
26546
|
+
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.";
|
|
26547
|
+
};
|
|
26548
|
+
};
|
|
26549
|
+
};
|
|
26550
|
+
};
|
|
26551
|
+
readonly image: {
|
|
26552
|
+
readonly type: "object";
|
|
26553
|
+
readonly required: ["image", "alt", "aspectRatio"];
|
|
26554
|
+
readonly properties: {
|
|
26555
|
+
readonly image: {
|
|
26556
|
+
readonly type: "blob";
|
|
26557
|
+
readonly accept: ["image/*"];
|
|
26558
|
+
readonly maxSize: 2000000;
|
|
26559
|
+
};
|
|
26560
|
+
readonly alt: {
|
|
26561
|
+
readonly type: "string";
|
|
26562
|
+
readonly description: "Alt text description of the image, for accessibility.";
|
|
26563
|
+
};
|
|
26564
|
+
readonly aspectRatio: {
|
|
26565
|
+
readonly type: "ref";
|
|
26566
|
+
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
26567
|
+
};
|
|
26568
|
+
};
|
|
26569
|
+
};
|
|
26570
|
+
readonly view: {
|
|
26571
|
+
readonly type: "object";
|
|
26572
|
+
readonly required: ["items"];
|
|
26573
|
+
readonly properties: {
|
|
26574
|
+
readonly items: {
|
|
26575
|
+
readonly type: "array";
|
|
26576
|
+
readonly items: {
|
|
26577
|
+
readonly type: "union";
|
|
26578
|
+
readonly refs: ["lex:app.bsky.embed.gallery#viewImage"];
|
|
26579
|
+
};
|
|
26580
|
+
};
|
|
26581
|
+
};
|
|
26582
|
+
};
|
|
26583
|
+
readonly viewImage: {
|
|
26584
|
+
readonly type: "object";
|
|
26585
|
+
readonly required: ["thumbnail", "fullsize", "alt", "aspectRatio"];
|
|
26586
|
+
readonly properties: {
|
|
26587
|
+
readonly thumbnail: {
|
|
26588
|
+
readonly type: "string";
|
|
26589
|
+
readonly format: "uri";
|
|
26590
|
+
readonly description: "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.";
|
|
26591
|
+
};
|
|
26592
|
+
readonly fullsize: {
|
|
26593
|
+
readonly type: "string";
|
|
26594
|
+
readonly format: "uri";
|
|
26595
|
+
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.";
|
|
26596
|
+
};
|
|
26597
|
+
readonly alt: {
|
|
26598
|
+
readonly type: "string";
|
|
26599
|
+
readonly description: "Alt text description of the image, for accessibility.";
|
|
26600
|
+
};
|
|
26601
|
+
readonly aspectRatio: {
|
|
26602
|
+
readonly type: "ref";
|
|
26603
|
+
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
26604
|
+
};
|
|
26605
|
+
};
|
|
26606
|
+
};
|
|
26607
|
+
};
|
|
26399
26608
|
} | {
|
|
26400
26609
|
readonly lexicon: 1;
|
|
26401
26610
|
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
@@ -26599,7 +26808,7 @@ export declare const schemas: ({
|
|
|
26599
26808
|
readonly type: "array";
|
|
26600
26809
|
readonly items: {
|
|
26601
26810
|
readonly type: "union";
|
|
26602
|
-
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"];
|
|
26811
|
+
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"];
|
|
26603
26812
|
};
|
|
26604
26813
|
};
|
|
26605
26814
|
readonly indexedAt: {
|
|
@@ -26670,7 +26879,7 @@ export declare const schemas: ({
|
|
|
26670
26879
|
};
|
|
26671
26880
|
readonly media: {
|
|
26672
26881
|
readonly type: "union";
|
|
26673
|
-
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.external"];
|
|
26882
|
+
readonly refs: ["lex:app.bsky.embed.images", "lex:app.bsky.embed.video", "lex:app.bsky.embed.gallery", "lex:app.bsky.embed.external"];
|
|
26674
26883
|
};
|
|
26675
26884
|
};
|
|
26676
26885
|
};
|
|
@@ -26684,7 +26893,7 @@ export declare const schemas: ({
|
|
|
26684
26893
|
};
|
|
26685
26894
|
readonly media: {
|
|
26686
26895
|
readonly type: "union";
|
|
26687
|
-
readonly refs: ["lex:app.bsky.embed.images#view", "lex:app.bsky.embed.video#view", "lex:app.bsky.embed.external#view"];
|
|
26896
|
+
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"];
|
|
26688
26897
|
};
|
|
26689
26898
|
};
|
|
26690
26899
|
};
|
|
@@ -26802,7 +27011,7 @@ export declare const schemas: ({
|
|
|
26802
27011
|
};
|
|
26803
27012
|
readonly embed: {
|
|
26804
27013
|
readonly type: "union";
|
|
26805
|
-
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"];
|
|
27014
|
+
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"];
|
|
26806
27015
|
};
|
|
26807
27016
|
readonly bookmarkCount: {
|
|
26808
27017
|
readonly type: "integer";
|
|
@@ -28200,7 +28409,7 @@ export declare const schemas: ({
|
|
|
28200
28409
|
};
|
|
28201
28410
|
readonly embed: {
|
|
28202
28411
|
readonly type: "union";
|
|
28203
|
-
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"];
|
|
28412
|
+
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"];
|
|
28204
28413
|
};
|
|
28205
28414
|
readonly langs: {
|
|
28206
28415
|
readonly type: "array";
|
|
@@ -35132,8 +35341,8 @@ export declare const schemas: ({
|
|
|
35132
35341
|
readonly name: {
|
|
35133
35342
|
readonly type: "string";
|
|
35134
35343
|
readonly minLength: 1;
|
|
35135
|
-
readonly maxGraphemes:
|
|
35136
|
-
readonly maxLength:
|
|
35344
|
+
readonly maxGraphemes: 50;
|
|
35345
|
+
readonly maxLength: 500;
|
|
35137
35346
|
};
|
|
35138
35347
|
};
|
|
35139
35348
|
};
|
|
@@ -35216,6 +35425,7 @@ export declare const schemas: ({
|
|
|
35216
35425
|
readonly knownValues: ["anyone", "followedByOwner"];
|
|
35217
35426
|
};
|
|
35218
35427
|
readonly joinLinkView: {
|
|
35428
|
+
readonly description: "Join link view to be used within a group view, so the convo is surrounding, not specified inside this view.";
|
|
35219
35429
|
readonly type: "object";
|
|
35220
35430
|
readonly required: ["code", "enabledStatus", "requireApproval", "joinRule", "createdAt"];
|
|
35221
35431
|
readonly properties: {
|
|
@@ -35240,9 +35450,13 @@ export declare const schemas: ({
|
|
|
35240
35450
|
};
|
|
35241
35451
|
};
|
|
35242
35452
|
readonly joinLinkPreviewView: {
|
|
35453
|
+
readonly description: "Preview that can be shown in feeds, including to unauthenticated viewers.";
|
|
35243
35454
|
readonly type: "object";
|
|
35244
|
-
readonly required: ["code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
|
|
35455
|
+
readonly required: ["convoId", "code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
|
|
35245
35456
|
readonly properties: {
|
|
35457
|
+
readonly convoId: {
|
|
35458
|
+
readonly type: "string";
|
|
35459
|
+
};
|
|
35246
35460
|
readonly code: {
|
|
35247
35461
|
readonly type: "string";
|
|
35248
35462
|
};
|
|
@@ -35291,6 +35505,7 @@ export declare const schemas: ({
|
|
|
35291
35505
|
};
|
|
35292
35506
|
};
|
|
35293
35507
|
readonly joinRequestView: {
|
|
35508
|
+
readonly description: "A join request from the perspective of the group owner.";
|
|
35294
35509
|
readonly type: "object";
|
|
35295
35510
|
readonly required: ["convoId", "requestedBy", "requestedAt"];
|
|
35296
35511
|
readonly properties: {
|
|
@@ -35310,7 +35525,7 @@ export declare const schemas: ({
|
|
|
35310
35525
|
readonly joinRequestConvoView: {
|
|
35311
35526
|
readonly description: "A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).";
|
|
35312
35527
|
readonly type: "object";
|
|
35313
|
-
readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "
|
|
35528
|
+
readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "viewer"];
|
|
35314
35529
|
readonly properties: {
|
|
35315
35530
|
readonly convoId: {
|
|
35316
35531
|
readonly type: "string";
|
|
@@ -35328,9 +35543,9 @@ export declare const schemas: ({
|
|
|
35328
35543
|
readonly memberLimit: {
|
|
35329
35544
|
readonly type: "integer";
|
|
35330
35545
|
};
|
|
35331
|
-
readonly
|
|
35332
|
-
readonly type: "
|
|
35333
|
-
readonly
|
|
35546
|
+
readonly viewer: {
|
|
35547
|
+
readonly type: "ref";
|
|
35548
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkViewerState";
|
|
35334
35549
|
};
|
|
35335
35550
|
};
|
|
35336
35551
|
};
|
|
@@ -47191,6 +47406,7 @@ export declare const ids: {
|
|
|
47191
47406
|
readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
|
|
47192
47407
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
47193
47408
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
47409
|
+
readonly AppBskyEmbedGallery: "app.bsky.embed.gallery";
|
|
47194
47410
|
readonly AppBskyEmbedGetEmbedExternalView: "app.bsky.embed.getEmbedExternalView";
|
|
47195
47411
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|
|
47196
47412
|
readonly AppBskyEmbedRecord: "app.bsky.embed.record";
|