@atproto/api 0.24.2 → 0.24.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.
@@ -2837,6 +2837,318 @@ export const schemaDict = {
2837
2837
  },
2838
2838
  },
2839
2839
  },
2840
+ viewArticle: {
2841
+ type: 'object',
2842
+ required: ['uri', 'title', 'description'],
2843
+ properties: {
2844
+ uri: {
2845
+ type: 'string',
2846
+ format: 'uri',
2847
+ },
2848
+ title: {
2849
+ type: 'string',
2850
+ },
2851
+ description: {
2852
+ type: 'string',
2853
+ },
2854
+ createdAt: {
2855
+ type: 'string',
2856
+ format: 'datetime',
2857
+ },
2858
+ updatedAt: {
2859
+ type: 'string',
2860
+ format: 'datetime',
2861
+ },
2862
+ labels: {
2863
+ type: 'array',
2864
+ items: {
2865
+ type: 'ref',
2866
+ ref: 'lex:com.atproto.label.defs#label',
2867
+ },
2868
+ },
2869
+ associatedRefs: {
2870
+ type: 'array',
2871
+ items: {
2872
+ type: 'ref',
2873
+ ref: 'lex:com.atproto.repo.strongRef',
2874
+ },
2875
+ },
2876
+ associatedProfiles: {
2877
+ type: 'array',
2878
+ items: {
2879
+ type: 'ref',
2880
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
2881
+ },
2882
+ },
2883
+ image: {
2884
+ type: 'string',
2885
+ format: 'uri',
2886
+ },
2887
+ publisher: {
2888
+ type: 'ref',
2889
+ ref: 'lex:app.bsky.embed.external#viewArticlePublication',
2890
+ },
2891
+ readingTime: {
2892
+ type: 'integer',
2893
+ minimum: 1,
2894
+ },
2895
+ likeCount: {
2896
+ type: 'integer',
2897
+ minimum: 0,
2898
+ },
2899
+ likers: {
2900
+ type: 'array',
2901
+ maxLength: 3,
2902
+ description: 'Available profile previews. Selected deterministically by DID; not a ranking.',
2903
+ items: {
2904
+ type: 'ref',
2905
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
2906
+ },
2907
+ },
2908
+ },
2909
+ },
2910
+ viewArticlePublication: {
2911
+ type: 'object',
2912
+ required: ['uri', 'title', 'description'],
2913
+ properties: {
2914
+ uri: {
2915
+ type: 'string',
2916
+ format: 'uri',
2917
+ },
2918
+ title: {
2919
+ type: 'string',
2920
+ },
2921
+ description: {
2922
+ type: 'string',
2923
+ },
2924
+ createdAt: {
2925
+ type: 'string',
2926
+ format: 'datetime',
2927
+ },
2928
+ updatedAt: {
2929
+ type: 'string',
2930
+ format: 'datetime',
2931
+ },
2932
+ labels: {
2933
+ type: 'array',
2934
+ items: {
2935
+ type: 'ref',
2936
+ ref: 'lex:com.atproto.label.defs#label',
2937
+ },
2938
+ },
2939
+ associatedRefs: {
2940
+ type: 'array',
2941
+ items: {
2942
+ type: 'ref',
2943
+ ref: 'lex:com.atproto.repo.strongRef',
2944
+ },
2945
+ },
2946
+ associatedProfiles: {
2947
+ type: 'array',
2948
+ items: {
2949
+ type: 'ref',
2950
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
2951
+ },
2952
+ },
2953
+ logo: {
2954
+ type: 'string',
2955
+ format: 'uri',
2956
+ },
2957
+ image: {
2958
+ type: 'string',
2959
+ format: 'uri',
2960
+ },
2961
+ theme: {
2962
+ type: 'ref',
2963
+ ref: 'lex:app.bsky.embed.external#viewArticlePublicationTheme',
2964
+ },
2965
+ subscriptionCount: {
2966
+ type: 'integer',
2967
+ minimum: 0,
2968
+ },
2969
+ subscribers: {
2970
+ type: 'array',
2971
+ maxLength: 3,
2972
+ description: 'Available profile previews. Selected deterministically by DID; not a ranking.',
2973
+ items: {
2974
+ type: 'ref',
2975
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
2976
+ },
2977
+ },
2978
+ },
2979
+ },
2980
+ viewArticlePublicationTheme: {
2981
+ type: 'object',
2982
+ properties: {
2983
+ background: {
2984
+ type: 'string',
2985
+ description: "Hex color string, if available. Example: '#ffffff'.",
2986
+ },
2987
+ foreground: {
2988
+ type: 'string',
2989
+ description: "Hex color string, if available. Example: '#ffffff'.",
2990
+ },
2991
+ accent: {
2992
+ type: 'string',
2993
+ description: "Hex color string, if available. Example: '#ffffff'.",
2994
+ },
2995
+ accentForeground: {
2996
+ type: 'string',
2997
+ description: "Hex color string, if available. Example: '#ffffff'.",
2998
+ },
2999
+ },
3000
+ },
3001
+ viewGallery: {
3002
+ type: 'object',
3003
+ required: ['uri', 'title', 'description', 'items'],
3004
+ properties: {
3005
+ uri: {
3006
+ type: 'string',
3007
+ format: 'uri',
3008
+ },
3009
+ title: {
3010
+ type: 'string',
3011
+ },
3012
+ description: {
3013
+ type: 'string',
3014
+ },
3015
+ createdAt: {
3016
+ type: 'string',
3017
+ format: 'datetime',
3018
+ },
3019
+ updatedAt: {
3020
+ type: 'string',
3021
+ format: 'datetime',
3022
+ },
3023
+ labels: {
3024
+ type: 'array',
3025
+ items: {
3026
+ type: 'ref',
3027
+ ref: 'lex:com.atproto.label.defs#label',
3028
+ },
3029
+ },
3030
+ associatedRefs: {
3031
+ type: 'array',
3032
+ items: {
3033
+ type: 'ref',
3034
+ ref: 'lex:com.atproto.repo.strongRef',
3035
+ },
3036
+ },
3037
+ associatedProfiles: {
3038
+ type: 'array',
3039
+ items: {
3040
+ type: 'ref',
3041
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
3042
+ },
3043
+ },
3044
+ items: {
3045
+ type: 'array',
3046
+ items: {
3047
+ type: 'union',
3048
+ refs: ['lex:app.bsky.embed.external#viewGalleryImage'],
3049
+ },
3050
+ description: 'The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.',
3051
+ },
3052
+ likeCount: {
3053
+ type: 'integer',
3054
+ minimum: 0,
3055
+ },
3056
+ likers: {
3057
+ type: 'array',
3058
+ maxLength: 3,
3059
+ description: 'Available profile previews. Selected deterministically by DID; not a ranking.',
3060
+ items: {
3061
+ type: 'ref',
3062
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
3063
+ },
3064
+ },
3065
+ },
3066
+ },
3067
+ viewGalleryImage: {
3068
+ type: 'object',
3069
+ required: ['thumbnail', 'fullsize'],
3070
+ properties: {
3071
+ thumbnail: {
3072
+ type: 'string',
3073
+ format: 'uri',
3074
+ description: 'Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.',
3075
+ },
3076
+ fullsize: {
3077
+ type: 'string',
3078
+ format: 'uri',
3079
+ 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.',
3080
+ },
3081
+ alt: {
3082
+ type: 'string',
3083
+ description: 'Alt text description of the image, for accessibility.',
3084
+ },
3085
+ aspectRatio: {
3086
+ type: 'ref',
3087
+ ref: 'lex:app.bsky.embed.defs#aspectRatio',
3088
+ },
3089
+ },
3090
+ },
3091
+ viewLivestream: {
3092
+ type: 'object',
3093
+ required: ['uri', 'title', 'description', 'active'],
3094
+ properties: {
3095
+ uri: {
3096
+ type: 'string',
3097
+ format: 'uri',
3098
+ },
3099
+ title: {
3100
+ type: 'string',
3101
+ },
3102
+ description: {
3103
+ type: 'string',
3104
+ },
3105
+ createdAt: {
3106
+ type: 'string',
3107
+ format: 'datetime',
3108
+ },
3109
+ updatedAt: {
3110
+ type: 'string',
3111
+ format: 'datetime',
3112
+ },
3113
+ labels: {
3114
+ type: 'array',
3115
+ items: {
3116
+ type: 'ref',
3117
+ ref: 'lex:com.atproto.label.defs#label',
3118
+ },
3119
+ },
3120
+ associatedRefs: {
3121
+ type: 'array',
3122
+ items: {
3123
+ type: 'ref',
3124
+ ref: 'lex:com.atproto.repo.strongRef',
3125
+ },
3126
+ },
3127
+ associatedProfiles: {
3128
+ type: 'array',
3129
+ items: {
3130
+ type: 'ref',
3131
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
3132
+ },
3133
+ },
3134
+ image: {
3135
+ type: 'string',
3136
+ format: 'uri',
3137
+ },
3138
+ active: {
3139
+ type: 'boolean',
3140
+ description: 'True if the livestream is currently active at the time this view is served, false if it has ended.',
3141
+ },
3142
+ startedAt: {
3143
+ type: 'string',
3144
+ format: 'datetime',
3145
+ },
3146
+ endedAt: {
3147
+ type: 'string',
3148
+ format: 'datetime',
3149
+ },
3150
+ },
3151
+ },
2840
3152
  },
2841
3153
  },
2842
3154
  AppBskyEmbedGallery: {
@@ -2955,6 +3267,16 @@ export const schemaDict = {
2955
3267
  ref: 'lex:app.bsky.embed.external#view',
2956
3268
  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.',
2957
3269
  },
3270
+ data: {
3271
+ type: 'union',
3272
+ refs: [
3273
+ 'lex:app.bsky.embed.external#viewArticle',
3274
+ 'lex:app.bsky.embed.external#viewArticlePublication',
3275
+ 'lex:app.bsky.embed.external#viewGallery',
3276
+ 'lex:app.bsky.embed.external#viewLivestream',
3277
+ ],
3278
+ description: 'Preferred to #view. Hydrated data of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required fields. Omitted alongside the rest of the response when no records resolved or validation failed.',
3279
+ },
2958
3280
  associatedRefs: {
2959
3281
  type: 'array',
2960
3282
  items: {
@@ -8935,6 +9257,223 @@ export const schemaDict = {
8935
9257
  },
8936
9258
  },
8937
9259
  },
9260
+ AppBskyUnspeccedGetAtmosphereExploreTab: {
9261
+ lexicon: 1,
9262
+ id: 'app.bsky.unspecced.getAtmosphereExploreTab',
9263
+ defs: {
9264
+ main: {
9265
+ type: 'query',
9266
+ description: 'Get curated Atmosphere Explore content. Authentication is optional; authenticated requests include viewer-specific profile state.',
9267
+ parameters: {
9268
+ type: 'params',
9269
+ properties: {
9270
+ langs: {
9271
+ type: 'array',
9272
+ description: 'Preferred languages. Currently ignored.',
9273
+ items: {
9274
+ type: 'string',
9275
+ format: 'language',
9276
+ },
9277
+ },
9278
+ countryCode: {
9279
+ type: 'string',
9280
+ description: 'The ISO 3166-1 alpha-2 country code used to select curated content.',
9281
+ },
9282
+ regionCode: {
9283
+ type: 'string',
9284
+ description: 'The ISO 3166-2 region code used to select curated content.',
9285
+ },
9286
+ },
9287
+ },
9288
+ output: {
9289
+ encoding: 'application/json',
9290
+ schema: {
9291
+ type: 'object',
9292
+ required: [
9293
+ 'articles',
9294
+ 'publications',
9295
+ 'photos',
9296
+ 'livestreams',
9297
+ 'apps',
9298
+ ],
9299
+ properties: {
9300
+ announcementBanner: {
9301
+ type: 'ref',
9302
+ ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#announcementBanner',
9303
+ },
9304
+ articles: {
9305
+ type: 'array',
9306
+ items: {
9307
+ type: 'ref',
9308
+ ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#articleItem',
9309
+ },
9310
+ },
9311
+ publications: {
9312
+ type: 'array',
9313
+ items: {
9314
+ type: 'ref',
9315
+ ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#publicationItem',
9316
+ },
9317
+ },
9318
+ photos: {
9319
+ type: 'array',
9320
+ items: {
9321
+ type: 'ref',
9322
+ ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#galleryItem',
9323
+ },
9324
+ },
9325
+ livestreams: {
9326
+ type: 'array',
9327
+ items: {
9328
+ type: 'ref',
9329
+ ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem',
9330
+ },
9331
+ },
9332
+ apps: {
9333
+ type: 'array',
9334
+ maxLength: 100,
9335
+ items: {
9336
+ type: 'ref',
9337
+ ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#appCard',
9338
+ },
9339
+ },
9340
+ },
9341
+ },
9342
+ },
9343
+ },
9344
+ articleItem: {
9345
+ type: 'object',
9346
+ required: ['featured', 'view'],
9347
+ properties: {
9348
+ featured: {
9349
+ type: 'boolean',
9350
+ },
9351
+ view: {
9352
+ type: 'ref',
9353
+ ref: 'lex:app.bsky.embed.external#viewArticle',
9354
+ },
9355
+ },
9356
+ },
9357
+ publicationItem: {
9358
+ type: 'object',
9359
+ required: ['featured', 'view'],
9360
+ properties: {
9361
+ featured: {
9362
+ type: 'boolean',
9363
+ },
9364
+ view: {
9365
+ type: 'ref',
9366
+ ref: 'lex:app.bsky.embed.external#viewArticlePublication',
9367
+ },
9368
+ },
9369
+ },
9370
+ galleryItem: {
9371
+ type: 'object',
9372
+ required: ['featured', 'view'],
9373
+ properties: {
9374
+ featured: {
9375
+ type: 'boolean',
9376
+ },
9377
+ view: {
9378
+ type: 'ref',
9379
+ ref: 'lex:app.bsky.embed.external#viewGallery',
9380
+ },
9381
+ },
9382
+ },
9383
+ livestreamItem: {
9384
+ type: 'object',
9385
+ required: ['featured', 'view'],
9386
+ properties: {
9387
+ featured: {
9388
+ type: 'boolean',
9389
+ },
9390
+ view: {
9391
+ type: 'ref',
9392
+ ref: 'lex:app.bsky.embed.external#viewLivestream',
9393
+ },
9394
+ },
9395
+ },
9396
+ announcementBanner: {
9397
+ type: 'object',
9398
+ properties: {
9399
+ id: {
9400
+ type: 'string',
9401
+ maxLength: 4096,
9402
+ },
9403
+ title: {
9404
+ type: 'string',
9405
+ maxLength: 4096,
9406
+ },
9407
+ description: {
9408
+ type: 'string',
9409
+ maxLength: 4096,
9410
+ },
9411
+ url: {
9412
+ type: 'string',
9413
+ format: 'uri',
9414
+ maxLength: 4096,
9415
+ },
9416
+ image: {
9417
+ type: 'string',
9418
+ format: 'uri',
9419
+ maxLength: 4096,
9420
+ },
9421
+ overlayColor: {
9422
+ type: 'string',
9423
+ maxLength: 4096,
9424
+ },
9425
+ textColor: {
9426
+ type: 'string',
9427
+ maxLength: 4096,
9428
+ },
9429
+ },
9430
+ },
9431
+ appCard: {
9432
+ type: 'object',
9433
+ properties: {
9434
+ id: {
9435
+ type: 'string',
9436
+ maxLength: 4096,
9437
+ },
9438
+ title: {
9439
+ type: 'string',
9440
+ maxLength: 4096,
9441
+ },
9442
+ description: {
9443
+ type: 'string',
9444
+ maxLength: 4096,
9445
+ },
9446
+ logo: {
9447
+ type: 'string',
9448
+ format: 'uri',
9449
+ maxLength: 4096,
9450
+ },
9451
+ backgroundImage: {
9452
+ type: 'string',
9453
+ format: 'uri',
9454
+ maxLength: 4096,
9455
+ },
9456
+ overlayColor: {
9457
+ type: 'string',
9458
+ maxLength: 4096,
9459
+ },
9460
+ textColor: {
9461
+ type: 'string',
9462
+ maxLength: 4096,
9463
+ },
9464
+ url: {
9465
+ type: 'string',
9466
+ format: 'uri',
9467
+ maxLength: 4096,
9468
+ },
9469
+ category: {
9470
+ type: 'string',
9471
+ maxLength: 4096,
9472
+ },
9473
+ },
9474
+ },
9475
+ },
9476
+ },
8938
9477
  AppBskyUnspeccedGetConfig: {
8939
9478
  lexicon: 1,
8940
9479
  id: 'app.bsky.unspecced.getConfig',
@@ -28627,6 +29166,7 @@ export const ids = {
28627
29166
  AppBskyRichtextFacet: 'app.bsky.richtext.facet',
28628
29167
  AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
28629
29168
  AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
29169
+ AppBskyUnspeccedGetAtmosphereExploreTab: 'app.bsky.unspecced.getAtmosphereExploreTab',
28630
29170
  AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
28631
29171
  AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
28632
29172
  AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton',