@atproto/api 0.13.20 → 0.13.21

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.
@@ -8985,6 +8985,24 @@ exports.schemaDict = {
8985
8985
  },
8986
8986
  },
8987
8987
  },
8988
+ trendingTopic: {
8989
+ type: 'object',
8990
+ required: ['topic', 'link'],
8991
+ properties: {
8992
+ topic: {
8993
+ type: 'string',
8994
+ },
8995
+ displayName: {
8996
+ type: 'string',
8997
+ },
8998
+ description: {
8999
+ type: 'string',
9000
+ },
9001
+ link: {
9002
+ type: 'string',
9003
+ },
9004
+ },
9005
+ },
8988
9006
  },
8989
9007
  },
8990
9008
  AppBskyUnspeccedGetConfig: {
@@ -9160,6 +9178,55 @@ exports.schemaDict = {
9160
9178
  },
9161
9179
  },
9162
9180
  },
9181
+ AppBskyUnspeccedGetTrendingTopics: {
9182
+ lexicon: 1,
9183
+ id: 'app.bsky.unspecced.getTrendingTopics',
9184
+ defs: {
9185
+ main: {
9186
+ type: 'query',
9187
+ description: 'Get a list of trending topics',
9188
+ parameters: {
9189
+ type: 'params',
9190
+ properties: {
9191
+ viewer: {
9192
+ type: 'string',
9193
+ format: 'did',
9194
+ description: 'DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.',
9195
+ },
9196
+ limit: {
9197
+ type: 'integer',
9198
+ minimum: 1,
9199
+ maximum: 25,
9200
+ default: 10,
9201
+ },
9202
+ },
9203
+ },
9204
+ output: {
9205
+ encoding: 'application/json',
9206
+ schema: {
9207
+ type: 'object',
9208
+ required: ['topics', 'suggested'],
9209
+ properties: {
9210
+ topics: {
9211
+ type: 'array',
9212
+ items: {
9213
+ type: 'ref',
9214
+ ref: 'lex:app.bsky.unspecced.defs#trendingTopic',
9215
+ },
9216
+ },
9217
+ suggested: {
9218
+ type: 'array',
9219
+ items: {
9220
+ type: 'ref',
9221
+ ref: 'lex:app.bsky.unspecced.defs#trendingTopic',
9222
+ },
9223
+ },
9224
+ },
9225
+ },
9226
+ },
9227
+ },
9228
+ },
9229
+ },
9163
9230
  AppBskyUnspeccedSearchActorsSkeleton: {
9164
9231
  lexicon: 1,
9165
9232
  id: 'app.bsky.unspecced.searchActorsSkeleton',
@@ -13314,6 +13381,7 @@ exports.ids = {
13314
13381
  AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
13315
13382
  AppBskyUnspeccedGetSuggestionsSkeleton: 'app.bsky.unspecced.getSuggestionsSkeleton',
13316
13383
  AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
13384
+ AppBskyUnspeccedGetTrendingTopics: 'app.bsky.unspecced.getTrendingTopics',
13317
13385
  AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
13318
13386
  AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
13319
13387
  AppBskyUnspeccedSearchStarterPacksSkeleton: 'app.bsky.unspecced.searchStarterPacksSkeleton',