@atproto/api 0.6.12 → 0.6.13

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 (87) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/client/index.d.ts +58 -8
  3. package/dist/client/lexicons.d.ts +259 -29
  4. package/dist/client/types/app/bsky/feed/defs.d.ts +18 -0
  5. package/dist/client/types/app/bsky/feed/{getSavedFeeds.d.ts → getListFeed.d.ts} +6 -2
  6. package/dist/client/types/app/bsky/feed/threadgate.d.ts +26 -0
  7. package/dist/client/types/app/bsky/graph/defs.d.ts +3 -1
  8. package/dist/client/types/app/bsky/{notification/getCount.d.ts → graph/getSuggestedFollowsByActor.d.ts} +3 -1
  9. package/dist/index.js +564 -165
  10. package/dist/index.js.map +3 -3
  11. package/package.json +4 -4
  12. package/src/client/index.ts +183 -23
  13. package/src/client/lexicons.ts +272 -30
  14. package/src/client/types/app/bsky/feed/defs.ts +40 -0
  15. package/src/client/types/app/bsky/feed/getListFeed.ts +46 -0
  16. package/src/client/types/app/bsky/feed/threadgate.ts +80 -0
  17. package/src/client/types/app/bsky/graph/defs.ts +7 -1
  18. package/src/client/types/app/bsky/graph/getListBlocks.ts +38 -0
  19. package/src/client/types/{com/atproto/temp/upgradeRepoVersion.ts → app/bsky/graph/getSuggestedFollowsByActor.ts} +9 -6
  20. package/src/client/types/app/bsky/graph/listblock.ts +26 -0
  21. package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
  22. package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
  23. package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
  24. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
  25. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -40
  26. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
  27. package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
  28. package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
  29. package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
  30. package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
  31. package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +0 -17
  32. package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
  33. package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  34. package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  35. package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
  36. package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
  37. package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
  38. package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
  39. package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
  40. package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
  41. package/dist/client/types/app/bsky/graph/subscribeMuteList.d.ts +0 -17
  42. package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
  43. package/dist/client/types/app/bsky/graph/unsubscribeMuteList.d.ts +0 -17
  44. package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
  45. package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
  46. package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
  47. package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
  48. package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
  49. package/dist/client/types/app/bsky/unspecced/registerPushNotification.d.ts +0 -16
  50. package/dist/client/types/com/atproto/account/create.d.ts +0 -41
  51. package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
  52. package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
  53. package/dist/client/types/com/atproto/account/get.d.ts +0 -12
  54. package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
  55. package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  56. package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  57. package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
  58. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
  59. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
  60. package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
  61. package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
  62. package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
  63. package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
  64. package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
  65. package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
  66. package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
  67. package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
  68. package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
  69. package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
  70. package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
  71. package/dist/client/types/com/atproto/report/create.d.ts +0 -39
  72. package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
  73. package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
  74. package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
  75. package/dist/client/types/com/atproto/session/create.d.ts +0 -29
  76. package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
  77. package/dist/client/types/com/atproto/session/get.d.ts +0 -18
  78. package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
  79. package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
  80. package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -18
  81. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
  82. package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  83. package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +0 -18
  84. package/dist/helpers/bsky.d.ts +0 -20
  85. package/dist/mixins/bsky.d.ts +0 -23
  86. package/dist/rich-text/sanitize.d.ts +0 -4
  87. package/dist/session.d.ts +0 -42
package/dist/index.js CHANGED
@@ -8896,6 +8896,7 @@ __export(src_exports2, {
8896
8896
  AppBskyFeedGetFeedGenerators: () => getFeedGenerators_exports,
8897
8897
  AppBskyFeedGetFeedSkeleton: () => getFeedSkeleton_exports,
8898
8898
  AppBskyFeedGetLikes: () => getLikes_exports,
8899
+ AppBskyFeedGetListFeed: () => getListFeed_exports,
8899
8900
  AppBskyFeedGetPostThread: () => getPostThread_exports,
8900
8901
  AppBskyFeedGetPosts: () => getPosts_exports,
8901
8902
  AppBskyFeedGetRepostedBy: () => getRepostedBy_exports,
@@ -8904,6 +8905,7 @@ __export(src_exports2, {
8904
8905
  AppBskyFeedLike: () => like_exports,
8905
8906
  AppBskyFeedPost: () => post_exports,
8906
8907
  AppBskyFeedRepost: () => repost_exports,
8908
+ AppBskyFeedThreadgate: () => threadgate_exports,
8907
8909
  AppBskyGraphBlock: () => block_exports,
8908
8910
  AppBskyGraphDefs: () => defs_exports7,
8909
8911
  AppBskyGraphFollow: () => follow_exports,
@@ -8911,10 +8913,13 @@ __export(src_exports2, {
8911
8913
  AppBskyGraphGetFollowers: () => getFollowers_exports,
8912
8914
  AppBskyGraphGetFollows: () => getFollows_exports,
8913
8915
  AppBskyGraphGetList: () => getList_exports,
8916
+ AppBskyGraphGetListBlocks: () => getListBlocks_exports,
8914
8917
  AppBskyGraphGetListMutes: () => getListMutes_exports,
8915
8918
  AppBskyGraphGetLists: () => getLists_exports,
8916
8919
  AppBskyGraphGetMutes: () => getMutes_exports,
8920
+ AppBskyGraphGetSuggestedFollowsByActor: () => getSuggestedFollowsByActor_exports,
8917
8921
  AppBskyGraphList: () => list_exports,
8922
+ AppBskyGraphListblock: () => listblock_exports,
8918
8923
  AppBskyGraphListitem: () => listitem_exports,
8919
8924
  AppBskyGraphMuteActor: () => muteActor_exports,
8920
8925
  AppBskyGraphMuteActorList: () => muteActorList_exports,
@@ -9004,7 +9009,6 @@ __export(src_exports2, {
9004
9009
  ComAtprotoSyncNotifyOfUpdate: () => notifyOfUpdate_exports,
9005
9010
  ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
9006
9011
  ComAtprotoSyncSubscribeRepos: () => subscribeRepos_exports,
9007
- ComAtprotoTempUpgradeRepoVersion: () => upgradeRepoVersion_exports,
9008
9012
  ComNS: () => ComNS,
9009
9013
  EmbedNS: () => EmbedNS,
9010
9014
  FeedNS: () => FeedNS,
@@ -9017,6 +9021,7 @@ __export(src_exports2, {
9017
9021
  LabelNS: () => LabelNS,
9018
9022
  LikeRecord: () => LikeRecord,
9019
9023
  ListRecord: () => ListRecord,
9024
+ ListblockRecord: () => ListblockRecord,
9020
9025
  ListitemRecord: () => ListitemRecord,
9021
9026
  ModerationDecision: () => ModerationDecision,
9022
9027
  ModerationNS: () => ModerationNS,
@@ -9030,7 +9035,7 @@ __export(src_exports2, {
9030
9035
  RichtextNS: () => RichtextNS,
9031
9036
  ServerNS: () => ServerNS,
9032
9037
  SyncNS: () => SyncNS,
9033
- TempNS: () => TempNS,
9038
+ ThreadgateRecord: () => ThreadgateRecord,
9034
9039
  UnicodeString: () => UnicodeString,
9035
9040
  UnspeccedNS: () => UnspeccedNS,
9036
9041
  default: () => AtpAgent,
@@ -18709,7 +18714,6 @@ var schemaDict = {
18709
18714
  },
18710
18715
  since: {
18711
18716
  type: "string",
18712
- format: "cid",
18713
18717
  description: "The revision of the repo to catch up from."
18714
18718
  }
18715
18719
  }
@@ -18738,7 +18742,6 @@ var schemaDict = {
18738
18742
  },
18739
18743
  since: {
18740
18744
  type: "string",
18741
- format: "cid",
18742
18745
  description: "Optional revision of the repo to list blobs since"
18743
18746
  },
18744
18747
  limit: {
@@ -19075,32 +19078,6 @@ var schemaDict = {
19075
19078
  }
19076
19079
  }
19077
19080
  },
19078
- ComAtprotoTempUpgradeRepoVersion: {
19079
- lexicon: 1,
19080
- id: "com.atproto.temp.upgradeRepoVersion",
19081
- defs: {
19082
- main: {
19083
- type: "procedure",
19084
- description: "Upgrade a repo to v3",
19085
- input: {
19086
- encoding: "application/json",
19087
- schema: {
19088
- type: "object",
19089
- required: ["did"],
19090
- properties: {
19091
- did: {
19092
- type: "string",
19093
- format: "did"
19094
- },
19095
- force: {
19096
- type: "boolean"
19097
- }
19098
- }
19099
- }
19100
- }
19101
- }
19102
- }
19103
- },
19104
19081
  AppBskyActorDefs: {
19105
19082
  lexicon: 1,
19106
19083
  id: "app.bsky.actor.defs",
@@ -19968,6 +19945,10 @@ var schemaDict = {
19968
19945
  type: "ref",
19969
19946
  ref: "lex:com.atproto.label.defs#label"
19970
19947
  }
19948
+ },
19949
+ threadgate: {
19950
+ type: "ref",
19951
+ ref: "lex:app.bsky.feed.defs#threadgateView"
19971
19952
  }
19972
19953
  }
19973
19954
  },
@@ -20064,6 +20045,10 @@ var schemaDict = {
20064
20045
  "lex:app.bsky.feed.defs#blockedPost"
20065
20046
  ]
20066
20047
  }
20048
+ },
20049
+ viewer: {
20050
+ type: "ref",
20051
+ ref: "lex:app.bsky.feed.defs#viewerThreadState"
20067
20052
  }
20068
20053
  }
20069
20054
  },
@@ -20113,6 +20098,14 @@ var schemaDict = {
20113
20098
  }
20114
20099
  }
20115
20100
  },
20101
+ viewerThreadState: {
20102
+ type: "object",
20103
+ properties: {
20104
+ canReply: {
20105
+ type: "boolean"
20106
+ }
20107
+ }
20108
+ },
20116
20109
  generatorView: {
20117
20110
  type: "object",
20118
20111
  required: ["uri", "cid", "did", "creator", "displayName", "indexedAt"],
@@ -20197,6 +20190,29 @@ var schemaDict = {
20197
20190
  format: "at-uri"
20198
20191
  }
20199
20192
  }
20193
+ },
20194
+ threadgateView: {
20195
+ type: "object",
20196
+ properties: {
20197
+ uri: {
20198
+ type: "string",
20199
+ format: "at-uri"
20200
+ },
20201
+ cid: {
20202
+ type: "string",
20203
+ format: "cid"
20204
+ },
20205
+ record: {
20206
+ type: "unknown"
20207
+ },
20208
+ lists: {
20209
+ type: "array",
20210
+ items: {
20211
+ type: "ref",
20212
+ ref: "lex:app.bsky.graph.defs#listViewBasic"
20213
+ }
20214
+ }
20215
+ }
20200
20216
  }
20201
20217
  }
20202
20218
  },
@@ -20736,6 +20752,59 @@ var schemaDict = {
20736
20752
  }
20737
20753
  }
20738
20754
  },
20755
+ AppBskyFeedGetListFeed: {
20756
+ lexicon: 1,
20757
+ id: "app.bsky.feed.getListFeed",
20758
+ defs: {
20759
+ main: {
20760
+ type: "query",
20761
+ description: "A view of a recent posts from actors in a list",
20762
+ parameters: {
20763
+ type: "params",
20764
+ required: ["list"],
20765
+ properties: {
20766
+ list: {
20767
+ type: "string",
20768
+ format: "at-uri"
20769
+ },
20770
+ limit: {
20771
+ type: "integer",
20772
+ minimum: 1,
20773
+ maximum: 100,
20774
+ default: 50
20775
+ },
20776
+ cursor: {
20777
+ type: "string"
20778
+ }
20779
+ }
20780
+ },
20781
+ output: {
20782
+ encoding: "application/json",
20783
+ schema: {
20784
+ type: "object",
20785
+ required: ["feed"],
20786
+ properties: {
20787
+ cursor: {
20788
+ type: "string"
20789
+ },
20790
+ feed: {
20791
+ type: "array",
20792
+ items: {
20793
+ type: "ref",
20794
+ ref: "lex:app.bsky.feed.defs#feedViewPost"
20795
+ }
20796
+ }
20797
+ }
20798
+ }
20799
+ },
20800
+ errors: [
20801
+ {
20802
+ name: "UnknownList"
20803
+ }
20804
+ ]
20805
+ }
20806
+ }
20807
+ },
20739
20808
  AppBskyFeedGetPostThread: {
20740
20809
  lexicon: 1,
20741
20810
  id: "app.bsky.feed.getPostThread",
@@ -21137,6 +21206,62 @@ var schemaDict = {
21137
21206
  }
21138
21207
  }
21139
21208
  },
21209
+ AppBskyFeedThreadgate: {
21210
+ lexicon: 1,
21211
+ id: "app.bsky.feed.threadgate",
21212
+ defs: {
21213
+ main: {
21214
+ type: "record",
21215
+ key: "tid",
21216
+ description: "Defines interaction gating rules for a thread. The rkey of the threadgate record should match the rkey of the thread's root post.",
21217
+ record: {
21218
+ type: "object",
21219
+ required: ["post", "createdAt"],
21220
+ properties: {
21221
+ post: {
21222
+ type: "string",
21223
+ format: "at-uri"
21224
+ },
21225
+ allow: {
21226
+ type: "array",
21227
+ maxLength: 5,
21228
+ items: {
21229
+ type: "union",
21230
+ refs: [
21231
+ "lex:app.bsky.feed.threadgate#mentionRule",
21232
+ "lex:app.bsky.feed.threadgate#followingRule",
21233
+ "lex:app.bsky.feed.threadgate#listRule"
21234
+ ]
21235
+ }
21236
+ },
21237
+ createdAt: {
21238
+ type: "string",
21239
+ format: "datetime"
21240
+ }
21241
+ }
21242
+ }
21243
+ },
21244
+ mentionRule: {
21245
+ type: "object",
21246
+ description: "Allow replies from actors mentioned in your post."
21247
+ },
21248
+ followingRule: {
21249
+ type: "object",
21250
+ description: "Allow replies from actors you follow."
21251
+ },
21252
+ listRule: {
21253
+ type: "object",
21254
+ description: "Allow replies from actors on a list.",
21255
+ required: ["list"],
21256
+ properties: {
21257
+ list: {
21258
+ type: "string",
21259
+ format: "at-uri"
21260
+ }
21261
+ }
21262
+ }
21263
+ }
21264
+ },
21140
21265
  AppBskyGraphBlock: {
21141
21266
  lexicon: 1,
21142
21267
  id: "app.bsky.graph.block",
@@ -21262,17 +21387,28 @@ var schemaDict = {
21262
21387
  },
21263
21388
  listPurpose: {
21264
21389
  type: "string",
21265
- knownValues: ["app.bsky.graph.defs#modlist"]
21390
+ knownValues: [
21391
+ "app.bsky.graph.defs#modlist",
21392
+ "app.bsky.graph.defs#curatelist"
21393
+ ]
21266
21394
  },
21267
21395
  modlist: {
21268
21396
  type: "token",
21269
21397
  description: "A list of actors to apply an aggregate moderation action (mute/block) on"
21270
21398
  },
21399
+ curatelist: {
21400
+ type: "token",
21401
+ description: "A list of actors used for curation purposes such as list feeds or interaction gating"
21402
+ },
21271
21403
  listViewerState: {
21272
21404
  type: "object",
21273
21405
  properties: {
21274
21406
  muted: {
21275
21407
  type: "boolean"
21408
+ },
21409
+ blocked: {
21410
+ type: "string",
21411
+ format: "at-uri"
21276
21412
  }
21277
21413
  }
21278
21414
  }
@@ -21502,6 +21638,49 @@ var schemaDict = {
21502
21638
  }
21503
21639
  }
