@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "codegen": "lex gen-api ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*",
@@ -84,7 +84,14 @@ import * as AppBskyEmbedImages from './types/app/bsky/embed/images'
84
84
  import * as AppBskyEmbedRecord from './types/app/bsky/embed/record'
85
85
  import * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia'
86
86
  import * as AppBskyFeedDefs from './types/app/bsky/feed/defs'
87
+ import * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator'
88
+ import * as AppBskyFeedGenerator from './types/app/bsky/feed/generator'
89
+ import * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds'
87
90
  import * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'
91
+ import * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed'
92
+ import * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator'
93
+ import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators'
94
+ import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton'
88
95
  import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes'
89
96
  import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'
90
97
  import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts'
@@ -192,7 +199,14 @@ export * as AppBskyEmbedImages from './types/app/bsky/embed/images'
192
199
  export * as AppBskyEmbedRecord from './types/app/bsky/embed/record'
193
200
  export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia'
194
201
  export * as AppBskyFeedDefs from './types/app/bsky/feed/defs'
202
+ export * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator'
203
+ export * as AppBskyFeedGenerator from './types/app/bsky/feed/generator'
204
+ export * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds'
195
205
  export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed'
206
+ export * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed'
207
+ export * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator'
208
+ export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators'
209
+ export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton'
196
210
  export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes'
197
211
  export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'
198
212
  export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts'
@@ -1165,17 +1179,41 @@ export class EmbedNS {
1165
1179
 
1166
1180
  export class FeedNS {
1167
1181
  _service: AtpServiceClient
1182
+ generator: GeneratorRecord
1168
1183
  like: LikeRecord
1169
1184
  post: PostRecord
1170
1185
  repost: RepostRecord
1171
1186
 
1172
1187
  constructor(service: AtpServiceClient) {
1173
1188
  this._service = service
1189
+ this.generator = new GeneratorRecord(service)
1174
1190
  this.like = new LikeRecord(service)
1175
1191
  this.post = new PostRecord(service)
1176
1192
  this.repost = new RepostRecord(service)
1177
1193
  }
1178
1194
 
1195
+ describeFeedGenerator(
1196
+ params?: AppBskyFeedDescribeFeedGenerator.QueryParams,
1197
+ opts?: AppBskyFeedDescribeFeedGenerator.CallOptions,
1198
+ ): Promise<AppBskyFeedDescribeFeedGenerator.Response> {
1199
+ return this._service.xrpc
1200
+ .call('app.bsky.feed.describeFeedGenerator', params, undefined, opts)
1201
+ .catch((e) => {
1202
+ throw AppBskyFeedDescribeFeedGenerator.toKnownErr(e)
1203
+ })
1204
+ }
1205
+
1206
+ getActorFeeds(
1207
+ params?: AppBskyFeedGetActorFeeds.QueryParams,
1208
+ opts?: AppBskyFeedGetActorFeeds.CallOptions,
1209
+ ): Promise<AppBskyFeedGetActorFeeds.Response> {
1210
+ return this._service.xrpc
1211
+ .call('app.bsky.feed.getActorFeeds', params, undefined, opts)
1212
+ .catch((e) => {
1213
+ throw AppBskyFeedGetActorFeeds.toKnownErr(e)
1214
+ })
1215
+ }
1216
+
1179
1217
  getAuthorFeed(
1180
1218
  params?: AppBskyFeedGetAuthorFeed.QueryParams,
1181
1219
  opts?: AppBskyFeedGetAuthorFeed.CallOptions,
@@ -1187,6 +1225,50 @@ export class FeedNS {
1187
1225
  })
1188
1226
  }
1189
1227
 
1228
+ getFeed(
1229
+ params?: AppBskyFeedGetFeed.QueryParams,
1230
+ opts?: AppBskyFeedGetFeed.CallOptions,
1231
+ ): Promise<AppBskyFeedGetFeed.Response> {
1232
+ return this._service.xrpc
1233
+ .call('app.bsky.feed.getFeed', params, undefined, opts)
1234
+ .catch((e) => {
1235
+ throw AppBskyFeedGetFeed.toKnownErr(e)
1236
+ })
1237
+ }
1238
+
1239
+ getFeedGenerator(
1240
+ params?: AppBskyFeedGetFeedGenerator.QueryParams,
1241
+ opts?: AppBskyFeedGetFeedGenerator.CallOptions,
1242
+ ): Promise<AppBskyFeedGetFeedGenerator.Response> {
1243
+ return this._service.xrpc
1244
+ .call('app.bsky.feed.getFeedGenerator', params, undefined, opts)
1245
+ .catch((e) => {
1246
+ throw AppBskyFeedGetFeedGenerator.toKnownErr(e)
1247
+ })
1248
+ }
1249
+
1250
+ getFeedGenerators(
1251
+ params?: AppBskyFeedGetFeedGenerators.QueryParams,
1252
+ opts?: AppBskyFeedGetFeedGenerators.CallOptions,
1253
+ ): Promise<AppBskyFeedGetFeedGenerators.Response> {
1254
+ return this._service.xrpc
1255
+ .call('app.bsky.feed.getFeedGenerators', params, undefined, opts)
1256
+ .catch((e) => {
1257
+ throw AppBskyFeedGetFeedGenerators.toKnownErr(e)
1258
+ })
1259
+ }
1260
+
1261
+ getFeedSkeleton(
1262
+ params?: AppBskyFeedGetFeedSkeleton.QueryParams,
1263
+ opts?: AppBskyFeedGetFeedSkeleton.CallOptions,
1264
+ ): Promise<AppBskyFeedGetFeedSkeleton.Response> {
1265
+ return this._service.xrpc
1266
+ .call('app.bsky.feed.getFeedSkeleton', params, undefined, opts)
1267
+ .catch((e) => {
1268
+ throw AppBskyFeedGetFeedSkeleton.toKnownErr(e)
1269
+ })
1270
+ }
1271
+
1190
1272
  getLikes(
1191
1273
  params?: AppBskyFeedGetLikes.QueryParams,
1192
1274
  opts?: AppBskyFeedGetLikes.CallOptions,
@@ -1243,6 +1325,67 @@ export class FeedNS {
1243
1325
  }
1244
1326
  }
1245
1327
 
1328
+ export class GeneratorRecord {
1329
+ _service: AtpServiceClient
1330
+
1331
+ constructor(service: AtpServiceClient) {
1332
+ this._service = service
1333
+ }
1334
+
1335
+ async list(
1336
+ params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>,
1337
+ ): Promise<{
1338
+ cursor?: string
1339
+ records: { uri: string; value: AppBskyFeedGenerator.Record }[]
1340
+ }> {
1341
+ const res = await this._service.xrpc.call('com.atproto.repo.listRecords', {
1342
+ collection: 'app.bsky.feed.generator',
1343
+ ...params,
1344
+ })
1345
+ return res.data
1346
+ }
1347
+
1348
+ async get(
1349
+ params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,
1350
+ ): Promise<{ uri: string; cid: string; value: AppBskyFeedGenerator.Record }> {
1351
+ const res = await this._service.xrpc.call('com.atproto.repo.getRecord', {
1352
+ collection: 'app.bsky.feed.generator',
1353
+ ...params,
1354
+ })
1355
+ return res.data
1356
+ }
1357
+
1358
+ async create(
1359
+ params: Omit<
1360
+ ComAtprotoRepoCreateRecord.InputSchema,
1361
+ 'collection' | 'record'
1362
+ >,
1363
+ record: AppBskyFeedGenerator.Record,
1364
+ headers?: Record<string, string>,
1365
+ ): Promise<{ uri: string; cid: string }> {
1366
+ record.$type = 'app.bsky.feed.generator'
1367
+ const res = await this._service.xrpc.call(
1368
+ 'com.atproto.repo.createRecord',
1369
+ undefined,
1370
+ { collection: 'app.bsky.feed.generator', ...params, record },
1371
+ { encoding: 'application/json', headers },
1372
+ )
1373
+ return res.data
1374
+ }
1375
+
1376
+ async delete(
1377
+ params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,
1378
+ headers?: Record<string, string>,
1379
+ ): Promise<void> {
1380
+ await this._service.xrpc.call(
1381
+ 'com.atproto.repo.deleteRecord',
1382
+ undefined,
1383
+ { collection: 'app.bsky.feed.generator', ...params },
1384
+ { headers },
1385
+ )
1386
+ }
1387
+ }
1388
+
1246
1389
  export class LikeRecord {
1247
1390
  _service: AtpServiceClient
1248
1391
 
@@ -3572,6 +3572,7 @@ export const schemaDict = {
3572
3572
  refs: [
3573
3573
  'lex:app.bsky.actor.defs#adultContentPref',
3574
3574
  'lex:app.bsky.actor.defs#contentLabelPref',
3575
+ 'lex:app.bsky.actor.defs#savedFeedsPref',
3575
3576
  ],
3576
3577
  },
3577
3578
  },
@@ -3598,6 +3599,26 @@ export const schemaDict = {
3598
3599
  },
3599
3600
  },
3600
3601
  },
3602
+ savedFeedsPref: {
3603
+ type: 'object',
3604
+ required: ['pinned', 'saved'],
3605
+ properties: {
3606
+ pinned: {
3607
+ type: 'array',
3608
+ items: {
3609
+ type: 'string',
3610
+ format: 'at-uri',
3611
+ },
3612
+ },
3613
+ saved: {
3614
+ type: 'array',
3615
+ items: {
3616
+ type: 'string',
3617
+ format: 'at-uri',
3618
+ },
3619
+ },
3620
+ },
3621
+ },
3601
3622
  },
3602
3623
  },
3603
3624
  AppBskyActorGetPreferences: {
@@ -4038,6 +4059,7 @@ export const schemaDict = {
4038
4059
  'lex:app.bsky.embed.record#viewRecord',
4039
4060
  'lex:app.bsky.embed.record#viewNotFound',
4040
4061
  'lex:app.bsky.embed.record#viewBlocked',
4062
+ 'lex:app.bsky.feed.defs#generatorView',
4041
4063
  ],
4042
4064
  },
4043
4065
  },
@@ -4241,12 +4263,20 @@ export const schemaDict = {
4241
4263
  required: ['root', 'parent'],
4242
4264
  properties: {
4243
4265
  root: {
4244
- type: 'ref',
4245
- ref: 'lex:app.bsky.feed.defs#postView',
4266
+ type: 'union',
4267
+ refs: [
4268
+ 'lex:app.bsky.feed.defs#postView',
4269
+ 'lex:app.bsky.feed.defs#notFoundPost',
4270
+ 'lex:app.bsky.feed.defs#blockedPost',
4271
+ ],
4246
4272
  },
4247
4273
  parent: {
4248
- type: 'ref',
4249
- ref: 'lex:app.bsky.feed.defs#postView',
4274
+ type: 'union',
4275
+ refs: [
4276
+ 'lex:app.bsky.feed.defs#postView',
4277
+ 'lex:app.bsky.feed.defs#notFoundPost',
4278
+ 'lex:app.bsky.feed.defs#blockedPost',
4279
+ ],
4250
4280
  },
4251
4281
  },
4252
4282
  },
@@ -4321,6 +4351,242 @@ export const schemaDict = {
4321
4351
  },
4322
4352
  },
4323
4353
  },
