@atcute/bluesky 1.0.10 → 1.0.11
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/dist/lexicons.d.ts +29 -0
- package/lib/lexicons.ts +30 -0
- package/package.json +3 -3
package/dist/lexicons.d.ts
CHANGED
|
@@ -1911,6 +1911,13 @@ declare module '@atcute/client/lexicons' {
|
|
|
1911
1911
|
[Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
|
|
1912
1912
|
uri: At.Uri;
|
|
1913
1913
|
}
|
|
1914
|
+
interface TrendingTopic {
|
|
1915
|
+
[Brand.Type]?: 'app.bsky.unspecced.defs#trendingTopic';
|
|
1916
|
+
link: string;
|
|
1917
|
+
topic: string;
|
|
1918
|
+
description?: string;
|
|
1919
|
+
displayName?: string;
|
|
1920
|
+
}
|
|
1914
1921
|
}
|
|
1915
1922
|
/** Get miscellaneous runtime configuration. */
|
|
1916
1923
|
namespace AppBskyUnspeccedGetConfig {
|
|
@@ -1975,6 +1982,24 @@ declare module '@atcute/client/lexicons' {
|
|
|
1975
1982
|
tag: string;
|
|
1976
1983
|
}
|
|
1977
1984
|
}
|
|
1985
|
+
/** Get a list of trending topics */
|
|
1986
|
+
namespace AppBskyUnspeccedGetTrendingTopics {
|
|
1987
|
+
interface Params {
|
|
1988
|
+
/**
|
|
1989
|
+
* Minimum: 1 \
|
|
1990
|
+
* Maximum: 25
|
|
1991
|
+
* @default 10
|
|
1992
|
+
*/
|
|
1993
|
+
limit?: number;
|
|
1994
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
|
|
1995
|
+
viewer?: At.DID;
|
|
1996
|
+
}
|
|
1997
|
+
type Input = undefined;
|
|
1998
|
+
interface Output {
|
|
1999
|
+
suggested: AppBskyUnspeccedDefs.TrendingTopic[];
|
|
2000
|
+
topics: AppBskyUnspeccedDefs.TrendingTopic[];
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
1978
2003
|
/** Backend Actors (profile) search, returns only skeleton. */
|
|
1979
2004
|
namespace AppBskyUnspeccedSearchActorsSkeleton {
|
|
1980
2005
|
interface Params {
|
|
@@ -2626,6 +2651,10 @@ declare module '@atcute/client/lexicons' {
|
|
|
2626
2651
|
'app.bsky.unspecced.getTaggedSuggestions': {
|
|
2627
2652
|
output: AppBskyUnspeccedGetTaggedSuggestions.Output;
|
|
2628
2653
|
};
|
|
2654
|
+
'app.bsky.unspecced.getTrendingTopics': {
|
|
2655
|
+
params: AppBskyUnspeccedGetTrendingTopics.Params;
|
|
2656
|
+
output: AppBskyUnspeccedGetTrendingTopics.Output;
|
|
2657
|
+
};
|
|
2629
2658
|
'app.bsky.unspecced.searchActorsSkeleton': {
|
|
2630
2659
|
params: AppBskyUnspeccedSearchActorsSkeleton.Params;
|
|
2631
2660
|
output: AppBskyUnspeccedSearchActorsSkeleton.Output;
|
package/lib/lexicons.ts
CHANGED
|
@@ -2052,6 +2052,13 @@ declare module '@atcute/client/lexicons' {
|
|
|
2052
2052
|
[Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
|
|
2053
2053
|
uri: At.Uri;
|
|
2054
2054
|
}
|
|
2055
|
+
interface TrendingTopic {
|
|
2056
|
+
[Brand.Type]?: 'app.bsky.unspecced.defs#trendingTopic';
|
|
2057
|
+
link: string;
|
|
2058
|
+
topic: string;
|
|
2059
|
+
description?: string;
|
|
2060
|
+
displayName?: string;
|
|
2061
|
+
}
|
|
2055
2062
|
}
|
|
2056
2063
|
|
|
2057
2064
|
/** Get miscellaneous runtime configuration. */
|
|
@@ -2120,6 +2127,25 @@ declare module '@atcute/client/lexicons' {
|
|
|
2120
2127
|
}
|
|
2121
2128
|
}
|
|
2122
2129
|
|
|
2130
|
+
/** Get a list of trending topics */
|
|
2131
|
+
namespace AppBskyUnspeccedGetTrendingTopics {
|
|
2132
|
+
interface Params {
|
|
2133
|
+
/**
|
|
2134
|
+
* Minimum: 1 \
|
|
2135
|
+
* Maximum: 25
|
|
2136
|
+
* @default 10
|
|
2137
|
+
*/
|
|
2138
|
+
limit?: number;
|
|
2139
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
|
|
2140
|
+
viewer?: At.DID;
|
|
2141
|
+
}
|
|
2142
|
+
type Input = undefined;
|
|
2143
|
+
interface Output {
|
|
2144
|
+
suggested: AppBskyUnspeccedDefs.TrendingTopic[];
|
|
2145
|
+
topics: AppBskyUnspeccedDefs.TrendingTopic[];
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2123
2149
|
/** Backend Actors (profile) search, returns only skeleton. */
|
|
2124
2150
|
namespace AppBskyUnspeccedSearchActorsSkeleton {
|
|
2125
2151
|
interface Params {
|
|
@@ -2791,6 +2817,10 @@ declare module '@atcute/client/lexicons' {
|
|
|
2791
2817
|
'app.bsky.unspecced.getTaggedSuggestions': {
|
|
2792
2818
|
output: AppBskyUnspeccedGetTaggedSuggestions.Output;
|
|
2793
2819
|
};
|
|
2820
|
+
'app.bsky.unspecced.getTrendingTopics': {
|
|
2821
|
+
params: AppBskyUnspeccedGetTrendingTopics.Params;
|
|
2822
|
+
output: AppBskyUnspeccedGetTrendingTopics.Output;
|
|
2823
|
+
};
|
|
2794
2824
|
'app.bsky.unspecced.searchActorsSkeleton': {
|
|
2795
2825
|
params: AppBskyUnspeccedSearchActorsSkeleton.Params;
|
|
2796
2826
|
output: AppBskyUnspeccedSearchActorsSkeleton.Output;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/bluesky",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.11",
|
|
5
5
|
"description": "Bluesky type definitions for atcute",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@atcute/client": "^1.0.0 || ^2.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@atcute/
|
|
25
|
-
"@atcute/
|
|
24
|
+
"@atcute/lex-cli": "^1.0.3",
|
|
25
|
+
"@atcute/client": "^2.0.6"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc",
|