@atproto/api 0.3.13 → 0.4.1

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.
@@ -100,6 +100,7 @@ import * as AppBskyNotificationListNotifications from './types/app/bsky/notifica
100
100
  import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
101
101
  import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
102
102
  import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
103
+ import * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton';
103
104
  export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
104
105
  export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
105
106
  export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
@@ -216,6 +217,7 @@ export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/up
216
217
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet';
217
218
  export * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
218
219
  export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
220
+ export * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton';
219
221
  export declare const COM_ATPROTO_ADMIN: {
220
222
  DefsTakedown: string;
221
223
  DefsFlag: string;
@@ -623,4 +625,5 @@ export declare class UnspeccedNS {
623
625
  constructor(service: AtpServiceClient);
624
626
  getPopular(params?: AppBskyUnspeccedGetPopular.QueryParams, opts?: AppBskyUnspeccedGetPopular.CallOptions): Promise<AppBskyUnspeccedGetPopular.Response>;
625
627
  getPopularFeedGenerators(params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams, opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions): Promise<AppBskyUnspeccedGetPopularFeedGenerators.Response>;
628
+ getTimelineSkeleton(params?: AppBskyUnspeccedGetTimelineSkeleton.QueryParams, opts?: AppBskyUnspeccedGetTimelineSkeleton.CallOptions): Promise<AppBskyUnspeccedGetTimelineSkeleton.Response>;
626
629
  }
@@ -771,6 +771,11 @@ export declare const schemaDict: {
771
771
  type: string;
772
772
  };
773
773
  };
774
+ actionedBy: {
775
+ type: string;
776
+ format: string;
777
+ description: string;
778
+ };
774
779
  reporters: {
775
780
  type: string;
776
781
  items: {
@@ -5933,12 +5938,29 @@ export declare const schemaDict: {
5933
5938
  main: {
5934
5939
  type: string;
5935
5940
  description: string;
5941
+ parameters: {
5942
+ type: string;
5943
+ properties: {
5944
+ limit: {
5945
+ type: string;
5946
+ minimum: number;
5947
+ maximum: number;
5948
+ default: number;
5949
+ };
5950
+ cursor: {
5951
+ type: string;
5952
+ };
5953
+ };
5954
+ };
5936
5955
  output: {
5937
5956
  encoding: string;
5938
5957
  schema: {
5939
5958
  type: string;
5940
5959
  required: string[];
5941
5960
  properties: {
5961
+ cursor: {
5962
+ type: string;
5963
+ };
5942
5964
  feeds: {
5943
5965
  type: string;
5944
5966
  items: {
@@ -5952,6 +5974,52 @@ export declare const schemaDict: {
5952
5974
  };
5953
5975
  };
5954
5976
  };
5977
+ AppBskyUnspeccedGetTimelineSkeleton: {
5978
+ lexicon: number;
5979
+ id: string;
5980
+ defs: {
5981
+ main: {
5982
+ type: string;
5983
+ description: string;
5984
+ parameters: {
5985
+ type: string;
5986
+ properties: {
5987
+ limit: {
5988
+ type: string;
5989
+ minimum: number;
5990
+ maximum: number;
5991
+ default: number;
5992
+ };
5993
+ cursor: {
5994
+ type: string;
5995
+ };
5996
+ };
5997
+ };
5998
+ output: {
5999
+ encoding: string;
6000
+ schema: {
6001
+ type: string;
6002
+ required: string[];
6003
+ properties: {
6004
+ cursor: {
6005
+ type: string;
6006
+ };
6007
+ feed: {
6008
+ type: string;
6009
+ items: {
6010
+ type: string;
6011
+ ref: string;
6012
+ };
6013
+ };
6014
+ };
6015
+ };
6016
+ };
6017
+ errors: {
6018
+ name: string;
6019
+ }[];
6020
+ };
6021
+ };
6022
+ };
5955
6023
  };
5956
6024
  export declare const schemas: LexiconDoc[];
5957
6025
  export declare const lexicons: Lexicons;
@@ -6072,4 +6140,5 @@ export declare const ids: {
6072
6140
  AppBskyRichtextFacet: string;
6073
6141
  AppBskyUnspeccedGetPopular: string;
6074
6142
  AppBskyUnspeccedGetPopularFeedGenerators: string;
6143
+ AppBskyUnspeccedGetTimelineSkeleton: string;
6075
6144
  };
@@ -1,9 +1,12 @@
1
1
  import { Headers } from '@atproto/xrpc';
2
2
  import * as AppBskyFeedDefs from '../feed/defs';
3
3
  export interface QueryParams {
4
+ limit?: number;
5
+ cursor?: string;
4
6
  }
5
7
  export declare type InputSchema = undefined;
6
8
  export interface OutputSchema {
9
+ cursor?: string;
7
10
  feeds: AppBskyFeedDefs.GeneratorView[];
8
11
  [k: string]: unknown;
9
12
  }
@@ -0,0 +1,24 @@
1
+ import { Headers, XRPCError } from '@atproto/xrpc';
2
+ import * as AppBskyFeedDefs from '../feed/defs';
3
+ export interface QueryParams {
4
+ limit?: number;
5
+ cursor?: string;
6
+ }
7
+ export declare type InputSchema = undefined;
8
+ export interface OutputSchema {
9
+ cursor?: string;
10
+ feed: AppBskyFeedDefs.SkeletonFeedPost[];
11
+ [k: string]: unknown;
12
+ }
13
+ export interface CallOptions {
14
+ headers?: Headers;
15
+ }
16
+ export interface Response {
17
+ success: boolean;
18
+ headers: Headers;
19
+ data: OutputSchema;
20
+ }
21
+ export declare class UnknownFeedError extends XRPCError {
22
+ constructor(src: XRPCError);
23
+ }
24
+ export declare function toKnownErr(e: any): any;
@@ -3,6 +3,7 @@ import * as ComAtprotoAdminDefs from './defs';
3
3
  export interface QueryParams {
4
4
  subject?: string;
5
5
  ignoreSubjects?: string[];
6
+ actionedBy?: string;
6
7
  reporters?: string[];
7
8
  resolved?: boolean;
8
9
  actionType?: 'com.atproto.admin.defs#takedown' | 'com.atproto.admin.defs#flag' | 'com.atproto.admin.defs#acknowledge' | 'com.atproto.admin.defs#escalate' | (string & {});