@atproto/api 0.3.6 → 0.3.8

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.
@@ -63,7 +63,14 @@ import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
63
63
  import * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferences';
64
64
  import * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors';
65
65
  import * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead';
66
+ import * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator';
67
+ import * as AppBskyFeedGenerator from './types/app/bsky/feed/generator';
68
+ import * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds';
66
69
  import * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
70
+ import * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed';
71
+ import * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator';
72
+ import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators';
73
+ import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton';
67
74
  import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
68
75
  import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
69
76
  import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts';
@@ -91,6 +98,7 @@ import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notificatio
91
98
  import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
92
99
  import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
93
100
  import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
101
+ import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
94
102
  export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
95
103
  export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
96
104
  export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
@@ -168,7 +176,14 @@ export * as AppBskyEmbedImages from './types/app/bsky/embed/images';
168
176
  export * as AppBskyEmbedRecord from './types/app/bsky/embed/record';
169
177
  export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia';
170
178
  export * as AppBskyFeedDefs from './types/app/bsky/feed/defs';
179
+ export * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator';
180
+ export * as AppBskyFeedGenerator from './types/app/bsky/feed/generator';
181
+ export * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds';
171
182
  export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
183
+ export * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed';
184
+ export * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator';
185
+ export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators';
186
+ export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton';
172
187
  export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
173
188
  export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
174
189
  export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts';
@@ -198,6 +213,7 @@ export * as AppBskyNotificationListNotifications from './types/app/bsky/notifica
198
213
  export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
199
214
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet';
200
215
  export * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
216
+ export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
201
217
  export declare const COM_ATPROTO_ADMIN: {
202
218
  DefsTakedown: string;
203
219
  DefsFlag: string;
@@ -383,17 +399,45 @@ export declare class EmbedNS {
383
399
  }
384
400
  export declare class FeedNS {
385
401
  _service: AtpServiceClient;
402
+ generator: GeneratorRecord;
386
403
  like: LikeRecord;
387
404
  post: PostRecord;
388
405
  repost: RepostRecord;
389
406
  constructor(service: AtpServiceClient);
407
+ describeFeedGenerator(params?: AppBskyFeedDescribeFeedGenerator.QueryParams, opts?: AppBskyFeedDescribeFeedGenerator.CallOptions): Promise<AppBskyFeedDescribeFeedGenerator.Response>;
408
+ getActorFeeds(params?: AppBskyFeedGetActorFeeds.QueryParams, opts?: AppBskyFeedGetActorFeeds.CallOptions): Promise<AppBskyFeedGetActorFeeds.Response>;
390
409
  getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
410
+ getFeed(params?: AppBskyFeedGetFeed.QueryParams, opts?: AppBskyFeedGetFeed.CallOptions): Promise<AppBskyFeedGetFeed.Response>;
411
+ getFeedGenerator(params?: AppBskyFeedGetFeedGenerator.QueryParams, opts?: AppBskyFeedGetFeedGenerator.CallOptions): Promise<AppBskyFeedGetFeedGenerator.Response>;
412
+ getFeedGenerators(params?: AppBskyFeedGetFeedGenerators.QueryParams, opts?: AppBskyFeedGetFeedGenerators.CallOptions): Promise<AppBskyFeedGetFeedGenerators.Response>;
413
+ getFeedSkeleton(params?: AppBskyFeedGetFeedSkeleton.QueryParams, opts?: AppBskyFeedGetFeedSkeleton.CallOptions): Promise<AppBskyFeedGetFeedSkeleton.Response>;
391
414
  getLikes(params?: AppBskyFeedGetLikes.QueryParams, opts?: AppBskyFeedGetLikes.CallOptions): Promise<AppBskyFeedGetLikes.Response>;
392
415
  getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
393
416
  getPosts(params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions): Promise<AppBskyFeedGetPosts.Response>;
394
417
  getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
395
418
  getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>;
396
419
  }
420
+ export declare class GeneratorRecord {
421
+ _service: AtpServiceClient;
422
+ constructor(service: AtpServiceClient);
423
+ list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
424
+ cursor?: string;
425
+ records: {
426
+ uri: string;
427
+ value: AppBskyFeedGenerator.Record;
428
+ }[];
429
+ }>;
430
+ get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
431
+ uri: string;
432
+ cid: string;
433
+ value: AppBskyFeedGenerator.Record;
434
+ }>;
435
+ create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedGenerator.Record, headers?: Record<string, string>): Promise<{
436
+ uri: string;
437
+ cid: string;
438
+ }>;
439
+ delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
440
+ }
397
441
  export declare class LikeRecord {
398
442
  _service: AtpServiceClient;
399
443
  constructor(service: AtpServiceClient);
@@ -575,4 +619,5 @@ export declare class UnspeccedNS {
575
619
  _service: AtpServiceClient;
576
620
  constructor(service: AtpServiceClient);
577
621
  getPopular(params?: AppBskyUnspeccedGetPopular.QueryParams, opts?: AppBskyUnspeccedGetPopular.CallOptions): Promise<AppBskyUnspeccedGetPopular.Response>;
622
+ getPopularFeedGenerators(params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams, opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions): Promise<AppBskyUnspeccedGetPopularFeedGenerators.Response>;
578
623
  }
@@ -1487,7 +1487,6 @@ export declare const schemaDict: {
1487
1487
  };
1488
1488
  rkey: {
1489
1489
  type: string;
1490
- maxLength: number;
1491
1490
  };
1492
1491
  value: {
1493
1492
  type: string;
@@ -3346,6 +3345,26 @@ export declare const schemaDict: {
3346
3345
  };
3347
3346
  };
3348
3347
  };
