@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.
@@ -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';
@@ -168,7 +175,14 @@ export * as AppBskyEmbedImages from './types/app/bsky/embed/images';
168
175
  export * as AppBskyEmbedRecord from './types/app/bsky/embed/record';
169
176
  export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia';
170
177
  export * as AppBskyFeedDefs from './types/app/bsky/feed/defs';
178
+ export * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator';
179
+ export * as AppBskyFeedGenerator from './types/app/bsky/feed/generator';
180
+ export * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds';
171
181
  export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
182
+ export * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed';
183
+ export * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator';
184
+ export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators';
185
+ export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton';
172
186
  export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
173
187
  export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
174
188
  export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts';
@@ -383,17 +397,45 @@ export declare class EmbedNS {
383
397
  }
384
398
  export declare class FeedNS {
385
399
  _service: AtpServiceClient;
400
+ generator: GeneratorRecord;
386
401
  like: LikeRecord;
387
402
  post: PostRecord;
388
403
  repost: RepostRecord;
389
404
  constructor(service: AtpServiceClient);
405
+ describeFeedGenerator(params?: AppBskyFeedDescribeFeedGenerator.QueryParams, opts?: AppBskyFeedDescribeFeedGenerator.CallOptions): Promise<AppBskyFeedDescribeFeedGenerator.Response>;
406
+ getActorFeeds(params?: AppBskyFeedGetActorFeeds.QueryParams, opts?: AppBskyFeedGetActorFeeds.CallOptions): Promise<AppBskyFeedGetActorFeeds.Response>;
390
407
  getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
408
+ getFeed(params?: AppBskyFeedGetFeed.QueryParams, opts?: AppBskyFeedGetFeed.CallOptions): Promise<AppBskyFeedGetFeed.Response>;
409
+ getFeedGenerator(params?: AppBskyFeedGetFeedGenerator.QueryParams, opts?: AppBskyFeedGetFeedGenerator.CallOptions): Promise<AppBskyFeedGetFeedGenerator.Response>;
410
+ getFeedGenerators(params?: AppBskyFeedGetFeedGenerators.QueryParams, opts?: AppBskyFeedGetFeedGenerators.CallOptions): Promise<AppBskyFeedGetFeedGenerators.Response>;
411
+ getFeedSkeleton(params?: AppBskyFeedGetFeedSkeleton.QueryParams, opts?: AppBskyFeedGetFeedSkeleton.CallOptions): Promise<AppBskyFeedGetFeedSkeleton.Response>;
391
412
  getLikes(params?: AppBskyFeedGetLikes.QueryParams, opts?: AppBskyFeedGetLikes.CallOptions): Promise<AppBskyFeedGetLikes.Response>;
392
413
  getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
393
414
  getPosts(params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions): Promise<AppBskyFeedGetPosts.Response>;
394
415
  getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
395
416
  getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>;
396
417
  }
