@atproto/api 0.15.9 → 0.15.10

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.
@@ -0,0 +1,48 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap } from '@atproto/xrpc';
5
+ import { type ValidationResult } from '@atproto/lexicon';
6
+ import { type $Typed } from '../../../../util';
7
+ import type * as AppBskyFeedDefs from '../feed/defs.js';
8
+ export interface QueryParams {
9
+ /** Reference (AT-URI) to post record. This is the anchor post. */
10
+ anchor: string;
11
+ }
12
+ export type InputSchema = undefined;
13
+ export interface OutputSchema {
14
+ /** A flat list of thread hidden items. The depth of each item is indicated by the depth property inside the item. */
15
+ thread: ThreadHiddenItem[];
16
+ }
17
+ export interface CallOptions {
18
+ signal?: AbortSignal;
19
+ headers?: HeadersMap;
20
+ }
21
+ export interface Response {
22
+ success: boolean;
23
+ headers: HeadersMap;
24
+ data: OutputSchema;
25
+ }
26
+ export declare function toKnownErr(e: any): any;
27
+ export interface ThreadHiddenItem {
28
+ $type?: 'app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItem';
29
+ uri: string;
30
+ /** The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. */
31
+ depth: number;
32
+ value: $Typed<ThreadHiddenItemPost> | {
33
+ $type: string;
34
+ };
35
+ }
36
+ export declare function isThreadHiddenItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadHiddenV2", "threadHiddenItem">;
37
+ export declare function validateThreadHiddenItem<V>(v: V): ValidationResult<ThreadHiddenItem & V>;
38
+ export interface ThreadHiddenItemPost {
39
+ $type?: 'app.bsky.unspecced.getPostThreadHiddenV2#threadHiddenItemPost';
40
+ post: AppBskyFeedDefs.PostView;
41
+ /** The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread. */
42
+ hiddenByThreadgate: boolean;
43
+ /** This is by an account muted by the viewer requesting it. */
44
+ mutedByViewer: boolean;
45
+ }
46
+ export declare function isThreadHiddenItemPost<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadHiddenV2", "threadHiddenItemPost">;
47
+ export declare function validateThreadHiddenItemPost<V>(v: V): ValidationResult<ThreadHiddenItemPost & V>;
48
+ //# sourceMappingURL=getPostThreadHiddenV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostThreadHiddenV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadHiddenV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AAMvD,MAAM,WAAW,WAAW;IAC1B,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,qHAAqH;IACrH,MAAM,EAAE,gBAAgB,EAAE,CAAA;CAC3B;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,2DAA2D,CAAA;IACnE,GAAG,EAAE,MAAM,CAAA;IACX,uJAAuJ;IACvJ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,oBAAoB,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACxD;AAID,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mHAEzC;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0CAE/C;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,+DAA+D,CAAA;IACvE,IAAI,EAAE,eAAe,CAAC,QAAQ,CAAA;IAC9B,0HAA0H;IAC1H,kBAAkB,EAAE,OAAO,CAAA;IAC3B,+DAA+D;IAC/D,aAAa,EAAE,OAAO,CAAA;CACvB;AAID,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uHAE7C;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8CAEnD"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKnownErr = toKnownErr;
4
+ exports.isThreadHiddenItem = isThreadHiddenItem;
5
+ exports.validateThreadHiddenItem = validateThreadHiddenItem;
6
+ exports.isThreadHiddenItemPost = isThreadHiddenItemPost;
7
+ exports.validateThreadHiddenItemPost = validateThreadHiddenItemPost;
8
+ const lexicons_1 = require("../../../../lexicons");
9
+ const util_1 = require("../../../../util");
10
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
11
+ const id = 'app.bsky.unspecced.getPostThreadHiddenV2';
12
+ function toKnownErr(e) {
13
+ return e;
14
+ }
15
+ const hashThreadHiddenItem = 'threadHiddenItem';
16
+ function isThreadHiddenItem(v) {
17
+ return is$typed(v, id, hashThreadHiddenItem);
18
+ }
19
+ function validateThreadHiddenItem(v) {
20
+ return validate(v, id, hashThreadHiddenItem);
21
+ }
22
+ const hashThreadHiddenItemPost = 'threadHiddenItemPost';
23
+ function isThreadHiddenItemPost(v) {
24
+ return is$typed(v, id, hashThreadHiddenItemPost);
25
+ }
26
+ function validateThreadHiddenItemPost(v) {
27
+ return validate(v, id, hashThreadHiddenItemPost);
28
+ }
29
+ //# sourceMappingURL=getPostThreadHiddenV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostThreadHiddenV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadHiddenV2.ts"],"names":[],"mappings":";;AAyCA,gCAEC;AAYD,gDAEC;AAED,4DAEC;AAaD,wDAEC;AAED,oEAEC;AA1ED,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,0CAA0C,CAAA;AAyBrD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAUD,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC;AAWD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap } from '@atproto/xrpc';
5
+ import { type ValidationResult } from '@atproto/lexicon';
6
+ import { type $Typed } from '../../../../util';
7
+ import type * as AppBskyFeedDefs from '../feed/defs.js';
8
+ export interface QueryParams {
9
+ /** Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post. */
10
+ anchor: string;
11
+ /** Whether to include parents above the anchor. */
12
+ above?: boolean;
13
+ /** How many levels of replies to include below the anchor. */
14
+ below?: number;
15
+ /** Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated). */
16
+ branchingFactor?: number;
17
+ /** Whether to prioritize posts from followed users. It only has effect when the user is authenticated. */
18
+ prioritizeFollowedUsers?: boolean;
19
+ /** Sorting for the thread replies. */
20
+ sort?: 'newest' | 'oldest' | 'top' | (string & {});
21
+ }
22
+ export type InputSchema = undefined;
23
+ export interface OutputSchema {
24
+ /** A flat list of thread items. The depth of each item is indicated by the depth property inside the item. */
25
+ thread: ThreadItem[];
26
+ threadgate?: AppBskyFeedDefs.ThreadgateView;
27
+ /** Whether this thread has hidden replies. If true, a call can be made to the `getPostThreadHiddenV2` endpoint to retrieve them. */
28
+ hasHiddenReplies: boolean;
29
+ }
30
+ export interface CallOptions {
31
+ signal?: AbortSignal;
32
+ headers?: HeadersMap;
33
+ }
34
+ export interface Response {
35
+ success: boolean;
36
+ headers: HeadersMap;
37
+ data: OutputSchema;
38
+ }
39
+ export declare function toKnownErr(e: any): any;
40
+ export interface ThreadItem {
41
+ $type?: 'app.bsky.unspecced.getPostThreadV2#threadItem';
42
+ uri: string;
43
+ /** The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. */
44
+ depth: number;
45
+ value: $Typed<ThreadItemPost> | $Typed<ThreadItemNoUnauthenticated> | $Typed<ThreadItemNotFound> | $Typed<ThreadItemBlocked> | {
46
+ $type: string;
47
+ };
48
+ }
49
+ export declare function isThreadItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadV2", "threadItem">;
50
+ export declare function validateThreadItem<V>(v: V): ValidationResult<ThreadItem & V>;
51
+ export interface ThreadItemPost {
52
+ $type?: 'app.bsky.unspecced.getPostThreadV2#threadItemPost';
53
+ post: AppBskyFeedDefs.PostView;
54
+ /** This post has more parents that were not present in the response. This is just a boolean, without the number of parents. */
55
+ moreParents: boolean;
56
+ /** This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate. */
57
+ moreReplies: number;
58
+ /** This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread. */
59
+ opThread: boolean;
60
+ }
61
+ export declare function isThreadItemPost<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadV2", "threadItemPost">;
62
+ export declare function validateThreadItemPost<V>(v: V): ValidationResult<ThreadItemPost & V>;
63
+ export interface ThreadItemNoUnauthenticated {
64
+ $type?: 'app.bsky.unspecced.getPostThreadV2#threadItemNoUnauthenticated';
65
+ }
66
+ export declare function isThreadItemNoUnauthenticated<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadV2", "threadItemNoUnauthenticated">;
67
+ export declare function validateThreadItemNoUnauthenticated<V>(v: V): ValidationResult<ThreadItemNoUnauthenticated & V>;
68
+ export interface ThreadItemNotFound {
69
+ $type?: 'app.bsky.unspecced.getPostThreadV2#threadItemNotFound';
70
+ }
71
+ export declare function isThreadItemNotFound<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadV2", "threadItemNotFound">;
72
+ export declare function validateThreadItemNotFound<V>(v: V): ValidationResult<ThreadItemNotFound & V>;
73
+ export interface ThreadItemBlocked {
74
+ $type?: 'app.bsky.unspecced.getPostThreadV2#threadItemBlocked';
75
+ author: AppBskyFeedDefs.BlockedAuthor;
76
+ }
77
+ export declare function isThreadItemBlocked<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadV2", "threadItemBlocked">;
78
+ export declare function validateThreadItemBlocked<V>(v: V): ValidationResult<ThreadItemBlocked & V>;
79
+ //# sourceMappingURL=getPostThreadV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostThreadV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AAMvD,MAAM,WAAW,WAAW;IAC1B,uKAAuK;IACvK,MAAM,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sNAAsN;IACtN,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,0GAA0G;IAC1G,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,sCAAsC;IACtC,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CACnD;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,8GAA8G;IAC9G,MAAM,EAAE,UAAU,EAAE,CAAA;IACpB,UAAU,CAAC,EAAE,eAAe,CAAC,cAAc,CAAA;IAC3C,oIAAoI;IACpI,gBAAgB,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB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3C;AAED,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4CAEjD;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,sDAAsD,CAAA;IAC9D,MAAM,EAAE,eAAe,CAAC,aAAa,CAAA;CACtC;AAID,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8GAE1C;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2CAEhD"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKnownErr = toKnownErr;
4
+ exports.isThreadItem = isThreadItem;
5
+ exports.validateThreadItem = validateThreadItem;
6
+ exports.isThreadItemPost = isThreadItemPost;
7
+ exports.validateThreadItemPost = validateThreadItemPost;
8
+ exports.isThreadItemNoUnauthenticated = isThreadItemNoUnauthenticated;
9
+ exports.validateThreadItemNoUnauthenticated = validateThreadItemNoUnauthenticated;
10
+ exports.isThreadItemNotFound = isThreadItemNotFound;
11
+ exports.validateThreadItemNotFound = validateThreadItemNotFound;
12
+ exports.isThreadItemBlocked = isThreadItemBlocked;
13
+ exports.validateThreadItemBlocked = validateThreadItemBlocked;
14
+ const lexicons_1 = require("../../../../lexicons");
15
+ const util_1 = require("../../../../util");
16
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
17
+ const id = 'app.bsky.unspecced.getPostThreadV2';
18
+ function toKnownErr(e) {
19
+ return e;
20
+ }
21
+ const hashThreadItem = 'threadItem';
22
+ function isThreadItem(v) {
23
+ return is$typed(v, id, hashThreadItem);
24
+ }
25
+ function validateThreadItem(v) {
26
+ return validate(v, id, hashThreadItem);
27
+ }
28
+ const hashThreadItemPost = 'threadItemPost';
29
+ function isThreadItemPost(v) {
30
+ return is$typed(v, id, hashThreadItemPost);
31
+ }
32
+ function validateThreadItemPost(v) {
33
+ return validate(v, id, hashThreadItemPost);
34
+ }
35
+ const hashThreadItemNoUnauthenticated = 'threadItemNoUnauthenticated';
36
+ function isThreadItemNoUnauthenticated(v) {
37
+ return is$typed(v, id, hashThreadItemNoUnauthenticated);
38
+ }
39
+ function validateThreadItemNoUnauthenticated(v) {
40
+ return validate(v, id, hashThreadItemNoUnauthenticated);
41
+ }
42
+ const hashThreadItemNotFound = 'threadItemNotFound';
43
+ function isThreadItemNotFound(v) {
44
+ return is$typed(v, id, hashThreadItemNotFound);
45
+ }
46
+ function validateThreadItemNotFound(v) {
47
+ return validate(v, id, hashThreadItemNotFound);
48
+ }
49
+ const hashThreadItemBlocked = 'threadItemBlocked';
50
+ function isThreadItemBlocked(v) {
51
+ return is$typed(v, id, hashThreadItemBlocked);
52
+ }
53
+ function validateThreadItemBlocked(v) {
54
+ return validate(v, id, hashThreadItemBlocked);
55
+ }
56
+ //# sourceMappingURL=getPostThreadV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPostThreadV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":";;AAsDA,gCAEC;AAiBD,oCAEC;AAED,gDAEC;AAeD,4CAEC;AAED,wDAEC;AAQD,sEAEC;AAED,kFAMC;AAQD,oDAEC;AAED,gEAEC;AASD,kDAEC;AAED,8DAEC;AA7ID,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,oCAAoC,CAAA;AAsC/C,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAeD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE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  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -128,8 +128,8 @@ import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGene
128
128
  import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js'
