@atproto/api 0.3.5 → 0.3.7

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/index.js CHANGED
@@ -8889,7 +8889,14 @@ __export(src_exports4, {
8889
8889
  AppBskyEmbedRecord: () => record_exports,
8890
8890
  AppBskyEmbedRecordWithMedia: () => recordWithMedia_exports,
8891
8891
  AppBskyFeedDefs: () => defs_exports6,
8892
+ AppBskyFeedDescribeFeedGenerator: () => describeFeedGenerator_exports,
8893
+ AppBskyFeedGenerator: () => generator_exports,
8894
+ AppBskyFeedGetActorFeeds: () => getActorFeeds_exports,
8892
8895
  AppBskyFeedGetAuthorFeed: () => getAuthorFeed_exports,
8896
+ AppBskyFeedGetFeed: () => getFeed_exports,
8897
+ AppBskyFeedGetFeedGenerator: () => getFeedGenerator_exports,
8898
+ AppBskyFeedGetFeedGenerators: () => getFeedGenerators_exports,
8899
+ AppBskyFeedGetFeedSkeleton: () => getFeedSkeleton_exports,
8893
8900
  AppBskyFeedGetLikes: () => getLikes_exports,
8894
8901
  AppBskyFeedGetPostThread: () => getPostThread_exports,
8895
8902
  AppBskyFeedGetPosts: () => getPosts_exports,
@@ -8998,6 +9005,7 @@ __export(src_exports4, {
8998
9005
  EmbedNS: () => EmbedNS,
8999
9006
  FeedNS: () => FeedNS,
9000
9007
  FollowRecord: () => FollowRecord,
9008
+ GeneratorRecord: () => GeneratorRecord,
9001
9009
  GraphNS: () => GraphNS,
9002
9010
  IdentityNS: () => IdentityNS,
9003
9011
  LabelNS: () => LabelNS,
@@ -18228,8 +18236,7 @@ var schemaDict = {
18228
18236
  format: "nsid"
18229
18237
  },
18230
18238
  rkey: {
18231
- type: "string",
18232
- maxLength: 15
18239
+ type: "string"
18233
18240
  },
18234
18241
  value: {
18235
18242
  type: "unknown"
@@ -20145,7 +20152,8 @@ var schemaDict = {
20145
20152
  type: "union",
20146
20153
  refs: [
20147
20154
  "lex:app.bsky.actor.defs#adultContentPref",
20148
- "lex:app.bsky.actor.defs#contentLabelPref"
20155
+ "lex:app.bsky.actor.defs#contentLabelPref",
20156
+ "lex:app.bsky.actor.defs#savedFeedsPref"
20149
20157
  ]
20150
20158
  }
20151
20159
  },
@@ -20171,6 +20179,26 @@ var schemaDict = {
20171
20179
  knownValues: ["show", "warn", "hide"]
20172
20180
  }
20173
20181
  }
20182
+ },
20183
+ savedFeedsPref: {
20184
+ type: "object",
20185
+ required: ["pinned", "saved"],
20186
+ properties: {
20187
+ pinned: {
20188
+ type: "array",
20189
+ items: {
20190
+ type: "string",
20191
+ format: "at-uri"
20192
+ }
20193
+ },
20194
+ saved: {
20195
+ type: "array",
20196
+ items: {
20197
+ type: "string",
20198
+ format: "at-uri"
20199
+ }
20200
+ }
20201
+ }
20174
20202
  }
20175
20203
  }
20176
20204
  },
@@ -20608,7 +20636,8 @@ var schemaDict = {
20608
20636
  refs: [
20609
20637
  "lex:app.bsky.embed.record#viewRecord",
20610
20638
  "lex:app.bsky.embed.record#viewNotFound",
20611
- "lex:app.bsky.embed.record#viewBlocked"
20639
+ "lex:app.bsky.embed.record#viewBlocked",
20640
+ "lex:app.bsky.feed.defs#generatorView"
20612
20641
  ]
20613
20642
  }
20614
20643
  }
@@ -20811,12 +20840,20 @@ var schemaDict = {
20811
20840
  required: ["root", "parent"],
20812
20841
  properties: {
20813
20842
  root: {
20814
- type: "ref",
20815
- ref: "lex:app.bsky.feed.defs#postView"
20843
+ type: "union",
20844
+ refs: [
20845
+ "lex:app.bsky.feed.defs#postView",
20846
+ "lex:app.bsky.feed.defs#notFoundPost",
20847
+ "lex:app.bsky.feed.defs#blockedPost"
20848
+ ]
20816
20849
  },
20817
20850
  parent: {
20818
- type: "ref",
20819
- ref: "lex:app.bsky.feed.defs#postView"
20851
+ type: "union",
20852
+ refs: [
20853
+ "lex:app.bsky.feed.defs#postView",
20854
+ "lex:app.bsky.feed.defs#notFoundPost",
20855
+ "lex:app.bsky.feed.defs#blockedPost"
20856
+ ]
20820
20857
  }
20821
20858
  }
20822
20859
  },
@@ -20890,6 +20927,241 @@ var schemaDict = {
20890
20927
  const: true
20891
20928
  }
20892
20929
  }
20930
+ },
20931
+ generatorView: {
20932
+ type: "object",
20933
+ required: ["uri", "cid", "creator", "displayName", "indexedAt"],
20934
+ properties: {
20935
+ uri: {
20936
+ type: "string",
20937
+ format: "at-uri"
20938
+ },
20939
+ cid: {
20940
+ type: "string",
20941
+ format: "cid"
20942
+ },
20943
+ did: {
20944
+ type: "string",
20945
+ format: "did"
20946
+ },
20947
+ creator: {
20948
+ type: "ref",
20949
+ ref: "lex:app.bsky.actor.defs#profileView"
20950
+ },
20951
+ displayName: {
20952
+ type: "string"
20953
+ },
20954
+ description: {
20955
+ type: "string",
20956
+ maxGraphemes: 300,
20957
+ maxLength: 3e3
20958
+ },
20959
+ descriptionFacets: {
20960
+ type: "array",
20961
+ items: {
20962
+ type: "ref",
20963
+ ref: "lex:app.bsky.richtext.facet"
20964
+ }
20965
+ },
20966
+ avatar: {
20967
+ type: "string"
20968
+ },
20969
+ likeCount: {
20970
+ type: "integer",
20971
+ minimum: 0
20972
+ },
20973
+ viewer: {
20974
+ type: "ref",
20975
+ ref: "lex:app.bsky.feed.defs#generatorViewerState"
20976
+ },
20977
+ indexedAt: {
20978
+ type: "string",
20979
+ format: "datetime"
20980
+ }
20981
+ }
20982
+ },
20983
+ generatorViewerState: {
20984
+ type: "object",
20985
+ properties: {
20986
+ like: {
20987
+ type: "string",
20988
+ format: "at-uri"
20989
+ }
20990
+ }
20991
+ },
20992
+ skeletonFeedPost: {
20993
+ type: "object",
20994
+ required: ["post"],
20995
+ properties: {
20996
+ post: {
20997
+ type: "string",
20998
+ format: "at-uri"
20999
+ },
21000
+ reason: {
21001
+ type: "union",
21002
+ refs: ["lex:app.bsky.feed.defs#skeletonReasonRepost"]
21003
+ }
21004
+ }
21005
+ },
21006
+ skeletonReasonRepost: {
21007
+ type: "object",
21008
+ required: ["repost"],
21009
+ properties: {
21010
+ repost: {
21011
+ type: "string",
21012
+ ref: "at-uri"
21013
+ }
21014
+ }
21015
+ }
21016
+ }
21017
+ },
21018
+ AppBskyFeedDescribeFeedGenerator: {
21019
+ lexicon: 1,
21020
+ id: "app.bsky.feed.describeFeedGenerator",
21021
+ defs: {
21022
+ main: {
21023
+ type: "query",
21024
+ description: "Returns information about a given feed generator including TOS & offered feed URIs",
21025
+ output: {
21026
+ encoding: "application/json",
21027
+ schema: {
21028
+ type: "object",
21029
+ required: ["did", "feeds"],
21030
+ properties: {
21031
+ did: {
21032
+ type: "string",
21033
+ format: "did"
21034
+ },
21035
+ feeds: {
21036
+ type: "array",
21037
+ items: {
21038
+ type: "ref",
21039
+ ref: "lex:app.bsky.feed.describeFeedGenerator#feed"
21040
+ }
21041
+ },
21042
+ links: {
21043
+ type: "ref",
21044
+ ref: "lex:app.bsky.feed.describeFeedGenerator#links"
21045
+ }
21046
+ }
21047
+ }
21048
+ }
21049
+ },
21050
+ feed: {
21051
+ type: "object",
21052
+ required: ["uri"],
21053
+ properties: {
21054
+ uri: {
21055
+ type: "string",
21056
+ format: "at-uri"
21057
+ }
21058
+ }
21059
+ },
21060
+ links: {
21061
+ type: "object",
21062
+ properties: {
21063
+ privacyPolicy: {
21064
+ type: "string"
21065
+ },
21066
+ termsOfService: {
21067
+ type: "string"
21068
+ }
21069
+ }
21070
+ }
21071
+ }
21072
+ },
21073
+ AppBskyFeedGenerator: {
21074
+ lexicon: 1,
21075
+ id: "app.bsky.feed.generator",
21076
+ defs: {
21077
+ main: {
21078
+ type: "record",
21079
+ description: "A declaration of the existence of a feed generator",
21080
+ key: "any",
21081
+ record: {
21082
+ type: "object",
21083
+ required: ["did", "displayName", "createdAt"],
21084
+ properties: {
21085
+ did: {
21086
+ type: "string",
21087
+ format: "did"
21088
+ },
21089
+ displayName: {
21090
+ type: "string",
21091
+ maxGraphemes: 24,
21092
+ maxLength: 240
21093
+ },
21094
+ description: {
21095
+ type: "string",
21096
+ maxGraphemes: 300,
21097
+ maxLength: 3e3
21098
+ },
21099
+ descriptionFacets: {
21100
+ type: "array",
21101
+ items: {
21102
+ type: "ref",
21103
+ ref: "lex:app.bsky.richtext.facet"
21104
+ }
21105
+ },
21106
+ avatar: {
21107
+ type: "blob",
21108
+ accept: ["image/png", "image/jpeg"],
21109
+ maxSize: 1e6
21110
+ },
21111
+ createdAt: {
21112
+ type: "string",
21113
+ format: "datetime"
21114
+ }
21115
+ }
21116
+ }
21117
+ }
21118
+ }
21119
+ },
21120
+ AppBskyFeedGetActorFeeds: {
21121
+ lexicon: 1,
21122
+ id: "app.bsky.feed.getActorFeeds",
21123
+ defs: {
21124
+ main: {
21125
+ type: "query",
21126
+ description: "Retrieve a list of feeds created by a given actor",
21127
+ parameters: {
21128
+ type: "params",
21129
+ required: ["actor"],
21130
+ properties: {
21131
+ actor: {
21132
+ type: "string",
21133
+ format: "at-identifier"
21134
+ },
21135
+ limit: {
21136
+ type: "integer",
21137
+ minimum: 1,
21138
+ maximum: 100,
21139
+ default: 50
21140
+ },
21141
+ cursor: {
21142
+ type: "string"
21143
+ }
21144
+ }
21145
+ },
21146
+ output: {
21147
+ encoding: "application/json",
21148
+ schema: {
21149
+ type: "object",
21150
+ required: ["feeds"],
21151
+ properties: {
21152
+ cursor: {
21153
+ type: "string"
21154
+ },
21155
+ feeds: {
21156
+ type: "array",
21157
+ items: {
21158
+ type: "ref",
21159
+ ref: "lex:app.bsky.feed.defs#generatorView"
21160
+ }
21161
+ }
21162
+ }
21163
+ }
21164
+ }
20893
21165
  }
20894
21166
  }
20895
21167
  },
@@ -20949,24 +21221,21 @@ var schemaDict = {
20949
21221
  }
20950
21222
  }
20951
21223
  },
