@atcute/bluesky 2.0.0 → 2.0.2

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.
@@ -155,7 +155,7 @@ declare module '@atcute/client/lexicons' {
155
155
  */
156
156
  threadgateAllowRules?: Brand.Union<AppBskyFeedThreadgate.FollowerRule | AppBskyFeedThreadgate.FollowingRule | AppBskyFeedThreadgate.ListRule | AppBskyFeedThreadgate.MentionRule>[];
157
157
  }
158
- type Preferences = Brand.Union<AdultContentPref | BskyAppStatePref | ContentLabelPref | FeedViewPref | HiddenPostsPref | InterestsPref | LabelersPref | MutedWordsPref | PersonalDetailsPref | PostInteractionSettingsPref | SavedFeedsPref | SavedFeedsPrefV2 | ThreadViewPref>[];
158
+ type Preferences = Brand.Union<AdultContentPref | BskyAppStatePref | ContentLabelPref | FeedViewPref | HiddenPostsPref | InterestsPref | LabelersPref | MutedWordsPref | PersonalDetailsPref | PostInteractionSettingsPref | SavedFeedsPref | SavedFeedsPrefV2 | ThreadViewPref | VerificationPrefs>[];
159
159
  interface ProfileAssociated {
160
160
  [Brand.Type]?: 'app.bsky.actor.defs#profileAssociated';
161
161
  chat?: ProfileAssociatedChat;
@@ -187,6 +187,7 @@ declare module '@atcute/client/lexicons' {
187
187
  displayName?: string;
188
188
  indexedAt?: string;
189
189
  labels?: ComAtprotoLabelDefs.Label[];
190
+ verification?: VerificationState;
190
191
  viewer?: ViewerState;
191
192
  }
192
193
  interface ProfileViewBasic {
@@ -202,6 +203,7 @@ declare module '@atcute/client/lexicons' {
202
203
  */
203
204
  displayName?: string;
204
205
  labels?: ComAtprotoLabelDefs.Label[];
206
+ verification?: VerificationState;
205
207
  viewer?: ViewerState;
206
208
  }
207
209
  interface ProfileViewDetailed {
@@ -229,6 +231,7 @@ declare module '@atcute/client/lexicons' {
229
231
  labels?: ComAtprotoLabelDefs.Label[];
230
232
  pinnedPost?: ComAtprotoRepoStrongRef.Main;
231
233
  postsCount?: number;
234
+ verification?: VerificationState;
232
235
  viewer?: ViewerState;
233
236
  }
234
237
  interface SavedFeed {
@@ -255,6 +258,37 @@ declare module '@atcute/client/lexicons' {
255
258
  /** Sorting mode for threads. */
256
259
  sort?: 'hotness' | 'most-likes' | 'newest' | 'oldest' | 'random' | (string & {});
257
260
  }
261
+ /** Preferences for how verified accounts appear in the app. */
262
+ interface VerificationPrefs {
263
+ [Brand.Type]?: 'app.bsky.actor.defs#verificationPrefs';
264
+ /**
265
+ * Hide the blue check badges for verified accounts and trusted verifiers.
266
+ * @default false
267
+ */
268
+ hideBadges?: boolean;
269
+ }
270
+ /** Represents the verification information about the user this object is attached to. */
271
+ interface VerificationState {
272
+ [Brand.Type]?: 'app.bsky.actor.defs#verificationState';
273
+ /** The user's status as a trusted verifier. */
274
+ trustedVerifierStatus: 'invalid' | 'none' | 'valid' | (string & {});
275
+ /** All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. */
276
+ verifications: VerificationView[];
277
+ /** The user's status as a verified account. */
278
+ verifiedStatus: 'invalid' | 'none' | 'valid' | (string & {});
279
+ }
280
+ /** An individual verification for an associated subject. */
281
+ interface VerificationView {
282
+ [Brand.Type]?: 'app.bsky.actor.defs#verificationView';
283
+ /** Timestamp when the verification was created. */
284
+ createdAt: string;
285
+ /** The user who issued this verification. */
286
+ issuer: At.Did;
287
+ /** True if the verification passes validation, otherwise false. */
288
+ isValid: boolean;
289
+ /** The AT-URI of the verification record. */
290
+ uri: At.ResourceUri;
291
+ }
258
292
  /** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */
259
293
  interface ViewerState {
260
294
  [Brand.Type]?: 'app.bsky.actor.defs#viewerState';
@@ -1765,6 +1799,20 @@ declare module '@atcute/client/lexicons' {
1765
1799
  }
1766
1800
  type Output = undefined;
1767
1801
  }
1802
+ namespace AppBskyGraphVerification {
1803
+ /** Record declaring a verification relationship between two accounts. Verifications are only considered valid by an app if issued by an account the app considers trusted. */
1804
+ interface Record {
1805
+ $type: 'app.bsky.graph.verification';
1806
+ /** Date of when the verification was created. */
1807
+ createdAt: string;
1808
+ /** Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying. */
1809
+ displayName: string;
1810
+ /** Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying. */
1811
+ handle: At.Handle;
1812
+ /** DID of the subject the verification applies to. */
1813
+ subject: At.Did;
1814
+ }
1815
+ }
1768
1816
  namespace AppBskyLabelerDefs {
1769
1817
  interface LabelerPolicies {
1770
1818
  [Brand.Type]?: 'app.bsky.labeler.defs#labelerPolicies';
@@ -1962,6 +2010,17 @@ declare module '@atcute/client/lexicons' {
1962
2010
  [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
1963
2011
  uri: At.ResourceUri;
1964
2012
  }
2013
+ interface SkeletonTrend {
2014
+ [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonTrend';
2015
+ dids: At.Did[];
2016
+ displayName: string;
2017
+ link: string;
2018
+ postCount: number;
2019
+ startedAt: string;
2020
+ topic: string;
2021
+ category?: string;
2022
+ status?: 'hot' | (string & {});
2023
+ }
1965
2024
  interface TrendingTopic {
1966
2025
  [Brand.Type]?: 'app.bsky.unspecced.defs#trendingTopic';
1967
2026
  link: string;
@@ -1969,6 +2028,17 @@ declare module '@atcute/client/lexicons' {
1969
2028
  description?: string;
1970
2029
  displayName?: string;
1971
2030
  }
2031
+ interface TrendView {
2032
+ [Brand.Type]?: 'app.bsky.unspecced.defs#trendView';
2033
+ actors: AppBskyActorDefs.ProfileViewBasic[];
2034
+ displayName: string;
2035
+ link: string;
2036
+ postCount: number;
2037
+ startedAt: string;
2038
+ topic: string;
2039
+ category?: string;
2040
+ status?: 'hot' | (string & {});
2041
+ }
1972
2042
  }
1973
2043
  /** Get miscellaneous runtime configuration. */
1974
2044
  namespace AppBskyUnspeccedGetConfig {
@@ -1997,6 +2067,106 @@ declare module '@atcute/client/lexicons' {
1997
2067
  cursor?: string;
1998
2068
  }
1999
2069
  }
2070
+ /** Get a list of suggested feeds */
2071
+ namespace AppBskyUnspeccedGetSuggestedFeeds {
2072
+ interface Params {
2073
+ /**
2074
+ * Minimum: 1 \
2075
+ * Maximum: 25
2076
+ * @default 10
2077
+ */
2078
+ limit?: number;
2079
+ }
2080
+ type Input = undefined;
2081
+ interface Output {
2082
+ feeds: AppBskyFeedDefs.GeneratorView[];
2083
+ }
2084
+ }
2085
+ /** Get a skeleton of suggested feeds. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedFeeds */
2086
+ namespace AppBskyUnspeccedGetSuggestedFeedsSkeleton {
2087
+ interface Params {
2088
+ /**
2089
+ * Minimum: 1 \
2090
+ * Maximum: 25
2091
+ * @default 10
2092
+ */
2093
+ limit?: number;
2094
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2095
+ viewer?: At.Did;
2096
+ }
2097
+ type Input = undefined;
2098
+ interface Output {
2099
+ feeds: At.ResourceUri[];
2100
+ }
2101
+ }
2102
+ /** Get a list of suggested starterpacks */
2103
+ namespace AppBskyUnspeccedGetSuggestedStarterPacks {
2104
+ interface Params {
2105
+ /**
2106
+ * Minimum: 1 \
2107
+ * Maximum: 25
2108
+ * @default 10
2109
+ */
2110
+ limit?: number;
2111
+ }
2112
+ type Input = undefined;
2113
+ interface Output {
2114
+ starterPacks: AppBskyGraphDefs.StarterPackView[];
2115
+ }
2116
+ }
2117
+ /** Get a skeleton of suggested starterpacks. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedStarterpacks */
2118
+ namespace AppBskyUnspeccedGetSuggestedStarterPacksSkeleton {
2119
+ interface Params {
2120
+ /**
2121
+ * Minimum: 1 \
2122
+ * Maximum: 25
2123
+ * @default 10
2124
+ */
2125
+ limit?: number;
2126
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2127
+ viewer?: At.Did;
2128
+ }
2129
+ type Input = undefined;
2130
+ interface Output {
2131
+ starterPacks: At.ResourceUri[];
2132
+ }
2133
+ }
2134
+ /** Get a list of suggested users */
2135
+ namespace AppBskyUnspeccedGetSuggestedUsers {
2136
+ interface Params {
2137
+ /** Category of users to get suggestions for. */
2138
+ category?: string;
2139
+ /**
2140
+ * Minimum: 1 \
2141
+ * Maximum: 50
2142
+ * @default 25
2143
+ */
2144
+ limit?: number;
2145
+ }
2146
+ type Input = undefined;
2147
+ interface Output {
2148
+ actors: AppBskyActorDefs.ProfileView[];
2149
+ }
2150
+ }
2151
+ /** Get a skeleton of suggested users. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsers */
2152
+ namespace AppBskyUnspeccedGetSuggestedUsersSkeleton {
2153
+ interface Params {
2154
+ /** Category of users to get suggestions for. */
2155
+ category?: string;
2156
+ /**
2157
+ * Minimum: 1 \
2158
+ * Maximum: 50
2159
+ * @default 25
2160
+ */
2161
+ limit?: number;
2162
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2163
+ viewer?: At.Did;
2164
+ }
2165
+ type Input = undefined;
2166
+ interface Output {
2167
+ dids: At.Did[];
2168
+ }
2169
+ }
2000
2170
  /** Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions */
2001
2171
  namespace AppBskyUnspeccedGetSuggestionsSkeleton {
2002
2172
  interface Params {
@@ -2053,6 +2223,38 @@ declare module '@atcute/client/lexicons' {
2053
2223
  topics: AppBskyUnspeccedDefs.TrendingTopic[];
2054
2224
  }
2055
2225
  }
2226
+ /** Get the current trends on the network */
2227
+ namespace AppBskyUnspeccedGetTrends {
2228
+ interface Params {
2229
+ /**
2230
+ * Minimum: 1 \
2231
+ * Maximum: 25
2232
+ * @default 10
2233
+ */
2234
+ limit?: number;
2235
+ }
2236
+ type Input = undefined;
2237
+ interface Output {
2238
+ trends: AppBskyUnspeccedDefs.TrendView[];
2239
+ }
2240
+ }
2241
+ /** Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends */
2242
+ namespace AppBskyUnspeccedGetTrendsSkeleton {
2243
+ interface Params {
2244
+ /**
2245
+ * Minimum: 1 \
2246
+ * Maximum: 25
2247
+ * @default 10
2248
+ */
2249
+ limit?: number;
2250
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2251
+ viewer?: At.Did;
2252
+ }
2253
+ type Input = undefined;
2254
+ interface Output {
2255
+ trends: AppBskyUnspeccedDefs.SkeletonTrend[];
2256
+ }
2257
+ }
2056
2258
  /** Backend Actors (profile) search, returns only skeleton. */
2057
2259
  namespace AppBskyUnspeccedSearchActorsSkeleton {
2058
2260
  interface Params {
@@ -2233,6 +2435,7 @@ declare module '@atcute/client/lexicons' {
2233
2435
  */
2234
2436
  displayName?: string;
2235
2437
  labels?: ComAtprotoLabelDefs.Label[];
2438
+ verification?: AppBskyActorDefs.VerificationState;
2236
2439
  viewer?: AppBskyActorDefs.ViewerState;
2237
2440
  }
2238
2441
  }
@@ -2269,7 +2472,7 @@ declare module '@atcute/client/lexicons' {
2269
2472
  messageId: string;
2270
2473
  /**
2271
2474
  * Minimum string length: 1 \
2272
- * Maximum string length: 32 \
2475
+ * Maximum string length: 64 \
2273
2476
  * Maximum grapheme length: 1
2274
2477
  */
2275
2478
  value: string;
@@ -2291,7 +2494,8 @@ declare module '@atcute/client/lexicons' {
2291
2494
  muted: boolean;
2292
2495
  rev: string;
2293
2496
  unreadCount: number;
2294
- lastMessage?: Brand.Union<DeletedMessageView | MessageAndReactionView | MessageView>;
2497
+ lastMessage?: Brand.Union<DeletedMessageView | MessageView>;
2498
+ lastReaction?: Brand.Union<MessageAndReactionView>;
2295
2499
  status?: 'accepted' | 'request' | (string & {});
2296
2500
  }
2297
2501
  interface DeletedMessageView {
@@ -2394,6 +2598,7 @@ declare module '@atcute/client/lexicons' {
2394
2598
  embed?: Brand.Union<AppBskyEmbedRecord.View>;
2395
2599
  /** Annotations of text (mentions, URLs, hashtags, etc) */
2396
2600
  facets?: AppBskyRichtextFacet.Main[];
2601
+ /** Reactions to this message, in ascending order of creation time. */
2397
2602
  reactions?: ReactionView[];
2398
2603
  }
2399
2604
  interface MessageViewSender {
@@ -2532,7 +2737,7 @@ declare module '@atcute/client/lexicons' {
2532
2737
  messageId: string;
2533
2738
  /**
2534
2739
  * Minimum string length: 1 \
2535
- * Maximum string length: 32 \
2740
+ * Maximum string length: 64 \
2536
2741
  * Maximum grapheme length: 1
2537
2742
  */
2538
2743
  value: string;
@@ -2659,6 +2864,7 @@ declare module '@atcute/client/lexicons' {
2659
2864
  'app.bsky.graph.listblock': AppBskyGraphListblock.Record;
2660
2865
  'app.bsky.graph.listitem': AppBskyGraphListitem.Record;
2661
2866
  'app.bsky.graph.starterpack': AppBskyGraphStarterpack.Record;
2867
+ 'app.bsky.graph.verification': AppBskyGraphVerification.Record;
2662
2868
  'app.bsky.labeler.service': AppBskyLabelerService.Record;
2663
2869
  'chat.bsky.actor.declaration': ChatBskyActorDeclaration.Record;
2664
2870
  }
@@ -3004,6 +3210,54 @@ declare module '@atcute/client/lexicons' {
3004
3210
  json: AppBskyUnspeccedGetPopularFeedGenerators.Output;
3005
3211
  };
3006
3212
  };
3213
+ 'app.bsky.unspecced.getSuggestedFeeds': {
3214
+ params: AppBskyUnspeccedGetSuggestedFeeds.Params;
3215
+ /** @deprecated */
3216
+ output: AppBskyUnspeccedGetSuggestedFeeds.Output;
3217
+ response: {
3218
+ json: AppBskyUnspeccedGetSuggestedFeeds.Output;
3219
+ };
3220
+ };
3221
+ 'app.bsky.unspecced.getSuggestedFeedsSkeleton': {
3222
+ params: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Params;
3223
+ /** @deprecated */
3224
+ output: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output;
3225
+ response: {
3226
+ json: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output;
3227
+ };
3228
+ };
3229
+ 'app.bsky.unspecced.getSuggestedStarterPacks': {
3230
+ params: AppBskyUnspeccedGetSuggestedStarterPacks.Params;
3231
+ /** @deprecated */
3232
+ output: AppBskyUnspeccedGetSuggestedStarterPacks.Output;
3233
+ response: {
3234
+ json: AppBskyUnspeccedGetSuggestedStarterPacks.Output;
3235
+ };
3236
+ };
3237
+ 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton': {
3238
+ params: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Params;
3239
+ /** @deprecated */
3240
+ output: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output;
3241
+ response: {
3242
+ json: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output;
3243
+ };
3244
+ };
3245
+ 'app.bsky.unspecced.getSuggestedUsers': {
3246
+ params: AppBskyUnspeccedGetSuggestedUsers.Params;
3247
+ /** @deprecated */
3248
+ output: AppBskyUnspeccedGetSuggestedUsers.Output;
3249
+ response: {
3250
+ json: AppBskyUnspeccedGetSuggestedUsers.Output;
3251
+ };
3252
+ };
3253
+ 'app.bsky.unspecced.getSuggestedUsersSkeleton': {
3254
+ params: AppBskyUnspeccedGetSuggestedUsersSkeleton.Params;
3255
+ /** @deprecated */
3256
+ output: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output;
3257
+ response: {
3258
+ json: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output;
3259
+ };
3260
+ };
3007
3261
  'app.bsky.unspecced.getSuggestionsSkeleton': {
3008
3262
  params: AppBskyUnspeccedGetSuggestionsSkeleton.Params;
3009
3263
  /** @deprecated */
@@ -3027,6 +3281,22 @@ declare module '@atcute/client/lexicons' {
3027
3281
  json: AppBskyUnspeccedGetTrendingTopics.Output;
3028
3282
  };
3029
3283
  };
3284
+ 'app.bsky.unspecced.getTrends': {
3285
+ params: AppBskyUnspeccedGetTrends.Params;
3286
+ /** @deprecated */
3287
+ output: AppBskyUnspeccedGetTrends.Output;
3288
+ response: {
3289
+ json: AppBskyUnspeccedGetTrends.Output;
3290
+ };
3291
+ };
3292
+ 'app.bsky.unspecced.getTrendsSkeleton': {
3293
+ params: AppBskyUnspeccedGetTrendsSkeleton.Params;
3294
+ /** @deprecated */
3295
+ output: AppBskyUnspeccedGetTrendsSkeleton.Output;
3296
+ response: {
3297
+ json: AppBskyUnspeccedGetTrendsSkeleton.Output;
3298
+ };
3299
+ };
3030
3300
  'app.bsky.unspecced.searchActorsSkeleton': {
3031
3301
  params: AppBskyUnspeccedSearchActorsSkeleton.Params;
3032
3302
  /** @deprecated */
package/lib/lexicons.ts CHANGED
@@ -179,6 +179,7 @@ declare module '@atcute/client/lexicons' {
179
179
  | SavedFeedsPref
180
180
  | SavedFeedsPrefV2
181
181
  | ThreadViewPref
182
+ | VerificationPrefs
182
183
  >[];
183
184
  interface ProfileAssociated {
184
185
  [Brand.Type]?: 'app.bsky.actor.defs#profileAssociated';
@@ -211,6 +212,7 @@ declare module '@atcute/client/lexicons' {
211
212
  displayName?: string;
212
213
  indexedAt?: string;
213
214
  labels?: ComAtprotoLabelDefs.Label[];
215
+ verification?: VerificationState;
214
216
  viewer?: ViewerState;
215
217
  }
216
218
  interface ProfileViewBasic {
@@ -226,6 +228,7 @@ declare module '@atcute/client/lexicons' {
226
228
  */
227
229
  displayName?: string;
228
230
  labels?: ComAtprotoLabelDefs.Label[];
231
+ verification?: VerificationState;
229
232
  viewer?: ViewerState;
230
233
  }
231
234
  interface ProfileViewDetailed {
@@ -253,6 +256,7 @@ declare module '@atcute/client/lexicons' {
253
256
  labels?: ComAtprotoLabelDefs.Label[];
254
257
  pinnedPost?: ComAtprotoRepoStrongRef.Main;
255
258
  postsCount?: number;
259
+ verification?: VerificationState;
256
260
  viewer?: ViewerState;
257
261
  }
258
262
  interface SavedFeed {
@@ -279,6 +283,37 @@ declare module '@atcute/client/lexicons' {
279
283
  /** Sorting mode for threads. */
280
284
  sort?: 'hotness' | 'most-likes' | 'newest' | 'oldest' | 'random' | (string & {});
281
285
  }
286
+ /** Preferences for how verified accounts appear in the app. */
287
+ interface VerificationPrefs {
288
+ [Brand.Type]?: 'app.bsky.actor.defs#verificationPrefs';
289
+ /**
290
+ * Hide the blue check badges for verified accounts and trusted verifiers.
291
+ * @default false
292
+ */
293
+ hideBadges?: boolean;
294
+ }
295
+ /** Represents the verification information about the user this object is attached to. */
296
+ interface VerificationState {
297
+ [Brand.Type]?: 'app.bsky.actor.defs#verificationState';
298
+ /** The user's status as a trusted verifier. */
299
+ trustedVerifierStatus: 'invalid' | 'none' | 'valid' | (string & {});
300
+ /** All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. */
301
+ verifications: VerificationView[];
302
+ /** The user's status as a verified account. */
303
+ verifiedStatus: 'invalid' | 'none' | 'valid' | (string & {});
304
+ }
305
+ /** An individual verification for an associated subject. */
306
+ interface VerificationView {
307
+ [Brand.Type]?: 'app.bsky.actor.defs#verificationView';
308
+ /** Timestamp when the verification was created. */
309
+ createdAt: string;
310
+ /** The user who issued this verification. */
311
+ issuer: At.Did;
312
+ /** True if the verification passes validation, otherwise false. */
313
+ isValid: boolean;
314
+ /** The AT-URI of the verification record. */
315
+ uri: At.ResourceUri;
316
+ }
282
317
  /** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */
283
318
  interface ViewerState {
284
319
  [Brand.Type]?: 'app.bsky.actor.defs#viewerState';
@@ -1905,6 +1940,21 @@ declare module '@atcute/client/lexicons' {
1905
1940
  type Output = undefined;
1906
1941
  }
1907
1942
 
1943
+ namespace AppBskyGraphVerification {
1944
+ /** Record declaring a verification relationship between two accounts. Verifications are only considered valid by an app if issued by an account the app considers trusted. */
1945
+ interface Record {
1946
+ $type: 'app.bsky.graph.verification';
1947
+ /** Date of when the verification was created. */
1948
+ createdAt: string;
1949
+ /** Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying. */
1950
+ displayName: string;
1951
+ /** Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying. */
1952
+ handle: At.Handle;
1953
+ /** DID of the subject the verification applies to. */
1954
+ subject: At.Did;
1955
+ }
1956
+ }
1957
+
1908
1958
  namespace AppBskyLabelerDefs {
1909
1959
  interface LabelerPolicies {
1910
1960
  [Brand.Type]?: 'app.bsky.labeler.defs#labelerPolicies';
@@ -2116,6 +2166,17 @@ declare module '@atcute/client/lexicons' {
2116
2166
  [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
2117
2167
  uri: At.ResourceUri;
2118
2168
  }
2169
+ interface SkeletonTrend {
2170
+ [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonTrend';
2171
+ dids: At.Did[];
2172
+ displayName: string;
2173
+ link: string;
2174
+ postCount: number;
2175
+ startedAt: string;
2176
+ topic: string;
2177
+ category?: string;
2178
+ status?: 'hot' | (string & {});
2179
+ }
2119
2180
  interface TrendingTopic {
2120
2181
  [Brand.Type]?: 'app.bsky.unspecced.defs#trendingTopic';
2121
2182
  link: string;
@@ -2123,6 +2184,17 @@ declare module '@atcute/client/lexicons' {
2123
2184
  description?: string;
2124
2185
  displayName?: string;
2125
2186
  }
2187
+ interface TrendView {
2188
+ [Brand.Type]?: 'app.bsky.unspecced.defs#trendView';
2189
+ actors: AppBskyActorDefs.ProfileViewBasic[];
2190
+ displayName: string;
2191
+ link: string;
2192
+ postCount: number;
2193
+ startedAt: string;
2194
+ topic: string;
2195
+ category?: string;
2196
+ status?: 'hot' | (string & {});
2197
+ }
2126
2198
  }
2127
2199
 
2128
2200
  /** Get miscellaneous runtime configuration. */
@@ -2153,6 +2225,112 @@ declare module '@atcute/client/lexicons' {
2153
2225
  }
2154
2226
  }
2155
2227
 
2228
+ /** Get a list of suggested feeds */
2229
+ namespace AppBskyUnspeccedGetSuggestedFeeds {
2230
+ interface Params {
2231
+ /**
2232
+ * Minimum: 1 \
2233
+ * Maximum: 25
2234
+ * @default 10
2235
+ */
2236
+ limit?: number;
2237
+ }
2238
+ type Input = undefined;
2239
+ interface Output {
2240
+ feeds: AppBskyFeedDefs.GeneratorView[];
2241
+ }
2242
+ }
2243
+
2244
+ /** Get a skeleton of suggested feeds. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedFeeds */
2245
+ namespace AppBskyUnspeccedGetSuggestedFeedsSkeleton {
2246
+ interface Params {
2247
+ /**
2248
+ * Minimum: 1 \
2249
+ * Maximum: 25
2250
+ * @default 10
2251
+ */
2252
+ limit?: number;
2253
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2254
+ viewer?: At.Did;
2255
+ }
2256
+ type Input = undefined;
2257
+ interface Output {
2258
+ feeds: At.ResourceUri[];
2259
+ }
2260
+ }
2261
+
2262
+ /** Get a list of suggested starterpacks */
2263
+ namespace AppBskyUnspeccedGetSuggestedStarterPacks {
2264
+ interface Params {
2265
+ /**
2266
+ * Minimum: 1 \
2267
+ * Maximum: 25
2268
+ * @default 10
2269
+ */
2270
+ limit?: number;
2271
+ }
2272
+ type Input = undefined;
2273
+ interface Output {
2274
+ starterPacks: AppBskyGraphDefs.StarterPackView[];
2275
+ }
2276
+ }
2277
+
2278
+ /** Get a skeleton of suggested starterpacks. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedStarterpacks */
2279
+ namespace AppBskyUnspeccedGetSuggestedStarterPacksSkeleton {
2280
+ interface Params {
2281
+ /**
2282
+ * Minimum: 1 \
2283
+ * Maximum: 25
2284
+ * @default 10
2285
+ */
2286
+ limit?: number;
2287
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2288
+ viewer?: At.Did;
2289
+ }
2290
+ type Input = undefined;
2291
+ interface Output {
2292
+ starterPacks: At.ResourceUri[];
2293
+ }
2294
+ }
2295
+
2296
+ /** Get a list of suggested users */
2297
+ namespace AppBskyUnspeccedGetSuggestedUsers {
2298
+ interface Params {
2299
+ /** Category of users to get suggestions for. */
2300
+ category?: string;
2301
+ /**
2302
+ * Minimum: 1 \
2303
+ * Maximum: 50
2304
+ * @default 25
2305
+ */
2306
+ limit?: number;
2307
+ }
2308
+ type Input = undefined;
2309
+ interface Output {
2310
+ actors: AppBskyActorDefs.ProfileView[];
2311
+ }
2312
+ }
2313
+
2314
+ /** Get a skeleton of suggested users. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsers */
2315
+ namespace AppBskyUnspeccedGetSuggestedUsersSkeleton {
2316
+ interface Params {
2317
+ /** Category of users to get suggestions for. */
2318
+ category?: string;
2319
+ /**
2320
+ * Minimum: 1 \
2321
+ * Maximum: 50
2322
+ * @default 25
2323
+ */
2324
+ limit?: number;
2325
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2326
+ viewer?: At.Did;
2327
+ }
2328
+ type Input = undefined;
2329
+ interface Output {
2330
+ dids: At.Did[];
2331
+ }
2332
+ }
2333
+
2156
2334
  /** Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions */
2157
2335
  namespace AppBskyUnspeccedGetSuggestionsSkeleton {
2158
2336
  interface Params {
@@ -2212,6 +2390,40 @@ declare module '@atcute/client/lexicons' {
2212
2390
  }
2213
2391
  }
2214
2392
 
2393
+ /** Get the current trends on the network */
2394
+ namespace AppBskyUnspeccedGetTrends {
2395
+ interface Params {
2396
+ /**
2397
+ * Minimum: 1 \
2398
+ * Maximum: 25
2399
+ * @default 10
2400
+ */
2401
+ limit?: number;
2402
+ }
2403
+ type Input = undefined;
2404
+ interface Output {
2405
+ trends: AppBskyUnspeccedDefs.TrendView[];
2406
+ }
2407
+ }
2408
+
2409
+ /** Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends */
2410
+ namespace AppBskyUnspeccedGetTrendsSkeleton {
2411
+ interface Params {
2412
+ /**
2413
+ * Minimum: 1 \
2414
+ * Maximum: 25
2415
+ * @default 10
2416
+ */
2417
+ limit?: number;
2418
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
2419
+ viewer?: At.Did;
2420
+ }
2421
+ type Input = undefined;
2422
+ interface Output {
2423
+ trends: AppBskyUnspeccedDefs.SkeletonTrend[];
2424
+ }
2425
+ }
2426
+
2215
2427
  /** Backend Actors (profile) search, returns only skeleton. */
2216
2428
  namespace AppBskyUnspeccedSearchActorsSkeleton {
2217
2429
  interface Params {
@@ -2398,6 +2610,7 @@ declare module '@atcute/client/lexicons' {
2398
2610
  */
2399
2611
  displayName?: string;
2400
2612
  labels?: ComAtprotoLabelDefs.Label[];
2613
+ verification?: AppBskyActorDefs.VerificationState;
2401
2614
  viewer?: AppBskyActorDefs.ViewerState;
2402
2615
  }
2403
2616
  }
@@ -2433,7 +2646,7 @@ declare module '@atcute/client/lexicons' {
2433
2646
  messageId: string;
2434
2647
  /**
2435
2648
  * Minimum string length: 1 \
2436
- * Maximum string length: 32 \
2649
+ * Maximum string length: 64 \
2437
2650
  * Maximum grapheme length: 1
2438
2651
  */
2439
2652
  value: string;
@@ -2456,7 +2669,8 @@ declare module '@atcute/client/lexicons' {
2456
2669
  muted: boolean;
2457
2670
  rev: string;
2458
2671
  unreadCount: number;
2459
- lastMessage?: Brand.Union<DeletedMessageView | MessageAndReactionView | MessageView>;
2672
+ lastMessage?: Brand.Union<DeletedMessageView | MessageView>;
2673
+ lastReaction?: Brand.Union<MessageAndReactionView>;
2460
2674
  status?: 'accepted' | 'request' | (string & {});
2461
2675
  }
2462
2676
  interface DeletedMessageView {
@@ -2559,6 +2773,7 @@ declare module '@atcute/client/lexicons' {
2559
2773
  embed?: Brand.Union<AppBskyEmbedRecord.View>;
2560
2774
  /** Annotations of text (mentions, URLs, hashtags, etc) */
2561
2775
  facets?: AppBskyRichtextFacet.Main[];
2776
+ /** Reactions to this message, in ascending order of creation time. */
2562
2777
  reactions?: ReactionView[];
2563
2778
  }
2564
2779
  interface MessageViewSender {
@@ -2714,7 +2929,7 @@ declare module '@atcute/client/lexicons' {
2714
2929
  messageId: string;
2715
2930
  /**
2716
2931
  * Minimum string length: 1 \
2717
- * Maximum string length: 32 \
2932
+ * Maximum string length: 64 \
2718
2933
  * Maximum grapheme length: 1
2719
2934
  */
2720
2935
  value: string;
@@ -2844,6 +3059,7 @@ declare module '@atcute/client/lexicons' {
2844
3059
  'app.bsky.graph.listblock': AppBskyGraphListblock.Record;
2845
3060
  'app.bsky.graph.listitem': AppBskyGraphListitem.Record;
2846
3061
  'app.bsky.graph.starterpack': AppBskyGraphStarterpack.Record;
3062
+ 'app.bsky.graph.verification': AppBskyGraphVerification.Record;
2847
3063
  'app.bsky.labeler.service': AppBskyLabelerService.Record;
2848
3064
  'chat.bsky.actor.declaration': ChatBskyActorDeclaration.Record;
2849
3065
  }
@@ -3104,6 +3320,42 @@ declare module '@atcute/client/lexicons' {
3104
3320
  output: AppBskyUnspeccedGetPopularFeedGenerators.Output;
3105
3321
  response: { json: AppBskyUnspeccedGetPopularFeedGenerators.Output };
3106
3322
  };
3323
+ 'app.bsky.unspecced.getSuggestedFeeds': {
3324
+ params: AppBskyUnspeccedGetSuggestedFeeds.Params;
3325
+ /** @deprecated */
3326
+ output: AppBskyUnspeccedGetSuggestedFeeds.Output;
3327
+ response: { json: AppBskyUnspeccedGetSuggestedFeeds.Output };
3328
+ };
3329
+ 'app.bsky.unspecced.getSuggestedFeedsSkeleton': {
3330
+ params: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Params;
3331
+ /** @deprecated */
3332
+ output: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output;
3333
+ response: { json: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output };
3334
+ };
3335
+ 'app.bsky.unspecced.getSuggestedStarterPacks': {
3336
+ params: AppBskyUnspeccedGetSuggestedStarterPacks.Params;
3337
+ /** @deprecated */
3338
+ output: AppBskyUnspeccedGetSuggestedStarterPacks.Output;
3339
+ response: { json: AppBskyUnspeccedGetSuggestedStarterPacks.Output };
3340
+ };
3341
+ 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton': {
3342
+ params: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Params;
3343
+ /** @deprecated */
3344
+ output: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output;
3345
+ response: { json: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output };
3346
+ };
3347
+ 'app.bsky.unspecced.getSuggestedUsers': {
3348
+ params: AppBskyUnspeccedGetSuggestedUsers.Params;
3349
+ /** @deprecated */
3350
+ output: AppBskyUnspeccedGetSuggestedUsers.Output;
3351
+ response: { json: AppBskyUnspeccedGetSuggestedUsers.Output };
3352
+ };
3353
+ 'app.bsky.unspecced.getSuggestedUsersSkeleton': {
3354
+ params: AppBskyUnspeccedGetSuggestedUsersSkeleton.Params;
3355
+ /** @deprecated */
3356
+ output: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output;
3357
+ response: { json: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output };
3358
+ };
3107
3359
  'app.bsky.unspecced.getSuggestionsSkeleton': {
3108
3360
  params: AppBskyUnspeccedGetSuggestionsSkeleton.Params;
3109
3361
  /** @deprecated */
@@ -3121,6 +3373,18 @@ declare module '@atcute/client/lexicons' {
3121
3373
  output: AppBskyUnspeccedGetTrendingTopics.Output;
3122
3374
  response: { json: AppBskyUnspeccedGetTrendingTopics.Output };
3123
3375
  };
3376
+ 'app.bsky.unspecced.getTrends': {
3377
+ params: AppBskyUnspeccedGetTrends.Params;
3378
+ /** @deprecated */
3379
+ output: AppBskyUnspeccedGetTrends.Output;
3380
+ response: { json: AppBskyUnspeccedGetTrends.Output };
3381
+ };
3382
+ 'app.bsky.unspecced.getTrendsSkeleton': {
3383
+ params: AppBskyUnspeccedGetTrendsSkeleton.Params;
3384
+ /** @deprecated */
3385
+ output: AppBskyUnspeccedGetTrendsSkeleton.Output;
3386
+ response: { json: AppBskyUnspeccedGetTrendsSkeleton.Output };
3387
+ };
3124
3388
  'app.bsky.unspecced.searchActorsSkeleton': {
3125
3389
  params: AppBskyUnspeccedSearchActorsSkeleton.Params;
3126
3390
  /** @deprecated */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@atcute/bluesky",
4
- "version": "2.0.0",
4
+ "version": "2.0.2",
5
5
  "description": "Bluesky type definitions for atcute",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -21,8 +21,8 @@
21
21
  "@atcute/client": "^3.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@atcute/client": "^3.0.0",
25
- "@atcute/lex-cli": "^1.1.0"
24
+ "@atcute/lex-cli": "^1.1.1",
25
+ "@atcute/client": "^3.0.1"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsc",