@atproto/api 0.32.4 → 0.32.6

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.32.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atproto/common-web@0.5.20
9
+ - @atproto/lexicon@0.7.22
10
+ - @atproto/xrpc@0.8.21
11
+
12
+ ## 0.32.5
13
+
14
+ ### Patch Changes
15
+
16
+ - [#5966](https://github.com/bluesky-social/atproto/pull/5966) [`1079900`](https://github.com/bluesky-social/atproto/commit/1079900b5ba5e8b31ef01d3efcd22a556a611a8a) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add optional `providerId` attribution to external article, publication, gallery, and livestream views. Detect providers server-side from known record types, Standard.site document content and publication theme type tags (including custom domains), and URL fallbacks. Attribution is best-effort and cosmetic, not verified provenance.
17
+
18
+ - [#5973](https://github.com/bluesky-social/atproto/pull/5973) [`2c3b0a2`](https://github.com/bluesky-social/atproto/commit/2c3b0a20905a8269437ba8f7ba48e15c1ba9527e) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Use upstream Atmosphere and external embed lexicons in place of local overrides, and remove app store links from Atmosphere app cards.
19
+
20
+ - [#5967](https://github.com/bluesky-social/atproto/pull/5967) [`b6408e5`](https://github.com/bluesky-social/atproto/commit/b6408e54bc62eb7d5d32c4d401865af6aec0085c) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add `viewer.like` to external article and gallery views, containing the requesting account's Standard.site recommendation or Grain favorite record URI.
21
+
3
22
  ## 0.32.4
4
23
 
5
24
  ### Patch Changes
@@ -2714,6 +2714,11 @@ export declare const schemaDict: {
2714
2714
  readonly type: 'ref';
2715
2715
  readonly ref: 'lex:app.bsky.embed.external#viewExternal';
2716
2716
  };
2717
+ readonly data: {
2718
+ readonly type: 'union';
2719
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream"];
2720
+ readonly description: 'Hydrated modality-specific data for the external embed, when available.';
2721
+ };
2717
2722
  };
2718
2723
  };
2719
2724
  readonly viewExternal: {
@@ -2806,7 +2811,7 @@ export declare const schemaDict: {
2806
2811
  };
2807
2812
  readonly viewExternalSourceTheme: {
2808
2813
  readonly type: 'object';
2809
- readonly description: 'The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source.';
2814
+ 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.';
2810
2815
  readonly properties: {
2811
2816
  readonly backgroundRGB: {
2812
2817
  readonly type: 'ref';
@@ -2852,6 +2857,11 @@ export declare const schemaDict: {
2852
2857
  readonly type: 'object';
2853
2858
  readonly required: ["uri", "title", "description"];
2854
2859
  readonly properties: {
2860
+ readonly providerId: {
2861
+ readonly type: 'string';
2862
+ readonly maxLength: 128;
2863
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.';
2864
+ };
2855
2865
  readonly uri: {
2856
2866
  readonly type: 'string';
2857
2867
  readonly format: 'uri';
@@ -2903,6 +2913,10 @@ export declare const schemaDict: {
2903
2913
  readonly type: 'integer';
2904
2914
  readonly minimum: 1;
2905
2915
  };
2916
+ readonly viewer: {
2917
+ readonly type: 'ref';
2918
+ readonly ref: 'lex:app.bsky.embed.external#viewArticleViewerState';
2919
+ };
2906
2920
  readonly likeCount: {
2907
2921
  readonly type: 'integer';
2908
2922
  readonly minimum: 0;
@@ -2918,10 +2932,26 @@ export declare const schemaDict: {
2918
2932
  };
2919
2933
  };
2920
2934
  };
2935
+ readonly viewArticleViewerState: {
2936
+ readonly type: 'object';
2937
+ readonly description: "Metadata about the requesting account's relationship with the subject article. Only has meaningful content for authed requests.";
2938
+ readonly properties: {
2939
+ readonly like: {
2940
+ readonly type: 'string';
2941
+ readonly format: 'at-uri';
2942
+ readonly description: "The requesting account's site.standard.graph.recommend record for this article, if recommended.";
2943
+ };
2944
+ };
2945
+ };
2921
2946
  readonly viewArticlePublication: {
2922
2947
  readonly type: 'object';
2923
2948
  readonly required: ["uri", "title", "description"];
2924
2949
  readonly properties: {
2950
+ readonly providerId: {
2951
+ readonly type: 'string';
2952
+ readonly maxLength: 128;
2953
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.';
2954
+ };
2925
2955
  readonly uri: {
2926
2956
  readonly type: 'string';
2927
2957
  readonly format: 'uri';
@@ -2973,6 +3003,10 @@ export declare const schemaDict: {
2973
3003
  readonly type: 'ref';
2974
3004
  readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationTheme';
2975
3005
  };
3006
+ readonly viewer: {
3007
+ readonly type: 'ref';
3008
+ readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState';
3009
+ };
2976
3010
  readonly subscriptionCount: {
2977
3011
  readonly type: 'integer';
2978
3012
  readonly minimum: 0;
@@ -2986,10 +3020,6 @@ export declare const schemaDict: {
2986
3020
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
2987
3021
  };
2988
3022
  };
2989
- readonly viewer: {
2990
- readonly type: 'ref';
2991
- readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState';
2992
- };
2993
3023
  };
2994
3024
  };
2995
3025
  readonly viewArticlePublicationViewerState: {
@@ -3028,6 +3058,11 @@ export declare const schemaDict: {
3028
3058
  readonly type: 'object';
3029
3059
  readonly required: ["uri", "title", "description", "items"];
3030
3060
  readonly properties: {
3061
+ readonly providerId: {
3062
+ readonly type: 'string';
3063
+ readonly maxLength: 128;
3064
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as grain.social. Not verified provenance.';
3065
+ };
3031
3066
  readonly uri: {
3032
3067
  readonly type: 'string';
3033
3068
  readonly format: 'uri';
@@ -3080,6 +3115,10 @@ export declare const schemaDict: {
3080
3115
  readonly minimum: 0;
3081
3116
  readonly description: 'Total number of gallery item backlinks, independent of the items included in this view.';
3082
3117
  };
3118
+ readonly viewer: {
3119
+ readonly type: 'ref';
3120
+ readonly ref: 'lex:app.bsky.embed.external#viewGalleryViewerState';
3121
+ };
3083
3122
  readonly likeCount: {
3084
3123
  readonly type: 'integer';
3085
3124
  readonly minimum: 0;
@@ -3095,6 +3134,17 @@ export declare const schemaDict: {
3095
3134
  };
3096
3135
  };
3097
3136
  };
3137
+ readonly viewGalleryViewerState: {
3138
+ readonly type: 'object';
3139
+ readonly description: "Metadata about the requesting account's relationship with the subject gallery. Only has meaningful content for authed requests.";
3140
+ readonly properties: {
3141
+ readonly like: {
3142
+ readonly type: 'string';
3143
+ readonly format: 'at-uri';
3144
+ readonly description: "The requesting account's social.grain.favorite record for this gallery, if favorited.";
3145
+ };
3146
+ };
3147
+ };
3098
3148
  readonly viewGalleryImage: {
3099
3149
  readonly type: 'object';
3100
3150
  readonly required: ["thumbnail", "fullsize"];
@@ -3123,6 +3173,11 @@ export declare const schemaDict: {
3123
3173
  readonly type: 'object';
3124
3174
  readonly required: ["uri", "title", "description", "active"];
3125
3175
  readonly properties: {
3176
+ readonly providerId: {
3177
+ readonly type: 'string';
3178
+ readonly maxLength: 128;
3179
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as stream.place. Not verified provenance.';
3180
+ };
3126
3181
  readonly uri: {
3127
3182
  readonly type: 'string';
3128
3183
  readonly format: 'uri';
@@ -9261,18 +9316,6 @@ export declare const schemaDict: {
9261
9316
  readonly format: 'uri';
9262
9317
  readonly maxLength: 4096;
9263
9318
  };
9264
- readonly appStoreUrl: {
9265
- readonly type: 'string';
9266
- readonly format: 'uri';
9267
- readonly maxLength: 4096;
9268
- readonly description: 'Optional link to the app on the Apple App Store.';
9269
- };
9270
- readonly googlePlayUrl: {
9271
- readonly type: 'string';
9272
- readonly format: 'uri';
9273
- readonly maxLength: 4096;
9274
- readonly description: 'Optional link to the app on Google Play.';
9275
- };
9276
9319
  readonly category: {
9277
9320
  readonly type: 'string';
9278
9321
  readonly maxLength: 100;
@@ -9622,18 +9665,6 @@ export declare const schemaDict: {
9622
9665
  readonly format: 'uri';
9623
9666
  readonly maxLength: 4096;
9624
9667
  };
9625
- readonly appStoreUrl: {
9626
- readonly type: 'string';
9627
- readonly format: 'uri';
9628
- readonly maxLength: 4096;
9629
- readonly description: 'Optional link to the app on the Apple App Store.';
9630
- };
9631
- readonly googlePlayUrl: {
9632
- readonly type: 'string';
9633
- readonly format: 'uri';
9634
- readonly maxLength: 4096;
9635
- readonly description: 'Optional link to the app on Google Play.';
9636
- };
9637
9668
  readonly category: {
9638
9669
  readonly type: 'string';
9639
9670
  readonly maxLength: 4096;
@@ -31768,6 +31799,11 @@ export declare const schemas: ({
31768
31799
  readonly type: 'ref';
31769
31800
  readonly ref: 'lex:app.bsky.embed.external#viewExternal';
31770
31801
  };
31802
+ readonly data: {
31803
+ readonly type: 'union';
31804
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream"];
31805
+ readonly description: 'Hydrated modality-specific data for the external embed, when available.';
31806
+ };
31771
31807
  };
31772
31808
  };
31773
31809
  readonly viewExternal: {
@@ -31860,7 +31896,7 @@ export declare const schemas: ({
31860
31896
  };
31861
31897
  readonly viewExternalSourceTheme: {
31862
31898
  readonly type: 'object';
31863
- readonly description: 'The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source.';
31899
+ 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.';
31864
31900
  readonly properties: {
31865
31901
  readonly backgroundRGB: {
31866
31902
  readonly type: 'ref';
@@ -31906,6 +31942,11 @@ export declare const schemas: ({
31906
31942
  readonly type: 'object';
31907
31943
  readonly required: ["uri", "title", "description"];
31908
31944
  readonly properties: {
31945
+ readonly providerId: {
31946
+ readonly type: 'string';
31947
+ readonly maxLength: 128;
31948
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.';
31949
+ };
31909
31950
  readonly uri: {
31910
31951
  readonly type: 'string';
31911
31952
  readonly format: 'uri';
@@ -31957,6 +31998,10 @@ export declare const schemas: ({
31957
31998
  readonly type: 'integer';
31958
31999
  readonly minimum: 1;
31959
32000
  };
32001
+ readonly viewer: {
32002
+ readonly type: 'ref';
32003
+ readonly ref: 'lex:app.bsky.embed.external#viewArticleViewerState';
32004
+ };
31960
32005
  readonly likeCount: {
31961
32006
  readonly type: 'integer';
31962
32007
  readonly minimum: 0;
@@ -31972,10 +32017,26 @@ export declare const schemas: ({
31972
32017
  };
31973
32018
  };
31974
32019
  };
32020
+ readonly viewArticleViewerState: {
32021
+ readonly type: 'object';
32022
+ readonly description: "Metadata about the requesting account's relationship with the subject article. Only has meaningful content for authed requests.";
32023
+ readonly properties: {
32024
+ readonly like: {
32025
+ readonly type: 'string';
32026
+ readonly format: 'at-uri';
32027
+ readonly description: "The requesting account's site.standard.graph.recommend record for this article, if recommended.";
32028
+ };
32029
+ };
32030
+ };
31975
32031
  readonly viewArticlePublication: {
31976
32032
  readonly type: 'object';
31977
32033
  readonly required: ["uri", "title", "description"];
31978
32034
  readonly properties: {
32035
+ readonly providerId: {
32036
+ readonly type: 'string';
32037
+ readonly maxLength: 128;
32038
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.';
32039
+ };
31979
32040
  readonly uri: {
31980
32041
  readonly type: 'string';
31981
32042
  readonly format: 'uri';
@@ -32027,6 +32088,10 @@ export declare const schemas: ({
32027
32088
  readonly type: 'ref';
32028
32089
  readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationTheme';
32029
32090
  };
32091
+ readonly viewer: {
32092
+ readonly type: 'ref';
32093
+ readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState';
32094
+ };
32030
32095
  readonly subscriptionCount: {
32031
32096
  readonly type: 'integer';
32032
32097
  readonly minimum: 0;
@@ -32040,10 +32105,6 @@ export declare const schemas: ({
32040
32105
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
32041
32106
  };
32042
32107
  };
32043
- readonly viewer: {
32044
- readonly type: 'ref';
32045
- readonly ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState';
32046
- };
32047
32108
  };
32048
32109
  };
32049
32110
  readonly viewArticlePublicationViewerState: {
@@ -32082,6 +32143,11 @@ export declare const schemas: ({
32082
32143
  readonly type: 'object';
32083
32144
  readonly required: ["uri", "title", "description", "items"];
32084
32145
  readonly properties: {
32146
+ readonly providerId: {
32147
+ readonly type: 'string';
32148
+ readonly maxLength: 128;
32149
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as grain.social. Not verified provenance.';
32150
+ };
32085
32151
  readonly uri: {
32086
32152
  readonly type: 'string';
32087
32153
  readonly format: 'uri';
@@ -32134,6 +32200,10 @@ export declare const schemas: ({
32134
32200
  readonly minimum: 0;
32135
32201
  readonly description: 'Total number of gallery item backlinks, independent of the items included in this view.';
32136
32202
  };
32203
+ readonly viewer: {
32204
+ readonly type: 'ref';
32205
+ readonly ref: 'lex:app.bsky.embed.external#viewGalleryViewerState';
32206
+ };
32137
32207
  readonly likeCount: {
32138
32208
  readonly type: 'integer';
32139
32209
  readonly minimum: 0;
@@ -32149,6 +32219,17 @@ export declare const schemas: ({
32149
32219
  };
32150
32220
  };
32151
32221
  };
32222
+ readonly viewGalleryViewerState: {
32223
+ readonly type: 'object';
32224
+ readonly description: "Metadata about the requesting account's relationship with the subject gallery. Only has meaningful content for authed requests.";
32225
+ readonly properties: {
32226
+ readonly like: {
32227
+ readonly type: 'string';
32228
+ readonly format: 'at-uri';
32229
+ readonly description: "The requesting account's social.grain.favorite record for this gallery, if favorited.";
32230
+ };
32231
+ };
32232
+ };
32152
32233
  readonly viewGalleryImage: {
32153
32234
  readonly type: 'object';
32154
32235
  readonly required: ["thumbnail", "fullsize"];
@@ -32177,6 +32258,11 @@ export declare const schemas: ({
32177
32258
  readonly type: 'object';
32178
32259
  readonly required: ["uri", "title", "description", "active"];
32179
32260
  readonly properties: {
32261
+ readonly providerId: {
32262
+ readonly type: 'string';
32263
+ readonly maxLength: 128;
32264
+ readonly description: 'Best-effort provider domain for cosmetic attribution, such as stream.place. Not verified provenance.';
32265
+ };
32180
32266
  readonly uri: {
32181
32267
  readonly type: 'string';
32182
32268
  readonly format: 'uri';
@@ -38230,18 +38316,6 @@ export declare const schemas: ({
38230
38316
  readonly format: 'uri';
38231
38317
  readonly maxLength: 4096;
38232
38318
  };
38233
- readonly appStoreUrl: {
38234
- readonly type: 'string';
38235
- readonly format: 'uri';
38236
- readonly maxLength: 4096;
38237
- readonly description: 'Optional link to the app on the Apple App Store.';
38238
- };
38239
- readonly googlePlayUrl: {
38240
- readonly type: 'string';
38241
- readonly format: 'uri';
38242
- readonly maxLength: 4096;
38243
- readonly description: 'Optional link to the app on Google Play.';
38244
- };
38245
38319
  readonly category: {
38246
38320
  readonly type: 'string';
38247
38321
  readonly maxLength: 100;
@@ -38589,18 +38663,6 @@ export declare const schemas: ({
38589
38663
  readonly format: 'uri';
38590
38664
  readonly maxLength: 4096;
38591
38665
  };
38592
- readonly appStoreUrl: {
38593
- readonly type: 'string';
38594
- readonly format: 'uri';
38595
- readonly maxLength: 4096;
38596
- readonly description: 'Optional link to the app on the Apple App Store.';
38597
- };
38598
- readonly googlePlayUrl: {
38599
- readonly type: 'string';
38600
- readonly format: 'uri';
38601
- readonly maxLength: 4096;
38602
- readonly description: 'Optional link to the app on Google Play.';
38603
- };
38604
38666
  readonly category: {
38605
38667
  readonly type: 'string';
38606
38668
  readonly maxLength: 4096;