20952
- AppBskyFeedGetLikes: {
21224
+ AppBskyFeedGetFeed: {
20953
21225
  lexicon: 1,
20954
- id: "app.bsky.feed.getLikes",
21226
+ id: "app.bsky.feed.getFeed",
20955
21227
  defs: {
20956
21228
  main: {
20957
21229
  type: "query",
21230
+ description: "Compose and hydrate a feed from a user's selected feed generator",
20958
21231
  parameters: {
20959
21232
  type: "params",
20960
- required: ["uri"],
21233
+ required: ["feed"],
20961
21234
  properties: {
20962
- uri: {
21235
+ feed: {
20963
21236
  type: "string",
20964
21237
  format: "at-uri"
20965
21238
  },
20966
- cid: {
20967
- type: "string",
20968
- format: "cid"
20969
- },
20970
21239
  limit: {
20971
21240
  type: "integer",
20972
21241
  minimum: 1,
@@ -20982,16 +21251,203 @@ var schemaDict = {
20982
21251
  encoding: "application/json",
20983
21252
  schema: {
20984
21253
  type: "object",
20985
- required: ["uri", "likes"],
21254
+ required: ["feed"],
20986
21255
  properties: {
20987
- uri: {
20988
- type: "string",
20989
- format: "at-uri"
20990
- },
20991
- cid: {
20992
- type: "string",
20993
- format: "cid"
20994
- },
21256
+ cursor: {
21257
+ type: "string"
21258
+ },
21259
+ feed: {
21260
+ type: "array",
21261
+ items: {
21262
+ type: "ref",
21263
+ ref: "lex:app.bsky.feed.defs#feedViewPost"
21264
+ }
21265
+ }
21266
+ }
21267
+ }
21268
+ },
21269
+ errors: [
21270
+ {
21271
+ name: "UnknownFeed"
21272
+ }
21273
+ ]
21274
+ }
21275
+ }
21276
+ },
21277
+ AppBskyFeedGetFeedGenerator: {
21278
+ lexicon: 1,
21279
+ id: "app.bsky.feed.getFeedGenerator",
21280
+ defs: {
21281
+ main: {
21282
+ type: "query",
21283
+ description: "Get information about a specific feed offered by a feed generator, such as its online status",
21284
+ parameters: {
21285
+ type: "params",
21286
+ required: ["feed"],
21287
+ properties: {
21288
+ feed: {
21289
+ type: "string",
21290
+ format: "at-uri"
21291
+ }
21292
+ }
21293
+ },
21294
+ output: {
21295
+ encoding: "application/json",
21296
+ schema: {
21297
+ type: "object",
21298
+ required: ["view", "isOnline", "isValid"],
21299
+ properties: {
21300
+ view: {
21301
+ type: "ref",
21302
+ ref: "lex:app.bsky.feed.defs#generatorView"
21303
+ },
21304
+ isOnline: {
21305
+ type: "boolean"
21306
+ },
21307
+ isValid: {
21308
+ type: "boolean"
21309
+ }
21310
+ }
21311
+ }
21312
+ }
21313
+ }
21314
+ }
21315
+ },
21316
+ AppBskyFeedGetFeedGenerators: {
21317
+ lexicon: 1,
21318
+ id: "app.bsky.feed.getFeedGenerators",
21319
+ defs: {
21320
+ main: {
21321
+ type: "query",
21322
+ description: "Get information about a list of feed generators",
21323
+ parameters: {
21324
+ type: "params",
21325
+ required: ["feeds"],
21326
+ properties: {
21327
+ feeds: {
21328
+ type: "array",
21329
+ items: {
21330
+ type: "string",
21331
+ format: "at-uri"
21332
+ }
21333
+ }
21334
+ }
21335
+ },
21336
+ output: {
21337
+ encoding: "application/json",
21338
+ schema: {
21339
+ type: "object",
21340
+ required: ["feeds"],
21341
+ properties: {
21342
+ feeds: {
21343
+ type: "array",
21344
+ items: {
21345
+ type: "ref",
21346
+ ref: "lex:app.bsky.feed.defs#generatorView"
21347
+ }
21348
+ }
21349
+ }
21350
+ }
21351
+ }
21352
+ }
21353
+ }
21354
+ },
21355
+ AppBskyFeedGetFeedSkeleton: {
21356
+ lexicon: 1,
21357
+ id: "app.bsky.feed.getFeedSkeleton",
21358
+ defs: {
21359
+ main: {
21360
+ type: "query",
21361
+ description: "A skeleton of a feed provided by a feed generator",
21362
+ parameters: {
21363
+ type: "params",
21364
+ required: ["feed"],
21365
+ properties: {
21366
+ feed: {
21367
+ type: "string",
21368
+ format: "at-uri"
21369
+ },
21370
+ limit: {
21371
+ type: "integer",
21372
+ minimum: 1,
21373
+ maximum: 100,
21374
+ default: 50
21375
+ },
21376
+ cursor: {
21377
+ type: "string"
21378
+ }
21379
+ }
21380
+ },
21381
+ output: {
21382
+ encoding: "application/json",
21383
+ schema: {
21384
+ type: "object",
21385
+ required: ["feed"],
21386
+ properties: {
21387
+ cursor: {
21388
+ type: "string"
21389
+ },
21390
+ feed: {
21391
+ type: "array",
21392
+ items: {
21393
+ type: "ref",
21394
+ ref: "lex:app.bsky.feed.defs#skeletonFeedPost"
21395
+ }
21396
+ }
21397
+ }
21398
+ }
21399
+ },
21400
+ errors: [
21401
+ {
21402
+ name: "UnknownFeed"
21403
+ }
21404
+ ]
21405
+ }
21406
+ }
21407
+ },
21408
+ AppBskyFeedGetLikes: {
21409
+ lexicon: 1,
21410
+ id: "app.bsky.feed.getLikes",
21411
+ defs: {
21412
+ main: {
21413
+ type: "query",
21414
+ parameters: {
21415
+ type: "params",
21416
+ required: ["uri"],
21417
+ properties: {
21418
+ uri: {
21419
+ type: "string",
21420
+ format: "at-uri"
21421
+ },
21422
+ cid: {
21423
+ type: "string",
21424
+ format: "cid"
21425
+ },
21426
+ limit: {
21427
+ type: "integer",
21428
+ minimum: 1,
21429
+ maximum: 100,
21430
+ default: 50
21431
+ },
21432
+ cursor: {
21433
+ type: "string"
21434
+ }
21435
+ }
21436
+ },
21437
+ output: {
21438
+ encoding: "application/json",
21439
+ schema: {
21440
+ type: "object",
21441
+ required: ["uri", "likes"],
21442
+ properties: {
21443
+ uri: {
21444
+ type: "string",
21445
+ format: "at-uri"
21446
+ },
21447
+ cid: {
21448
+ type: "string",
21449
+ format: "cid"
21450
+ },
20995
21451
  cursor: {
20996
21452
  type: "string"
20997
21453
  },
@@ -23267,12 +23723,50 @@ function toKnownErr63(e) {
23267
23723
  return e;
23268
23724
  }
23269
23725
 
23726
+ // src/client/types/app/bsky/feed/describeFeedGenerator.ts
23727
+ var describeFeedGenerator_exports = {};
23728
+ __export(describeFeedGenerator_exports, {
23729
+ isFeed: () => isFeed,
23730
+ isLinks: () => isLinks2,
23731
+ toKnownErr: () => toKnownErr64,
23732
+ validateFeed: () => validateFeed,
23733
+ validateLinks: () => validateLinks2
23734
+ });
23735
+ function toKnownErr64(e) {
23736
+ if (e instanceof XRPCError) {
23737
+ }
23738
+ return e;
23739
+ }
23740
+ function isFeed(v) {
23741
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.describeFeedGenerator#feed";
23742
+ }
23743
+ function validateFeed(v) {
23744
+ return lexicons.validate("app.bsky.feed.describeFeedGenerator#feed", v);
23745
+ }
23746
+ function isLinks2(v) {
23747
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.describeFeedGenerator#links";
23748
+ }
23749
+ function validateLinks2(v) {
23750
+ return lexicons.validate("app.bsky.feed.describeFeedGenerator#links", v);
23751
+ }
23752
+
23753
+ // src/client/types/app/bsky/feed/getActorFeeds.ts
23754
+ var getActorFeeds_exports = {};
23755
+ __export(getActorFeeds_exports, {
23756
+ toKnownErr: () => toKnownErr65
23757
+ });
23758
+ function toKnownErr65(e) {
23759
+ if (e instanceof XRPCError) {
23760
+ }
23761
+ return e;
23762
+ }
23763
+
23270
23764
  // src/client/types/app/bsky/feed/getAuthorFeed.ts
23271
23765
  var getAuthorFeed_exports = {};
23272
23766
  __export(getAuthorFeed_exports, {
23273
23767
  BlockedActorError: () => BlockedActorError,
23274
23768
  BlockedByActorError: () => BlockedByActorError,
23275
- toKnownErr: () => toKnownErr64
23769
+ toKnownErr: () => toKnownErr66
23276
23770
  });
23277
23771
  var BlockedActorError = class extends XRPCError {
23278
23772
  constructor(src2) {
@@ -23284,7 +23778,7 @@ var BlockedByActorError = class extends XRPCError {
23284
23778
  super(src2.status, src2.error, src2.message);
23285
23779
  }
23286
23780
  };
23287
- function toKnownErr64(e) {
23781
+ function toKnownErr66(e) {
23288
23782
  if (e instanceof XRPCError) {
23289
23783
  if (e.error === "BlockedActor")
23290
23784
  return new BlockedActorError(e);
@@ -23294,14 +23788,74 @@ function toKnownErr64(e) {
23294
23788
  return e;
23295
23789
  }
23296
23790
 
23791
+ // src/client/types/app/bsky/feed/getFeed.ts
23792
+ var getFeed_exports = {};
23793
+ __export(getFeed_exports, {
23794
+ UnknownFeedError: () => UnknownFeedError,
23795
+ toKnownErr: () => toKnownErr67
23796
+ });
23797
+ var UnknownFeedError = class extends XRPCError {
23798
+ constructor(src2) {
23799
+ super(src2.status, src2.error, src2.message);
23800
+ }
23801
+ };
23802
+ function toKnownErr67(e) {
23803
+ if (e instanceof XRPCError) {
23804
+ if (e.error === "UnknownFeed")
23805
+ return new UnknownFeedError(e);
23806
+ }
23807
+ return e;
23808
+ }
23809
+
23810
+ // src/client/types/app/bsky/feed/getFeedGenerator.ts
23811
+ var getFeedGenerator_exports = {};
23812
+ __export(getFeedGenerator_exports, {
23813
+ toKnownErr: () => toKnownErr68
23814
+ });
23815
+ function toKnownErr68(e) {
23816
+ if (e instanceof XRPCError) {
23817
+ }
23818
+ return e;
23819
+ }
23820
+
23821
+ // src/client/types/app/bsky/feed/getFeedGenerators.ts
23822
+ var getFeedGenerators_exports = {};
23823
+ __export(getFeedGenerators_exports, {
23824
+ toKnownErr: () => toKnownErr69
23825
+ });
23826
+ function toKnownErr69(e) {
23827
+ if (e instanceof XRPCError) {
23828
+ }
23829
+ return e;
23830
+ }
23831
+
23832
+ // src/client/types/app/bsky/feed/getFeedSkeleton.ts
23833
+ var getFeedSkeleton_exports = {};
23834
+ __export(getFeedSkeleton_exports, {
23835
+ UnknownFeedError: () => UnknownFeedError2,
23836
+ toKnownErr: () => toKnownErr70
23837
+ });
23838
+ var UnknownFeedError2 = class extends XRPCError {
23839
+ constructor(src2) {
23840
+ super(src2.status, src2.error, src2.message);
23841
+ }
23842
+ };
23843
+ function toKnownErr70(e) {
23844
+ if (e instanceof XRPCError) {
23845
+ if (e.error === "UnknownFeed")
23846
+ return new UnknownFeedError2(e);
23847
+ }
23848
+ return e;
23849
+ }
23850
+
23297
23851
  // src/client/types/app/bsky/feed/getLikes.ts
23298
23852
  var getLikes_exports = {};
23299
23853
  __export(getLikes_exports, {
23300
23854
  isLike: () => isLike,
23301
- toKnownErr: () => toKnownErr65,
23855
+ toKnownErr: () => toKnownErr71,
23302
23856
  validateLike: () => validateLike
23303
23857
  });
23304
- function toKnownErr65(e) {
23858
+ function toKnownErr71(e) {
23305
23859
  if (e instanceof XRPCError) {
23306
23860
  }
23307
23861
  return e;
@@ -23317,14 +23871,14 @@ function validateLike(v) {
23317
23871
  var getPostThread_exports = {};
23318
23872
  __export(getPostThread_exports, {
23319
23873
  NotFoundError: () => NotFoundError,
23320
- toKnownErr: () => toKnownErr66
23874
+ toKnownErr: () => toKnownErr72
23321
23875
  });
23322
23876
  var NotFoundError = class extends XRPCError {
23323
23877
  constructor(src2) {
23324
23878
  super(src2.status, src2.error, src2.message);
23325
23879
  }
23326
23880
  };
23327
- function toKnownErr66(e) {
23881
+ function toKnownErr72(e) {
23328
23882
  if (e instanceof XRPCError) {
23329
23883
  if (e.error === "NotFound")
23330
23884
  return new NotFoundError(e);
@@ -23335,9 +23889,9 @@ function toKnownErr66(e) {
23335
23889
  // src/client/types/app/bsky/feed/getPosts.ts
23336
23890
  var getPosts_exports = {};
23337
23891
  __export(getPosts_exports, {
23338
- toKnownErr: () => toKnownErr67
23892
+ toKnownErr: () => toKnownErr73
23339
23893
  });
23340
- function toKnownErr67(e) {
23894
+ function toKnownErr73(e) {
23341
23895
  if (e instanceof XRPCError) {
23342
23896
  }
23343
23897
  return e;
@@ -23346,9 +23900,9 @@ function toKnownErr67(e) {
23346
23900
  // src/client/types/app/bsky/feed/getRepostedBy.ts
23347
23901
  var getRepostedBy_exports = {};
23348
23902
  __export(getRepostedBy_exports, {
23349
- toKnownErr: () => toKnownErr68
23903
+ toKnownErr: () => toKnownErr74
23350
23904
  });
23351
- function toKnownErr68(e) {
23905
+ function toKnownErr74(e) {
23352
23906
  if (e instanceof XRPCError) {
23353
23907
  }
23354
23908
  return e;
@@ -23357,9 +23911,9 @@ function toKnownErr68(e) {
23357
23911
  // src/client/types/app/bsky/feed/getTimeline.ts
23358
23912
  var getTimeline_exports = {};
23359
23913
  __export(getTimeline_exports, {
23360
- toKnownErr: () => toKnownErr69
23914
+ toKnownErr: () => toKnownErr75
23361
23915
  });
23362
- function toKnownErr69(e) {
23916
+ function toKnownErr75(e) {
23363
23917
  if (e instanceof XRPCError) {
23364
23918
  }
23365
23919
  return e;
@@ -23368,9 +23922,9 @@ function toKnownErr69(e) {
23368
23922
  // src/client/types/app/bsky/graph/getBlocks.ts
23369
23923
  var getBlocks_exports2 = {};
23370
23924
  __export(getBlocks_exports2, {
23371
- toKnownErr: () => toKnownErr70
23925
+ toKnownErr: () => toKnownErr76
23372
23926
  });
23373
- function toKnownErr70(e) {
23927
+ function toKnownErr76(e) {
23374
23928
  if (e instanceof XRPCError) {
23375
23929
  }
23376
23930
  return e;
@@ -23379,9 +23933,9 @@ function toKnownErr70(e) {
23379
23933
  // src/client/types/app/bsky/graph/getFollowers.ts
23380
23934
  var getFollowers_exports = {};
23381
23935
  __export(getFollowers_exports, {
23382
- toKnownErr: () => toKnownErr71
23936
+ toKnownErr: () => toKnownErr77
23383
23937
  });
23384
- function toKnownErr71(e) {
23938
+ function toKnownErr77(e) {
23385
23939
  if (e instanceof XRPCError) {
23386
23940
  }
23387
23941
  return e;
@@ -23390,9 +23944,9 @@ function toKnownErr71(e) {
23390
23944
  // src/client/types/app/bsky/graph/getFollows.ts
23391
23945
  var getFollows_exports = {};
23392
23946
  __export(getFollows_exports, {
23393
- toKnownErr: () => toKnownErr72
23947
+ toKnownErr: () => toKnownErr78
23394
23948
  });
23395
- function toKnownErr72(e) {
23949
+ function toKnownErr78(e) {
23396
23950
  if (e instanceof XRPCError) {
23397
23951
  }
23398
23952
  return e;
@@ -23401,9 +23955,9 @@ function toKnownErr72(e) {
23401
23955
  // src/client/types/app/bsky/graph/getList.ts
23402
23956
  var getList_exports = {};
23403
23957
  __export(getList_exports, {
23404
- toKnownErr: () => toKnownErr73
23958
+ toKnownErr: () => toKnownErr79
23405
23959
  });
23406
- function toKnownErr73(e) {
23960
+ function toKnownErr79(e) {
23407
23961
  if (e instanceof XRPCError) {
23408
23962
  }
23409
23963
  return e;
@@ -23412,9 +23966,9 @@ function toKnownErr73(e) {
23412
23966
  // src/client/types/app/bsky/graph/getListMutes.ts
23413
23967
  var getListMutes_exports = {};
23414
23968
  __export(getListMutes_exports, {
23415
- toKnownErr: () => toKnownErr74
23969
+ toKnownErr: () => toKnownErr80
23416
23970
  });
23417
- function toKnownErr74(e) {
23971
+ function toKnownErr80(e) {
23418
23972
  if (e instanceof XRPCError) {
23419
23973
  }
23420
23974
  return e;
@@ -23423,9 +23977,9 @@ function toKnownErr74(e) {
23423
23977
  // src/client/types/app/bsky/graph/getLists.ts
23424
23978
  var getLists_exports = {};
23425
23979
  __export(getLists_exports, {
23426
- toKnownErr: () => toKnownErr75
23980
+ toKnownErr: () => toKnownErr81
23427
23981
  });
23428
- function toKnownErr75(e) {
23982
+ function toKnownErr81(e) {
23429
23983
  if (e instanceof XRPCError) {
23430
23984
  }
23431
23985
  return e;
@@ -23434,9 +23988,9 @@ function toKnownErr75(e) {
23434
23988
  // src/client/types/app/bsky/graph/getMutes.ts
23435
23989
  var getMutes_exports = {};
23436
23990
  __export(getMutes_exports, {
23437
- toKnownErr: () => toKnownErr76
23991
+ toKnownErr: () => toKnownErr82
23438
23992
  });
23439
- function toKnownErr76(e) {
23993
+ function toKnownErr82(e) {
23440
23994
  if (e instanceof XRPCError) {
23441
23995
  }
23442
23996
  return e;
@@ -23445,9 +23999,9 @@ function toKnownErr76(e) {
23445
23999
  // src/client/types/app/bsky/graph/muteActor.ts
23446
24000
  var muteActor_exports = {};
23447
24001
  __export(muteActor_exports, {
23448
- toKnownErr: () => toKnownErr77
24002
+ toKnownErr: () => toKnownErr83
23449
24003
  });
23450
- function toKnownErr77(e) {
24004
+ function toKnownErr83(e) {
23451
24005
  if (e instanceof XRPCError) {
23452
24006
  }
23453
24007
  return e;
@@ -23456,9 +24010,9 @@ function toKnownErr77(e) {
23456
24010
  // src/client/types/app/bsky/graph/muteActorList.ts
23457
24011
  var muteActorList_exports = {};
23458
24012
  __export(muteActorList_exports, {
23459
- toKnownErr: () => toKnownErr78
24013
+ toKnownErr: () => toKnownErr84
23460
24014
  });
23461
- function toKnownErr78(e) {
24015
+ function toKnownErr84(e) {
23462
24016
  if (e instanceof XRPCError) {
23463
24017
  }
23464
24018
  return e;
@@ -23467,9 +24021,9 @@ function toKnownErr78(e) {
23467
24021
  // src/client/types/app/bsky/graph/unmuteActor.ts
23468
24022
  var unmuteActor_exports = {};
23469
24023
  __export(unmuteActor_exports, {
23470
- toKnownErr: () => toKnownErr79
24024
+ toKnownErr: () => toKnownErr85
23471
24025
  });
23472
- function toKnownErr79(e) {
24026
+ function toKnownErr85(e) {
23473
24027
  if (e instanceof XRPCError) {
23474
24028
  }
23475
24029
  return e;
@@ -23478,9 +24032,9 @@ function toKnownErr79(e) {
23478
24032
  // src/client/types/app/bsky/graph/unmuteActorList.ts
23479
24033
  var unmuteActorList_exports = {};
23480
24034
  __export(unmuteActorList_exports, {
23481
- toKnownErr: () => toKnownErr80
24035
+ toKnownErr: () => toKnownErr86
23482
24036
  });
23483
- function toKnownErr80(e) {
24037
+ function toKnownErr86(e) {
23484
24038
  if (e instanceof XRPCError) {
23485
24039
  }
23486
24040
  return e;
@@ -23489,9 +24043,9 @@ function toKnownErr80(e) {
23489
24043
  // src/client/types/app/bsky/notification/getUnreadCount.ts
23490
24044
  var getUnreadCount_exports = {};
23491
24045
  __export(getUnreadCount_exports, {
23492
- toKnownErr: () => toKnownErr81
24046
+ toKnownErr: () => toKnownErr87
23493
24047
  });
23494
- function toKnownErr81(e) {
24048
+ function toKnownErr87(e) {
23495
24049
  if (e instanceof XRPCError) {
23496
24050
  }
23497
24051
  return e;
@@ -23501,10 +24055,10 @@ function toKnownErr81(e) {
23501
24055
  var listNotifications_exports = {};
23502
24056
  __export(listNotifications_exports, {
23503
24057
  isNotification: () => isNotification,
23504
- toKnownErr: () => toKnownErr82,
24058
+ toKnownErr: () => toKnownErr88,
23505
24059
  validateNotification: () => validateNotification
23506
24060
  });
23507
- function toKnownErr82(e) {
24061
+ function toKnownErr88(e) {
23508
24062
  if (e instanceof XRPCError) {
23509
24063
  }
23510
24064
  return e;
@@ -23522,9 +24076,9 @@ function validateNotification(v) {
23522
24076
  // src/client/types/app/bsky/notification/updateSeen.ts
23523
24077
  var updateSeen_exports = {};
23524
24078
  __export(updateSeen_exports, {
23525
- toKnownErr: () => toKnownErr83
24079
+ toKnownErr: () => toKnownErr89
23526
24080
  });
23527
- function toKnownErr83(e) {
24081
+ function toKnownErr89(e) {
23528
24082
  if (e instanceof XRPCError) {
23529
24083
  }
23530
24084
  return e;
@@ -23533,9 +24087,9 @@ function toKnownErr83(e) {
23533
24087
  // src/client/types/app/bsky/unspecced/getPopular.ts
23534
24088
  var getPopular_exports = {};
23535
24089
  __export(getPopular_exports, {
23536
- toKnownErr: () => toKnownErr84
24090
+ toKnownErr: () => toKnownErr90
23537
24091
  });
23538
- function toKnownErr84(e) {
24092
+ function toKnownErr90(e) {
23539
24093
  if (e instanceof XRPCError) {
23540
24094
  }
23541
24095
  return e;
@@ -23844,12 +24398,14 @@ __export(defs_exports5, {
23844
24398
  isProfileView: () => isProfileView,
23845
24399
  isProfileViewBasic: () => isProfileViewBasic,
23846
24400
  isProfileViewDetailed: () => isProfileViewDetailed,
24401
+ isSavedFeedsPref: () => isSavedFeedsPref,
23847
24402
  isViewerState: () => isViewerState,
23848
24403
  validateAdultContentPref: () => validateAdultContentPref,
23849
24404
  validateContentLabelPref: () => validateContentLabelPref,
23850
24405
  validateProfileView: () => validateProfileView,
23851
24406
  validateProfileViewBasic: () => validateProfileViewBasic,
23852
24407
  validateProfileViewDetailed: () => validateProfileViewDetailed,
24408
+ validateSavedFeedsPref: () => validateSavedFeedsPref,
23853
24409
  validateViewerState: () => validateViewerState
23854
24410
  });
23855
24411
  function isProfileViewBasic(v) {
@@ -23888,6 +24444,12 @@ function isContentLabelPref(v) {
23888
24444
  function validateContentLabelPref(v) {
23889
24445
  return lexicons.validate("app.bsky.actor.defs#contentLabelPref", v);
23890
24446
  }
24447
+ function isSavedFeedsPref(v) {
24448
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.defs#savedFeedsPref";
24449
+ }
24450
+ function validateSavedFeedsPref(v) {
24451
+ return lexicons.validate("app.bsky.actor.defs#savedFeedsPref", v);
24452
+ }
23891
24453
 
23892
24454
  // src/client/types/app/bsky/actor/profile.ts
23893
24455
  var profile_exports = {};
@@ -24047,18 +24609,26 @@ var defs_exports6 = {};
24047
24609
  __export(defs_exports6, {
24048
24610
  isBlockedPost: () => isBlockedPost,
24049
24611
  isFeedViewPost: () => isFeedViewPost,
24612
+ isGeneratorView: () => isGeneratorView,
24613
+ isGeneratorViewerState: () => isGeneratorViewerState,
24050
24614
  isNotFoundPost: () => isNotFoundPost,
24051
24615
  isPostView: () => isPostView,
24052
24616
  isReasonRepost: () => isReasonRepost,
24053
24617
  isReplyRef: () => isReplyRef,
24618
+ isSkeletonFeedPost: () => isSkeletonFeedPost,
24619
+ isSkeletonReasonRepost: () => isSkeletonReasonRepost,
24054
24620
  isThreadViewPost: () => isThreadViewPost,
24055
24621
  isViewerState: () => isViewerState2,
24056
24622
  validateBlockedPost: () => validateBlockedPost,
24057
24623
  validateFeedViewPost: () => validateFeedViewPost,
24624
+ validateGeneratorView: () => validateGeneratorView,
24625
+ validateGeneratorViewerState: () => validateGeneratorViewerState,
24058
24626
  validateNotFoundPost: () => validateNotFoundPost,
24059
24627
  validatePostView: () => validatePostView,
24060
24628
  validateReasonRepost: () => validateReasonRepost,
24061
24629
  validateReplyRef: () => validateReplyRef,
24630
+ validateSkeletonFeedPost: () => validateSkeletonFeedPost,
24631
+ validateSkeletonReasonRepost: () => validateSkeletonReasonRepost,
24062
24632
  validateThreadViewPost: () => validateThreadViewPost,
24063
24633
  validateViewerState: () => validateViewerState2
24064
24634
  });
@@ -24110,17 +24680,54 @@ function isBlockedPost(v) {
24110
24680
  function validateBlockedPost(v) {
24111
24681
  return lexicons.validate("app.bsky.feed.defs#blockedPost", v);
24112
24682
  }
24683
+ function isGeneratorView(v) {
24684
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#generatorView";
24685
+ }
24686
+ function validateGeneratorView(v) {
24687
+ return lexicons.validate("app.bsky.feed.defs#generatorView", v);
24688
+ }
24689
+ function isGeneratorViewerState(v) {
24690
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#generatorViewerState";
24691
+ }
24692
+ function validateGeneratorViewerState(v) {
24693
+ return lexicons.validate("app.bsky.feed.defs#generatorViewerState", v);
24694
+ }
24695
+ function isSkeletonFeedPost(v) {
24696
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#skeletonFeedPost";
24697
+ }
24698
+ function validateSkeletonFeedPost(v) {
24699
+ return lexicons.validate("app.bsky.feed.defs#skeletonFeedPost", v);
24700
+ }
24701
+ function isSkeletonReasonRepost(v) {
24702
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#skeletonReasonRepost";
24703
+ }
24704
+ function validateSkeletonReasonRepost(v) {
24705
+ return lexicons.validate("app.bsky.feed.defs#skeletonReasonRepost", v);
24706
+ }
24113
24707
 
24114
- // src/client/types/app/bsky/feed/like.ts
24115
- var like_exports = {};
24116
- __export(like_exports, {
24708
+ // src/client/types/app/bsky/feed/generator.ts
24709
+ var generator_exports = {};
24710
+ __export(generator_exports, {
24117
24711
  isRecord: () => isRecord3,
24118
24712
  validateRecord: () => validateRecord3
24119
24713
  });
24120
24714
  function isRecord3(v) {
24121
- return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.like#main" || v.$type === "app.bsky.feed.like");
24715
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.generator#main" || v.$type === "app.bsky.feed.generator");
24122
24716
  }
24123
24717
  function validateRecord3(v) {
24718
+ return lexicons.validate("app.bsky.feed.generator#main", v);
24719
+ }
24720
+
24721
+ // src/client/types/app/bsky/feed/like.ts
24722
+ var like_exports = {};
24723
+ __export(like_exports, {
24724
+ isRecord: () => isRecord4,
24725
+ validateRecord: () => validateRecord4
24726
+ });
24727
+ function isRecord4(v) {
24728
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.like#main" || v.$type === "app.bsky.feed.like");
24729
+ }
24730
+ function validateRecord4(v) {
24124
24731
  return lexicons.validate("app.bsky.feed.like#main", v);
24125
24732
  }
24126
24733
 
@@ -24128,18 +24735,18 @@ function validateRecord3(v) {
24128
24735
  var post_exports = {};
24129
24736
  __export(post_exports, {
24130
24737
  isEntity: () => isEntity,
24131
- isRecord: () => isRecord4,
24738
+ isRecord: () => isRecord5,
24132
24739
  isReplyRef: () => isReplyRef2,
24133
24740
  isTextSlice: () => isTextSlice,
24134
24741
  validateEntity: () => validateEntity,
24135
- validateRecord: () => validateRecord4,
24742
+ validateRecord: () => validateRecord5,
24136
24743
  validateReplyRef: () => validateReplyRef2,
24137
24744
  validateTextSlice: () => validateTextSlice
24138
24745
  });
24139
- function isRecord4(v) {
24746
+ function isRecord5(v) {
24140
24747
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.post#main" || v.$type === "app.bsky.feed.post");
24141
24748
  }
24142
- function validateRecord4(v) {
24749
+ function validateRecord5(v) {
24143
24750
  return lexicons.validate("app.bsky.feed.post#main", v);
24144
24751
  }
24145
24752
  function isReplyRef2(v) {
@@ -24164,26 +24771,26 @@ function validateTextSlice(v) {
24164
24771
  // src/client/types/app/bsky/feed/repost.ts
24165
24772
  var repost_exports = {};
24166
24773
  __export(repost_exports, {
24167
- isRecord: () => isRecord5,
24168
- validateRecord: () => validateRecord5
24774
+ isRecord: () => isRecord6,
24775
+ validateRecord: () => validateRecord6
24169
24776
  });
24170
- function isRecord5(v) {
24777
+ function isRecord6(v) {
24171
24778
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.repost#main" || v.$type === "app.bsky.feed.repost");
24172
24779
  }
24173
- function validateRecord5(v) {
24780
+ function validateRecord6(v) {
24174
24781
  return lexicons.validate("app.bsky.feed.repost#main", v);
24175
24782
  }
24176
24783
 
24177
24784
  // src/client/types/app/bsky/graph/block.ts
24178
24785
  var block_exports = {};
24179
24786
  __export(block_exports, {
24180
- isRecord: () => isRecord6,
24181
- validateRecord: () => validateRecord6
24787
+ isRecord: () => isRecord7,
24788
+ validateRecord: () => validateRecord7
24182
24789
  });
24183
- function isRecord6(v) {
24790
+ function isRecord7(v) {
24184
24791
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.block#main" || v.$type === "app.bsky.graph.block");
24185
24792
  }
24186
- function validateRecord6(v) {
24793
+ function validateRecord7(v) {
24187
24794
  return lexicons.validate("app.bsky.graph.block#main", v);
24188
24795
  }
24189
24796
 
@@ -24229,39 +24836,39 @@ function validateListViewerState(v) {
24229
24836
  // src/client/types/app/bsky/graph/follow.ts
24230
24837
  var follow_exports = {};
24231
24838
  __export(follow_exports, {
24232
- isRecord: () => isRecord7,
24233
- validateRecord: () => validateRecord7
24839
+ isRecord: () => isRecord8,
24840
+ validateRecord: () => validateRecord8
24234
24841
  });
24235
- function isRecord7(v) {
24842
+ function isRecord8(v) {
24236
24843
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.follow#main" || v.$type === "app.bsky.graph.follow");
24237
24844
  }
24238
- function validateRecord7(v) {
24845
+ function validateRecord8(v) {
24239
24846
  return lexicons.validate("app.bsky.graph.follow#main", v);
24240
24847
  }
24241
24848
 
24242
24849
  // src/client/types/app/bsky/graph/list.ts
24243
24850
  var list_exports = {};
24244
24851
  __export(list_exports, {
24245
- isRecord: () => isRecord8,
24246
- validateRecord: () => validateRecord8
24852
+ isRecord: () => isRecord9,
24853
+ validateRecord: () => validateRecord9
24247
24854
  });
24248
- function isRecord8(v) {
24855
+ function isRecord9(v) {
24249
24856
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.list#main" || v.$type === "app.bsky.graph.list");
24250
24857
  }
24251
- function validateRecord8(v) {
24858
+ function validateRecord9(v) {
24252
24859
  return lexicons.validate("app.bsky.graph.list#main", v);
24253
24860
  }
24254
24861
 
24255
24862
  // src/client/types/app/bsky/graph/listitem.ts
24256
24863
  var listitem_exports = {};
24257
24864
  __export(listitem_exports, {
24258
- isRecord: () => isRecord9,
24259
- validateRecord: () => validateRecord9
24865
+ isRecord: () => isRecord10,
24866
+ validateRecord: () => validateRecord10
24260
24867
  });
24261
- function isRecord9(v) {
24868
+ function isRecord10(v) {
24262
24869
  return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.listitem#main" || v.$type === "app.bsky.graph.listitem");
24263
24870
  }
24264
- function validateRecord9(v) {
24871
+ function validateRecord10(v) {
24265
24872
  return lexicons.validate("app.bsky.graph.listitem#main", v);
24266
24873
  }
24267
24874
 
@@ -24777,41 +25384,109 @@ var EmbedNS = class {
24777
25384
  var FeedNS = class {
24778
25385
  constructor(service) {
24779
25386
  this._service = service;
25387
+ this.generator = new GeneratorRecord(service);
24780
25388
  this.like = new LikeRecord(service);
24781
25389
  this.post = new PostRecord(service);
24782
25390
  this.repost = new RepostRecord(service);
24783
25391
  }
25392
+ describeFeedGenerator(params2, opts) {
25393
+ return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
25394
+ throw toKnownErr64(e);
25395
+ });
25396
+ }
25397
+ getActorFeeds(params2, opts) {
25398
+ return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
25399
+ throw toKnownErr65(e);
25400
+ });
25401
+ }
24784
25402
  getAuthorFeed(params2, opts) {
24785
25403
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
24786
- throw toKnownErr64(e);
25404
+ throw toKnownErr66(e);
25405
+ });
25406
+ }
25407
+ getFeed(params2, opts) {
25408
+ return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
25409
+ throw toKnownErr67(e);
25410
+ });
25411
+ }
25412
+ getFeedGenerator(params2, opts) {
25413
+ return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
25414
+ throw toKnownErr68(e);
25415
+ });
25416
+ }
25417
+ getFeedGenerators(params2, opts) {
25418
+ return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
25419
+ throw toKnownErr69(e);
25420
+ });
25421
+ }
25422
+ getFeedSkeleton(params2, opts) {
25423
+ return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
25424
+ throw toKnownErr70(e);
24787
25425
  });
24788
25426
  }
24789
25427
  getLikes(params2, opts) {
24790
25428
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
24791
- throw toKnownErr65(e);
25429
+ throw toKnownErr71(e);
24792
25430
  });
24793
25431
  }
24794
25432
  getPostThread(params2, opts) {
24795
25433
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
24796
- throw toKnownErr66(e);
25434
+ throw toKnownErr72(e);
24797
25435
  });
24798
25436
  }
24799
25437
  getPosts(params2, opts) {
24800
25438
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
24801
- throw toKnownErr67(e);
25439
+ throw toKnownErr73(e);
24802
25440
  });
24803
25441
  }
24804
25442
  getRepostedBy(params2, opts) {
24805
25443
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
24806
- throw toKnownErr68(e);
25444
+ throw toKnownErr74(e);
24807
25445
  });
24808
25446
  }
24809
25447
  getTimeline(params2, opts) {
24810
25448
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
24811
- throw toKnownErr69(e);
25449
+ throw toKnownErr75(e);
24812
25450
  });
24813
25451
  }
24814
25452
  };
25453
+ var GeneratorRecord = class {
25454
+ constructor(service) {
25455
+ this._service = service;
25456
+ }
25457
+ async list(params2) {
25458
+ const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
25459
+ collection: "app.bsky.feed.generator",
25460
+ ...params2
25461
+ });
25462
+ return res.data;
25463
+ }
25464
+ async get(params2) {
25465
+ const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
25466
+ collection: "app.bsky.feed.generator",
25467
+ ...params2
25468
+ });
25469
+ return res.data;
25470
+ }
25471
+ async create(params2, record, headers) {
25472
+ record.$type = "app.bsky.feed.generator";
25473
+ const res = await this._service.xrpc.call(
25474
+ "com.atproto.repo.createRecord",
25475
+ void 0,
25476
+ { collection: "app.bsky.feed.generator", ...params2, record },
25477
+ { encoding: "application/json", headers }
25478
+ );
25479
+ return res.data;
25480
+ }
25481
+ async delete(params2, headers) {
25482
+ await this._service.xrpc.call(
25483
+ "com.atproto.repo.deleteRecord",
25484
+ void 0,
25485
+ { collection: "app.bsky.feed.generator", ...params2 },
25486
+ { headers }
25487
+ );
25488
+ }
25489
+ };
24815
25490
  var LikeRecord = class {
24816
25491
  constructor(service) {
24817
25492
  this._service = service;
@@ -24933,57 +25608,57 @@ var GraphNS = class {
24933
25608
  }
24934
25609
  getBlocks(params2, opts) {
24935
25610
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
24936
- throw toKnownErr70(e);
25611
+ throw toKnownErr76(e);
24937
25612
  });
24938
25613
  }
24939
25614
  getFollowers(params2, opts) {
24940
25615
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
24941
- throw toKnownErr71(e);
25616
+ throw toKnownErr77(e);
24942
25617
  });
24943
25618
  }
24944
25619
  getFollows(params2, opts) {
24945
25620
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
24946
- throw toKnownErr72(e);
25621
+ throw toKnownErr78(e);
24947
25622
  });
24948
25623
  }
24949
25624
  getList(params2, opts) {
24950
25625
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
24951
- throw toKnownErr73(e);
25626
+ throw toKnownErr79(e);
24952
25627
  });
24953
25628
  }
24954
25629
  getListMutes(params2, opts) {
24955
25630
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
24956
- throw toKnownErr74(e);
25631
+ throw toKnownErr80(e);
24957
25632
  });
24958
25633
  }
24959
25634
  getLists(params2, opts) {
24960
25635
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
24961
- throw toKnownErr75(e);
25636
+ throw toKnownErr81(e);
24962
25637
  });
24963
25638
  }
24964
25639
  getMutes(params2, opts) {
24965
25640
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
24966
- throw toKnownErr76(e);
25641
+ throw toKnownErr82(e);
24967
25642
  });
24968
25643
  }
24969
25644
  muteActor(data, opts) {
24970
25645
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
24971
- throw toKnownErr77(e);
25646
+ throw toKnownErr83(e);
24972
25647
  });
24973
25648
  }
24974
25649
  muteActorList(data, opts) {
24975
25650
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
24976
- throw toKnownErr78(e);
25651
+ throw toKnownErr84(e);
24977
25652
  });
24978
25653
  }
24979
25654
  unmuteActor(data, opts) {
24980
25655
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
24981
- throw toKnownErr79(e);
25656
+ throw toKnownErr85(e);
24982
25657
  });
24983
25658
  }
24984
25659
  unmuteActorList(data, opts) {
24985
25660
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
24986
- throw toKnownErr80(e);
25661
+ throw toKnownErr86(e);
24987
25662
  });
24988
25663
  }
24989
25664
  };
@@ -25141,17 +25816,17 @@ var NotificationNS = class {
25141
25816
  }
25142
25817
  getUnreadCount(params2, opts) {
25143
25818
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
25144
- throw toKnownErr81(e);
25819
+ throw toKnownErr87(e);
25145
25820
  });
25146
25821
  }
25147
25822
  listNotifications(params2, opts) {
25148
25823
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
25149
- throw toKnownErr82(e);
25824
+ throw toKnownErr88(e);
25150
25825
  });
25151
25826
  }
25152
25827
  updateSeen(data, opts) {
25153
25828
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
25154
- throw toKnownErr83(e);
25829
+ throw toKnownErr89(e);
25155
25830
  });
25156
25831
  }
25157
25832
  };
@@ -25166,7 +25841,7 @@ var UnspeccedNS = class {
25166
25841
  }
25167
25842
  getPopular(params2, opts) {
25168
25843
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
25169
- throw toKnownErr84(e);
25844
+ throw toKnownErr90(e);
25170
25845
  });
25171
25846
  }
25172
25847
  };