129
129
  import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js'
130
130
  import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js'
131
- import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
132
131
  import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
132
+ import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
133
133
  import * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js'
134
134
  import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js'
135
135
  import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js'
@@ -183,6 +183,8 @@ import * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js'
183
183
  import * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js'
184
184
  import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
185
185
  import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
186
+ import * as AppBskyUnspeccedGetPostThreadHiddenV2 from './types/app/bsky/unspecced/getPostThreadHiddenV2.js'
187
+ import * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
186
188
  import * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
187
189
  import * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
188
190
  import * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'
@@ -389,8 +391,8 @@ export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGene
389
391
  export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js'
390
392
  export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js'
391
393
  export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js'
392
- export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
393
394
  export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
395
+ export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
394
396
  export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js'
395
397
  export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js'
396
398
  export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js'
@@ -444,6 +446,8 @@ export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js'
444
446
  export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js'
445
447
  export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
446
448
  export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
449
+ export * as AppBskyUnspeccedGetPostThreadHiddenV2 from './types/app/bsky/unspecced/getPostThreadHiddenV2.js'
450
+ export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
447
451
  export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
448
452
  export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
449
453
  export * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'
@@ -2103,13 +2107,6 @@ export class AppBskyFeedNS {
2103
2107
  })
2104
2108
  }
2105
2109
 
2106
- getPosts(
2107
- params?: AppBskyFeedGetPosts.QueryParams,
2108
- opts?: AppBskyFeedGetPosts.CallOptions,
2109
- ): Promise<AppBskyFeedGetPosts.Response> {
2110
- return this._client.call('app.bsky.feed.getPosts', params, undefined, opts)
2111
- }
2112
-
2113
2110
  getPostThread(
2114
2111
  params?: AppBskyFeedGetPostThread.QueryParams,
2115
2112
  opts?: AppBskyFeedGetPostThread.CallOptions,
@@ -2121,6 +2118,13 @@ export class AppBskyFeedNS {
2121
2118
  })
2122
2119
  }
2123
2120
 
2121
+ getPosts(
2122
+ params?: AppBskyFeedGetPosts.QueryParams,
2123
+ opts?: AppBskyFeedGetPosts.CallOptions,
2124
+ ): Promise<AppBskyFeedGetPosts.Response> {
2125
+ return this._client.call('app.bsky.feed.getPosts', params, undefined, opts)
2126
+ }
2127
+
2124
2128
  getQuotes(
2125
2129
  params?: AppBskyFeedGetQuotes.QueryParams,
2126
2130
  opts?: AppBskyFeedGetQuotes.CallOptions,
@@ -3439,6 +3443,30 @@ export class AppBskyUnspeccedNS {
3439
3443
  )
3440
3444
  }
