@atcute/bluesky 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/dist/lexicons.d.ts +30 -0
  2. package/package.json +2 -2
@@ -277,7 +277,9 @@ declare module '@atcute/client/lexicons' {
277
277
  }
278
278
  }
279
279
  namespace AppBskyActorProfile {
280
+ /** A declaration of a Bluesky account profile. */
280
281
  interface Record {
282
+ $type: 'app.bsky.actor.profile';
281
283
  /** Small image to be displayed next to posts from account. AKA, 'profile picture' */
282
284
  avatar?: At.Blob;
283
285
  /** Larger horizontal image to display behind profile view. */
@@ -664,7 +666,9 @@ declare module '@atcute/client/lexicons' {
664
666
  }
665
667
  }
666
668
  namespace AppBskyFeedGenerator {
669
+ /** Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository. */
667
670
  interface Record {
671
+ $type: 'app.bsky.feed.generator';
668
672
  createdAt: string;
669
673
  did: At.DID;
670
674
  /**
@@ -997,13 +1001,17 @@ declare module '@atcute/client/lexicons' {
997
1001
  }
998
1002
  }
999
1003
  namespace AppBskyFeedLike {
1004
+ /** Record declaring a 'like' of a piece of subject content. */
1000
1005
  interface Record {
1006
+ $type: 'app.bsky.feed.like';
1001
1007
  createdAt: string;
1002
1008
  subject: ComAtprotoRepoStrongRef.Main;
1003
1009
  }
1004
1010
  }
1005
1011
  namespace AppBskyFeedPost {
1012
+ /** Record containing a Bluesky post. */
1006
1013
  interface Record {
1014
+ $type: 'app.bsky.feed.post';
1007
1015
  /** Client-declared timestamp when this post was originally created. */
1008
1016
  createdAt: string;
1009
1017
  /**
@@ -1065,7 +1073,9 @@ declare module '@atcute/client/lexicons' {
1065
1073
  }
1066
1074
  }
1067
1075
  namespace AppBskyFeedPostgate {
1076
+ /** Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository. */
1068
1077
  interface Record {
1078
+ $type: 'app.bsky.feed.postgate';
1069
1079
  createdAt: string;
1070
1080
  /** Reference (AT-URI) to the post record. */
1071
1081
  post: At.Uri;
@@ -1083,7 +1093,9 @@ declare module '@atcute/client/lexicons' {
1083
1093
  }
1084
1094
  }
1085
1095
  namespace AppBskyFeedRepost {
1096
+ /** Record representing a 'repost' of an existing Bluesky post. */
1086
1097
  interface Record {
1098
+ $type: 'app.bsky.feed.repost';
1087
1099
  createdAt: string;
1088
1100
  subject: ComAtprotoRepoStrongRef.Main;
1089
1101
  }
@@ -1149,7 +1161,9 @@ declare module '@atcute/client/lexicons' {
1149
1161
  }
1150
1162
  }
1151
1163
  namespace AppBskyFeedThreadgate {
1164
+ /** Record defining interaction gating rules for a thread (aka, reply controls). The record key (rkey) of the threadgate record must match the record key of the thread's root post, and that record must be in the same repository.. */
1152
1165
  interface Record {
1166
+ $type: 'app.bsky.feed.threadgate';
1153
1167
  createdAt: string;
1154
1168
  /** Reference (AT-URI) to the post record. */
1155
1169
  post: At.Uri;
@@ -1176,7 +1190,9 @@ declare module '@atcute/client/lexicons' {
1176
1190
  }
1177
1191
  }
1178
1192
  namespace AppBskyGraphBlock {
1193
+ /** Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details. */
1179
1194
  interface Record {
1195
+ $type: 'app.bsky.graph.block';
1180
1196
  createdAt: string;
1181
1197
  /** DID of the account to be blocked. */
1182
1198
  subject: At.DID;
@@ -1288,7 +1304,9 @@ declare module '@atcute/client/lexicons' {
1288
1304
  }
1289
1305
  }
1290
1306
  namespace AppBskyGraphFollow {
1307
+ /** Record declaring a social 'follow' relationship of another account. Duplicate follows will be ignored by the AppView. */
1291
1308
  interface Record {
1309
+ $type: 'app.bsky.graph.follow';
1292
1310
  createdAt: string;
1293
1311
  subject: At.DID;
1294
1312
  }
@@ -1528,7 +1546,9 @@ declare module '@atcute/client/lexicons' {
1528
1546
  }
1529
1547
  }
1530
1548
  namespace AppBskyGraphList {
1549
+ /** Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists. */
1531
1550
  interface Record {
1551
+ $type: 'app.bsky.graph.list';
1532
1552
  createdAt: string;
1533
1553
  /**
1534
1554
  * Display name for list; can not be empty. \
@@ -1549,14 +1569,18 @@ declare module '@atcute/client/lexicons' {
1549
1569
  }
1550
1570
  }
1551
1571
  namespace AppBskyGraphListblock {
1572
+ /** Record representing a block relationship against an entire an entire list of accounts (actors). */
1552
1573
  interface Record {
1574
+ $type: 'app.bsky.graph.listblock';
1553
1575
  createdAt: string;
1554
1576
  /** Reference (AT-URI) to the mod list record. */
1555
1577
  subject: At.Uri;
1556
1578
  }
1557
1579
  }
1558
1580
  namespace AppBskyGraphListitem {
1581
+ /** Record representing an account's inclusion on a specific list. The AppView will ignore duplicate listitem records. */
1559
1582
  interface Record {
1583
+ $type: 'app.bsky.graph.listitem';
1560
1584
  createdAt: string;
1561
1585
  /** Reference (AT-URI) to the list record (app.bsky.graph.list). */
1562
1586
  list: At.Uri;
@@ -1592,7 +1616,9 @@ declare module '@atcute/client/lexicons' {
1592
1616
  type Output = undefined;
1593
1617
  }
1594
1618
  namespace AppBskyGraphStarterpack {
1619
+ /** Record defining a starter pack of actors and feeds for new users. */
1595
1620
  interface Record {
1621
+ $type: 'app.bsky.graph.starterpack';
1596
1622
  createdAt: string;
1597
1623
  /** Reference (AT-URI) to the list record. */
1598
1624
  list: At.Uri;
@@ -1693,7 +1719,9 @@ declare module '@atcute/client/lexicons' {
1693
1719
  }
1694
1720
  }
1695
1721
  namespace AppBskyLabelerService {
1722
+ /** A declaration of the existence of labeler service. */
1696
1723
  interface Record {
1724
+ $type: 'app.bsky.labeler.service';
1697
1725
  createdAt: string;
1698
1726
  policies: AppBskyLabelerDefs.LabelerPolicies;
1699
1727
  labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
@@ -2003,7 +2031,9 @@ declare module '@atcute/client/lexicons' {
2003
2031
  }
2004
2032
  }
2005
2033
  namespace ChatBskyActorDeclaration {
2034
+ /** A declaration of a Bluesky chat account. */
2006
2035
  interface Record {
2036
+ $type: 'chat.bsky.actor.declaration';
2007
2037
  allowIncoming: 'all' | 'following' | 'none' | (string & {});
2008
2038
  }
2009
2039
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@atcute/bluesky",
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "description": "Bluesky type definitions for atcute",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -17,7 +17,7 @@
17
17
  "@atcute/client": "^1.0.0 || ^2.0.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@atcute/client": "^1.0.0",
20
+ "@atcute/client": "^2.0.0",
21
21
  "@atcute/lex-cli": "^1.0.0"
22
22
  },
23
23
  "scripts": {