@atcute/bluesky 1.0.0 → 1.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 +59 -1
- package/package.json +1 -1
package/dist/lexicons.d.ts
CHANGED
|
@@ -423,7 +423,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
423
423
|
}
|
|
424
424
|
interface View {
|
|
425
425
|
[Brand.Type]?: 'app.bsky.embed.record#view';
|
|
426
|
-
record: Brand.Union<ViewBlocked | ViewNotFound | ViewRecord | AppBskyFeedDefs.GeneratorView | AppBskyGraphDefs.ListView | AppBskyGraphDefs.StarterPackViewBasic | AppBskyLabelerDefs.LabelerView>;
|
|
426
|
+
record: Brand.Union<ViewBlocked | ViewDetached | ViewNotFound | ViewRecord | AppBskyFeedDefs.GeneratorView | AppBskyGraphDefs.ListView | AppBskyGraphDefs.StarterPackViewBasic | AppBskyLabelerDefs.LabelerView>;
|
|
427
427
|
}
|
|
428
428
|
interface ViewBlocked {
|
|
429
429
|
[Brand.Type]?: 'app.bsky.embed.record#viewBlocked';
|
|
@@ -431,6 +431,11 @@ declare module '@atcute/client/lexicons' {
|
|
|
431
431
|
blocked: boolean;
|
|
432
432
|
uri: At.Uri;
|
|
433
433
|
}
|
|
434
|
+
interface ViewDetached {
|
|
435
|
+
[Brand.Type]?: 'app.bsky.embed.record#viewDetached';
|
|
436
|
+
detached: boolean;
|
|
437
|
+
uri: At.Uri;
|
|
438
|
+
}
|
|
434
439
|
interface ViewNotFound {
|
|
435
440
|
[Brand.Type]?: 'app.bsky.embed.record#viewNotFound';
|
|
436
441
|
notFound: boolean;
|
|
@@ -546,6 +551,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
546
551
|
embed?: Brand.Union<AppBskyEmbedExternal.View | AppBskyEmbedImages.View | AppBskyEmbedRecord.View | AppBskyEmbedRecordWithMedia.View>;
|
|
547
552
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
548
553
|
likeCount?: number;
|
|
554
|
+
quoteCount?: number;
|
|
549
555
|
replyCount?: number;
|
|
550
556
|
repostCount?: number;
|
|
551
557
|
threadgate?: ThreadgateView;
|
|
@@ -595,6 +601,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
595
601
|
/** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */
|
|
596
602
|
interface ViewerState {
|
|
597
603
|
[Brand.Type]?: 'app.bsky.feed.defs#viewerState';
|
|
604
|
+
embeddingDisabled?: boolean;
|
|
598
605
|
like?: At.Uri;
|
|
599
606
|
replyDisabled?: boolean;
|
|
600
607
|
repost?: At.Uri;
|
|
@@ -871,6 +878,29 @@ declare module '@atcute/client/lexicons' {
|
|
|
871
878
|
NotFound: {};
|
|
872
879
|
}
|
|
873
880
|
}
|
|
881
|
+
/** Get a list of quotes for a given post. */
|
|
882
|
+
namespace AppBskyFeedGetQuotes {
|
|
883
|
+
interface Params {
|
|
884
|
+
/** Reference (AT-URI) of post record */
|
|
885
|
+
uri: At.Uri;
|
|
886
|
+
/** If supplied, filters to quotes of specific version (by CID) of the post record. */
|
|
887
|
+
cid?: At.CID;
|
|
888
|
+
cursor?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Minimum: 1 \
|
|
891
|
+
* Maximum: 100
|
|
892
|
+
* @default 50
|
|
893
|
+
*/
|
|
894
|
+
limit?: number;
|
|
895
|
+
}
|
|
896
|
+
type Input = undefined;
|
|
897
|
+
interface Output {
|
|
898
|
+
posts: AppBskyFeedDefs.PostView[];
|
|
899
|
+
uri: At.Uri;
|
|
900
|
+
cid?: At.CID;
|
|
901
|
+
cursor?: string;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
874
904
|
/** Get a list of reposts for a given post. */
|
|
875
905
|
namespace AppBskyFeedGetRepostedBy {
|
|
876
906
|
interface Params {
|
|
@@ -998,6 +1028,24 @@ declare module '@atcute/client/lexicons' {
|
|
|
998
1028
|
start: number;
|
|
999
1029
|
}
|
|
1000
1030
|
}
|
|
1031
|
+
namespace AppBskyFeedPostgate {
|
|
1032
|
+
interface Record {
|
|
1033
|
+
createdAt: string;
|
|
1034
|
+
/** Reference (AT-URI) to the post record. */
|
|
1035
|
+
post: At.Uri;
|
|
1036
|
+
/**
|
|
1037
|
+
* List of AT-URIs embedding this post that the author has detached from. \
|
|
1038
|
+
* Maximum array length: 50
|
|
1039
|
+
*/
|
|
1040
|
+
detachedEmbeddingUris?: At.Uri[];
|
|
1041
|
+
/** Maximum array length: 5 */
|
|
1042
|
+
embeddingRules?: Brand.Union<DisableRule>[];
|
|
1043
|
+
}
|
|
1044
|
+
/** Disables embedding of this post. */
|
|
1045
|
+
interface DisableRule {
|
|
1046
|
+
[Brand.Type]?: 'app.bsky.feed.postgate#disableRule';
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1001
1049
|
namespace AppBskyFeedRepost {
|
|
1002
1050
|
interface Record {
|
|
1003
1051
|
createdAt: string;
|
|
@@ -1071,6 +1119,11 @@ declare module '@atcute/client/lexicons' {
|
|
|
1071
1119
|
post: At.Uri;
|
|
1072
1120
|
/** Maximum array length: 5 */
|
|
1073
1121
|
allow?: Brand.Union<FollowingRule | ListRule | MentionRule>[];
|
|
1122
|
+
/**
|
|
1123
|
+
* List of hidden reply URIs. \
|
|
1124
|
+
* Maximum array length: 50
|
|
1125
|
+
*/
|
|
1126
|
+
hiddenReplies?: At.Uri[];
|
|
1074
1127
|
}
|
|
1075
1128
|
/** Allow replies from actors you follow. */
|
|
1076
1129
|
interface FollowingRule {
|
|
@@ -2164,6 +2217,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2164
2217
|
'app.bsky.feed.generator': AppBskyFeedGenerator.Record;
|
|
2165
2218
|
'app.bsky.feed.like': AppBskyFeedLike.Record;
|
|
2166
2219
|
'app.bsky.feed.post': AppBskyFeedPost.Record;
|
|
2220
|
+
'app.bsky.feed.postgate': AppBskyFeedPostgate.Record;
|
|
2167
2221
|
'app.bsky.feed.repost': AppBskyFeedRepost.Record;
|
|
2168
2222
|
'app.bsky.feed.threadgate': AppBskyFeedThreadgate.Record;
|
|
2169
2223
|
'app.bsky.graph.block': AppBskyGraphBlock.Record;
|
|
@@ -2246,6 +2300,10 @@ declare module '@atcute/client/lexicons' {
|
|
|
2246
2300
|
params: AppBskyFeedGetPostThread.Params;
|
|
2247
2301
|
output: AppBskyFeedGetPostThread.Output;
|
|
2248
2302
|
};
|
|
2303
|
+
'app.bsky.feed.getQuotes': {
|
|
2304
|
+
params: AppBskyFeedGetQuotes.Params;
|
|
2305
|
+
output: AppBskyFeedGetQuotes.Output;
|
|
2306
|
+
};
|
|
2249
2307
|
'app.bsky.feed.getRepostedBy': {
|
|
2250
2308
|
params: AppBskyFeedGetRepostedBy.Params;
|
|
2251
2309
|
output: AppBskyFeedGetRepostedBy.Output;
|