@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.
- package/CHANGELOG.md +16 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +7 -3
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +150 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +76 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +9 -0
- package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.js +10 -0
- package/dist/client/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts +27 -0
- package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getTrendingTopics.js +7 -0
- package/dist/client/types/app/bsky/unspecced/getTrendingTopics.js.map +1 -0
- package/package.json +4 -4
- package/src/client/index.ts +14 -0
- package/src/client/lexicons.ts +78 -0
- package/src/client/types/app/bsky/notification/listNotifications.ts +2 -0
- package/src/client/types/app/bsky/unspecced/defs.ts +20 -0
- package/src/client/types/app/bsky/unspecced/getTrendingTopics.ts +38 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -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',
|