418
+ export declare class GeneratorRecord {
419
+ _service: AtpServiceClient;
420
+ constructor(service: AtpServiceClient);
421
+ list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
422
+ cursor?: string;
423
+ records: {
424
+ uri: string;
425
+ value: AppBskyFeedGenerator.Record;
426
+ }[];
427
+ }>;
428
+ get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
429
+ uri: string;
430
+ cid: string;
431
+ value: AppBskyFeedGenerator.Record;
432
+ }>;
433
+ create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedGenerator.Record, headers?: Record<string, string>): Promise<{
434
+ uri: string;
435
+ cid: string;
436
+ }>;
437
+ delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
438
+ }
397
439
  export declare class LikeRecord {
398
440
  _service: AtpServiceClient;
399
441
  constructor(service: AtpServiceClient);
@@ -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
+ ref: 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;
@@ -5486,7 +5920,14 @@ export declare const ids: {
5486
5920
  AppBskyEmbedRecord: string;
5487
5921
  AppBskyEmbedRecordWithMedia: string;
5488
5922
  AppBskyFeedDefs: string;
5923
+ AppBskyFeedDescribeFeedGenerator: string;
5924
+ AppBskyFeedGenerator: string;
5925
+ AppBskyFeedGetActorFeeds: string;
5489
5926
  AppBskyFeedGetAuthorFeed: string;
5927
+ AppBskyFeedGetFeed: string;
5928
+ AppBskyFeedGetFeedGenerator: string;
5929
+ AppBskyFeedGetFeedGenerators: string;
5930
+ AppBskyFeedGetFeedSkeleton: string;
5490
5931
  AppBskyFeedGetLikes: string;
5491
5932
  AppBskyFeedGetPostThread: string;
5492
5933
  AppBskyFeedGetPosts: string;
@@ -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
  };
@@ -5,6 +5,7 @@ import * as AppBskyEmbedExternal from '../embed/external';
5
5
  import * as AppBskyEmbedRecord from '../embed/record';
6
6
  import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia';
7
7
  import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
8
+ import * as AppBskyRichtextFacet from '../richtext/facet';
8
9
  export interface PostView {
9
10
  uri: string;
10
11
  cid: string;
@@ -43,8 +44,14 @@ export interface FeedViewPost {
43
44
  export declare function isFeedViewPost(v: unknown): v is FeedViewPost;
44
45
  export declare function validateFeedViewPost(v: unknown): ValidationResult;
45
46
  export interface ReplyRef {
46
- root: PostView;
47
- parent: PostView;
47
+ root: PostView | NotFoundPost | BlockedPost | {
48
+ $type: string;
49
+ [k: string]: unknown;
50
+ };
51
+ parent: PostView | NotFoundPost | BlockedPost | {
52
+ $type: string;
53
+ [k: string]: unknown;
54
+ };
48
55
  [k: string]: unknown;
49
56
  }
50
57
  export declare function isReplyRef(v: unknown): v is ReplyRef;
@@ -84,3 +91,41 @@ export interface BlockedPost {
84
91
  }
85
92
  export declare function isBlockedPost(v: unknown): v is BlockedPost;
86
93
  export declare function validateBlockedPost(v: unknown): ValidationResult;
94
+ export interface GeneratorView {
95
+ uri: string;
96
+ cid: string;
97
+ did?: string;
98
+ creator: AppBskyActorDefs.ProfileView;
99
+ displayName: string;
100
+ description?: string;
101
+ descriptionFacets?: AppBskyRichtextFacet.Main[];
102
+ avatar?: string;
103
+ likeCount?: number;
104
+ viewer?: GeneratorViewerState;
105
+ indexedAt: string;
106
+ [k: string]: unknown;
107
+ }
108
+ export declare function isGeneratorView(v: unknown): v is GeneratorView;
109
+ export declare function validateGeneratorView(v: unknown): ValidationResult;
110
+ export interface GeneratorViewerState {
111
+ like?: string;
112
+ [k: string]: unknown;
113
+ }
114
+ export declare function isGeneratorViewerState(v: unknown): v is GeneratorViewerState;
115
+ export declare function validateGeneratorViewerState(v: unknown): ValidationResult;
116
+ export interface SkeletonFeedPost {
117
+ post: string;
118
+ reason?: SkeletonReasonRepost | {
119
+ $type: string;
120
+ [k: string]: unknown;
121
+ };
122
+ [k: string]: unknown;
123
+ }
124
+ export declare function isSkeletonFeedPost(v: unknown): v is SkeletonFeedPost;
125
+ export declare function validateSkeletonFeedPost(v: unknown): ValidationResult;
126
+ export interface SkeletonReasonRepost {
127
+ repost: string;
128
+ [k: string]: unknown;
129
+ }
130
+ export declare function isSkeletonReasonRepost(v: unknown): v is SkeletonReasonRepost;
131
+ export declare function validateSkeletonReasonRepost(v: unknown): ValidationResult;
@@ -0,0 +1,19 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ import * as AppBskyFeedDefs from './defs';
3
+ export interface QueryParams {
4
+ feeds: string[];
5
+ }
6
+ export declare type InputSchema = undefined;
7
+ export interface OutputSchema {
8
+ feeds: AppBskyFeedDefs.GeneratorView[];
9
+ [k: string]: unknown;
10
+ }
11
+ export interface CallOptions {
12
+ headers?: Headers;
13
+ }
14
+ export interface Response {
15
+ success: boolean;
16
+ headers: Headers;
17
+ data: OutputSchema;
18
+ }
19
+ export declare function toKnownErr(e: any): any;