@atcute/bluesky 2.0.0 → 2.0.1
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 +238 -3
- package/lib/lexicons.ts +231 -3
- package/package.json +2 -2
package/dist/lexicons.d.ts
CHANGED
|
@@ -1765,6 +1765,20 @@ declare module '@atcute/client/lexicons' {
|
|
|
1765
1765
|
}
|
|
1766
1766
|
type Output = undefined;
|
|
1767
1767
|
}
|
|
1768
|
+
namespace AppBskyGraphVerification {
|
|
1769
|
+
/** 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. */
|
|
1770
|
+
interface Record {
|
|
1771
|
+
$type: 'app.bsky.graph.verification';
|
|
1772
|
+
/** Date of when the verification was created. */
|
|
1773
|
+
createdAt: string;
|
|
1774
|
+
/** 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. */
|
|
1775
|
+
displayName: string;
|
|
1776
|
+
/** 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. */
|
|
1777
|
+
handle: At.Handle;
|
|
1778
|
+
/** DID of the subject the verification applies to. */
|
|
1779
|
+
subject: At.Did;
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1768
1782
|
namespace AppBskyLabelerDefs {
|
|
1769
1783
|
interface LabelerPolicies {
|
|
1770
1784
|
[Brand.Type]?: 'app.bsky.labeler.defs#labelerPolicies';
|
|
@@ -1962,6 +1976,17 @@ declare module '@atcute/client/lexicons' {
|
|
|
1962
1976
|
[Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
|
|
1963
1977
|
uri: At.ResourceUri;
|
|
1964
1978
|
}
|
|
1979
|
+
interface SkeletonTrend {
|
|
1980
|
+
[Brand.Type]?: 'app.bsky.unspecced.defs#skeletonTrend';
|
|
1981
|
+
dids: At.Did[];
|
|
1982
|
+
displayName: string;
|
|
1983
|
+
link: string;
|
|
1984
|
+
postCount: number;
|
|
1985
|
+
startedAt: string;
|
|
1986
|
+
topic: string;
|
|
1987
|
+
category?: string;
|
|
1988
|
+
status?: 'hot' | (string & {});
|
|
1989
|
+
}
|
|
1965
1990
|
interface TrendingTopic {
|
|
1966
1991
|
[Brand.Type]?: 'app.bsky.unspecced.defs#trendingTopic';
|
|
1967
1992
|
link: string;
|
|
@@ -1969,6 +1994,17 @@ declare module '@atcute/client/lexicons' {
|
|
|
1969
1994
|
description?: string;
|
|
1970
1995
|
displayName?: string;
|
|
1971
1996
|
}
|
|
1997
|
+
interface TrendView {
|
|
1998
|
+
[Brand.Type]?: 'app.bsky.unspecced.defs#trendView';
|
|
1999
|
+
actors: AppBskyActorDefs.ProfileViewBasic[];
|
|
2000
|
+
displayName: string;
|
|
2001
|
+
link: string;
|
|
2002
|
+
postCount: number;
|
|
2003
|
+
startedAt: string;
|
|
2004
|
+
topic: string;
|
|
2005
|
+
category?: string;
|
|
2006
|
+
status?: 'hot' | (string & {});
|
|
2007
|
+
}
|
|
1972
2008
|
}
|
|
1973
2009
|
/** Get miscellaneous runtime configuration. */
|
|
1974
2010
|
namespace AppBskyUnspeccedGetConfig {
|
|
@@ -1997,6 +2033,106 @@ declare module '@atcute/client/lexicons' {
|
|
|
1997
2033
|
cursor?: string;
|
|
1998
2034
|
}
|
|
1999
2035
|
}
|
|
2036
|
+
/** Get a list of suggested feeds */
|
|
2037
|
+
namespace AppBskyUnspeccedGetSuggestedFeeds {
|
|
2038
|
+
interface Params {
|
|
2039
|
+
/**
|
|
2040
|
+
* Minimum: 1 \
|
|
2041
|
+
* Maximum: 25
|
|
2042
|
+
* @default 10
|
|
2043
|
+
*/
|
|
2044
|
+
limit?: number;
|
|
2045
|
+
}
|
|
2046
|
+
type Input = undefined;
|
|
2047
|
+
interface Output {
|
|
2048
|
+
feeds: AppBskyFeedDefs.GeneratorView[];
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
/** Get a skeleton of suggested feeds. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedFeeds */
|
|
2052
|
+
namespace AppBskyUnspeccedGetSuggestedFeedsSkeleton {
|
|
2053
|
+
interface Params {
|
|
2054
|
+
/**
|
|
2055
|
+
* Minimum: 1 \
|
|
2056
|
+
* Maximum: 25
|
|
2057
|
+
* @default 10
|
|
2058
|
+
*/
|
|
2059
|
+
limit?: number;
|
|
2060
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2061
|
+
viewer?: At.Did;
|
|
2062
|
+
}
|
|
2063
|
+
type Input = undefined;
|
|
2064
|
+
interface Output {
|
|
2065
|
+
feeds: At.ResourceUri[];
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
/** Get a list of suggested starterpacks */
|
|
2069
|
+
namespace AppBskyUnspeccedGetSuggestedStarterPacks {
|
|
2070
|
+
interface Params {
|
|
2071
|
+
/**
|
|
2072
|
+
* Minimum: 1 \
|
|
2073
|
+
* Maximum: 25
|
|
2074
|
+
* @default 10
|
|
2075
|
+
*/
|
|
2076
|
+
limit?: number;
|
|
2077
|
+
}
|
|
2078
|
+
type Input = undefined;
|
|
2079
|
+
interface Output {
|
|
2080
|
+
starterPacks: AppBskyGraphDefs.StarterPackView[];
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
/** Get a skeleton of suggested starterpacks. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedStarterpacks */
|
|
2084
|
+
namespace AppBskyUnspeccedGetSuggestedStarterPacksSkeleton {
|
|
2085
|
+
interface Params {
|
|
2086
|
+
/**
|
|
2087
|
+
* Minimum: 1 \
|
|
2088
|
+
* Maximum: 25
|
|
2089
|
+
* @default 10
|
|
2090
|
+
*/
|
|
2091
|
+
limit?: number;
|
|
2092
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2093
|
+
viewer?: At.Did;
|
|
2094
|
+
}
|
|
2095
|
+
type Input = undefined;
|
|
2096
|
+
interface Output {
|
|
2097
|
+
starterPacks: At.ResourceUri[];
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
/** Get a list of suggested users */
|
|
2101
|
+
namespace AppBskyUnspeccedGetSuggestedUsers {
|
|
2102
|
+
interface Params {
|
|
2103
|
+
/** Category of users to get suggestions for. */
|
|
2104
|
+
category?: string;
|
|
2105
|
+
/**
|
|
2106
|
+
* Minimum: 1 \
|
|
2107
|
+
* Maximum: 50
|
|
2108
|
+
* @default 25
|
|
2109
|
+
*/
|
|
2110
|
+
limit?: number;
|
|
2111
|
+
}
|
|
2112
|
+
type Input = undefined;
|
|
2113
|
+
interface Output {
|
|
2114
|
+
actors: AppBskyActorDefs.ProfileView[];
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
/** Get a skeleton of suggested users. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsers */
|
|
2118
|
+
namespace AppBskyUnspeccedGetSuggestedUsersSkeleton {
|
|
2119
|
+
interface Params {
|
|
2120
|
+
/** Category of users to get suggestions for. */
|
|
2121
|
+
category?: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* Minimum: 1 \
|
|
2124
|
+
* Maximum: 50
|
|
2125
|
+
* @default 25
|
|
2126
|
+
*/
|
|
2127
|
+
limit?: number;
|
|
2128
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2129
|
+
viewer?: At.Did;
|
|
2130
|
+
}
|
|
2131
|
+
type Input = undefined;
|
|
2132
|
+
interface Output {
|
|
2133
|
+
dids: At.Did[];
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2000
2136
|
/** Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions */
|
|
2001
2137
|
namespace AppBskyUnspeccedGetSuggestionsSkeleton {
|
|
2002
2138
|
interface Params {
|
|
@@ -2053,6 +2189,38 @@ declare module '@atcute/client/lexicons' {
|
|
|
2053
2189
|
topics: AppBskyUnspeccedDefs.TrendingTopic[];
|
|
2054
2190
|
}
|
|
2055
2191
|
}
|
|
2192
|
+
/** Get the current trends on the network */
|
|
2193
|
+
namespace AppBskyUnspeccedGetTrends {
|
|
2194
|
+
interface Params {
|
|
2195
|
+
/**
|
|
2196
|
+
* Minimum: 1 \
|
|
2197
|
+
* Maximum: 25
|
|
2198
|
+
* @default 10
|
|
2199
|
+
*/
|
|
2200
|
+
limit?: number;
|
|
2201
|
+
}
|
|
2202
|
+
type Input = undefined;
|
|
2203
|
+
interface Output {
|
|
2204
|
+
trends: AppBskyUnspeccedDefs.TrendView[];
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
/** Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends */
|
|
2208
|
+
namespace AppBskyUnspeccedGetTrendsSkeleton {
|
|
2209
|
+
interface Params {
|
|
2210
|
+
/**
|
|
2211
|
+
* Minimum: 1 \
|
|
2212
|
+
* Maximum: 25
|
|
2213
|
+
* @default 10
|
|
2214
|
+
*/
|
|
2215
|
+
limit?: number;
|
|
2216
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2217
|
+
viewer?: At.Did;
|
|
2218
|
+
}
|
|
2219
|
+
type Input = undefined;
|
|
2220
|
+
interface Output {
|
|
2221
|
+
trends: AppBskyUnspeccedDefs.SkeletonTrend[];
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2056
2224
|
/** Backend Actors (profile) search, returns only skeleton. */
|
|
2057
2225
|
namespace AppBskyUnspeccedSearchActorsSkeleton {
|
|
2058
2226
|
interface Params {
|
|
@@ -2269,7 +2437,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2269
2437
|
messageId: string;
|
|
2270
2438
|
/**
|
|
2271
2439
|
* Minimum string length: 1 \
|
|
2272
|
-
* Maximum string length:
|
|
2440
|
+
* Maximum string length: 64 \
|
|
2273
2441
|
* Maximum grapheme length: 1
|
|
2274
2442
|
*/
|
|
2275
2443
|
value: string;
|
|
@@ -2291,7 +2459,8 @@ declare module '@atcute/client/lexicons' {
|
|
|
2291
2459
|
muted: boolean;
|
|
2292
2460
|
rev: string;
|
|
2293
2461
|
unreadCount: number;
|
|
2294
|
-
lastMessage?: Brand.Union<DeletedMessageView |
|
|
2462
|
+
lastMessage?: Brand.Union<DeletedMessageView | MessageView>;
|
|
2463
|
+
lastReaction?: Brand.Union<MessageAndReactionView>;
|
|
2295
2464
|
status?: 'accepted' | 'request' | (string & {});
|
|
2296
2465
|
}
|
|
2297
2466
|
interface DeletedMessageView {
|
|
@@ -2394,6 +2563,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2394
2563
|
embed?: Brand.Union<AppBskyEmbedRecord.View>;
|
|
2395
2564
|
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
|
2396
2565
|
facets?: AppBskyRichtextFacet.Main[];
|
|
2566
|
+
/** Reactions to this message, in ascending order of creation time. */
|
|
2397
2567
|
reactions?: ReactionView[];
|
|
2398
2568
|
}
|
|
2399
2569
|
interface MessageViewSender {
|
|
@@ -2532,7 +2702,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2532
2702
|
messageId: string;
|
|
2533
2703
|
/**
|
|
2534
2704
|
* Minimum string length: 1 \
|
|
2535
|
-
* Maximum string length:
|
|
2705
|
+
* Maximum string length: 64 \
|
|
2536
2706
|
* Maximum grapheme length: 1
|
|
2537
2707
|
*/
|
|
2538
2708
|
value: string;
|
|
@@ -2659,6 +2829,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2659
2829
|
'app.bsky.graph.listblock': AppBskyGraphListblock.Record;
|
|
2660
2830
|
'app.bsky.graph.listitem': AppBskyGraphListitem.Record;
|
|
2661
2831
|
'app.bsky.graph.starterpack': AppBskyGraphStarterpack.Record;
|
|
2832
|
+
'app.bsky.graph.verification': AppBskyGraphVerification.Record;
|
|
2662
2833
|
'app.bsky.labeler.service': AppBskyLabelerService.Record;
|
|
2663
2834
|
'chat.bsky.actor.declaration': ChatBskyActorDeclaration.Record;
|
|
2664
2835
|
}
|
|
@@ -3004,6 +3175,54 @@ declare module '@atcute/client/lexicons' {
|
|
|
3004
3175
|
json: AppBskyUnspeccedGetPopularFeedGenerators.Output;
|
|
3005
3176
|
};
|
|
3006
3177
|
};
|
|
3178
|
+
'app.bsky.unspecced.getSuggestedFeeds': {
|
|
3179
|
+
params: AppBskyUnspeccedGetSuggestedFeeds.Params;
|
|
3180
|
+
/** @deprecated */
|
|
3181
|
+
output: AppBskyUnspeccedGetSuggestedFeeds.Output;
|
|
3182
|
+
response: {
|
|
3183
|
+
json: AppBskyUnspeccedGetSuggestedFeeds.Output;
|
|
3184
|
+
};
|
|
3185
|
+
};
|
|
3186
|
+
'app.bsky.unspecced.getSuggestedFeedsSkeleton': {
|
|
3187
|
+
params: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Params;
|
|
3188
|
+
/** @deprecated */
|
|
3189
|
+
output: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output;
|
|
3190
|
+
response: {
|
|
3191
|
+
json: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output;
|
|
3192
|
+
};
|
|
3193
|
+
};
|
|
3194
|
+
'app.bsky.unspecced.getSuggestedStarterPacks': {
|
|
3195
|
+
params: AppBskyUnspeccedGetSuggestedStarterPacks.Params;
|
|
3196
|
+
/** @deprecated */
|
|
3197
|
+
output: AppBskyUnspeccedGetSuggestedStarterPacks.Output;
|
|
3198
|
+
response: {
|
|
3199
|
+
json: AppBskyUnspeccedGetSuggestedStarterPacks.Output;
|
|
3200
|
+
};
|
|
3201
|
+
};
|
|
3202
|
+
'app.bsky.unspecced.getSuggestedStarterPacksSkeleton': {
|
|
3203
|
+
params: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Params;
|
|
3204
|
+
/** @deprecated */
|
|
3205
|
+
output: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output;
|
|
3206
|
+
response: {
|
|
3207
|
+
json: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output;
|
|
3208
|
+
};
|
|
3209
|
+
};
|
|
3210
|
+
'app.bsky.unspecced.getSuggestedUsers': {
|
|
3211
|
+
params: AppBskyUnspeccedGetSuggestedUsers.Params;
|
|
3212
|
+
/** @deprecated */
|
|
3213
|
+
output: AppBskyUnspeccedGetSuggestedUsers.Output;
|
|
3214
|
+
response: {
|
|
3215
|
+
json: AppBskyUnspeccedGetSuggestedUsers.Output;
|
|
3216
|
+
};
|
|
3217
|
+
};
|
|
3218
|
+
'app.bsky.unspecced.getSuggestedUsersSkeleton': {
|
|
3219
|
+
params: AppBskyUnspeccedGetSuggestedUsersSkeleton.Params;
|
|
3220
|
+
/** @deprecated */
|
|
3221
|
+
output: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output;
|
|
3222
|
+
response: {
|
|
3223
|
+
json: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output;
|
|
3224
|
+
};
|
|
3225
|
+
};
|
|
3007
3226
|
'app.bsky.unspecced.getSuggestionsSkeleton': {
|
|
3008
3227
|
params: AppBskyUnspeccedGetSuggestionsSkeleton.Params;
|
|
3009
3228
|
/** @deprecated */
|
|
@@ -3027,6 +3246,22 @@ declare module '@atcute/client/lexicons' {
|
|
|
3027
3246
|
json: AppBskyUnspeccedGetTrendingTopics.Output;
|
|
3028
3247
|
};
|
|
3029
3248
|
};
|
|
3249
|
+
'app.bsky.unspecced.getTrends': {
|
|
3250
|
+
params: AppBskyUnspeccedGetTrends.Params;
|
|
3251
|
+
/** @deprecated */
|
|
3252
|
+
output: AppBskyUnspeccedGetTrends.Output;
|
|
3253
|
+
response: {
|
|
3254
|
+
json: AppBskyUnspeccedGetTrends.Output;
|
|
3255
|
+
};
|
|
3256
|
+
};
|
|
3257
|
+
'app.bsky.unspecced.getTrendsSkeleton': {
|
|
3258
|
+
params: AppBskyUnspeccedGetTrendsSkeleton.Params;
|
|
3259
|
+
/** @deprecated */
|
|
3260
|
+
output: AppBskyUnspeccedGetTrendsSkeleton.Output;
|
|
3261
|
+
response: {
|
|
3262
|
+
json: AppBskyUnspeccedGetTrendsSkeleton.Output;
|
|
3263
|
+
};
|
|
3264
|
+
};
|
|
3030
3265
|
'app.bsky.unspecced.searchActorsSkeleton': {
|
|
3031
3266
|
params: AppBskyUnspeccedSearchActorsSkeleton.Params;
|
|
3032
3267
|
/** @deprecated */
|
package/lib/lexicons.ts
CHANGED
|
@@ -1905,6 +1905,21 @@ declare module '@atcute/client/lexicons' {
|
|
|
1905
1905
|
type Output = undefined;
|
|
1906
1906
|
}
|
|
1907
1907
|
|
|
1908
|
+
namespace AppBskyGraphVerification {
|
|
1909
|
+
/** 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. */
|
|
1910
|
+
interface Record {
|
|
1911
|
+
$type: 'app.bsky.graph.verification';
|
|
1912
|
+
/** Date of when the verification was created. */
|
|
1913
|
+
createdAt: string;
|
|
1914
|
+
/** 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. */
|
|
1915
|
+
displayName: string;
|
|
1916
|
+
/** 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. */
|
|
1917
|
+
handle: At.Handle;
|
|
1918
|
+
/** DID of the subject the verification applies to. */
|
|
1919
|
+
subject: At.Did;
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1908
1923
|
namespace AppBskyLabelerDefs {
|
|
1909
1924
|
interface LabelerPolicies {
|
|
1910
1925
|
[Brand.Type]?: 'app.bsky.labeler.defs#labelerPolicies';
|
|
@@ -2116,6 +2131,17 @@ declare module '@atcute/client/lexicons' {
|
|
|
2116
2131
|
[Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack';
|
|
2117
2132
|
uri: At.ResourceUri;
|
|
2118
2133
|
}
|
|
2134
|
+
interface SkeletonTrend {
|
|
2135
|
+
[Brand.Type]?: 'app.bsky.unspecced.defs#skeletonTrend';
|
|
2136
|
+
dids: At.Did[];
|
|
2137
|
+
displayName: string;
|
|
2138
|
+
link: string;
|
|
2139
|
+
postCount: number;
|
|
2140
|
+
startedAt: string;
|
|
2141
|
+
topic: string;
|
|
2142
|
+
category?: string;
|
|
2143
|
+
status?: 'hot' | (string & {});
|
|
2144
|
+
}
|
|
2119
2145
|
interface TrendingTopic {
|
|
2120
2146
|
[Brand.Type]?: 'app.bsky.unspecced.defs#trendingTopic';
|
|
2121
2147
|
link: string;
|
|
@@ -2123,6 +2149,17 @@ declare module '@atcute/client/lexicons' {
|
|
|
2123
2149
|
description?: string;
|
|
2124
2150
|
displayName?: string;
|
|
2125
2151
|
}
|
|
2152
|
+
interface TrendView {
|
|
2153
|
+
[Brand.Type]?: 'app.bsky.unspecced.defs#trendView';
|
|
2154
|
+
actors: AppBskyActorDefs.ProfileViewBasic[];
|
|
2155
|
+
displayName: string;
|
|
2156
|
+
link: string;
|
|
2157
|
+
postCount: number;
|
|
2158
|
+
startedAt: string;
|
|
2159
|
+
topic: string;
|
|
2160
|
+
category?: string;
|
|
2161
|
+
status?: 'hot' | (string & {});
|
|
2162
|
+
}
|
|
2126
2163
|
}
|
|
2127
2164
|
|
|
2128
2165
|
/** Get miscellaneous runtime configuration. */
|
|
@@ -2153,6 +2190,112 @@ declare module '@atcute/client/lexicons' {
|
|
|
2153
2190
|
}
|
|
2154
2191
|
}
|
|
2155
2192
|
|
|
2193
|
+
/** Get a list of suggested feeds */
|
|
2194
|
+
namespace AppBskyUnspeccedGetSuggestedFeeds {
|
|
2195
|
+
interface Params {
|
|
2196
|
+
/**
|
|
2197
|
+
* Minimum: 1 \
|
|
2198
|
+
* Maximum: 25
|
|
2199
|
+
* @default 10
|
|
2200
|
+
*/
|
|
2201
|
+
limit?: number;
|
|
2202
|
+
}
|
|
2203
|
+
type Input = undefined;
|
|
2204
|
+
interface Output {
|
|
2205
|
+
feeds: AppBskyFeedDefs.GeneratorView[];
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
/** Get a skeleton of suggested feeds. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedFeeds */
|
|
2210
|
+
namespace AppBskyUnspeccedGetSuggestedFeedsSkeleton {
|
|
2211
|
+
interface Params {
|
|
2212
|
+
/**
|
|
2213
|
+
* Minimum: 1 \
|
|
2214
|
+
* Maximum: 25
|
|
2215
|
+
* @default 10
|
|
2216
|
+
*/
|
|
2217
|
+
limit?: number;
|
|
2218
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2219
|
+
viewer?: At.Did;
|
|
2220
|
+
}
|
|
2221
|
+
type Input = undefined;
|
|
2222
|
+
interface Output {
|
|
2223
|
+
feeds: At.ResourceUri[];
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
/** Get a list of suggested starterpacks */
|
|
2228
|
+
namespace AppBskyUnspeccedGetSuggestedStarterPacks {
|
|
2229
|
+
interface Params {
|
|
2230
|
+
/**
|
|
2231
|
+
* Minimum: 1 \
|
|
2232
|
+
* Maximum: 25
|
|
2233
|
+
* @default 10
|
|
2234
|
+
*/
|
|
2235
|
+
limit?: number;
|
|
2236
|
+
}
|
|
2237
|
+
type Input = undefined;
|
|
2238
|
+
interface Output {
|
|
2239
|
+
starterPacks: AppBskyGraphDefs.StarterPackView[];
|
|
2240
|
+
}
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
/** Get a skeleton of suggested starterpacks. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedStarterpacks */
|
|
2244
|
+
namespace AppBskyUnspeccedGetSuggestedStarterPacksSkeleton {
|
|
2245
|
+
interface Params {
|
|
2246
|
+
/**
|
|
2247
|
+
* Minimum: 1 \
|
|
2248
|
+
* Maximum: 25
|
|
2249
|
+
* @default 10
|
|
2250
|
+
*/
|
|
2251
|
+
limit?: number;
|
|
2252
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2253
|
+
viewer?: At.Did;
|
|
2254
|
+
}
|
|
2255
|
+
type Input = undefined;
|
|
2256
|
+
interface Output {
|
|
2257
|
+
starterPacks: At.ResourceUri[];
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
/** Get a list of suggested users */
|
|
2262
|
+
namespace AppBskyUnspeccedGetSuggestedUsers {
|
|
2263
|
+
interface Params {
|
|
2264
|
+
/** Category of users to get suggestions for. */
|
|
2265
|
+
category?: string;
|
|
2266
|
+
/**
|
|
2267
|
+
* Minimum: 1 \
|
|
2268
|
+
* Maximum: 50
|
|
2269
|
+
* @default 25
|
|
2270
|
+
*/
|
|
2271
|
+
limit?: number;
|
|
2272
|
+
}
|
|
2273
|
+
type Input = undefined;
|
|
2274
|
+
interface Output {
|
|
2275
|
+
actors: AppBskyActorDefs.ProfileView[];
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
/** Get a skeleton of suggested users. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsers */
|
|
2280
|
+
namespace AppBskyUnspeccedGetSuggestedUsersSkeleton {
|
|
2281
|
+
interface Params {
|
|
2282
|
+
/** Category of users to get suggestions for. */
|
|
2283
|
+
category?: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* Minimum: 1 \
|
|
2286
|
+
* Maximum: 50
|
|
2287
|
+
* @default 25
|
|
2288
|
+
*/
|
|
2289
|
+
limit?: number;
|
|
2290
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2291
|
+
viewer?: At.Did;
|
|
2292
|
+
}
|
|
2293
|
+
type Input = undefined;
|
|
2294
|
+
interface Output {
|
|
2295
|
+
dids: At.Did[];
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2156
2299
|
/** Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions */
|
|
2157
2300
|
namespace AppBskyUnspeccedGetSuggestionsSkeleton {
|
|
2158
2301
|
interface Params {
|
|
@@ -2212,6 +2355,40 @@ declare module '@atcute/client/lexicons' {
|
|
|
2212
2355
|
}
|
|
2213
2356
|
}
|
|
2214
2357
|
|
|
2358
|
+
/** Get the current trends on the network */
|
|
2359
|
+
namespace AppBskyUnspeccedGetTrends {
|
|
2360
|
+
interface Params {
|
|
2361
|
+
/**
|
|
2362
|
+
* Minimum: 1 \
|
|
2363
|
+
* Maximum: 25
|
|
2364
|
+
* @default 10
|
|
2365
|
+
*/
|
|
2366
|
+
limit?: number;
|
|
2367
|
+
}
|
|
2368
|
+
type Input = undefined;
|
|
2369
|
+
interface Output {
|
|
2370
|
+
trends: AppBskyUnspeccedDefs.TrendView[];
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
/** Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends */
|
|
2375
|
+
namespace AppBskyUnspeccedGetTrendsSkeleton {
|
|
2376
|
+
interface Params {
|
|
2377
|
+
/**
|
|
2378
|
+
* Minimum: 1 \
|
|
2379
|
+
* Maximum: 25
|
|
2380
|
+
* @default 10
|
|
2381
|
+
*/
|
|
2382
|
+
limit?: number;
|
|
2383
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
2384
|
+
viewer?: At.Did;
|
|
2385
|
+
}
|
|
2386
|
+
type Input = undefined;
|
|
2387
|
+
interface Output {
|
|
2388
|
+
trends: AppBskyUnspeccedDefs.SkeletonTrend[];
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2215
2392
|
/** Backend Actors (profile) search, returns only skeleton. */
|
|
2216
2393
|
namespace AppBskyUnspeccedSearchActorsSkeleton {
|
|
2217
2394
|
interface Params {
|
|
@@ -2433,7 +2610,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2433
2610
|
messageId: string;
|
|
2434
2611
|
/**
|
|
2435
2612
|
* Minimum string length: 1 \
|
|
2436
|
-
* Maximum string length:
|
|
2613
|
+
* Maximum string length: 64 \
|
|
2437
2614
|
* Maximum grapheme length: 1
|
|
2438
2615
|
*/
|
|
2439
2616
|
value: string;
|
|
@@ -2456,7 +2633,8 @@ declare module '@atcute/client/lexicons' {
|
|
|
2456
2633
|
muted: boolean;
|
|
2457
2634
|
rev: string;
|
|
2458
2635
|
unreadCount: number;
|
|
2459
|
-
lastMessage?: Brand.Union<DeletedMessageView |
|
|
2636
|
+
lastMessage?: Brand.Union<DeletedMessageView | MessageView>;
|
|
2637
|
+
lastReaction?: Brand.Union<MessageAndReactionView>;
|
|
2460
2638
|
status?: 'accepted' | 'request' | (string & {});
|
|
2461
2639
|
}
|
|
2462
2640
|
interface DeletedMessageView {
|
|
@@ -2559,6 +2737,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2559
2737
|
embed?: Brand.Union<AppBskyEmbedRecord.View>;
|
|
2560
2738
|
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
|
2561
2739
|
facets?: AppBskyRichtextFacet.Main[];
|
|
2740
|
+
/** Reactions to this message, in ascending order of creation time. */
|
|
2562
2741
|
reactions?: ReactionView[];
|
|
2563
2742
|
}
|
|
2564
2743
|
interface MessageViewSender {
|
|
@@ -2714,7 +2893,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2714
2893
|
messageId: string;
|
|
2715
2894
|
/**
|
|
2716
2895
|
* Minimum string length: 1 \
|
|
2717
|
-
* Maximum string length:
|
|
2896
|
+
* Maximum string length: 64 \
|
|
2718
2897
|
* Maximum grapheme length: 1
|
|
2719
2898
|
*/
|
|
2720
2899
|
value: string;
|
|
@@ -2844,6 +3023,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2844
3023
|
'app.bsky.graph.listblock': AppBskyGraphListblock.Record;
|
|
2845
3024
|
'app.bsky.graph.listitem': AppBskyGraphListitem.Record;
|
|
2846
3025
|
'app.bsky.graph.starterpack': AppBskyGraphStarterpack.Record;
|
|
3026
|
+
'app.bsky.graph.verification': AppBskyGraphVerification.Record;
|
|
2847
3027
|
'app.bsky.labeler.service': AppBskyLabelerService.Record;
|
|
2848
3028
|
'chat.bsky.actor.declaration': ChatBskyActorDeclaration.Record;
|
|
2849
3029
|
}
|
|
@@ -3104,6 +3284,42 @@ declare module '@atcute/client/lexicons' {
|
|
|
3104
3284
|
output: AppBskyUnspeccedGetPopularFeedGenerators.Output;
|
|
3105
3285
|
response: { json: AppBskyUnspeccedGetPopularFeedGenerators.Output };
|
|
3106
3286
|
};
|
|
3287
|
+
'app.bsky.unspecced.getSuggestedFeeds': {
|
|
3288
|
+
params: AppBskyUnspeccedGetSuggestedFeeds.Params;
|
|
3289
|
+
/** @deprecated */
|
|
3290
|
+
output: AppBskyUnspeccedGetSuggestedFeeds.Output;
|
|
3291
|
+
response: { json: AppBskyUnspeccedGetSuggestedFeeds.Output };
|
|
3292
|
+
};
|
|
3293
|
+
'app.bsky.unspecced.getSuggestedFeedsSkeleton': {
|
|
3294
|
+
params: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Params;
|
|
3295
|
+
/** @deprecated */
|
|
3296
|
+
output: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output;
|
|
3297
|
+
response: { json: AppBskyUnspeccedGetSuggestedFeedsSkeleton.Output };
|
|
3298
|
+
};
|
|
3299
|
+
'app.bsky.unspecced.getSuggestedStarterPacks': {
|
|
3300
|
+
params: AppBskyUnspeccedGetSuggestedStarterPacks.Params;
|
|
3301
|
+
/** @deprecated */
|
|
3302
|
+
output: AppBskyUnspeccedGetSuggestedStarterPacks.Output;
|
|
3303
|
+
response: { json: AppBskyUnspeccedGetSuggestedStarterPacks.Output };
|
|
3304
|
+
};
|
|
3305
|
+
'app.bsky.unspecced.getSuggestedStarterPacksSkeleton': {
|
|
3306
|
+
params: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Params;
|
|
3307
|
+
/** @deprecated */
|
|
3308
|
+
output: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output;
|
|
3309
|
+
response: { json: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Output };
|
|
3310
|
+
};
|
|
3311
|
+
'app.bsky.unspecced.getSuggestedUsers': {
|
|
3312
|
+
params: AppBskyUnspeccedGetSuggestedUsers.Params;
|
|
3313
|
+
/** @deprecated */
|
|
3314
|
+
output: AppBskyUnspeccedGetSuggestedUsers.Output;
|
|
3315
|
+
response: { json: AppBskyUnspeccedGetSuggestedUsers.Output };
|
|
3316
|
+
};
|
|
3317
|
+
'app.bsky.unspecced.getSuggestedUsersSkeleton': {
|
|
3318
|
+
params: AppBskyUnspeccedGetSuggestedUsersSkeleton.Params;
|
|
3319
|
+
/** @deprecated */
|
|
3320
|
+
output: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output;
|
|
3321
|
+
response: { json: AppBskyUnspeccedGetSuggestedUsersSkeleton.Output };
|
|
3322
|
+
};
|
|
3107
3323
|
'app.bsky.unspecced.getSuggestionsSkeleton': {
|
|
3108
3324
|
params: AppBskyUnspeccedGetSuggestionsSkeleton.Params;
|
|
3109
3325
|
/** @deprecated */
|
|
@@ -3121,6 +3337,18 @@ declare module '@atcute/client/lexicons' {
|
|
|
3121
3337
|
output: AppBskyUnspeccedGetTrendingTopics.Output;
|
|
3122
3338
|
response: { json: AppBskyUnspeccedGetTrendingTopics.Output };
|
|
3123
3339
|
};
|
|
3340
|
+
'app.bsky.unspecced.getTrends': {
|
|
3341
|
+
params: AppBskyUnspeccedGetTrends.Params;
|
|
3342
|
+
/** @deprecated */
|
|
3343
|
+
output: AppBskyUnspeccedGetTrends.Output;
|
|
3344
|
+
response: { json: AppBskyUnspeccedGetTrends.Output };
|
|
3345
|
+
};
|
|
3346
|
+
'app.bsky.unspecced.getTrendsSkeleton': {
|
|
3347
|
+
params: AppBskyUnspeccedGetTrendsSkeleton.Params;
|
|
3348
|
+
/** @deprecated */
|
|
3349
|
+
output: AppBskyUnspeccedGetTrendsSkeleton.Output;
|
|
3350
|
+
response: { json: AppBskyUnspeccedGetTrendsSkeleton.Output };
|
|
3351
|
+
};
|
|
3124
3352
|
'app.bsky.unspecced.searchActorsSkeleton': {
|
|
3125
3353
|
params: AppBskyUnspeccedSearchActorsSkeleton.Params;
|
|
3126
3354
|
/** @deprecated */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/bluesky",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"description": "Bluesky type definitions for atcute",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@atcute/client": "^3.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@atcute/client": "^3.0.
|
|
24
|
+
"@atcute/client": "^3.0.1",
|
|
25
25
|
"@atcute/lex-cli": "^1.1.0"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|