21504
21640
  },
21641
+ AppBskyGraphGetListBlocks: {
21642
+ lexicon: 1,
21643
+ id: "app.bsky.graph.getListBlocks",
21644
+ defs: {
21645
+ main: {
21646
+ type: "query",
21647
+ description: "Which lists is the requester's account blocking?",
21648
+ parameters: {
21649
+ type: "params",
21650
+ properties: {
21651
+ limit: {
21652
+ type: "integer",
21653
+ minimum: 1,
21654
+ maximum: 100,
21655
+ default: 50
21656
+ },
21657
+ cursor: {
21658
+ type: "string"
21659
+ }
21660
+ }
21661
+ },
21662
+ output: {
21663
+ encoding: "application/json",
21664
+ schema: {
21665
+ type: "object",
21666
+ required: ["lists"],
21667
+ properties: {
21668
+ cursor: {
21669
+ type: "string"
21670
+ },
21671
+ lists: {
21672
+ type: "array",
21673
+ items: {
21674
+ type: "ref",
21675
+ ref: "lex:app.bsky.graph.defs#listView"
21676
+ }
21677
+ }
21678
+ }
21679
+ }
21680
+ }
21681
+ }
21682
+ }
21683
+ },
21505
21684
  AppBskyGraphGetListMutes: {
21506
21685
  lexicon: 1,
21507
21686
  id: "app.bsky.graph.getListMutes",
@@ -21636,6 +21815,42 @@ var schemaDict = {
21636
21815
  }
21637
21816
  }
21638
21817
  },
21818
+ AppBskyGraphGetSuggestedFollowsByActor: {
21819
+ lexicon: 1,
21820
+ id: "app.bsky.graph.getSuggestedFollowsByActor",
21821
+ defs: {
21822
+ main: {
21823
+ type: "query",
21824
+ description: "Get suggested follows related to a given actor.",
21825
+ parameters: {
21826
+ type: "params",
21827
+ required: ["actor"],
21828
+ properties: {
21829
+ actor: {
21830
+ type: "string",
21831
+ format: "at-identifier"
21832
+ }
21833
+ }
21834
+ },
21835
+ output: {
21836
+ encoding: "application/json",
21837
+ schema: {
21838
+ type: "object",
21839
+ required: ["suggestions"],
21840
+ properties: {
21841
+ suggestions: {
21842
+ type: "array",
21843
+ items: {
21844
+ type: "ref",
21845
+ ref: "lex:app.bsky.actor.defs#profileView"
21846
+ }
21847
+ }
21848
+ }
21849
+ }
21850
+ }
21851
+ }
21852
+ }
21853
+ },
21639
21854
  AppBskyGraphList: {
21640
21855
  lexicon: 1,
21641
21856
  id: "app.bsky.graph.list",
@@ -21687,6 +21902,31 @@ var schemaDict = {
21687
21902
  }
21688
21903
  }
21689
21904
  },
