@atcute/bluesky 1.0.0 → 1.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.
- package/dist/lexicons.d.ts +61 -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;
|
|
@@ -447,6 +452,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
447
452
|
embeds?: Brand.Union<AppBskyEmbedExternal.View | AppBskyEmbedImages.View | AppBskyEmbedRecord.View | AppBskyEmbedRecordWithMedia.View>[];
|
|
448
453
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
449
454
|
likeCount?: number;
|
|
455
|
+
quoteCount?: number;
|
|
450
456
|
replyCount?: number;
|
|
451
457
|
repostCount?: number;
|
|
452
458
|
}
|
|
@@ -546,6 +552,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
546
552
|
embed?: Brand.Union<AppBskyEmbedExternal.View | AppBskyEmbedImages.View | AppBskyEmbedRecord.View | AppBskyEmbedRecordWithMedia.View>;
|
|
547
553
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
548
554
|
likeCount?: number;
|
|
555
|
+
quoteCount?: number;
|
|
549
556
|
replyCount?: number;
|
|
550
557
|
repostCount?: number;
|
|
551
558
|
threadgate?: ThreadgateView;
|
|
@@ -595,6 +602,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
595
602
|
/** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */
|
|
596
603
|
interface ViewerState {
|
|
597
604
|
[Brand.Type]?: 'app.bsky.feed.defs#viewerState';
|
|
605
|
+
embeddingDisabled?: boolean;
|
|
598
606
|
like?: At.Uri;
|
|
599
607
|
replyDisabled?: boolean;
|
|
600
608
|
repost?: At.Uri;
|
|
@@ -866,11 +874,35 @@ declare module '@atcute/client/lexicons' {
|
|
|
866
874
|
type Input = undefined;
|
|
867
875
|
interface Output {
|
|
868
876
|
thread: Brand.Union<AppBskyFeedDefs.BlockedPost | AppBskyFeedDefs.NotFoundPost | AppBskyFeedDefs.ThreadViewPost>;
|
|
877
|
+
threadgate?: AppBskyFeedDefs.ThreadgateView;
|
|
869
878
|
}
|
|
870
879
|
interface Errors {
|
|
871
880
|
NotFound: {};
|
|
872
881
|
}
|
|
873
882
|
}
|
|
883
|
+
/** Get a list of quotes for a given post. */
|
|
884
|
+
namespace AppBskyFeedGetQuotes {
|
|
885
|
+
interface Params {
|
|
886
|
+
/** Reference (AT-URI) of post record */
|
|
887
|
+
uri: At.Uri;
|
|
888
|
+
/** If supplied, filters to quotes of specific version (by CID) of the post record. */
|
|
889
|
+
cid?: At.CID;
|
|
890
|
+
cursor?: string;
|
|
891
|
+
/**
|
|
892
|
+
* Minimum: 1 \
|
|
893
|
+
* Maximum: 100
|
|
894
|
+
* @default 50
|
|
895
|
+
*/
|
|
896
|
+
limit?: number;
|
|
897
|
+
}
|
|
898
|
+
type Input = undefined;
|
|
899
|
+
interface Output {
|
|
900
|
+
posts: AppBskyFeedDefs.PostView[];
|
|
901
|
+
uri: At.Uri;
|
|
902
|
+
cid?: At.CID;
|
|
903
|
+
cursor?: string;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
874
906
|
/** Get a list of reposts for a given post. */
|
|
875
907
|
namespace AppBskyFeedGetRepostedBy {
|
|
876
908
|
interface Params {
|
|
@@ -998,6 +1030,24 @@ declare module '@atcute/client/lexicons' {
|
|
|
998
1030
|
start: number;
|
|
999
1031
|
}
|
|
1000
1032
|
}
|
|
1033
|
+
namespace AppBskyFeedPostgate {
|
|
1034
|
+
interface Record {
|
|
1035
|
+
createdAt: string;
|
|
1036
|
+
/** Reference (AT-URI) to the post record. */
|
|
1037
|
+
post: At.Uri;
|
|
1038
|
+
/**
|
|
1039
|
+
* List of AT-URIs embedding this post that the author has detached from. \
|
|
1040
|
+
* Maximum array length: 50
|
|
1041
|
+
*/
|
|
1042
|
+
detachedEmbeddingUris?: At.Uri[];
|
|
1043
|
+
/** Maximum array length: 5 */
|
|
1044
|
+
embeddingRules?: Brand.Union<DisableRule>[];
|
|
1045
|
+
}
|
|
1046
|
+
/** Disables embedding of this post. */
|
|
1047
|
+
interface DisableRule {
|
|
1048
|
+
[Brand.Type]?: 'app.bsky.feed.postgate#disableRule';
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1001
1051
|
namespace AppBskyFeedRepost {
|
|
1002
1052
|
interface Record {
|
|
1003
1053
|
createdAt: string;
|
|
@@ -1071,6 +1121,11 @@ declare module '@atcute/client/lexicons' {
|
|
|
1071
1121
|
post: At.Uri;
|
|
1072
1122
|
/** Maximum array length: 5 */
|
|
1073
1123
|
allow?: Brand.Union<FollowingRule | ListRule | MentionRule>[];
|
|
1124
|
+
/**
|
|
1125
|
+
* List of hidden reply URIs. \
|
|
1126
|
+
* Maximum array length: 50
|
|
1127
|
+
*/
|
|
1128
|
+
hiddenReplies?: At.Uri[];
|
|
1074
1129
|
}
|
|
1075
1130
|
/** Allow replies from actors you follow. */
|
|
1076
1131
|
interface FollowingRule {
|
|
@@ -2164,6 +2219,7 @@ declare module '@atcute/client/lexicons' {
|
|
|
2164
2219
|
'app.bsky.feed.generator': AppBskyFeedGenerator.Record;
|
|
2165
2220
|
'app.bsky.feed.like': AppBskyFeedLike.Record;
|
|
2166
2221
|
'app.bsky.feed.post': AppBskyFeedPost.Record;
|
|
2222
|
+
'app.bsky.feed.postgate': AppBskyFeedPostgate.Record;
|
|
2167
2223
|
'app.bsky.feed.repost': AppBskyFeedRepost.Record;
|
|
2168
2224
|
'app.bsky.feed.threadgate': AppBskyFeedThreadgate.Record;
|
|
2169
2225
|
'app.bsky.graph.block': AppBskyGraphBlock.Record;
|
|
@@ -2246,6 +2302,10 @@ declare module '@atcute/client/lexicons' {
|
|
|
2246
2302
|
params: AppBskyFeedGetPostThread.Params;
|
|
2247
2303
|
output: AppBskyFeedGetPostThread.Output;
|
|
2248
2304
|
};
|
|
2305
|
+
'app.bsky.feed.getQuotes': {
|
|
2306
|
+
params: AppBskyFeedGetQuotes.Params;
|
|
2307
|
+
output: AppBskyFeedGetQuotes.Output;
|
|
2308
|
+
};
|
|
2249
2309
|
'app.bsky.feed.getRepostedBy': {
|
|
2250
2310
|
params: AppBskyFeedGetRepostedBy.Params;
|
|
2251
2311
|
output: AppBskyFeedGetRepostedBy.Output;
|