@atcute/bluesky 1.0.9 → 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.
@@ -1805,6 +1805,11 @@ declare module '@atcute/client/lexicons' {
1805
1805
  */
1806
1806
  limit?: number;
1807
1807
  priority?: boolean;
1808
+ /**
1809
+ * Notification reasons to include in response. \
1810
+ * A reason that matches the reason property of #notification.
1811
+ */
1812
+ reasons?: string[];
1808
1813
  seenAt?: string;
1809
1814
  }
1810
1815
  type Input = undefined;
@@ -1906,6 +1911,13 @@ declare module '@atcute/client/lexicons' {
1906
1911
  [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
1907
1912
  uri: At.Uri;
1908
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
+ }
1909
1921
  }
1910
1922
  /** Get miscellaneous runtime configuration. */
1911
1923
  namespace AppBskyUnspeccedGetConfig {
@@ -1970,6 +1982,24 @@ declare module '@atcute/client/lexicons' {
1970
1982
  tag: string;
1971
1983
  }
1972
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
+ }
1973
2003
  /** Backend Actors (profile) search, returns only skeleton. */
1974
2004
  namespace AppBskyUnspeccedSearchActorsSkeleton {
1975
2005
  interface Params {
@@ -2621,6 +2651,10 @@ declare module '@atcute/client/lexicons' {
2621
2651
  'app.bsky.unspecced.getTaggedSuggestions': {
2622
2652
  output: AppBskyUnspeccedGetTaggedSuggestions.Output;
2623
2653
  };
2654
+ 'app.bsky.unspecced.getTrendingTopics': {
2655
+ params: AppBskyUnspeccedGetTrendingTopics.Params;
2656
+ output: AppBskyUnspeccedGetTrendingTopics.Output;
2657
+ };
2624
2658
  'app.bsky.unspecced.searchActorsSkeleton': {
2625
2659
  params: AppBskyUnspeccedSearchActorsSkeleton.Params;
2626
2660
  output: AppBskyUnspeccedSearchActorsSkeleton.Output;
package/lib/lexicons.ts CHANGED
@@ -1936,6 +1936,11 @@ declare module '@atcute/client/lexicons' {
1936
1936
  */
1937
1937
  limit?: number;
1938
1938
  priority?: boolean;
1939
+ /**
1940
+ * Notification reasons to include in response. \
1941
+ * A reason that matches the reason property of #notification.
1942
+ */
1943
+ reasons?: string[];
1939
1944
  seenAt?: string;
1940
1945
  }
1941
1946
  type Input = undefined;
@@ -2047,6 +2052,13 @@ declare module '@atcute/client/lexicons' {
2047
2052
  [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
2048
2053
  uri: At.Uri;
2049
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
+ }
2050
2062
  }
2051
2063
 
2052
2064
  /** Get miscellaneous runtime configuration. */
@@ -2115,6 +2127,25 @@ declare module '@atcute/client/lexicons' {
2115
2127
  }
2116
2128
  }
2117
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
+
2118
2149
  /** Backend Actors (profile) search, returns only skeleton. */
2119
2150
  namespace AppBskyUnspeccedSearchActorsSkeleton {
2120
2151
  interface Params {
@@ -2786,6 +2817,10 @@ declare module '@atcute/client/lexicons' {
2786
2817
  'app.bsky.unspecced.getTaggedSuggestions': {
2787
2818
  output: AppBskyUnspeccedGetTaggedSuggestions.Output;
2788
2819
  };
2820
+ 'app.bsky.unspecced.getTrendingTopics': {
2821
+ params: AppBskyUnspeccedGetTrendingTopics.Params;
2822
+ output: AppBskyUnspeccedGetTrendingTopics.Output;
2823
+ };
2789
2824
  'app.bsky.unspecced.searchActorsSkeleton': {
2790
2825
  params: AppBskyUnspeccedSearchActorsSkeleton.Params;
2791
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.9",
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/client": "^2.0.6",
25
- "@atcute/lex-cli": "^1.0.3"
24
+ "@atcute/lex-cli": "^1.0.3",
25
+ "@atcute/client": "^2.0.6"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsc",