@atproto/api 0.13.19 → 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.
Files changed (27) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +7 -3
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +150 -0
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +76 -0
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -0
  11. package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
  13. package/dist/client/types/app/bsky/unspecced/defs.d.ts +9 -0
  14. package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +1 -1
  15. package/dist/client/types/app/bsky/unspecced/defs.js +10 -0
  16. package/dist/client/types/app/bsky/unspecced/defs.js.map +1 -1
  17. package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts +27 -0
  18. package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -0
  19. package/dist/client/types/app/bsky/unspecced/getTrendingTopics.js +7 -0
  20. package/dist/client/types/app/bsky/unspecced/getTrendingTopics.js.map +1 -0
  21. package/package.json +4 -4
  22. package/src/client/index.ts +14 -0
  23. package/src/client/lexicons.ts +78 -0
  24. package/src/client/types/app/bsky/notification/listNotifications.ts +2 -0
  25. package/src/client/types/app/bsky/unspecced/defs.ts +20 -0
  26. package/src/client/types/app/bsky/unspecced/getTrendingTopics.ts +38 -0
  27. package/tsconfig.build.tsbuildinfo +1 -1
@@ -8681,6 +8681,14 @@ exports.schemaDict = {
8681
8681
  parameters: {
8682
8682
  type: 'params',
8683
8683
  properties: {
8684
+ reasons: {
8685
+ description: 'Notification reasons to include in response.',
8686
+ type: 'array',
8687
+ items: {
8688
+ type: 'string',
8689
+ description: 'A reason that matches the reason property of #notification.',
8690
+ },
8691
+ },
8684
8692
  limit: {
8685
8693
  type: 'integer',
8686
8694
  minimum: 1,
@@ -8977,6 +8985,24 @@ exports.schemaDict = {
8977
8985
  },
8978
8986
  },
8979
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
+ },
8980
9006
  },
8981
9007
  },
8982
9008
  AppBskyUnspeccedGetConfig: {
@@ -9152,6 +9178,55 @@ exports.schemaDict = {
9152
9178
  },
9153
9179
  },
9154
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
+ },
9155
9230
  AppBskyUnspeccedSearchActorsSkeleton: {
9156
9231
  lexicon: 1,
9157
9232
  id: 'app.bsky.unspecced.searchActorsSkeleton',
@@ -13306,6 +13381,7 @@ exports.ids = {
13306
13381
  AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
13307
13382
  AppBskyUnspeccedGetSuggestionsSkeleton: 'app.bsky.unspecced.getSuggestionsSkeleton',
13308
13383
  AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
13384
+ AppBskyUnspeccedGetTrendingTopics: 'app.bsky.unspecced.getTrendingTopics',
13309
13385
  AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
13310
13386
  AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
13311
13387
  AppBskyUnspeccedSearchStarterPacksSkeleton: 'app.bsky.unspecced.searchStarterPacksSkeleton',