4354
+ generatorView: {
4355
+ type: 'object',
4356
+ required: ['uri', 'cid', 'creator', 'displayName', 'indexedAt'],
4357
+ properties: {
4358
+ uri: {
4359
+ type: 'string',
4360
+ format: 'at-uri',
4361
+ },
4362
+ cid: {
4363
+ type: 'string',
4364
+ format: 'cid',
4365
+ },
4366
+ did: {
4367
+ type: 'string',
4368
+ format: 'did',
4369
+ },
4370
+ creator: {
4371
+ type: 'ref',
4372
+ ref: 'lex:app.bsky.actor.defs#profileView',
4373
+ },
4374
+ displayName: {
4375
+ type: 'string',
4376
+ },
4377
+ description: {
4378
+ type: 'string',
4379
+ maxGraphemes: 300,
4380
+ maxLength: 3000,
4381
+ },
4382
+ descriptionFacets: {
4383
+ type: 'array',
4384
+ items: {
4385
+ type: 'ref',
4386
+ ref: 'lex:app.bsky.richtext.facet',
4387
+ },
4388
+ },
4389
+ avatar: {
4390
+ type: 'string',
4391
+ },
4392
+ likeCount: {
4393
+ type: 'integer',
4394
+ minimum: 0,
4395
+ },
4396
+ viewer: {
4397
+ type: 'ref',
4398
+ ref: 'lex:app.bsky.feed.defs#generatorViewerState',
4399
+ },
4400
+ indexedAt: {
4401
+ type: 'string',
4402
+ format: 'datetime',
4403
+ },
4404
+ },
4405
+ },
4406
+ generatorViewerState: {
4407
+ type: 'object',
4408
+ properties: {
4409
+ like: {
4410
+ type: 'string',
4411
+ format: 'at-uri',
4412
+ },
4413
+ },
4414
+ },
4415
+ skeletonFeedPost: {
4416
+ type: 'object',
4417
+ required: ['post'],
4418
+ properties: {
4419
+ post: {
4420
+ type: 'string',
4421
+ format: 'at-uri',
4422
+ },
4423
+ reason: {
4424
+ type: 'union',
4425
+ refs: ['lex:app.bsky.feed.defs#skeletonReasonRepost'],
4426
+ },
4427
+ },
4428
+ },
4429
+ skeletonReasonRepost: {
4430
+ type: 'object',
4431
+ required: ['repost'],
4432
+ properties: {
4433
+ repost: {
4434
+ type: 'string',
4435
+ ref: 'at-uri',
4436
+ },
4437
+ },
4438
+ },
4439
+ },
4440
+ },
4441
+ AppBskyFeedDescribeFeedGenerator: {
4442
+ lexicon: 1,
4443
+ id: 'app.bsky.feed.describeFeedGenerator',
4444
+ defs: {
4445
+ main: {
4446
+ type: 'query',
4447
+ description:
4448
+ 'Returns information about a given feed generator including TOS & offered feed URIs',
4449
+ output: {
4450
+ encoding: 'application/json',
4451
+ schema: {
4452
+ type: 'object',
4453
+ required: ['did', 'feeds'],
4454
+ properties: {
4455
+ did: {
4456
+ type: 'string',
4457
+ format: 'did',
4458
+ },
4459
+ feeds: {
4460
+ type: 'array',
4461
+ items: {
4462
+ type: 'ref',
4463
+ ref: 'lex:app.bsky.feed.describeFeedGenerator#feed',
4464
+ },
4465
+ },
4466
+ links: {
4467
+ type: 'ref',
4468
+ ref: 'lex:app.bsky.feed.describeFeedGenerator#links',
4469
+ },
4470
+ },
4471
+ },
4472
+ },
4473
+ },
4474
+ feed: {
4475
+ type: 'object',
4476
+ required: ['uri'],
4477
+ properties: {
4478
+ uri: {
4479
+ type: 'string',
4480
+ format: 'at-uri',
4481
+ },
4482
+ },
4483
+ },
4484
+ links: {
4485
+ type: 'object',
4486
+ properties: {
4487
+ privacyPolicy: {
4488
+ type: 'string',
4489
+ },
4490
+ termsOfService: {
4491
+ type: 'string',
4492
+ },
4493
+ },
4494
+ },
4495
+ },
4496
+ },
4497
+ AppBskyFeedGenerator: {
4498
+ lexicon: 1,
4499
+ id: 'app.bsky.feed.generator',
4500
+ defs: {
4501
+ main: {
4502
+ type: 'record',
4503
+ description: 'A declaration of the existence of a feed generator',
4504
+ key: 'any',
4505
+ record: {
4506
+ type: 'object',
4507
+ required: ['did', 'displayName', 'createdAt'],
4508
+ properties: {
4509
+ did: {
4510
+ type: 'string',
4511
+ format: 'did',
4512
+ },
4513
+ displayName: {
4514
+ type: 'string',
4515
+ maxGraphemes: 24,
4516
+ maxLength: 240,
4517
+ },
4518
+ description: {
4519
+ type: 'string',
4520
+ maxGraphemes: 300,
4521
+ maxLength: 3000,
4522
+ },
4523
+ descriptionFacets: {
4524
+ type: 'array',
4525
+ items: {
4526
+ type: 'ref',
4527
+ ref: 'lex:app.bsky.richtext.facet',
4528
+ },
4529
+ },
4530
+ avatar: {
4531
+ type: 'blob',
4532
+ accept: ['image/png', 'image/jpeg'],
4533
+ maxSize: 1000000,
4534
+ },
4535
+ createdAt: {
4536
+ type: 'string',
4537
+ format: 'datetime',
4538
+ },
4539
+ },
4540
+ },
4541
+ },
4542
+ },
4543
+ },
4544
+ AppBskyFeedGetActorFeeds: {
4545
+ lexicon: 1,
4546
+ id: 'app.bsky.feed.getActorFeeds',
4547
+ defs: {
4548
+ main: {
4549
+ type: 'query',
4550
+ description: 'Retrieve a list of feeds created by a given actor',
4551
+ parameters: {
4552
+ type: 'params',
4553
+ required: ['actor'],
4554
+ properties: {
4555
+ actor: {
4556
+ type: 'string',
4557
+ format: 'at-identifier',
4558
+ },
4559
+ limit: {
4560
+ type: 'integer',
4561
+ minimum: 1,
4562
+ maximum: 100,
4563
+ default: 50,
4564
+ },
4565
+ cursor: {
4566
+ type: 'string',
4567
+ },
4568
+ },
4569
+ },
4570
+ output: {
4571
+ encoding: 'application/json',
4572
+ schema: {
4573
+ type: 'object',
4574
+ required: ['feeds'],
4575
+ properties: {
4576
+ cursor: {
4577
+ type: 'string',
4578
+ },
4579
+ feeds: {
4580
+ type: 'array',
4581
+ items: {
4582
+ type: 'ref',
4583
+ ref: 'lex:app.bsky.feed.defs#generatorView',
4584
+ },
4585
+ },
4586
+ },
4587
+ },
4588
+ },
4589
+ },
4324
4590
  },
4325
4591
  },