3348
+ savedFeedsPref: {
3349
+ type: string;
3350
+ required: string[];
3351
+ properties: {
3352
+ pinned: {
3353
+ type: string;
3354
+ items: {
3355
+ type: string;
3356
+ format: string;
3357
+ };
3358
+ };
3359
+ saved: {
3360
+ type: string;
3361
+ items: {
3362
+ type: string;
3363
+ format: string;
3364
+ };
3365
+ };
3366
+ };
3367
+ };
3349
3368
  };
3350
3369
  };
3351
3370
  AppBskyActorGetPreferences: {
@@ -3969,11 +3988,11 @@ export declare const schemaDict: {
3969
3988
  properties: {
3970
3989
  root: {
3971
3990
  type: string;
3972
- ref: string;
3991
+ refs: string[];
3973
3992
  };
3974
3993
  parent: {
3975
3994
  type: string;
3976
- ref: string;
3995
+ refs: string[];
3977
3996
  };
3978
3997
  };
3979
3998
  };
@@ -4040,6 +4059,241 @@ export declare const schemaDict: {
4040
4059
  };
4041
4060
  };
4042
4061
  };
4062
+ generatorView: {
4063
+ type: string;
4064
+ required: string[];
4065
+ properties: {
4066
+ uri: {
4067
+ type: string;
4068
+ format: string;
4069
+ };
4070
+ cid: {
4071
+ type: string;
4072
+ format: string;
4073
+ };
4074
+ did: {
4075
+ type: string;
4076
+ format: string;
4077
+ };
4078
+ creator: {
4079
+ type: string;
4080
+ ref: string;
4081
+ };
4082
+ displayName: {
4083
+ type: string;
4084
+ };
4085
+ description: {
4086
+ type: string;
4087
+ maxGraphemes: number;
4088
+ maxLength: number;
4089
+ };
4090
+ descriptionFacets: {
4091
+ type: string;
4092
+ items: {
4093
+ type: string;
4094
+ ref: string;
4095
+ };
4096
+ };
4097
+ avatar: {
4098
+ type: string;
4099
+ };
4100
+ likeCount: {
4101
+ type: string;
4102
+ minimum: number;
4103
+ };
4104
+ viewer: {
4105
+ type: string;
4106
+ ref: string;
4107
+ };
4108
+ indexedAt: {
4109
+ type: string;
4110
+ format: string;
4111
+ };
4112
+ };
4113
+ };
4114
+ generatorViewerState: {
4115
+ type: string;
4116
+ properties: {
4117
+ like: {
4118
+ type: string;
4119
+ format: string;
4120
+ };
4121
+ };
4122
+ };
4123
+ skeletonFeedPost: {
4124
+ type: string;
4125
+ required: string[];
4126
+ properties: {
4127
+ post: {
4128
+ type: string;
4129
+ format: string;
4130
+ };
4131
+ reason: {
4132
+ type: string;
4133
+ refs: string[];
4134
+ };
4135
+ };
4136
+ };
4137
+ skeletonReasonRepost: {
4138
+ type: string;
4139
+ required: string[];
4140
+ properties: {
4141
+ repost: {
4142
+ type: string;
4143
+ format: string;
4144
+ };
4145
+ };
4146
+ };
4147
+ };
4148
+ };
4149
+ AppBskyFeedDescribeFeedGenerator: {
4150
+ lexicon: number;
4151
+ id: string;
4152
+ defs: {
4153
+ main: {
4154
+ type: string;
4155
+ description: string;
4156
+ output: {
4157
+ encoding: string;
4158
+ schema: {
4159
+ type: string;
4160
+ required: string[];
4161
+ properties: {
4162
+ did: {
4163
+ type: string;
4164
+ format: string;
4165
+ };
4166
+ feeds: {
4167
+ type: string;
4168
+ items: {
4169
+ type: string;
4170
+ ref: string;
4171
+ };
4172
+ };
4173
+ links: {
4174
+ type: string;
4175
+ ref: string;
4176
+ };
4177
+ };
4178
+ };
4179
+ };
4180
+ };
4181
+ feed: {
4182
+ type: string;
4183
+ required: string[];
4184
+ properties: {
4185
+ uri: {
4186
+ type: string;
4187
+ format: string;
4188
+ };
4189
+ };
4190
+ };
4191
+ links: {
4192
+ type: string;
4193
+ properties: {
4194
+ privacyPolicy: {
4195
+ type: string;
4196
+ };
4197
+ termsOfService: {
4198
+ type: string;
4199
+ };
4200
+ };
4201
+ };
4202
+ };
4203
+ };
4204
+ AppBskyFeedGenerator: {
4205
+ lexicon: number;
4206
+ id: string;
4207
+ defs: {
4208
+ main: {
4209
+ type: string;
4210
+ description: string;
4211
+ key: string;
4212
+ record: {
4213
+ type: string;
4214
+ required: string[];
4215
+ properties: {
4216
+ did: {
4217
+ type: string;
4218
+ format: string;
4219
+ };
4220
+ displayName: {
4221
+ type: string;
4222
+ maxGraphemes: number;
4223
+ maxLength: number;
4224
+ };
4225
+ description: {
4226
+ type: string;
4227
+ maxGraphemes: number;
4228
+ maxLength: number;
4229
+ };
4230
+ descriptionFacets: {
4231
+ type: string;
4232
+ items: {
4233
+ type: string;
4234
+ ref: string;
4235
+ };
4236
+ };
4237
+ avatar: {
4238
+ type: string;
4239
+ accept: string[];
4240
+ maxSize: number;
4241
+ };
4242
+ createdAt: {
4243
+ type: string;
4244
+ format: string;
4245
+ };
4246
+ };
4247
+ };
4248
+ };
4249
+ };
4250
+ };
4251
+ AppBskyFeedGetActorFeeds: {
4252
+ lexicon: number;
4253
+ id: string;
4254
+ defs: {
4255
+ main: {
4256
+ type: string;
4257
+ description: string;
4258
+ parameters: {
4259
+ type: string;
4260
+ required: string[];
4261
+ properties: {
4262
+ actor: {
4263
+ type: string;
4264
+ format: string;
4265
+ };
4266
+ limit: {
4267
+ type: string;
4268
+ minimum: number;
4269
+ maximum: number;
4270
+ default: number;
4271
+ };
4272
+ cursor: {
4273
+ type: string;
4274
+ };
4275
+ };
4276
+ };
4277
+ output: {
4278
+ encoding: string;
4279
+ schema: {
4280
+ type: string;
4281
+ required: string[];
4282
+ properties: {
4283
+ cursor: {
4284
+ type: string;
4285
+ };
4286
+ feeds: {
4287
+ type: string;
4288
+ items: {
4289
+ type: string;
4290
+ ref: string;
4291
+ };
4292
+ };
4293
+ };
4294
+ };
4295
+ };
4296
+ };
4043
4297
  };
4044
4298
  };
4045
4299
  AppBskyFeedGetAuthorFeed: {
@@ -4093,6 +4347,186 @@ export declare const schemaDict: {
4093
4347
  };
4094
4348
  };
4095
4349
  };
4350
+ AppBskyFeedGetFeed: {
4351
+ lexicon: number;
4352
+ id: string;
4353
+ defs: {
4354
+ main: {
4355
+ type: string;
4356
+ description: string;
4357
+ parameters: {
4358
+ type: string;
4359
+ required: string[];
4360
+ properties: {
4361
+ feed: {
4362
+ type: string;
4363
+ format: string;
4364
+ };
4365
+ limit: {
4366
+ type: string;
4367
+ minimum: number;
4368
+ maximum: number;
4369
+ default: number;
4370
+ };
4371
+ cursor: {
4372
+ type: string;
4373
+ };
4374
+ };
4375
+ };
4376
+ output: {
4377
+ encoding: string;
4378
+ schema: {
4379
+ type: string;
4380
+ required: string[];
4381
+ properties: {
4382
+ cursor: {
4383
+ type: string;
4384
+ };
4385
+ feed: {
4386
+ type: string;
4387
+ items: {
4388
+ type: string;
4389
+ ref: string;
4390
+ };
4391
+ };
4392
+ };
4393
+ };
4394
+ };
4395
+ errors: {
4396
+ name: string;
4397
+ }[];
4398
+ };
4399
+ };
4400
+ };
4401
+ AppBskyFeedGetFeedGenerator: {
4402
+ lexicon: number;
4403
+ id: string;
4404
+ defs: {
4405
+ main: {
4406
+ type: string;
4407
+ description: string;
4408
+ parameters: {
4409
+ type: string;
4410
+ required: string[];
4411
+ properties: {
4412
+ feed: {
4413
+ type: string;
4414
+ format: string;
4415
+ };
4416
+ };
4417
+ };
4418
+ output: {
4419
+ encoding: string;
4420
+ schema: {
4421
+ type: string;
4422
+ required: string[];
4423
+ properties: {
4424
+ view: {
4425
+ type: string;
4426
+ ref: string;
4427
+ };
4428
+ isOnline: {
4429
+ type: string;
4430
+ };
4431
+ isValid: {
4432
+ type: string;
4433
+ };
4434
+ };
4435
+ };
4436
+ };
4437
+ };
4438
+ };
4439
+ };
4440
+ AppBskyFeedGetFeedGenerators: {
4441
+ lexicon: number;
4442
+ id: string;
4443
+ defs: {
4444
+ main: {
4445
+ type: string;
4446
+ description: string;
4447
+ parameters: {
4448
+ type: string;
4449
+ required: string[];
4450
+ properties: {
4451
+ feeds: {
4452
+ type: string;
4453
+ items: {
4454
+ type: string;
4455
+ format: string;
4456
+ };
4457
+ };
4458
+ };
4459
+ };
4460
+ output: {
4461
+ encoding: string;
4462
+ schema: {
4463
+ type: string;
4464
+ required: string[];
4465
+ properties: {
4466
+ feeds: {
4467
+ type: string;
4468
+ items: {
4469
+ type: string;
4470
+ ref: string;
4471
+ };
4472
+ };
4473
+ };
4474
+ };
4475
+ };
4476
+ };
4477
+ };
4478
+ };
4479
+ AppBskyFeedGetFeedSkeleton: {
4480
+ lexicon: number;
4481
+ id: string;
4482
+ defs: {
4483
+ main: {
4484
+ type: string;
4485
+ description: string;
4486
+ parameters: {
4487
+ type: string;
4488
+ required: string[];
4489
+ properties: {
4490
+ feed: {
4491
+ type: string;
4492
+ format: string;
4493
+ };
4494
+ limit: {
4495
+ type: string;
4496
+ minimum: number;
4497
+ maximum: number;
4498
+ default: number;
4499
+ };
4500
+ cursor: {
4501
+ type: string;
4502
+ };
4503
+ };
4504
+ };
4505
+ output: {
4506
+ encoding: string;
4507
+ schema: {
4508
+ type: string;
4509
+ required: string[];
4510
+ properties: {
4511
+ cursor: {
4512
+ type: string;
4513
+ };
4514
+ feed: {
4515
+ type: string;
4516
+ items: {
4517
+ type: string;
4518
+ ref: string;
4519
+ };
4520
+ };
4521
+ };
4522
+ };
4523
+ };
4524
+ errors: {
4525
+ name: string;
4526
+ }[];
4527
+ };
4528
+ };
4529
+ };
4096
4530
  AppBskyFeedGetLikes: {
4097
4531
  lexicon: number;
4098
4532
  id: string;
@@ -5405,6 +5839,32 @@ export declare const schemaDict: {
5405
5839
  };
5406
5840
  };
5407
5841
  };
5842
+ AppBskyUnspeccedGetPopularFeedGenerators: {
5843
+ lexicon: number;
5844
+ id: string;
5845
+ defs: {
5846
+ main: {
5847
+ type: string;
5848
+ description: string;
5849
+ output: {
5850
+ encoding: string;
5851
+ schema: {
5852
+ type: string;
5853
+ required: string[];
5854
+ properties: {
5855
+ feeds: {
5856
+ type: string;
5857
+ items: {
5858
+ type: string;
5859
+ ref: string;
5860
+ };
5861
+ };
5862
+ };
5863
+ };
5864
+ };
5865
+ };
5866
+ };
5867
+ };
5408
5868
  };
5409
5869
  export declare const schemas: LexiconDoc[];
5410
5870
  export declare const lexicons: Lexicons;
@@ -5486,7 +5946,14 @@ export declare const ids: {
5486
5946
  AppBskyEmbedRecord: string;
5487
5947
  AppBskyEmbedRecordWithMedia: string;
5488
5948
  AppBskyFeedDefs: string;
5949
+ AppBskyFeedDescribeFeedGenerator: string;
5950
+ AppBskyFeedGenerator: string;
5951
+ AppBskyFeedGetActorFeeds: string;
5489
5952
  AppBskyFeedGetAuthorFeed: string;
5953
+ AppBskyFeedGetFeed: string;
5954
+ AppBskyFeedGetFeedGenerator: string;
5955
+ AppBskyFeedGetFeedGenerators: string;
5956
+ AppBskyFeedGetFeedSkeleton: string;
5490
5957
  AppBskyFeedGetLikes: string;
5491
5958
  AppBskyFeedGetPostThread: string;
5492
5959
  AppBskyFeedGetPosts: string;
@@ -5516,4 +5983,5 @@ export declare const ids: {
5516
5983
  AppBskyNotificationUpdateSeen: string;
5517
5984
  AppBskyRichtextFacet: string;
5518
5985
  AppBskyUnspeccedGetPopular: string;
5986
+ AppBskyUnspeccedGetPopularFeedGenerators: string;
5519
5987
  };
@@ -53,7 +53,7 @@ export interface ViewerState {
53
53
  }
54
54
  export declare function isViewerState(v: unknown): v is ViewerState;
55
55
  export declare function validateViewerState(v: unknown): ValidationResult;
56
- export declare type Preferences = (AdultContentPref | ContentLabelPref | {
56
+ export declare type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | {
57
57
  $type: string;
58
58
  [k: string]: unknown;
59
59
  })[];
@@ -70,3 +70,10 @@ export interface ContentLabelPref {
70
70
  }
71
71
  export declare function isContentLabelPref(v: unknown): v is ContentLabelPref;
72
72
  export declare function validateContentLabelPref(v: unknown): ValidationResult;
73
+ export interface SavedFeedsPref {
74
+ pinned: string[];
75
+ saved: string[];
76
+ [k: string]: unknown;
77
+ }
78
+ export declare function isSavedFeedsPref(v: unknown): v is SavedFeedsPref;
79
+ export declare function validateSavedFeedsPref(v: unknown): ValidationResult;
@@ -1,5 +1,6 @@
1
1
  import { ValidationResult } from '@atproto/lexicon';
2
2
  import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
3
+ import * as AppBskyFeedDefs from '../feed/defs';
3
4
  import * as AppBskyActorDefs from '../actor/defs';
4
5
  import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
5
6
  import * as AppBskyEmbedImages from './images';
@@ -12,7 +13,7 @@ export interface Main {
12
13
  export declare function isMain(v: unknown): v is Main;
13
14
  export declare function validateMain(v: unknown): ValidationResult;
14
15
  export interface View {
15
- record: ViewRecord | ViewNotFound | ViewBlocked | {
16
+ record: ViewRecord | ViewNotFound | ViewBlocked | AppBskyFeedDefs.GeneratorView | {
16
17
  $type: string;
17
18
  [k: string]: unknown;
18
19
  };