@atproto/bsky 0.0.98 → 0.0.100
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 +14 -0
- package/dist/api/app/bsky/unspecced/getConfig.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/getConfig.js +1 -0
- package/dist/api/app/bsky/unspecced/getConfig.js.map +1 -1
- package/dist/api/app/bsky/unspecced/getTrendingTopics.d.ts +4 -0
- package/dist/api/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -0
- package/dist/api/app/bsky/unspecced/getTrendingTopics.js +52 -0
- package/dist/api/app/bsky/unspecced/getTrendingTopics.js.map +1 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/config.d.ts +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +15 -0
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +2 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +3 -0
- package/dist/context.js.map +1 -1
- package/dist/hydration/actor.d.ts.map +1 -1
- package/dist/hydration/actor.js +6 -6
- package/dist/hydration/actor.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +4 -2
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +4 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +134 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +68 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +9 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.js +10 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.d.ts +39 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.js +3 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrendingTopics.js.map +1 -0
- package/package.json +5 -5
- package/src/api/app/bsky/unspecced/getConfig.ts +1 -0
- package/src/api/app/bsky/unspecced/getTrendingTopics.ts +98 -0
- package/src/api/index.ts +2 -0
- package/src/config.ts +21 -0
- package/src/context.ts +5 -0
- package/src/hydration/actor.ts +9 -9
- package/src/index.ts +11 -0
- package/src/lexicon/index.ts +14 -2
- package/src/lexicon/lexicons.ts +69 -0
- package/src/lexicon/types/app/bsky/unspecced/defs.ts +20 -0
- package/src/lexicon/types/app/bsky/unspecced/getTrendingTopics.ts +49 -0
- package/tests/__snapshots__/feed-generation.test.ts.snap +16 -16
- package/tests/data-plane/__snapshots__/indexing.test.ts.snap +4 -4
- package/tests/image/sharp.test.ts +1 -1
- package/tests/views/__snapshots__/author-feed.test.ts.snap +40 -40
- package/tests/views/__snapshots__/blocks.test.ts.snap +2 -2
- package/tests/views/__snapshots__/list-feed.test.ts.snap +6 -6
- package/tests/views/__snapshots__/mute-lists.test.ts.snap +2 -2
- package/tests/views/__snapshots__/mutes.test.ts.snap +2 -2
- package/tests/views/__snapshots__/notifications.test.ts.snap +3 -3
- package/tests/views/__snapshots__/posts.test.ts.snap +8 -8
- package/tests/views/__snapshots__/quotes.test.ts.snap +2 -2
- package/tests/views/__snapshots__/thread.test.ts.snap +12 -12
- package/tests/views/__snapshots__/timeline.test.ts.snap +58 -58
- package/tests/views/block-lists.test.ts +1 -1
- package/tests/views/mute-lists.test.ts +1 -1
- package/tests/views/profile.test.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -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',
|
|
@@ -10604,6 +10671,7 @@ exports.ids = {
|
|
|
10604
10671
|
AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
|
|
10605
10672
|
AppBskyUnspeccedGetSuggestionsSkeleton: 'app.bsky.unspecced.getSuggestionsSkeleton',
|
|
10606
10673
|
AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
|
|
10674
|
+
AppBskyUnspeccedGetTrendingTopics: 'app.bsky.unspecced.getTrendingTopics',
|
|
10607
10675
|
AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
|
|
10608
10676
|
AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
|
|
10609
10677
|
AppBskyUnspeccedSearchStarterPacksSkeleton: 'app.bsky.unspecced.searchStarterPacksSkeleton',
|