4326
4592
  AppBskyFeedGetAuthorFeed: {
@@ -4379,6 +4645,192 @@ export const schemaDict = {
4379
4645
  },
4380
4646
  },
4381
4647
  },
4648
+ AppBskyFeedGetFeed: {
4649
+ lexicon: 1,
4650
+ id: 'app.bsky.feed.getFeed',
4651
+ defs: {
4652
+ main: {
4653
+ type: 'query',
4654
+ description:
4655
+ "Compose and hydrate a feed from a user's selected feed generator",
4656
+ parameters: {
4657
+ type: 'params',
4658
+ required: ['feed'],
4659
+ properties: {
4660
+ feed: {
4661
+ type: 'string',
4662
+ format: 'at-uri',
4663
+ },
4664
+ limit: {
4665
+ type: 'integer',
4666
+ minimum: 1,
4667
+ maximum: 100,
4668
+ default: 50,
4669
+ },
4670
+ cursor: {
4671
+ type: 'string',
4672
+ },
4673
+ },
4674
+ },
4675
+ output: {
4676
+ encoding: 'application/json',
4677
+ schema: {
4678
+ type: 'object',
4679
+ required: ['feed'],
4680
+ properties: {
4681
+ cursor: {
4682
+ type: 'string',
4683
+ },
4684
+ feed: {
4685
+ type: 'array',
4686
+ items: {
4687
+ type: 'ref',
4688
+ ref: 'lex:app.bsky.feed.defs#feedViewPost',
4689
+ },
4690
+ },
4691
+ },
4692
+ },
4693
+ },
4694
+ errors: [
4695
+ {
4696
+ name: 'UnknownFeed',
4697
+ },
4698
+ ],
4699
+ },
4700
+ },
4701
+ },
4702
+ AppBskyFeedGetFeedGenerator: {
4703
+ lexicon: 1,
4704
+ id: 'app.bsky.feed.getFeedGenerator',
4705
+ defs: {
4706
+ main: {
4707
+ type: 'query',
4708
+ description:
4709
+ 'Get information about a specific feed offered by a feed generator, such as its online status',
4710
+ parameters: {
4711
+ type: 'params',
4712
+ required: ['feed'],
4713
+ properties: {
4714
+ feed: {
4715
+ type: 'string',
4716
+ format: 'at-uri',
4717
+ },
4718
+ },
4719
+ },
4720
+ output: {
4721
+ encoding: 'application/json',
4722
+ schema: {
4723
+ type: 'object',
4724
+ required: ['view', 'isOnline', 'isValid'],
4725
+ properties: {
4726
+ view: {
4727
+ type: 'ref',
4728
+ ref: 'lex:app.bsky.feed.defs#generatorView',
4729
+ },
4730
+ isOnline: {
4731
+ type: 'boolean',
4732
+ },
4733
+ isValid: {
4734
+ type: 'boolean',
4735
+ },
4736
+ },
4737
+ },
4738
+ },
4739
+ },
4740
+ },
4741
+ },
4742
+ AppBskyFeedGetFeedGenerators: {
4743
+ lexicon: 1,
4744
+ id: 'app.bsky.feed.getFeedGenerators',
4745
+ defs: {
4746
+ main: {
4747
+ type: 'query',
4748
+ description: 'Get information about a list of feed generators',
4749
+ parameters: {
4750
+ type: 'params',
4751
+ required: ['feeds'],
4752
+ properties: {
4753
+ feeds: {
4754
+ type: 'array',
4755
+ items: {
4756
+ type: 'string',
4757
+ format: 'at-uri',
4758
+ },
4759
+ },
4760
+ },
4761
+ },
4762
+ output: {
4763
+ encoding: 'application/json',
4764
+ schema: {
4765
+ type: 'object',
4766
+ required: ['feeds'],
4767
+ properties: {
4768
+ feeds: {
4769
+ type: 'array',
4770
+ items: {
4771
+ type: 'ref',
4772
+ ref: 'lex:app.bsky.feed.defs#generatorView',
4773
+ },
4774
+ },
4775
+ },
4776
+ },
4777
+ },
4778
+ },
4779
+ },
4780
+ },
4781
+ AppBskyFeedGetFeedSkeleton: {
4782
+ lexicon: 1,
4783
+ id: 'app.bsky.feed.getFeedSkeleton',
4784
+ defs: {
4785
+ main: {
4786
+ type: 'query',
4787
+ description: 'A skeleton of a feed provided by a feed generator',
4788
+ parameters: {
4789
+ type: 'params',
4790
+ required: ['feed'],
4791
+ properties: {
4792
+ feed: {
4793
+ type: 'string',
4794
+ format: 'at-uri',
4795
+ },
4796
+ limit: {
4797
+ type: 'integer',
4798
+ minimum: 1,
4799
+ maximum: 100,
4800
+ default: 50,
4801
+ },
4802
+ cursor: {
4803
+ type: 'string',
4804
+ },
4805
+ },
4806
+ },
4807
+ output: {
4808
+ encoding: 'application/json',
4809
+ schema: {
4810
+ type: 'object',
4811
+ required: ['feed'],
4812
+ properties: {
4813
+ cursor: {
4814
+ type: 'string',
4815
+ },
4816
+ feed: {
4817
+ type: 'array',
4818
+ items: {
4819
+ type: 'ref',
4820
+ ref: 'lex:app.bsky.feed.defs#skeletonFeedPost',
4821
+ },
4822
+ },
4823
+ },
4824
+ },
4825
+ },
4826
+ errors: [
4827
+ {
4828
+ name: 'UnknownFeed',
4829
+ },
4830
+ ],
4831
+ },
4832
+ },
4833
+ },
4382
4834
  AppBskyFeedGetLikes: {
4383
4835
  lexicon: 1,
4384
4836
  id: 'app.bsky.feed.getLikes',
@@ -5811,7 +6263,14 @@ export const ids = {
5811
6263
  AppBskyEmbedRecord: 'app.bsky.embed.record',
5812
6264
  AppBskyEmbedRecordWithMedia: 'app.bsky.embed.recordWithMedia',
5813
6265
  AppBskyFeedDefs: 'app.bsky.feed.defs',
6266
+ AppBskyFeedDescribeFeedGenerator: 'app.bsky.feed.describeFeedGenerator',
6267
+ AppBskyFeedGenerator: 'app.bsky.feed.generator',
6268
+ AppBskyFeedGetActorFeeds: 'app.bsky.feed.getActorFeeds',
5814
6269
  AppBskyFeedGetAuthorFeed: 'app.bsky.feed.getAuthorFeed',
6270
+ AppBskyFeedGetFeed: 'app.bsky.feed.getFeed',
6271
+ AppBskyFeedGetFeedGenerator: 'app.bsky.feed.getFeedGenerator',
6272
+ AppBskyFeedGetFeedGenerators: 'app.bsky.feed.getFeedGenerators',
6273
+ AppBskyFeedGetFeedSkeleton: 'app.bsky.feed.getFeedSkeleton',
5815
6274
  AppBskyFeedGetLikes: 'app.bsky.feed.getLikes',
5816
6275
  AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
5817
6276
  AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',