@atproto/api 0.3.7 → 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.
@@ -98,6 +98,7 @@ import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notificatio
98
98
  import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
99
99
  import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
100
100
  import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
101
+ import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
101
102
  export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
102
103
  export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
103
104
  export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
@@ -212,6 +213,7 @@ export * as AppBskyNotificationListNotifications from './types/app/bsky/notifica
212
213
  export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
213
214
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet';
214
215
  export * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
216
+ export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
215
217
  export declare const COM_ATPROTO_ADMIN: {
216
218
  DefsTakedown: string;
217
219
  DefsFlag: string;
@@ -617,4 +619,5 @@ export declare class UnspeccedNS {
617
619
  _service: AtpServiceClient;
618
620
  constructor(service: AtpServiceClient);
619
621
  getPopular(params?: AppBskyUnspeccedGetPopular.QueryParams, opts?: AppBskyUnspeccedGetPopular.CallOptions): Promise<AppBskyUnspeccedGetPopular.Response>;
622
+ getPopularFeedGenerators(params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams, opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions): Promise<AppBskyUnspeccedGetPopularFeedGenerators.Response>;
620
623
  }
@@ -4140,7 +4140,7 @@ export declare const schemaDict: {
4140
4140
  properties: {
4141
4141
  repost: {
4142
4142
  type: string;
4143
- ref: string;
4143
+ format: string;
4144
4144
  };
4145
4145
  };
4146
4146
  };
@@ -5839,6 +5839,32 @@ export declare const schemaDict: {
5839
5839
  };
5840
5840
  };
5841
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
+ };
5842
5868
  };
5843
5869
  export declare const schemas: LexiconDoc[];
5844
5870
  export declare const lexicons: Lexicons;
@@ -5957,4 +5983,5 @@ export declare const ids: {
5957
5983
  AppBskyNotificationUpdateSeen: string;
5958
5984
  AppBskyRichtextFacet: string;
5959
5985
  AppBskyUnspeccedGetPopular: string;
5986
+ AppBskyUnspeccedGetPopularFeedGenerators: string;
5960
5987
  };
@@ -0,0 +1,18 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ import * as AppBskyFeedDefs from '../feed/defs';
3
+ export interface QueryParams {
4
+ }
5
+ export declare type InputSchema = undefined;
6
+ export interface OutputSchema {
7
+ feeds: AppBskyFeedDefs.GeneratorView[];
8
+ [k: string]: unknown;
9
+ }
10
+ export interface CallOptions {
11
+ headers?: Headers;
12
+ }
13
+ export interface Response {
14
+ success: boolean;
15
+ headers: Headers;
16
+ data: OutputSchema;
17
+ }
18
+ export declare function toKnownErr(e: any): any;