3441
3445
 
3446
+ getPostThreadHiddenV2(
3447
+ params?: AppBskyUnspeccedGetPostThreadHiddenV2.QueryParams,
3448
+ opts?: AppBskyUnspeccedGetPostThreadHiddenV2.CallOptions,
3449
+ ): Promise<AppBskyUnspeccedGetPostThreadHiddenV2.Response> {
3450
+ return this._client.call(
3451
+ 'app.bsky.unspecced.getPostThreadHiddenV2',
3452
+ params,
3453
+ undefined,
3454
+ opts,
3455
+ )
3456
+ }
3457
+
3458
+ getPostThreadV2(
3459
+ params?: AppBskyUnspeccedGetPostThreadV2.QueryParams,
3460
+ opts?: AppBskyUnspeccedGetPostThreadV2.CallOptions,
3461
+ ): Promise<AppBskyUnspeccedGetPostThreadV2.Response> {
3462
+ return this._client.call(
3463
+ 'app.bsky.unspecced.getPostThreadV2',
3464
+ params,
3465
+ undefined,
3466
+ opts,
3467
+ )
3468
+ }
3469
+
3442
3470
  getSuggestedFeeds(
3443
3471
  params?: AppBskyUnspeccedGetSuggestedFeeds.QueryParams,
3444
3472
  opts?: AppBskyUnspeccedGetSuggestedFeeds.CallOptions,