21905
+ AppBskyGraphListblock: {
21906
+ lexicon: 1,
21907
+ id: "app.bsky.graph.listblock",
21908
+ defs: {
21909
+ main: {
21910
+ type: "record",
21911
+ description: "A block of an entire list of actors.",
21912
+ key: "tid",
21913
+ record: {
21914
+ type: "object",
21915
+ required: ["subject", "createdAt"],
21916
+ properties: {
21917
+ subject: {
21918
+ type: "string",
21919
+ format: "at-uri"
21920
+ },
21921
+ createdAt: {
21922
+ type: "string",
21923
+ format: "datetime"
21924
+ }
21925
+ }
21926
+ }
21927
+ }
21928
+ }
21929
+ },
21690
21930
  AppBskyGraphListitem: {
21691
21931
  lexicon: 1,
21692
21932
  id: "app.bsky.graph.listitem",
@@ -23131,9 +23371,9 @@ function toKnownErr56(e) {
23131
23371
  return e;
23132
23372
  }
23133
23373
 
23134
- // src/client/types/com/atproto/temp/upgradeRepoVersion.ts
23135
- var upgradeRepoVersion_exports = {};
23136
- __export(upgradeRepoVersion_exports, {
23374
+ // src/client/types/app/bsky/actor/getPreferences.ts
23375
+ var getPreferences_exports = {};
23376
+ __export(getPreferences_exports, {
23137
23377
  toKnownErr: () => toKnownErr57
23138
23378
  });
23139
23379
  function toKnownErr57(e) {
@@ -23142,9 +23382,9 @@ function toKnownErr57(e) {
23142
23382
  return e;
23143
23383
  }
23144
23384
 
23145
- // src/client/types/app/bsky/actor/getPreferences.ts
23146
- var getPreferences_exports = {};
23147
- __export(getPreferences_exports, {
23385
+ // src/client/types/app/bsky/actor/getProfile.ts
23386
+ var getProfile_exports = {};
23387
+ __export(getProfile_exports, {
23148
23388
  toKnownErr: () => toKnownErr58
23149
23389
  });
23150
23390
  function toKnownErr58(e) {
@@ -23153,23 +23393,12 @@ function toKnownErr58(e) {
23153
23393
  return e;
23154
23394
  }
23155
23395
 
23156
- // src/client/types/app/bsky/actor/getProfile.ts
23157
- var getProfile_exports = {};
23158
- __export(getProfile_exports, {
23159
- toKnownErr: () => toKnownErr59
23160
- });
23161
- function toKnownErr59(e) {
23162
- if (e instanceof XRPCError) {
23163
- }
23164
- return e;
23165
- }
23166
-
23167
23396
  // src/client/types/app/bsky/actor/getProfiles.ts
23168
23397
  var getProfiles_exports = {};
23169
23398
  __export(getProfiles_exports, {
23170
- toKnownErr: () => toKnownErr60
23399
+ toKnownErr: () => toKnownErr59
23171
23400
  });
23172
- function toKnownErr60(e) {
23401
+ function toKnownErr59(e) {
23173
23402
  if (e instanceof XRPCError) {
23174
23403
  }
23175
23404
  return e;
@@ -23178,9 +23407,9 @@ function toKnownErr60(e) {
23178
23407
  // src/client/types/app/bsky/actor/getSuggestions.ts
23179
23408
  var getSuggestions_exports = {};
23180
23409
  __export(getSuggestions_exports, {
23181
- toKnownErr: () => toKnownErr61
23410
+ toKnownErr: () => toKnownErr60
23182
23411
  });
23183
- function toKnownErr61(e) {
23412
+ function toKnownErr60(e) {
23184
23413
  if (e instanceof XRPCError) {
23185
23414
  }
23186
23415
  return e;
@@ -23189,9 +23418,9 @@ function toKnownErr61(e) {
23189
23418
  // src/client/types/app/bsky/actor/putPreferences.ts
23190
23419
  var putPreferences_exports = {};
23191
23420
  __export(putPreferences_exports, {
23192
- toKnownErr: () => toKnownErr62
23421
+ toKnownErr: () => toKnownErr61
23193
23422
  });
23194
- function toKnownErr62(e) {
23423
+ function toKnownErr61(e) {
23195
23424
  if (e instanceof XRPCError) {
23196
23425
  }
23197
23426
  return e;
@@ -23200,9 +23429,9 @@ function toKnownErr62(e) {
23200
23429
  // src/client/types/app/bsky/actor/searchActors.ts
23201
23430
  var searchActors_exports = {};
23202
23431
  __export(searchActors_exports, {
23203
- toKnownErr: () => toKnownErr63
23432
+ toKnownErr: () => toKnownErr62
23204
23433
  });
23205
- function toKnownErr63(e) {
23434
+ function toKnownErr62(e) {
23206
23435
  if (e instanceof XRPCError) {
23207
23436
  }
23208
23437
  return e;
@@ -23211,9 +23440,9 @@ function toKnownErr63(e) {
23211
23440
  // src/client/types/app/bsky/actor/searchActorsTypeahead.ts
23212
23441
  var searchActorsTypeahead_exports = {};
23213
23442
  __export(searchActorsTypeahead_exports, {
23214
- toKnownErr: () => toKnownErr64
23443
+ toKnownErr: () => toKnownErr63
23215
23444
  });
23216
- function toKnownErr64(e) {
23445
+ function toKnownErr63(e) {
23217
23446
  if (e instanceof XRPCError) {
23218
23447
  }
23219
23448
  return e;
@@ -23224,11 +23453,11 @@ var describeFeedGenerator_exports = {};
23224
23453
  __export(describeFeedGenerator_exports, {
23225
23454
  isFeed: () => isFeed,
23226
23455
  isLinks: () => isLinks2,
23227
- toKnownErr: () => toKnownErr65,
23456
+ toKnownErr: () => toKnownErr64,
23228
23457
  validateFeed: () => validateFeed,
23229
23458
  validateLinks: () => validateLinks2
23230
23459
  });
23231
- function toKnownErr65(e) {
23460
+ function toKnownErr64(e) {
23232
23461
  if (e instanceof XRPCError) {
23233
23462
  }
23234
23463
  return e;
@@ -23249,9 +23478,9 @@ function validateLinks2(v) {
23249
23478
  // src/client/types/app/bsky/feed/getActorFeeds.ts
23250
23479
  var getActorFeeds_exports = {};
23251
23480
  __export(getActorFeeds_exports, {
23252
- toKnownErr: () => toKnownErr66
23481
+ toKnownErr: () => toKnownErr65
23253
23482
  });
23254
- function toKnownErr66(e) {
23483
+ function toKnownErr65(e) {
23255
23484
  if (e instanceof XRPCError) {
23256
23485
  }
23257
23486
  return e;
@@ -23262,7 +23491,7 @@ var getActorLikes_exports = {};
23262
23491
  __export(getActorLikes_exports, {
23263
23492
  BlockedActorError: () => BlockedActorError,
23264
23493
  BlockedByActorError: () => BlockedByActorError,
23265
- toKnownErr: () => toKnownErr67
23494
+ toKnownErr: () => toKnownErr66
23266
23495
  });
23267
23496
  var BlockedActorError = class extends XRPCError {
23268
23497
  constructor(src2) {
@@ -23274,7 +23503,7 @@ var BlockedByActorError = class extends XRPCError {
23274
23503
  super(src2.status, src2.error, src2.message, src2.headers);
23275
23504
  }
23276
23505
  };
23277
- function toKnownErr67(e) {
23506
+ function toKnownErr66(e) {
23278
23507
  if (e instanceof XRPCError) {
23279
23508
  if (e.error === "BlockedActor")
23280
23509
  return new BlockedActorError(e);
@@ -23289,7 +23518,7 @@ var getAuthorFeed_exports = {};
23289
23518
  __export(getAuthorFeed_exports, {
23290
23519
  BlockedActorError: () => BlockedActorError2,
23291
23520
  BlockedByActorError: () => BlockedByActorError2,
23292
- toKnownErr: () => toKnownErr68
23521
+ toKnownErr: () => toKnownErr67
23293
23522
  });
23294
23523
  var BlockedActorError2 = class extends XRPCError {
23295
23524
  constructor(src2) {
@@ -23301,7 +23530,7 @@ var BlockedByActorError2 = class extends XRPCError {
23301
23530
  super(src2.status, src2.error, src2.message, src2.headers);
23302
23531
  }
23303
23532
  };
23304
- function toKnownErr68(e) {
23533
+ function toKnownErr67(e) {
23305
23534
  if (e instanceof XRPCError) {
23306
23535
  if (e.error === "BlockedActor")
23307
23536
  return new BlockedActorError2(e);
@@ -23315,14 +23544,14 @@ function toKnownErr68(e) {
23315
23544
  var getFeed_exports = {};
23316
23545
  __export(getFeed_exports, {
23317
23546
  UnknownFeedError: () => UnknownFeedError,
23318
- toKnownErr: () => toKnownErr69
23547
+ toKnownErr: () => toKnownErr68
23319
23548
  });
23320
23549
  var UnknownFeedError = class extends XRPCError {
23321
23550
  constructor(src2) {
23322
23551
  super(src2.status, src2.error, src2.message, src2.headers);
23323
23552
  }
23324
23553
  };
23325
- function toKnownErr69(e) {
23554
+ function toKnownErr68(e) {
23326
23555
  if (e instanceof XRPCError) {
23327
23556
  if (e.error === "UnknownFeed")
23328
23557
  return new UnknownFeedError(e);
@@ -23333,9 +23562,9 @@ function toKnownErr69(e) {
23333
23562
  // src/client/types/app/bsky/feed/getFeedGenerator.ts
23334
23563
  var getFeedGenerator_exports = {};
23335
23564
  __export(getFeedGenerator_exports, {
23336
- toKnownErr: () => toKnownErr70
23565
+ toKnownErr: () => toKnownErr69
23337
23566
  });
23338
- function toKnownErr70(e) {
23567
+ function toKnownErr69(e) {
23339
23568
  if (e instanceof XRPCError) {
23340
23569
  }
23341
23570
  return e;
@@ -23344,9 +23573,9 @@ function toKnownErr70(e) {
23344
23573
  // src/client/types/app/bsky/feed/getFeedGenerators.ts
23345
23574
  var getFeedGenerators_exports = {};
23346
23575
  __export(getFeedGenerators_exports, {
23347
- toKnownErr: () => toKnownErr71
23576
+ toKnownErr: () => toKnownErr70
23348
23577
  });
23349
- function toKnownErr71(e) {
23578
+ function toKnownErr70(e) {
23350
23579
  if (e instanceof XRPCError) {
23351
23580
  }
23352
23581
  return e;
@@ -23356,14 +23585,14 @@ function toKnownErr71(e) {
23356
23585
  var getFeedSkeleton_exports = {};
23357
23586
  __export(getFeedSkeleton_exports, {
23358
23587
  UnknownFeedError: () => UnknownFeedError2,
23359
- toKnownErr: () => toKnownErr72
23588
+ toKnownErr: () => toKnownErr71
23360
23589
  });
23361
23590
  var UnknownFeedError2 = class extends XRPCError {
23362
23591
  constructor(src2) {
23363
23592
  super(src2.status, src2.error, src2.message, src2.headers);
23364
23593
  }
23365
23594
  };
23366
- function toKnownErr72(e) {
23595
+ function toKnownErr71(e) {
23367
23596
  if (e instanceof XRPCError) {
23368
23597
  if (e.error === "UnknownFeed")
23369
23598
  return new UnknownFeedError2(e);
@@ -23375,10 +23604,10 @@ function toKnownErr72(e) {
23375
23604
  var getLikes_exports = {};
23376
23605
  __export(getLikes_exports, {
23377
23606
  isLike: () => isLike,
23378
- toKnownErr: () => toKnownErr73,
23607
+ toKnownErr: () => toKnownErr72,
23379
23608
  validateLike: () => validateLike
23380
23609
  });
23381
- function toKnownErr73(e) {
23610
+ function toKnownErr72(e) {
23382
23611
  if (e instanceof XRPCError) {
23383
23612
  }
23384
23613
  return e;
@@ -23390,6 +23619,25 @@ function validateLike(v) {
23390
23619
  return lexicons.validate("app.bsky.feed.getLikes#like", v);
23391
23620
  }
23392
23621
 
23622
+ // src/client/types/app/bsky/feed/getListFeed.ts
23623
+ var getListFeed_exports = {};
23624
+ __export(getListFeed_exports, {
23625
+ UnknownListError: () => UnknownListError,
23626
+ toKnownErr: () => toKnownErr73
23627
+ });
23628
+ var UnknownListError = class extends XRPCError {
23629
+ constructor(src2) {
23630
+ super(src2.status, src2.error, src2.message, src2.headers);
23631
+ }
23632
+ };
23633
+ function toKnownErr73(e) {
23634
+ if (e instanceof XRPCError) {
23635
+ if (e.error === "UnknownList")
23636
+ return new UnknownListError(e);
23637
+ }
23638
+ return e;
23639
+ }
23640
+
23393
23641
  // src/client/types/app/bsky/feed/getPostThread.ts
23394
23642
  var getPostThread_exports = {};
23395
23643
  __export(getPostThread_exports, {
@@ -23497,12 +23745,23 @@ function toKnownErr82(e) {
23497
23745
  return e;
23498
23746
  }
23499
23747
 
23748
+ // src/client/types/app/bsky/graph/getListBlocks.ts
23749
+ var getListBlocks_exports = {};
23750
+ __export(getListBlocks_exports, {
23751
+ toKnownErr: () => toKnownErr83
23752
+ });
23753
+ function toKnownErr83(e) {
23754
+ if (e instanceof XRPCError) {
23755
+ }
23756
+ return e;
23757
+ }
23758
+
23500
23759
  // src/client/types/app/bsky/graph/getListMutes.ts
23501
23760
  var getListMutes_exports = {};
23502
23761
  __export(getListMutes_exports, {
23503
- toKnownErr: () => toKnownErr83
23762
+ toKnownErr: () => toKnownErr84
23504
23763
  });
23505
- function toKnownErr83(e) {
23764
+ function toKnownErr84(e) {
23506
23765
  if (e instanceof XRPCError) {
23507
23766
  }
23508
23767
  return e;
@@ -23511,9 +23770,9 @@ function toKnownErr83(e) {
23511
23770
  // src/client/types/app/bsky/graph/getLists.ts
23512
23771
  var getLists_exports = {};
23513
23772
  __export(getLists_exports, {
23514
- toKnownErr: () => toKnownErr84
23773
+ toKnownErr: () => toKnownErr85
23515
23774
  });
23516
- function toKnownErr84(e) {
23775
+ function toKnownErr85(e) {
23517
23776
  if (e instanceof XRPCError) {
23518
23777
  }
23519
23778
  return e;
@@ -23522,9 +23781,20 @@ function toKnownErr84(e) {
23522
23781
  // src/client/types/app/bsky/graph/getMutes.ts
23523
23782
  var getMutes_exports = {};
23524
23783
  __export(getMutes_exports, {
23525
- toKnownErr: () => toKnownErr85
23784
+ toKnownErr: () => toKnownErr86
23526
23785
  });
23527
- function toKnownErr85(e) {
23786
+ function toKnownErr86(e) {
23787
+ if (e instanceof XRPCError) {
23788
+ }
23789
+ return e;
23790
+ }
23791
+
23792
+ // src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
23793
+ var getSuggestedFollowsByActor_exports = {};
23794
+ __export(getSuggestedFollowsByActor_exports, {
23795
+ toKnownErr: () => toKnownErr87
23796
+ });
23797
+ function toKnownErr87(e) {
23528
23798
  if (e instanceof XRPCError) {
23529
23799
  }
23530
23800
  return e;
@@ -23533,9 +23803,9 @@ function toKnownErr85(e) {
23533
23803
  // src/client/types/app/bsky/graph/muteActor.ts
23534
23804
  var muteActor_exports = {};
23535
23805
  __export(muteActor_exports, {
23536
- toKnownErr: () => toKnownErr86
23806
+ toKnownErr: () => toKnownErr88
23537
23807
  });
23538
- function toKnownErr86(e) {
23808
+ function toKnownErr88(e) {
23539
23809
  if (e instanceof XRPCError) {
23540
23810
  }
23541
23811
  return e;
@@ -23544,9 +23814,9 @@ function toKnownErr86(e) {
23544
23814
  // src/client/types/app/bsky/graph/muteActorList.ts
23545
23815
  var muteActorList_exports = {};
23546
23816
  __export(muteActorList_exports, {
23547
- toKnownErr: () => toKnownErr87
23817
+ toKnownErr: () => toKnownErr89
23548
23818
  });
23549
- function toKnownErr87(e) {
23819
+ function toKnownErr89(e) {
23550
23820
  if (e instanceof XRPCError) {
23551
23821
  }
23552
23822
  return e;
@@ -23555,9 +23825,9 @@ function toKnownErr87(e) {
23555
23825
  // src/client/types/app/bsky/graph/unmuteActor.ts
23556
23826
  var unmuteActor_exports = {};
23557
23827
  __export(unmuteActor_exports, {
23558
- toKnownErr: () => toKnownErr88
23828
+ toKnownErr: () => toKnownErr90
23559
23829
  });
23560
- function toKnownErr88(e) {
23830
+ function toKnownErr90(e) {
23561
23831
  if (e instanceof XRPCError) {
23562
23832
  }
23563
23833
  return e;
@@ -23566,9 +23836,9 @@ function toKnownErr88(e) {
23566
23836
  // src/client/types/app/bsky/graph/unmuteActorList.ts
23567
23837
  var unmuteActorList_exports = {};
23568
23838
  __export(unmuteActorList_exports, {
23569
- toKnownErr: () => toKnownErr89
23839
+ toKnownErr: () => toKnownErr91
23570
23840
  });
23571
- function toKnownErr89(e) {
23841
+ function toKnownErr91(e) {
23572
23842
  if (e instanceof XRPCError) {
23573
23843
  }
23574
23844
  return e;
@@ -23577,9 +23847,9 @@ function toKnownErr89(e) {
23577
23847
  // src/client/types/app/bsky/notification/getUnreadCount.ts
23578
23848
  var getUnreadCount_exports = {};
23579
23849
  __export(getUnreadCount_exports, {
23580
- toKnownErr: () => toKnownErr90
23850
+ toKnownErr: () => toKnownErr92
23581
23851
  });
23582
- function toKnownErr90(e) {
23852
+ function toKnownErr92(e) {
23583
23853
  if (e instanceof XRPCError) {
23584
23854
  }
23585
23855
  return e;
@@ -23589,10 +23859,10 @@ function toKnownErr90(e) {
23589
23859
  var listNotifications_exports = {};
23590
23860
  __export(listNotifications_exports, {
23591
23861
  isNotification: () => isNotification,
23592
- toKnownErr: () => toKnownErr91,
23862
+ toKnownErr: () => toKnownErr93,
23593
23863
  validateNotification: () => validateNotification
23594
23864
  });
23595
- function toKnownErr91(e) {
23865
+ function toKnownErr93(e) {
23596
23866
  if (e instanceof XRPCError) {
23597
23867
  }
23598
23868
  return e;
@@ -23607,9 +23877,9 @@ function validateNotification(v) {
23607
23877
  // src/client/types/app/bsky/notification/registerPush.ts
23608
23878
  var registerPush_exports = {};
23609
23879
  __export(registerPush_exports, {
23610
- toKnownErr: () => toKnownErr92
23880
+ toKnownErr: () => toKnownErr94
23611
23881
  });
23612
- function toKnownErr92(e) {
23882
+ function toKnownErr94(e) {
23613
23883
  if (e instanceof XRPCError) {
23614
23884
  }
23615
23885
  return e;
@@ -23618,9 +23888,9 @@ function toKnownErr92(e) {
23618
23888
  // src/client/types/app/bsky/notification/updateSeen.ts
23619
23889
  var updateSeen_exports = {};
23620
23890
  __export(updateSeen_exports, {
23621
- toKnownErr: () => toKnownErr93
23891
+ toKnownErr: () => toKnownErr95
23622
23892
  });
23623
- function toKnownErr93(e) {
23893
+ function toKnownErr95(e) {
23624
23894
  if (e instanceof XRPCError) {
23625
23895
  }
23626
23896
  return e;
@@ -23629,9 +23899,9 @@ function toKnownErr93(e) {
23629
23899
  // src/client/types/app/bsky/unspecced/applyLabels.ts
23630
23900
  var applyLabels_exports = {};
23631
23901
  __export(applyLabels_exports, {
23632
- toKnownErr: () => toKnownErr94
23902
+ toKnownErr: () => toKnownErr96
23633
23903
  });
23634
- function toKnownErr94(e) {
23904
+ function toKnownErr96(e) {
23635
23905
  if (e instanceof XRPCError) {
23636
23906
  }
23637
23907
  return e;
@@ -23640,9 +23910,9 @@ function toKnownErr94(e) {
23640
23910
  // src/client/types/app/bsky/unspecced/getPopular.ts
23641
23911
  var getPopular_exports = {};
23642
23912
  __export(getPopular_exports, {
23643
- toKnownErr: () => toKnownErr95
23913
+ toKnownErr: () => toKnownErr97
23644
23914
  });
23645
- function toKnownErr95(e) {
23915
+ function toKnownErr97(e) {
23646
23916
  if (e instanceof XRPCError) {
23647
23917
  }
23648
23918
  return e;
@@ -23651,9 +23921,9 @@ function toKnownErr95(e) {
23651
23921
  // src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
23652
23922
  var getPopularFeedGenerators_exports = {};
23653
23923
  __export(getPopularFeedGenerators_exports, {
23654
- toKnownErr: () => toKnownErr96
23924
+ toKnownErr: () => toKnownErr98
23655
23925
  });
23656
- function toKnownErr96(e) {
23926
+ function toKnownErr98(e) {
23657
23927
  if (e instanceof XRPCError) {
23658
23928
  }
23659
23929
  return e;
@@ -23663,14 +23933,14 @@ function toKnownErr96(e) {
23663
23933
  var getTimelineSkeleton_exports = {};
23664
23934
  __export(getTimelineSkeleton_exports, {
23665
23935
  UnknownFeedError: () => UnknownFeedError3,
23666
- toKnownErr: () => toKnownErr97
23936
+ toKnownErr: () => toKnownErr99
23667
23937
  });
23668
23938
  var UnknownFeedError3 = class extends XRPCError {
23669
23939
  constructor(src2) {
23670
23940
  super(src2.status, src2.error, src2.message, src2.headers);
23671
23941
  }
23672
23942
  };
23673
- function toKnownErr97(e) {
23943
+ function toKnownErr99(e) {
23674
23944
  if (e instanceof XRPCError) {
23675
23945
  if (e.error === "UnknownFeed")
23676
23946
  return new UnknownFeedError3(e);
@@ -24234,7 +24504,9 @@ __export(defs_exports6, {
24234
24504
  isSkeletonFeedPost: () => isSkeletonFeedPost,
24235
24505
  isSkeletonReasonRepost: () => isSkeletonReasonRepost,
24236
24506
  isThreadViewPost: () => isThreadViewPost,
24507
+ isThreadgateView: () => isThreadgateView,
24237
24508
  isViewerState: () => isViewerState2,
24509
+ isViewerThreadState: () => isViewerThreadState,
24238
24510
  validateBlockedAuthor: () => validateBlockedAuthor,
24239
24511
  validateBlockedPost: () => validateBlockedPost,
24240
24512
  validateFeedViewPost: () => validateFeedViewPost,
@@ -24247,7 +24519,9 @@ __export(defs_exports6, {
24247
24519
  validateSkeletonFeedPost: () => validateSkeletonFeedPost,
24248
24520
  validateSkeletonReasonRepost: () => validateSkeletonReasonRepost,
24249
24521
  validateThreadViewPost: () => validateThreadViewPost,
24250
- validateViewerState: () => validateViewerState2
24522
+ validateThreadgateView: () => validateThreadgateView,
24523
+ validateViewerState: () => validateViewerState2,
24524
+ validateViewerThreadState: () => validateViewerThreadState
24251
24525
  });
24252
24526
  function isPostView(v) {
24253
24527
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#postView";
@@ -24303,6 +24577,12 @@ function isBlockedAuthor(v) {
24303
24577
  function validateBlockedAuthor(v) {
24304
24578
  return lexicons.validate("app.bsky.feed.defs#blockedAuthor", v);
24305
24579
  }
24580
+ function isViewerThreadState(v) {
24581
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#viewerThreadState";
24582
+ }
24583
+ function validateViewerThreadState(v) {
24584
+ return lexicons.validate("app.bsky.feed.defs#viewerThreadState", v);
24585
+ }
24306
24586
  function isGeneratorView(v) {
24307
24587
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#generatorView";
24308
24588
  }
@@ -24327,6 +24607,12 @@ function isSkeletonReasonRepost(v) {
24327
24607
  function validateSkeletonReasonRepost(v) {
24328
24608
  return lexicons.validate("app.bsky.feed.defs#skeletonReasonRepost", v);
24329
24609
  }
24610
+ function isThreadgateView(v) {
24611
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#threadgateView";
24612
+ }
24613
+ function validateThreadgateView(v) {
24614
+ return lexicons.validate("app.bsky.feed.defs#threadgateView", v);
24615
+ }
24330
24616
 
24331
24617
  // src/client/types/app/bsky/feed/generator.ts
24332
24618
  var generator_exports = {};
@@ -24404,22 +24690,60 @@ function validateRecord6(v) {
24404
24690
  return lexicons.validate("app.bsky.feed.repost#main", v);
24405
24691
  }
24406
24692
 
24407
- // src/client/types/app/bsky/graph/block.ts
24408
- var block_exports = {};
24409
- __export(block_exports, {
24693
+ // src/client/types/app/bsky/feed/threadgate.ts
24694
+ var threadgate_exports = {};
24695
+ __export(threadgate_exports, {
24696
+ isFollowingRule: () => isFollowingRule,
24697
+ isListRule: () => isListRule,
24698
+ isMentionRule: () => isMentionRule,
24410
24699
  isRecord: () => isRecord7,
24700
+ validateFollowingRule: () => validateFollowingRule,
24701
+ validateListRule: () => validateListRule,
24702
+ validateMentionRule: () => validateMentionRule,
24411
24703
  validateRecord: () => validateRecord7
24412
24704
  });
24413
24705
  function isRecord7(v) {
24414
- return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.block#main" || v.$type === "app.bsky.graph.block");
24706
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.threadgate#main" || v.$type === "app.bsky.feed.threadgate");
24415
24707
  }
24416
24708
  function validateRecord7(v) {
24709
+ return lexicons.validate("app.bsky.feed.threadgate#main", v);
24710
+ }
24711
+ function isMentionRule(v) {
24712
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.threadgate#mentionRule";
24713
+ }
24714
+ function validateMentionRule(v) {
24715
+ return lexicons.validate("app.bsky.feed.threadgate#mentionRule", v);
24716
+ }
24717
+ function isFollowingRule(v) {
24718
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.threadgate#followingRule";
24719
+ }
24720
+ function validateFollowingRule(v) {
24721
+ return lexicons.validate("app.bsky.feed.threadgate#followingRule", v);
24722
+ }
24723
+ function isListRule(v) {
24724
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.threadgate#listRule";
24725
+ }
24726
+ function validateListRule(v) {
24727
+ return lexicons.validate("app.bsky.feed.threadgate#listRule", v);
24728
+ }
24729
+
24730
+ // src/client/types/app/bsky/graph/block.ts
24731
+ var block_exports = {};
24732
+ __export(block_exports, {
24733
+ isRecord: () => isRecord8,
24734
+ validateRecord: () => validateRecord8
24735
+ });
24736
+ function isRecord8(v) {
24737
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.block#main" || v.$type === "app.bsky.graph.block");
24738
+ }
24739
+ function validateRecord8(v) {
24417
24740
  return lexicons.validate("app.bsky.graph.block#main", v);
24418
24741
  }
24419
24742
 
24420
24743
  // src/client/types/app/bsky/graph/defs.ts
24421
24744
  var defs_exports7 = {};
24422
24745
  __export(defs_exports7, {
24746
+ CURATELIST: () => CURATELIST,
24423
24747
  MODLIST: () => MODLIST,
24424
24748
  isListItemView: () => isListItemView,
24425
24749
  isListView: () => isListView,
@@ -24449,6 +24773,7 @@ function validateListItemView(v) {
24449
24773
  return lexicons.validate("app.bsky.graph.defs#listItemView", v);
24450
24774
  }
24451
24775
  var MODLIST = "app.bsky.graph.defs#modlist";
24776
+ var CURATELIST = "app.bsky.graph.defs#curatelist";
24452
24777
  function isListViewerState(v) {
24453
24778
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.defs#listViewerState";
24454
24779
  }
@@ -24459,39 +24784,52 @@ function validateListViewerState(v) {
24459
24784
  // src/client/types/app/bsky/graph/follow.ts
24460
24785
  var follow_exports = {};
24461
24786
  __export(follow_exports, {
24462
- isRecord: () => isRecord8,
24463
- validateRecord: () => validateRecord8
24787
+ isRecord: () => isRecord9,
24788
+ validateRecord: () => validateRecord9
24464
24789
  });
24465
- function isRecord8(v) {
24790
+ function isRecord9(v) {
24466
24791
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.follow#main" || v.$type === "app.bsky.graph.follow");
24467
24792
  }
24468
- function validateRecord8(v) {
24793
+ function validateRecord9(v) {
24469
24794
  return lexicons.validate("app.bsky.graph.follow#main", v);
24470
24795
  }
24471
24796
 
24472
24797
  // src/client/types/app/bsky/graph/list.ts
24473
24798
  var list_exports = {};
24474
24799
  __export(list_exports, {
24475
- isRecord: () => isRecord9,
24476
- validateRecord: () => validateRecord9
24800
+ isRecord: () => isRecord10,
24801
+ validateRecord: () => validateRecord10
24477
24802
  });
24478
- function isRecord9(v) {
24803
+ function isRecord10(v) {
24479
24804
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.list#main" || v.$type === "app.bsky.graph.list");
24480
24805
  }
24481
- function validateRecord9(v) {
24806
+ function validateRecord10(v) {
24482
24807
  return lexicons.validate("app.bsky.graph.list#main", v);
24483
24808
  }
24484
24809
 
24810
+ // src/client/types/app/bsky/graph/listblock.ts
24811
+ var listblock_exports = {};
24812
+ __export(listblock_exports, {
24813
+ isRecord: () => isRecord11,
24814
+ validateRecord: () => validateRecord11
24815
+ });
24816
+ function isRecord11(v) {
24817
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.listblock#main" || v.$type === "app.bsky.graph.listblock");
24818
+ }
24819
+ function validateRecord11(v) {
24820
+ return lexicons.validate("app.bsky.graph.listblock#main", v);
24821
+ }
24822
+
24485
24823
  // src/client/types/app/bsky/graph/listitem.ts
24486
24824
  var listitem_exports = {};
24487
24825
  __export(listitem_exports, {
24488
- isRecord: () => isRecord10,
24489
- validateRecord: () => validateRecord10
24826
+ isRecord: () => isRecord12,
24827
+ validateRecord: () => validateRecord12
24490
24828
  });
24491
- function isRecord10(v) {
24829
+ function isRecord12(v) {
24492
24830
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.listitem#main" || v.$type === "app.bsky.graph.listitem");
24493
24831
  }
24494
- function validateRecord10(v) {
24832
+ function validateRecord12(v) {
24495
24833
  return lexicons.validate("app.bsky.graph.listitem#main", v);
24496
24834
  }
24497
24835
 
@@ -24548,7 +24886,8 @@ var COM_ATPROTO_MODERATION = {
24548
24886
  DefsReasonOther: "com.atproto.moderation.defs#reasonOther"
24549
24887
  };
24550
24888
  var APP_BSKY_GRAPH = {
24551
- DefsModlist: "app.bsky.graph.defs#modlist"
24889
+ DefsModlist: "app.bsky.graph.defs#modlist",
24890
+ DefsCuratelist: "app.bsky.graph.defs#curatelist"
24552
24891
  };
24553
24892
  var AtpBaseClient = class {
24554
24893
  constructor() {
@@ -24586,7 +24925,6 @@ var AtprotoNS = class {
24586
24925
  this.repo = new RepoNS(service);
24587
24926
  this.server = new ServerNS(service);
24588
24927
  this.sync = new SyncNS(service);
24589
- this.temp = new TempNS(service);
24590
24928
  }
24591
24929
  };
24592
24930
  var AdminNS = class {
@@ -24904,16 +25242,6 @@ var SyncNS = class {
24904
25242
  });
24905
25243
  }
24906
25244
  };
24907
- var TempNS = class {
24908
- constructor(service) {
24909
- this._service = service;
24910
- }
24911
- upgradeRepoVersion(data, opts) {
24912
- return this._service.xrpc.call("com.atproto.temp.upgradeRepoVersion", opts?.qp, data, opts).catch((e) => {
24913
- throw toKnownErr57(e);
24914
- });
24915
- }
24916
- };
24917
25245
  var AppNS = class {
24918
25246
  constructor(service) {
24919
25247
  this._service = service;
@@ -24939,37 +25267,37 @@ var ActorNS = class {
24939
25267
  }
24940
25268
  getPreferences(params2, opts) {
24941
25269
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
24942
- throw toKnownErr58(e);
25270
+ throw toKnownErr57(e);
24943
25271
  });
24944
25272
  }
24945
25273
  getProfile(params2, opts) {
24946
25274
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
24947
- throw toKnownErr59(e);
25275
+ throw toKnownErr58(e);
24948
25276
  });
24949
25277
  }
24950
25278
  getProfiles(params2, opts) {
24951
25279
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
24952
- throw toKnownErr60(e);
25280
+ throw toKnownErr59(e);
24953
25281
  });
24954
25282
  }
24955
25283
  getSuggestions(params2, opts) {
24956
25284
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
24957
- throw toKnownErr61(e);
25285
+ throw toKnownErr60(e);
24958
25286
  });
24959
25287
  }
24960
25288
  putPreferences(data, opts) {
24961
25289
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
24962
- throw toKnownErr62(e);
25290
+ throw toKnownErr61(e);
24963
25291
  });
24964
25292
  }
24965
25293
  searchActors(params2, opts) {
24966
25294
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
24967
- throw toKnownErr63(e);
25295
+ throw toKnownErr62(e);
24968
25296
  });
24969
25297
  }
24970
25298
  searchActorsTypeahead(params2, opts) {
24971
25299
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
24972
- throw toKnownErr64(e);
25300
+ throw toKnownErr63(e);
24973
25301
  });
24974
25302
  }
24975
25303
  };
@@ -25012,49 +25340,55 @@ var FeedNS = class {
25012
25340
  this.like = new LikeRecord(service);
25013
25341
  this.post = new PostRecord(service);
25014
25342
  this.repost = new RepostRecord(service);
25343
+ this.threadgate = new ThreadgateRecord(service);
25015
25344
  }
25016
25345
  describeFeedGenerator(params2, opts) {
25017
25346
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
25018
- throw toKnownErr65(e);
25347
+ throw toKnownErr64(e);
25019
25348
  });
25020
25349
  }
25021
25350
  getActorFeeds(params2, opts) {
25022
25351
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
25023
- throw toKnownErr66(e);
25352
+ throw toKnownErr65(e);
25024
25353
  });
25025
25354
  }
25026
25355
  getActorLikes(params2, opts) {
25027
25356
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
25028
- throw toKnownErr67(e);
25357
+ throw toKnownErr66(e);
25029
25358
  });
25030
25359
  }
25031
25360
  getAuthorFeed(params2, opts) {
25032
25361
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
25033
- throw toKnownErr68(e);
25362
+ throw toKnownErr67(e);
25034
25363
  });
25035
25364
  }
25036
25365
  getFeed(params2, opts) {
25037
25366
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
25038
- throw toKnownErr69(e);
25367
+ throw toKnownErr68(e);
25039
25368
  });
25040
25369
  }
25041
25370
  getFeedGenerator(params2, opts) {
25042
25371
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
25043
- throw toKnownErr70(e);
25372
+ throw toKnownErr69(e);
25044
25373
  });
25045
25374
  }
25046
25375
  getFeedGenerators(params2, opts) {
25047
25376
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
25048
- throw toKnownErr71(e);
25377
+ throw toKnownErr70(e);
25049
25378
  });
25050
25379
  }
25051
25380
  getFeedSkeleton(params2, opts) {
25052
25381
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
25053
- throw toKnownErr72(e);
25382
+ throw toKnownErr71(e);
25054
25383
  });
25055
25384
  }
25056
25385
  getLikes(params2, opts) {
25057
25386
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
25387
+ throw toKnownErr72(e);
25388
+ });
25389
+ }
25390
+ getListFeed(params2, opts) {
25391
+ return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
25058
25392
  throw toKnownErr73(e);
25059
25393
  });
25060
25394
  }
@@ -25192,12 +25526,40 @@ var RepostRecord = class {
25192
25526
  await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.feed.repost", ...params2 }, { headers });
25193
25527
  }
25194
25528
  };
25529
+ var ThreadgateRecord = class {
25530
+ constructor(service) {
25531
+ this._service = service;
25532
+ }
25533
+ async list(params2) {
25534
+ const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
25535
+ collection: "app.bsky.feed.threadgate",
25536
+ ...params2
25537
+ });
25538
+ return res.data;
25539
+ }
25540
+ async get(params2) {
25541
+ const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
25542
+ collection: "app.bsky.feed.threadgate",
25543
+ ...params2
25544
+ });
25545
+ return res.data;
25546
+ }
25547
+ async create(params2, record, headers) {
25548
+ record.$type = "app.bsky.feed.threadgate";
25549
+ const res = await this._service.xrpc.call("com.atproto.repo.createRecord", void 0, { collection: "app.bsky.feed.threadgate", ...params2, record }, { encoding: "application/json", headers });
25550
+ return res.data;
25551
+ }
25552
+ async delete(params2, headers) {
25553
+ await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.feed.threadgate", ...params2 }, { headers });
25554
+ }
25555
+ };
25195
25556
  var GraphNS = class {
25196
25557
  constructor(service) {
25197
25558
  this._service = service;
25198
25559
  this.block = new BlockRecord(service);
25199
25560
  this.follow = new FollowRecord(service);
25200
25561
  this.list = new ListRecord(service);
25562
+ this.listblock = new ListblockRecord(service);
25201
25563
  this.listitem = new ListitemRecord(service);
25202
25564
  }
25203
25565
  getBlocks(params2, opts) {
@@ -25220,39 +25582,49 @@ var GraphNS = class {
25220
25582
  throw toKnownErr82(e);
25221
25583
  });
25222
25584
  }
25585
+ getListBlocks(params2, opts) {
25586
+ return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
25587
+ throw toKnownErr83(e);
25588
+ });
25589
+ }
25223
25590
  getListMutes(params2, opts) {
25224
25591
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
25225
- throw toKnownErr83(e);
25592
+ throw toKnownErr84(e);
25226
25593
  });
25227
25594
  }
25228
25595
  getLists(params2, opts) {
25229
25596
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
25230
- throw toKnownErr84(e);
25597
+ throw toKnownErr85(e);
25231
25598
  });
25232
25599
  }
25233
25600
  getMutes(params2, opts) {
25234
25601
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
25235
- throw toKnownErr85(e);
25602
+ throw toKnownErr86(e);
25603
+ });
25604
+ }
25605
+ getSuggestedFollowsByActor(params2, opts) {
25606
+ return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
25607
+ throw toKnownErr87(e);
25236
25608
  });
25237
25609
  }
25238
25610
  muteActor(data, opts) {
25239
25611
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
25240
- throw toKnownErr86(e);
25612
+ throw toKnownErr88(e);
25241
25613
  });
25242
25614
  }
25243
25615
  muteActorList(data, opts) {
25244
25616
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
25245
- throw toKnownErr87(e);
25617
+ throw toKnownErr89(e);
25246
25618
  });
25247
25619
  }
25248
25620
  unmuteActor(data, opts) {
25249
25621
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
25250
- throw toKnownErr88(e);
25622
+ throw toKnownErr90(e);
25251
25623
  });
25252
25624
  }
25253
25625
  unmuteActorList(data, opts) {
25254
25626
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
25255
- throw toKnownErr89(e);
25627
+ throw toKnownErr91(e);
25256
25628
  });
25257
25629
  }
25258
25630
  };
@@ -25337,6 +25709,33 @@ var ListRecord = class {
25337
25709
  await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.graph.list", ...params2 }, { headers });
25338
25710
  }
25339
25711
  };
25712
+ var ListblockRecord = class {
25713
+ constructor(service) {
25714
+ this._service = service;
25715
+ }
25716
+ async list(params2) {
25717
+ const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
25718
+ collection: "app.bsky.graph.listblock",
25719
+ ...params2
25720
+ });
25721
+ return res.data;
25722
+ }
25723
+ async get(params2) {
25724
+ const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
25725
+ collection: "app.bsky.graph.listblock",
25726
+ ...params2
25727
+ });
25728
+ return res.data;
25729
+ }
25730
+ async create(params2, record, headers) {
25731
+ record.$type = "app.bsky.graph.listblock";
25732
+ const res = await this._service.xrpc.call("com.atproto.repo.createRecord", void 0, { collection: "app.bsky.graph.listblock", ...params2, record }, { encoding: "application/json", headers });
25733
+ return res.data;
25734
+ }
25735
+ async delete(params2, headers) {
25736
+ await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.graph.listblock", ...params2 }, { headers });
25737
+ }
25738
+ };
25340
25739
  var ListitemRecord = class {
25341
25740
  constructor(service) {
25342
25741
  this._service = service;
@@ -25370,22 +25769,22 @@ var NotificationNS = class {
25370
25769
  }
25371
25770
  getUnreadCount(params2, opts) {
25372
25771
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
25373
- throw toKnownErr90(e);
25772
+ throw toKnownErr92(e);
25374
25773
  });
25375
25774
  }
25376
25775
  listNotifications(params2, opts) {
25377
25776
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
25378
- throw toKnownErr91(e);
25777
+ throw toKnownErr93(e);
25379
25778
  });
25380
25779
  }
25381
25780
  registerPush(data, opts) {
25382
25781
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
25383
- throw toKnownErr92(e);
25782
+ throw toKnownErr94(e);
25384
25783
  });
25385
25784
  }
25386
25785
  updateSeen(data, opts) {
25387
25786
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
25388
- throw toKnownErr93(e);
25787
+ throw toKnownErr95(e);
25389
25788
  });
25390
25789
  }
25391
25790
  };
@@ -25400,22 +25799,22 @@ var UnspeccedNS = class {
25400
25799
  }
25401
25800
  applyLabels(data, opts) {
25402
25801
  return this._service.xrpc.call("app.bsky.unspecced.applyLabels", opts?.qp, data, opts).catch((e) => {
25403
- throw toKnownErr94(e);
25802
+ throw toKnownErr96(e);
25404
25803
  });
25405
25804
  }
25406
25805
  getPopular(params2, opts) {
25407
25806
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
25408
- throw toKnownErr95(e);
25807
+ throw toKnownErr97(e);
25409
25808
  });
25410
25809
  }
25411
25810
  getPopularFeedGenerators(params2, opts) {
25412
25811
  return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
25413
- throw toKnownErr96(e);
25812
+ throw toKnownErr98(e);
25414
25813
  });
25415
25814
  }
25416
25815
  getTimelineSkeleton(params2, opts) {
25417
25816
  return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
25418
- throw toKnownErr97(e);
25817
+ throw toKnownErr99(e);
25419
25818
  });
25420
25819
  }
25421
25820
  };