@atproto/api 0.20.1 → 0.20.2
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 +10 -0
- package/dist/client/index.d.ts +6 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +8 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +390 -10
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +199 -6
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +45 -2
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js +21 -0
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts +32 -0
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -0
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.js +8 -0
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.js.map +1 -0
- package/dist/client/types/chat/bsky/actor/getStatus.d.ts +23 -0
- package/dist/client/types/chat/bsky/actor/getStatus.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/actor/getStatus.js +8 -0
- package/dist/client/types/chat/bsky/actor/getStatus.js.map +1 -0
- package/dist/client/types/chat/bsky/group/addMembers.d.ts +3 -3
- package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.js +7 -7
- package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +4 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js +10 -3
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -2509,13 +2509,13 @@ export declare const schemaDict: {
|
|
|
2509
2509
|
readonly accept: ["image/*"];
|
|
2510
2510
|
readonly maxSize: 1000000;
|
|
2511
2511
|
};
|
|
2512
|
-
readonly
|
|
2512
|
+
readonly associatedRefs: {
|
|
2513
2513
|
readonly type: "array";
|
|
2514
2514
|
readonly items: {
|
|
2515
2515
|
readonly type: "ref";
|
|
2516
2516
|
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2517
2517
|
};
|
|
2518
|
-
readonly description: "
|
|
2518
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
2519
2519
|
};
|
|
2520
2520
|
};
|
|
2521
2521
|
};
|
|
@@ -2547,6 +2547,167 @@ export declare const schemaDict: {
|
|
|
2547
2547
|
readonly type: "string";
|
|
2548
2548
|
readonly format: "uri";
|
|
2549
2549
|
};
|
|
2550
|
+
readonly createdAt: {
|
|
2551
|
+
readonly type: "string";
|
|
2552
|
+
readonly format: "datetime";
|
|
2553
|
+
readonly description: "When the external content was created, if available. Example: a publication date, for an article.";
|
|
2554
|
+
};
|
|
2555
|
+
readonly updatedAt: {
|
|
2556
|
+
readonly type: "string";
|
|
2557
|
+
readonly format: "datetime";
|
|
2558
|
+
readonly description: "When the external content was updated, if available.";
|
|
2559
|
+
};
|
|
2560
|
+
readonly readingTime: {
|
|
2561
|
+
readonly type: "integer";
|
|
2562
|
+
readonly description: "Estimated reading time in minutes, if applicable and available.";
|
|
2563
|
+
};
|
|
2564
|
+
readonly labels: {
|
|
2565
|
+
readonly type: "array";
|
|
2566
|
+
readonly items: {
|
|
2567
|
+
readonly type: "ref";
|
|
2568
|
+
readonly ref: "lex:com.atproto.label.defs#label";
|
|
2569
|
+
};
|
|
2570
|
+
};
|
|
2571
|
+
readonly source: {
|
|
2572
|
+
readonly type: "ref";
|
|
2573
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSource";
|
|
2574
|
+
};
|
|
2575
|
+
readonly associatedRefs: {
|
|
2576
|
+
readonly type: "array";
|
|
2577
|
+
readonly items: {
|
|
2578
|
+
readonly type: "ref";
|
|
2579
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2580
|
+
};
|
|
2581
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
2582
|
+
};
|
|
2583
|
+
};
|
|
2584
|
+
};
|
|
2585
|
+
readonly viewExternalSource: {
|
|
2586
|
+
readonly type: "object";
|
|
2587
|
+
readonly description: "The source of an external embed, such as a standard.site publication.";
|
|
2588
|
+
readonly properties: {
|
|
2589
|
+
readonly uri: {
|
|
2590
|
+
readonly type: "string";
|
|
2591
|
+
readonly format: "uri";
|
|
2592
|
+
readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
|
|
2593
|
+
};
|
|
2594
|
+
readonly icon: {
|
|
2595
|
+
readonly type: "string";
|
|
2596
|
+
readonly format: "uri";
|
|
2597
|
+
readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
|
|
2598
|
+
};
|
|
2599
|
+
readonly title: {
|
|
2600
|
+
readonly type: "string";
|
|
2601
|
+
};
|
|
2602
|
+
readonly description: {
|
|
2603
|
+
readonly type: "string";
|
|
2604
|
+
};
|
|
2605
|
+
readonly theme: {
|
|
2606
|
+
readonly type: "ref";
|
|
2607
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
readonly viewExternalSourceTheme: {
|
|
2612
|
+
readonly type: "object";
|
|
2613
|
+
readonly description: "The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.";
|
|
2614
|
+
readonly properties: {
|
|
2615
|
+
readonly backgroundRGB: {
|
|
2616
|
+
readonly type: "ref";
|
|
2617
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2618
|
+
};
|
|
2619
|
+
readonly foregroundRGB: {
|
|
2620
|
+
readonly type: "ref";
|
|
2621
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2622
|
+
};
|
|
2623
|
+
readonly accentRGB: {
|
|
2624
|
+
readonly type: "ref";
|
|
2625
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2626
|
+
};
|
|
2627
|
+
readonly accentForegroundRGB: {
|
|
2628
|
+
readonly type: "ref";
|
|
2629
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2630
|
+
};
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
readonly colorRGB: {
|
|
2634
|
+
readonly type: "object";
|
|
2635
|
+
readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
|
|
2636
|
+
readonly required: ["r", "g", "b"];
|
|
2637
|
+
readonly properties: {
|
|
2638
|
+
readonly r: {
|
|
2639
|
+
readonly type: "integer";
|
|
2640
|
+
readonly minimum: 0;
|
|
2641
|
+
readonly maximum: 255;
|
|
2642
|
+
};
|
|
2643
|
+
readonly g: {
|
|
2644
|
+
readonly type: "integer";
|
|
2645
|
+
readonly minimum: 0;
|
|
2646
|
+
readonly maximum: 255;
|
|
2647
|
+
};
|
|
2648
|
+
readonly b: {
|
|
2649
|
+
readonly type: "integer";
|
|
2650
|
+
readonly minimum: 0;
|
|
2651
|
+
readonly maximum: 255;
|
|
2652
|
+
};
|
|
2653
|
+
};
|
|
2654
|
+
};
|
|
2655
|
+
};
|
|
2656
|
+
};
|
|
2657
|
+
readonly AppBskyEmbedGetEmbedExternalView: {
|
|
2658
|
+
readonly lexicon: 1;
|
|
2659
|
+
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
2660
|
+
readonly defs: {
|
|
2661
|
+
readonly main: {
|
|
2662
|
+
readonly type: "query";
|
|
2663
|
+
readonly description: "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.";
|
|
2664
|
+
readonly parameters: {
|
|
2665
|
+
readonly type: "params";
|
|
2666
|
+
readonly required: ["url", "uris"];
|
|
2667
|
+
readonly properties: {
|
|
2668
|
+
readonly url: {
|
|
2669
|
+
readonly type: "string";
|
|
2670
|
+
readonly format: "uri";
|
|
2671
|
+
readonly description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.";
|
|
2672
|
+
};
|
|
2673
|
+
readonly uris: {
|
|
2674
|
+
readonly type: "array";
|
|
2675
|
+
readonly description: "AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.";
|
|
2676
|
+
readonly items: {
|
|
2677
|
+
readonly type: "string";
|
|
2678
|
+
readonly format: "at-uri";
|
|
2679
|
+
};
|
|
2680
|
+
readonly maxLength: 4;
|
|
2681
|
+
};
|
|
2682
|
+
};
|
|
2683
|
+
};
|
|
2684
|
+
readonly output: {
|
|
2685
|
+
readonly encoding: "application/json";
|
|
2686
|
+
readonly schema: {
|
|
2687
|
+
readonly type: "object";
|
|
2688
|
+
readonly properties: {
|
|
2689
|
+
readonly view: {
|
|
2690
|
+
readonly type: "ref";
|
|
2691
|
+
readonly ref: "lex:app.bsky.embed.external#view";
|
|
2692
|
+
readonly description: "Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.";
|
|
2693
|
+
};
|
|
2694
|
+
readonly associatedRefs: {
|
|
2695
|
+
readonly type: "array";
|
|
2696
|
+
readonly items: {
|
|
2697
|
+
readonly type: "ref";
|
|
2698
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2699
|
+
};
|
|
2700
|
+
readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
|
|
2701
|
+
};
|
|
2702
|
+
readonly associatedRecords: {
|
|
2703
|
+
readonly type: "array";
|
|
2704
|
+
readonly items: {
|
|
2705
|
+
readonly type: "unknown";
|
|
2706
|
+
readonly description: "The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.";
|
|
2707
|
+
};
|
|
2708
|
+
};
|
|
2709
|
+
};
|
|
2710
|
+
};
|
|
2550
2711
|
};
|
|
2551
2712
|
};
|
|
2552
2713
|
};
|
|
@@ -9181,6 +9342,33 @@ export declare const schemaDict: {
|
|
|
9181
9342
|
};
|
|
9182
9343
|
};
|
|
9183
9344
|
};
|
|
9345
|
+
readonly ChatBskyActorGetStatus: {
|
|
9346
|
+
readonly lexicon: 1;
|
|
9347
|
+
readonly id: "chat.bsky.actor.getStatus";
|
|
9348
|
+
readonly defs: {
|
|
9349
|
+
readonly main: {
|
|
9350
|
+
readonly type: "query";
|
|
9351
|
+
readonly description: "Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.";
|
|
9352
|
+
readonly output: {
|
|
9353
|
+
readonly encoding: "application/json";
|
|
9354
|
+
readonly schema: {
|
|
9355
|
+
readonly type: "object";
|
|
9356
|
+
readonly required: ["chatDisabled", "canCreateGroups"];
|
|
9357
|
+
readonly properties: {
|
|
9358
|
+
readonly chatDisabled: {
|
|
9359
|
+
readonly type: "boolean";
|
|
9360
|
+
readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
|
|
9361
|
+
};
|
|
9362
|
+
readonly canCreateGroups: {
|
|
9363
|
+
readonly type: "boolean";
|
|
9364
|
+
readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
|
|
9365
|
+
};
|
|
9366
|
+
};
|
|
9367
|
+
};
|
|
9368
|
+
};
|
|
9369
|
+
};
|
|
9370
|
+
};
|
|
9371
|
+
};
|
|
9184
9372
|
readonly ChatBskyConvoAcceptConvo: {
|
|
9185
9373
|
readonly lexicon: 1;
|
|
9186
9374
|
readonly id: "chat.bsky.convo.acceptConvo";
|
|
@@ -11110,8 +11298,6 @@ export declare const schemaDict: {
|
|
|
11110
11298
|
readonly name: "AccountSuspended";
|
|
11111
11299
|
}, {
|
|
11112
11300
|
readonly name: "BlockedActor";
|
|
11113
|
-
}, {
|
|
11114
|
-
readonly name: "UserForbidsGroups";
|
|
11115
11301
|
}, {
|
|
11116
11302
|
readonly name: "ConvoLocked";
|
|
11117
11303
|
}, {
|
|
@@ -11124,6 +11310,8 @@ export declare const schemaDict: {
|
|
|
11124
11310
|
readonly name: "NotFollowedBySender";
|
|
11125
11311
|
}, {
|
|
11126
11312
|
readonly name: "RecipientNotFound";
|
|
11313
|
+
}, {
|
|
11314
|
+
readonly name: "UserForbidsGroups";
|
|
11127
11315
|
}];
|
|
11128
11316
|
readonly input: {
|
|
11129
11317
|
readonly encoding: "application/json";
|
|
@@ -11226,11 +11414,13 @@ export declare const schemaDict: {
|
|
|
11226
11414
|
}, {
|
|
11227
11415
|
readonly name: "BlockedActor";
|
|
11228
11416
|
}, {
|
|
11229
|
-
readonly name: "
|
|
11417
|
+
readonly name: "NewAccountCannotCreateGroup";
|
|
11230
11418
|
}, {
|
|
11231
11419
|
readonly name: "NotFollowedBySender";
|
|
11232
11420
|
}, {
|
|
11233
11421
|
readonly name: "RecipientNotFound";
|
|
11422
|
+
}, {
|
|
11423
|
+
readonly name: "UserForbidsGroups";
|
|
11234
11424
|
}];
|
|
11235
11425
|
readonly input: {
|
|
11236
11426
|
readonly encoding: "application/json";
|
|
@@ -25578,13 +25768,13 @@ export declare const schemas: ({
|
|
|
25578
25768
|
readonly accept: ["image/*"];
|
|
25579
25769
|
readonly maxSize: 1000000;
|
|
25580
25770
|
};
|
|
25581
|
-
readonly
|
|
25771
|
+
readonly associatedRefs: {
|
|
25582
25772
|
readonly type: "array";
|
|
25583
25773
|
readonly items: {
|
|
25584
25774
|
readonly type: "ref";
|
|
25585
25775
|
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25586
25776
|
};
|
|
25587
|
-
readonly description: "
|
|
25777
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
25588
25778
|
};
|
|
25589
25779
|
};
|
|
25590
25780
|
};
|
|
@@ -25616,6 +25806,166 @@ export declare const schemas: ({
|
|
|
25616
25806
|
readonly type: "string";
|
|
25617
25807
|
readonly format: "uri";
|
|
25618
25808
|
};
|
|
25809
|
+
readonly createdAt: {
|
|
25810
|
+
readonly type: "string";
|
|
25811
|
+
readonly format: "datetime";
|
|
25812
|
+
readonly description: "When the external content was created, if available. Example: a publication date, for an article.";
|
|
25813
|
+
};
|
|
25814
|
+
readonly updatedAt: {
|
|
25815
|
+
readonly type: "string";
|
|
25816
|
+
readonly format: "datetime";
|
|
25817
|
+
readonly description: "When the external content was updated, if available.";
|
|
25818
|
+
};
|
|
25819
|
+
readonly readingTime: {
|
|
25820
|
+
readonly type: "integer";
|
|
25821
|
+
readonly description: "Estimated reading time in minutes, if applicable and available.";
|
|
25822
|
+
};
|
|
25823
|
+
readonly labels: {
|
|
25824
|
+
readonly type: "array";
|
|
25825
|
+
readonly items: {
|
|
25826
|
+
readonly type: "ref";
|
|
25827
|
+
readonly ref: "lex:com.atproto.label.defs#label";
|
|
25828
|
+
};
|
|
25829
|
+
};
|
|
25830
|
+
readonly source: {
|
|
25831
|
+
readonly type: "ref";
|
|
25832
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSource";
|
|
25833
|
+
};
|
|
25834
|
+
readonly associatedRefs: {
|
|
25835
|
+
readonly type: "array";
|
|
25836
|
+
readonly items: {
|
|
25837
|
+
readonly type: "ref";
|
|
25838
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25839
|
+
};
|
|
25840
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
25841
|
+
};
|
|
25842
|
+
};
|
|
25843
|
+
};
|
|
25844
|
+
readonly viewExternalSource: {
|
|
25845
|
+
readonly type: "object";
|
|
25846
|
+
readonly description: "The source of an external embed, such as a standard.site publication.";
|
|
25847
|
+
readonly properties: {
|
|
25848
|
+
readonly uri: {
|
|
25849
|
+
readonly type: "string";
|
|
25850
|
+
readonly format: "uri";
|
|
25851
|
+
readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
|
|
25852
|
+
};
|
|
25853
|
+
readonly icon: {
|
|
25854
|
+
readonly type: "string";
|
|
25855
|
+
readonly format: "uri";
|
|
25856
|
+
readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
|
|
25857
|
+
};
|
|
25858
|
+
readonly title: {
|
|
25859
|
+
readonly type: "string";
|
|
25860
|
+
};
|
|
25861
|
+
readonly description: {
|
|
25862
|
+
readonly type: "string";
|
|
25863
|
+
};
|
|
25864
|
+
readonly theme: {
|
|
25865
|
+
readonly type: "ref";
|
|
25866
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
|
|
25867
|
+
};
|
|
25868
|
+
};
|
|
25869
|
+
};
|
|
25870
|
+
readonly viewExternalSourceTheme: {
|
|
25871
|
+
readonly type: "object";
|
|
25872
|
+
readonly description: "The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.";
|
|
25873
|
+
readonly properties: {
|
|
25874
|
+
readonly backgroundRGB: {
|
|
25875
|
+
readonly type: "ref";
|
|
25876
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25877
|
+
};
|
|
25878
|
+
readonly foregroundRGB: {
|
|
25879
|
+
readonly type: "ref";
|
|
25880
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25881
|
+
};
|
|
25882
|
+
readonly accentRGB: {
|
|
25883
|
+
readonly type: "ref";
|
|
25884
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25885
|
+
};
|
|
25886
|
+
readonly accentForegroundRGB: {
|
|
25887
|
+
readonly type: "ref";
|
|
25888
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25889
|
+
};
|
|
25890
|
+
};
|
|
25891
|
+
};
|
|
25892
|
+
readonly colorRGB: {
|
|
25893
|
+
readonly type: "object";
|
|
25894
|
+
readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
|
|
25895
|
+
readonly required: ["r", "g", "b"];
|
|
25896
|
+
readonly properties: {
|
|
25897
|
+
readonly r: {
|
|
25898
|
+
readonly type: "integer";
|
|
25899
|
+
readonly minimum: 0;
|
|
25900
|
+
readonly maximum: 255;
|
|
25901
|
+
};
|
|
25902
|
+
readonly g: {
|
|
25903
|
+
readonly type: "integer";
|
|
25904
|
+
readonly minimum: 0;
|
|
25905
|
+
readonly maximum: 255;
|
|
25906
|
+
};
|
|
25907
|
+
readonly b: {
|
|
25908
|
+
readonly type: "integer";
|
|
25909
|
+
readonly minimum: 0;
|
|
25910
|
+
readonly maximum: 255;
|
|
25911
|
+
};
|
|
25912
|
+
};
|
|
25913
|
+
};
|
|
25914
|
+
};
|
|
25915
|
+
} | {
|
|
25916
|
+
readonly lexicon: 1;
|
|
25917
|
+
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
25918
|
+
readonly defs: {
|
|
25919
|
+
readonly main: {
|
|
25920
|
+
readonly type: "query";
|
|
25921
|
+
readonly description: "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.";
|
|
25922
|
+
readonly parameters: {
|
|
25923
|
+
readonly type: "params";
|
|
25924
|
+
readonly required: ["url", "uris"];
|
|
25925
|
+
readonly properties: {
|
|
25926
|
+
readonly url: {
|
|
25927
|
+
readonly type: "string";
|
|
25928
|
+
readonly format: "uri";
|
|
25929
|
+
readonly description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.";
|
|
25930
|
+
};
|
|
25931
|
+
readonly uris: {
|
|
25932
|
+
readonly type: "array";
|
|
25933
|
+
readonly description: "AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.";
|
|
25934
|
+
readonly items: {
|
|
25935
|
+
readonly type: "string";
|
|
25936
|
+
readonly format: "at-uri";
|
|
25937
|
+
};
|
|
25938
|
+
readonly maxLength: 4;
|
|
25939
|
+
};
|
|
25940
|
+
};
|
|
25941
|
+
};
|
|
25942
|
+
readonly output: {
|
|
25943
|
+
readonly encoding: "application/json";
|
|
25944
|
+
readonly schema: {
|
|
25945
|
+
readonly type: "object";
|
|
25946
|
+
readonly properties: {
|
|
25947
|
+
readonly view: {
|
|
25948
|
+
readonly type: "ref";
|
|
25949
|
+
readonly ref: "lex:app.bsky.embed.external#view";
|
|
25950
|
+
readonly description: "Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.";
|
|
25951
|
+
};
|
|
25952
|
+
readonly associatedRefs: {
|
|
25953
|
+
readonly type: "array";
|
|
25954
|
+
readonly items: {
|
|
25955
|
+
readonly type: "ref";
|
|
25956
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25957
|
+
};
|
|
25958
|
+
readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
|
|
25959
|
+
};
|
|
25960
|
+
readonly associatedRecords: {
|
|
25961
|
+
readonly type: "array";
|
|
25962
|
+
readonly items: {
|
|
25963
|
+
readonly type: "unknown";
|
|
25964
|
+
readonly description: "The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.";
|
|
25965
|
+
};
|
|
25966
|
+
};
|
|
25967
|
+
};
|
|
25968
|
+
};
|
|
25619
25969
|
};
|
|
25620
25970
|
};
|
|
25621
25971
|
};
|
|
@@ -32134,6 +32484,32 @@ export declare const schemas: ({
|
|
|
32134
32484
|
};
|
|
32135
32485
|
};
|
|
32136
32486
|
};
|
|
32487
|
+
} | {
|
|
32488
|
+
readonly lexicon: 1;
|
|
32489
|
+
readonly id: "chat.bsky.actor.getStatus";
|
|
32490
|
+
readonly defs: {
|
|
32491
|
+
readonly main: {
|
|
32492
|
+
readonly type: "query";
|
|
32493
|
+
readonly description: "Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.";
|
|
32494
|
+
readonly output: {
|
|
32495
|
+
readonly encoding: "application/json";
|
|
32496
|
+
readonly schema: {
|
|
32497
|
+
readonly type: "object";
|
|
32498
|
+
readonly required: ["chatDisabled", "canCreateGroups"];
|
|
32499
|
+
readonly properties: {
|
|
32500
|
+
readonly chatDisabled: {
|
|
32501
|
+
readonly type: "boolean";
|
|
32502
|
+
readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
|
|
32503
|
+
};
|
|
32504
|
+
readonly canCreateGroups: {
|
|
32505
|
+
readonly type: "boolean";
|
|
32506
|
+
readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
|
|
32507
|
+
};
|
|
32508
|
+
};
|
|
32509
|
+
};
|
|
32510
|
+
};
|
|
32511
|
+
};
|
|
32512
|
+
};
|
|
32137
32513
|
} | {
|
|
32138
32514
|
readonly lexicon: 1;
|
|
32139
32515
|
readonly id: "chat.bsky.convo.acceptConvo";
|
|
@@ -34041,8 +34417,6 @@ export declare const schemas: ({
|
|
|
34041
34417
|
readonly name: "AccountSuspended";
|
|
34042
34418
|
}, {
|
|
34043
34419
|
readonly name: "BlockedActor";
|
|
34044
|
-
}, {
|
|
34045
|
-
readonly name: "UserForbidsGroups";
|
|
34046
34420
|
}, {
|
|
34047
34421
|
readonly name: "ConvoLocked";
|
|
34048
34422
|
}, {
|
|
@@ -34055,6 +34429,8 @@ export declare const schemas: ({
|
|
|
34055
34429
|
readonly name: "NotFollowedBySender";
|
|
34056
34430
|
}, {
|
|
34057
34431
|
readonly name: "RecipientNotFound";
|
|
34432
|
+
}, {
|
|
34433
|
+
readonly name: "UserForbidsGroups";
|
|
34058
34434
|
}];
|
|
34059
34435
|
readonly input: {
|
|
34060
34436
|
readonly encoding: "application/json";
|
|
@@ -34155,11 +34531,13 @@ export declare const schemas: ({
|
|
|
34155
34531
|
}, {
|
|
34156
34532
|
readonly name: "BlockedActor";
|
|
34157
34533
|
}, {
|
|
34158
|
-
readonly name: "
|
|
34534
|
+
readonly name: "NewAccountCannotCreateGroup";
|
|
34159
34535
|
}, {
|
|
34160
34536
|
readonly name: "NotFollowedBySender";
|
|
34161
34537
|
}, {
|
|
34162
34538
|
readonly name: "RecipientNotFound";
|
|
34539
|
+
}, {
|
|
34540
|
+
readonly name: "UserForbidsGroups";
|
|
34163
34541
|
}];
|
|
34164
34542
|
readonly input: {
|
|
34165
34543
|
readonly encoding: "application/json";
|
|
@@ -45888,6 +46266,7 @@ export declare const ids: {
|
|
|
45888
46266
|
readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
|
|
45889
46267
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
45890
46268
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
46269
|
+
readonly AppBskyEmbedGetEmbedExternalView: "app.bsky.embed.getEmbedExternalView";
|
|
45891
46270
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|
|
45892
46271
|
readonly AppBskyEmbedRecord: "app.bsky.embed.record";
|
|
45893
46272
|
readonly AppBskyEmbedRecordWithMedia: "app.bsky.embed.recordWithMedia";
|
|
@@ -46003,6 +46382,7 @@ export declare const ids: {
|
|
|
46003
46382
|
readonly ChatBskyActorDefs: "chat.bsky.actor.defs";
|
|
46004
46383
|
readonly ChatBskyActorDeleteAccount: "chat.bsky.actor.deleteAccount";
|
|
46005
46384
|
readonly ChatBskyActorExportAccountData: "chat.bsky.actor.exportAccountData";
|
|
46385
|
+
readonly ChatBskyActorGetStatus: "chat.bsky.actor.getStatus";
|
|
46006
46386
|
readonly ChatBskyConvoAcceptConvo: "chat.bsky.convo.acceptConvo";
|
|
46007
46387
|
readonly ChatBskyConvoAddReaction: "chat.bsky.convo.addReaction";
|
|
46008
46388
|
readonly ChatBskyConvoDefs: "chat.bsky.convo.defs";
|