@atproto/api 0.20.1 → 0.20.3
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 +16 -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 +392 -10
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +200 -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,168 @@ 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 required: ["uri", "title"];
|
|
2589
|
+
readonly properties: {
|
|
2590
|
+
readonly uri: {
|
|
2591
|
+
readonly type: "string";
|
|
2592
|
+
readonly format: "uri";
|
|
2593
|
+
readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
|
|
2594
|
+
};
|
|
2595
|
+
readonly icon: {
|
|
2596
|
+
readonly type: "string";
|
|
2597
|
+
readonly format: "uri";
|
|
2598
|
+
readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
|
|
2599
|
+
};
|
|
2600
|
+
readonly title: {
|
|
2601
|
+
readonly type: "string";
|
|
2602
|
+
};
|
|
2603
|
+
readonly description: {
|
|
2604
|
+
readonly type: "string";
|
|
2605
|
+
};
|
|
2606
|
+
readonly theme: {
|
|
2607
|
+
readonly type: "ref";
|
|
2608
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
};
|
|
2612
|
+
readonly viewExternalSourceTheme: {
|
|
2613
|
+
readonly type: "object";
|
|
2614
|
+
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.";
|
|
2615
|
+
readonly properties: {
|
|
2616
|
+
readonly backgroundRGB: {
|
|
2617
|
+
readonly type: "ref";
|
|
2618
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2619
|
+
};
|
|
2620
|
+
readonly foregroundRGB: {
|
|
2621
|
+
readonly type: "ref";
|
|
2622
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2623
|
+
};
|
|
2624
|
+
readonly accentRGB: {
|
|
2625
|
+
readonly type: "ref";
|
|
2626
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2627
|
+
};
|
|
2628
|
+
readonly accentForegroundRGB: {
|
|
2629
|
+
readonly type: "ref";
|
|
2630
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
readonly colorRGB: {
|
|
2635
|
+
readonly type: "object";
|
|
2636
|
+
readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
|
|
2637
|
+
readonly required: ["r", "g", "b"];
|
|
2638
|
+
readonly properties: {
|
|
2639
|
+
readonly r: {
|
|
2640
|
+
readonly type: "integer";
|
|
2641
|
+
readonly minimum: 0;
|
|
2642
|
+
readonly maximum: 255;
|
|
2643
|
+
};
|
|
2644
|
+
readonly g: {
|
|
2645
|
+
readonly type: "integer";
|
|
2646
|
+
readonly minimum: 0;
|
|
2647
|
+
readonly maximum: 255;
|
|
2648
|
+
};
|
|
2649
|
+
readonly b: {
|
|
2650
|
+
readonly type: "integer";
|
|
2651
|
+
readonly minimum: 0;
|
|
2652
|
+
readonly maximum: 255;
|
|
2653
|
+
};
|
|
2654
|
+
};
|
|
2655
|
+
};
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
readonly AppBskyEmbedGetEmbedExternalView: {
|
|
2659
|
+
readonly lexicon: 1;
|
|
2660
|
+
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
2661
|
+
readonly defs: {
|
|
2662
|
+
readonly main: {
|
|
2663
|
+
readonly type: "query";
|
|
2664
|
+
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.";
|
|
2665
|
+
readonly parameters: {
|
|
2666
|
+
readonly type: "params";
|
|
2667
|
+
readonly required: ["url", "uris"];
|
|
2668
|
+
readonly properties: {
|
|
2669
|
+
readonly url: {
|
|
2670
|
+
readonly type: "string";
|
|
2671
|
+
readonly format: "uri";
|
|
2672
|
+
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.";
|
|
2673
|
+
};
|
|
2674
|
+
readonly uris: {
|
|
2675
|
+
readonly type: "array";
|
|
2676
|
+
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.";
|
|
2677
|
+
readonly items: {
|
|
2678
|
+
readonly type: "string";
|
|
2679
|
+
readonly format: "at-uri";
|
|
2680
|
+
};
|
|
2681
|
+
readonly maxLength: 4;
|
|
2682
|
+
};
|
|
2683
|
+
};
|
|
2684
|
+
};
|
|
2685
|
+
readonly output: {
|
|
2686
|
+
readonly encoding: "application/json";
|
|
2687
|
+
readonly schema: {
|
|
2688
|
+
readonly type: "object";
|
|
2689
|
+
readonly properties: {
|
|
2690
|
+
readonly view: {
|
|
2691
|
+
readonly type: "ref";
|
|
2692
|
+
readonly ref: "lex:app.bsky.embed.external#view";
|
|
2693
|
+
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.";
|
|
2694
|
+
};
|
|
2695
|
+
readonly associatedRefs: {
|
|
2696
|
+
readonly type: "array";
|
|
2697
|
+
readonly items: {
|
|
2698
|
+
readonly type: "ref";
|
|
2699
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2700
|
+
};
|
|
2701
|
+
readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
|
|
2702
|
+
};
|
|
2703
|
+
readonly associatedRecords: {
|
|
2704
|
+
readonly type: "array";
|
|
2705
|
+
readonly items: {
|
|
2706
|
+
readonly type: "unknown";
|
|
2707
|
+
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.";
|
|
2708
|
+
};
|
|
2709
|
+
};
|
|
2710
|
+
};
|
|
2711
|
+
};
|
|
2550
2712
|
};
|
|
2551
2713
|
};
|
|
2552
2714
|
};
|
|
@@ -9181,6 +9343,33 @@ export declare const schemaDict: {
|
|
|
9181
9343
|
};
|
|
9182
9344
|
};
|
|
9183
9345
|
};
|
|
9346
|
+
readonly ChatBskyActorGetStatus: {
|
|
9347
|
+
readonly lexicon: 1;
|
|
9348
|
+
readonly id: "chat.bsky.actor.getStatus";
|
|
9349
|
+
readonly defs: {
|
|
9350
|
+
readonly main: {
|
|
9351
|
+
readonly type: "query";
|
|
9352
|
+
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.";
|
|
9353
|
+
readonly output: {
|
|
9354
|
+
readonly encoding: "application/json";
|
|
9355
|
+
readonly schema: {
|
|
9356
|
+
readonly type: "object";
|
|
9357
|
+
readonly required: ["chatDisabled", "canCreateGroups"];
|
|
9358
|
+
readonly properties: {
|
|
9359
|
+
readonly chatDisabled: {
|
|
9360
|
+
readonly type: "boolean";
|
|
9361
|
+
readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
|
|
9362
|
+
};
|
|
9363
|
+
readonly canCreateGroups: {
|
|
9364
|
+
readonly type: "boolean";
|
|
9365
|
+
readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
|
|
9366
|
+
};
|
|
9367
|
+
};
|
|
9368
|
+
};
|
|
9369
|
+
};
|
|
9370
|
+
};
|
|
9371
|
+
};
|
|
9372
|
+
};
|
|
9184
9373
|
readonly ChatBskyConvoAcceptConvo: {
|
|
9185
9374
|
readonly lexicon: 1;
|
|
9186
9375
|
readonly id: "chat.bsky.convo.acceptConvo";
|
|
@@ -11110,8 +11299,6 @@ export declare const schemaDict: {
|
|
|
11110
11299
|
readonly name: "AccountSuspended";
|
|
11111
11300
|
}, {
|
|
11112
11301
|
readonly name: "BlockedActor";
|
|
11113
|
-
}, {
|
|
11114
|
-
readonly name: "UserForbidsGroups";
|
|
11115
11302
|
}, {
|
|
11116
11303
|
readonly name: "ConvoLocked";
|
|
11117
11304
|
}, {
|
|
@@ -11124,6 +11311,8 @@ export declare const schemaDict: {
|
|
|
11124
11311
|
readonly name: "NotFollowedBySender";
|
|
11125
11312
|
}, {
|
|
11126
11313
|
readonly name: "RecipientNotFound";
|
|
11314
|
+
}, {
|
|
11315
|
+
readonly name: "UserForbidsGroups";
|
|
11127
11316
|
}];
|
|
11128
11317
|
readonly input: {
|
|
11129
11318
|
readonly encoding: "application/json";
|
|
@@ -11226,11 +11415,13 @@ export declare const schemaDict: {
|
|
|
11226
11415
|
}, {
|
|
11227
11416
|
readonly name: "BlockedActor";
|
|
11228
11417
|
}, {
|
|
11229
|
-
readonly name: "
|
|
11418
|
+
readonly name: "NewAccountCannotCreateGroup";
|
|
11230
11419
|
}, {
|
|
11231
11420
|
readonly name: "NotFollowedBySender";
|
|
11232
11421
|
}, {
|
|
11233
11422
|
readonly name: "RecipientNotFound";
|
|
11423
|
+
}, {
|
|
11424
|
+
readonly name: "UserForbidsGroups";
|
|
11234
11425
|
}];
|
|
11235
11426
|
readonly input: {
|
|
11236
11427
|
readonly encoding: "application/json";
|
|
@@ -25578,13 +25769,13 @@ export declare const schemas: ({
|
|
|
25578
25769
|
readonly accept: ["image/*"];
|
|
25579
25770
|
readonly maxSize: 1000000;
|
|
25580
25771
|
};
|
|
25581
|
-
readonly
|
|
25772
|
+
readonly associatedRefs: {
|
|
25582
25773
|
readonly type: "array";
|
|
25583
25774
|
readonly items: {
|
|
25584
25775
|
readonly type: "ref";
|
|
25585
25776
|
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25586
25777
|
};
|
|
25587
|
-
readonly description: "
|
|
25778
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
25588
25779
|
};
|
|
25589
25780
|
};
|
|
25590
25781
|
};
|
|
@@ -25616,6 +25807,167 @@ export declare const schemas: ({
|
|
|
25616
25807
|
readonly type: "string";
|
|
25617
25808
|
readonly format: "uri";
|
|
25618
25809
|
};
|
|
25810
|
+
readonly createdAt: {
|
|
25811
|
+
readonly type: "string";
|
|
25812
|
+
readonly format: "datetime";
|
|
25813
|
+
readonly description: "When the external content was created, if available. Example: a publication date, for an article.";
|
|
25814
|
+
};
|
|
25815
|
+
readonly updatedAt: {
|
|
25816
|
+
readonly type: "string";
|
|
25817
|
+
readonly format: "datetime";
|
|
25818
|
+
readonly description: "When the external content was updated, if available.";
|
|
25819
|
+
};
|
|
25820
|
+
readonly readingTime: {
|
|
25821
|
+
readonly type: "integer";
|
|
25822
|
+
readonly description: "Estimated reading time in minutes, if applicable and available.";
|
|
25823
|
+
};
|
|
25824
|
+
readonly labels: {
|
|
25825
|
+
readonly type: "array";
|
|
25826
|
+
readonly items: {
|
|
25827
|
+
readonly type: "ref";
|
|
25828
|
+
readonly ref: "lex:com.atproto.label.defs#label";
|
|
25829
|
+
};
|
|
25830
|
+
};
|
|
25831
|
+
readonly source: {
|
|
25832
|
+
readonly type: "ref";
|
|
25833
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSource";
|
|
25834
|
+
};
|
|
25835
|
+
readonly associatedRefs: {
|
|
25836
|
+
readonly type: "array";
|
|
25837
|
+
readonly items: {
|
|
25838
|
+
readonly type: "ref";
|
|
25839
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25840
|
+
};
|
|
25841
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
25842
|
+
};
|
|
25843
|
+
};
|
|
25844
|
+
};
|
|
25845
|
+
readonly viewExternalSource: {
|
|
25846
|
+
readonly type: "object";
|
|
25847
|
+
readonly description: "The source of an external embed, such as a standard.site publication.";
|
|
25848
|
+
readonly required: ["uri", "title"];
|
|
25849
|
+
readonly properties: {
|
|
25850
|
+
readonly uri: {
|
|
25851
|
+
readonly type: "string";
|
|
25852
|
+
readonly format: "uri";
|
|
25853
|
+
readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
|
|
25854
|
+
};
|
|
25855
|
+
readonly icon: {
|
|
25856
|
+
readonly type: "string";
|
|
25857
|
+
readonly format: "uri";
|
|
25858
|
+
readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
|
|
25859
|
+
};
|
|
25860
|
+
readonly title: {
|
|
25861
|
+
readonly type: "string";
|
|
25862
|
+
};
|
|
25863
|
+
readonly description: {
|
|
25864
|
+
readonly type: "string";
|
|
25865
|
+
};
|
|
25866
|
+
readonly theme: {
|
|
25867
|
+
readonly type: "ref";
|
|
25868
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
|
|
25869
|
+
};
|
|
25870
|
+
};
|
|
25871
|
+
};
|
|
25872
|
+
readonly viewExternalSourceTheme: {
|
|
25873
|
+
readonly type: "object";
|
|
25874
|
+
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.";
|
|
25875
|
+
readonly properties: {
|
|
25876
|
+
readonly backgroundRGB: {
|
|
25877
|
+
readonly type: "ref";
|
|
25878
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25879
|
+
};
|
|
25880
|
+
readonly foregroundRGB: {
|
|
25881
|
+
readonly type: "ref";
|
|
25882
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25883
|
+
};
|
|
25884
|
+
readonly accentRGB: {
|
|
25885
|
+
readonly type: "ref";
|
|
25886
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25887
|
+
};
|
|
25888
|
+
readonly accentForegroundRGB: {
|
|
25889
|
+
readonly type: "ref";
|
|
25890
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
25891
|
+
};
|
|
25892
|
+
};
|
|
25893
|
+
};
|
|
25894
|
+
readonly colorRGB: {
|
|
25895
|
+
readonly type: "object";
|
|
25896
|
+
readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
|
|
25897
|
+
readonly required: ["r", "g", "b"];
|
|
25898
|
+
readonly properties: {
|
|
25899
|
+
readonly r: {
|
|
25900
|
+
readonly type: "integer";
|
|
25901
|
+
readonly minimum: 0;
|
|
25902
|
+
readonly maximum: 255;
|
|
25903
|
+
};
|
|
25904
|
+
readonly g: {
|
|
25905
|
+
readonly type: "integer";
|
|
25906
|
+
readonly minimum: 0;
|
|
25907
|
+
readonly maximum: 255;
|
|
25908
|
+
};
|
|
25909
|
+
readonly b: {
|
|
25910
|
+
readonly type: "integer";
|
|
25911
|
+
readonly minimum: 0;
|
|
25912
|
+
readonly maximum: 255;
|
|
25913
|
+
};
|
|
25914
|
+
};
|
|
25915
|
+
};
|
|
25916
|
+
};
|
|
25917
|
+
} | {
|
|
25918
|
+
readonly lexicon: 1;
|
|
25919
|
+
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
25920
|
+
readonly defs: {
|
|
25921
|
+
readonly main: {
|
|
25922
|
+
readonly type: "query";
|
|
25923
|
+
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.";
|
|
25924
|
+
readonly parameters: {
|
|
25925
|
+
readonly type: "params";
|
|
25926
|
+
readonly required: ["url", "uris"];
|
|
25927
|
+
readonly properties: {
|
|
25928
|
+
readonly url: {
|
|
25929
|
+
readonly type: "string";
|
|
25930
|
+
readonly format: "uri";
|
|
25931
|
+
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.";
|
|
25932
|
+
};
|
|
25933
|
+
readonly uris: {
|
|
25934
|
+
readonly type: "array";
|
|
25935
|
+
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.";
|
|
25936
|
+
readonly items: {
|
|
25937
|
+
readonly type: "string";
|
|
25938
|
+
readonly format: "at-uri";
|
|
25939
|
+
};
|
|
25940
|
+
readonly maxLength: 4;
|
|
25941
|
+
};
|
|
25942
|
+
};
|
|
25943
|
+
};
|
|
25944
|
+
readonly output: {
|
|
25945
|
+
readonly encoding: "application/json";
|
|
25946
|
+
readonly schema: {
|
|
25947
|
+
readonly type: "object";
|
|
25948
|
+
readonly properties: {
|
|
25949
|
+
readonly view: {
|
|
25950
|
+
readonly type: "ref";
|
|
25951
|
+
readonly ref: "lex:app.bsky.embed.external#view";
|
|
25952
|
+
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.";
|
|
25953
|
+
};
|
|
25954
|
+
readonly associatedRefs: {
|
|
25955
|
+
readonly type: "array";
|
|
25956
|
+
readonly items: {
|
|
25957
|
+
readonly type: "ref";
|
|
25958
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25959
|
+
};
|
|
25960
|
+
readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
|
|
25961
|
+
};
|
|
25962
|
+
readonly associatedRecords: {
|
|
25963
|
+
readonly type: "array";
|
|
25964
|
+
readonly items: {
|
|
25965
|
+
readonly type: "unknown";
|
|
25966
|
+
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.";
|
|
25967
|
+
};
|
|
25968
|
+
};
|
|
25969
|
+
};
|
|
25970
|
+
};
|
|
25619
25971
|
};
|
|
25620
25972
|
};
|
|
25621
25973
|
};
|
|
@@ -32134,6 +32486,32 @@ export declare const schemas: ({
|
|
|
32134
32486
|
};
|
|
32135
32487
|
};
|
|
32136
32488
|
};
|
|
32489
|
+
} | {
|
|
32490
|
+
readonly lexicon: 1;
|
|
32491
|
+
readonly id: "chat.bsky.actor.getStatus";
|
|
32492
|
+
readonly defs: {
|
|
32493
|
+
readonly main: {
|
|
32494
|
+
readonly type: "query";
|
|
32495
|
+
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.";
|
|
32496
|
+
readonly output: {
|
|
32497
|
+
readonly encoding: "application/json";
|
|
32498
|
+
readonly schema: {
|
|
32499
|
+
readonly type: "object";
|
|
32500
|
+
readonly required: ["chatDisabled", "canCreateGroups"];
|
|
32501
|
+
readonly properties: {
|
|
32502
|
+
readonly chatDisabled: {
|
|
32503
|
+
readonly type: "boolean";
|
|
32504
|
+
readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
|
|
32505
|
+
};
|
|
32506
|
+
readonly canCreateGroups: {
|
|
32507
|
+
readonly type: "boolean";
|
|
32508
|
+
readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
|
|
32509
|
+
};
|
|
32510
|
+
};
|
|
32511
|
+
};
|
|
32512
|
+
};
|
|
32513
|
+
};
|
|
32514
|
+
};
|
|
32137
32515
|
} | {
|
|
32138
32516
|
readonly lexicon: 1;
|
|
32139
32517
|
readonly id: "chat.bsky.convo.acceptConvo";
|
|
@@ -34041,8 +34419,6 @@ export declare const schemas: ({
|
|
|
34041
34419
|
readonly name: "AccountSuspended";
|
|
34042
34420
|
}, {
|
|
34043
34421
|
readonly name: "BlockedActor";
|
|
34044
|
-
}, {
|
|
34045
|
-
readonly name: "UserForbidsGroups";
|
|
34046
34422
|
}, {
|
|
34047
34423
|
readonly name: "ConvoLocked";
|
|
34048
34424
|
}, {
|
|
@@ -34055,6 +34431,8 @@ export declare const schemas: ({
|
|
|
34055
34431
|
readonly name: "NotFollowedBySender";
|
|
34056
34432
|
}, {
|
|
34057
34433
|
readonly name: "RecipientNotFound";
|
|
34434
|
+
}, {
|
|
34435
|
+
readonly name: "UserForbidsGroups";
|
|
34058
34436
|
}];
|
|
34059
34437
|
readonly input: {
|
|
34060
34438
|
readonly encoding: "application/json";
|
|
@@ -34155,11 +34533,13 @@ export declare const schemas: ({
|
|
|
34155
34533
|
}, {
|
|
34156
34534
|
readonly name: "BlockedActor";
|
|
34157
34535
|
}, {
|
|
34158
|
-
readonly name: "
|
|
34536
|
+
readonly name: "NewAccountCannotCreateGroup";
|
|
34159
34537
|
}, {
|
|
34160
34538
|
readonly name: "NotFollowedBySender";
|
|
34161
34539
|
}, {
|
|
34162
34540
|
readonly name: "RecipientNotFound";
|
|
34541
|
+
}, {
|
|
34542
|
+
readonly name: "UserForbidsGroups";
|
|
34163
34543
|
}];
|
|
34164
34544
|
readonly input: {
|
|
34165
34545
|
readonly encoding: "application/json";
|
|
@@ -45888,6 +46268,7 @@ export declare const ids: {
|
|
|
45888
46268
|
readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
|
|
45889
46269
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
45890
46270
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
46271
|
+
readonly AppBskyEmbedGetEmbedExternalView: "app.bsky.embed.getEmbedExternalView";
|
|
45891
46272
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|
|
45892
46273
|
readonly AppBskyEmbedRecord: "app.bsky.embed.record";
|
|
45893
46274
|
readonly AppBskyEmbedRecordWithMedia: "app.bsky.embed.recordWithMedia";
|
|
@@ -46003,6 +46384,7 @@ export declare const ids: {
|
|
|
46003
46384
|
readonly ChatBskyActorDefs: "chat.bsky.actor.defs";
|
|
46004
46385
|
readonly ChatBskyActorDeleteAccount: "chat.bsky.actor.deleteAccount";
|
|
46005
46386
|
readonly ChatBskyActorExportAccountData: "chat.bsky.actor.exportAccountData";
|
|
46387
|
+
readonly ChatBskyActorGetStatus: "chat.bsky.actor.getStatus";
|
|
46006
46388
|
readonly ChatBskyConvoAcceptConvo: "chat.bsky.convo.acceptConvo";
|
|
46007
46389
|
readonly ChatBskyConvoAddReaction: "chat.bsky.convo.addReaction";
|
|
46008
46390
|
readonly ChatBskyConvoDefs: "chat.bsky.convo.defs";
|