@atproto/api 0.15.11 → 0.15.13
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.
- package/CHANGELOG.md +12 -0
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +9 -9
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +200 -220
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +112 -117
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +33 -0
- package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.js +36 -0
- package/dist/client/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts +40 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.js +20 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts +4 -31
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.js +0 -36
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +16 -16
- package/src/client/lexicons.ts +119 -124
- package/src/client/types/app/bsky/unspecced/defs.ts +73 -0
- package/src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts +64 -0
- package/src/client/types/app/bsky/unspecced/getPostThreadV2.ts +7 -74
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts +0 -50
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -29
- package/dist/client/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
- package/src/client/types/app/bsky/unspecced/getPostThreadHiddenV2.ts +0 -83
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
import type * as AppBskyActorDefs from '../actor/defs.js';
|
|
6
|
+
import type * as AppBskyFeedDefs from '../feed/defs.js';
|
|
6
7
|
export interface SkeletonSearchPost {
|
|
7
8
|
$type?: 'app.bsky.unspecced.defs#skeletonSearchPost';
|
|
8
9
|
uri: string;
|
|
@@ -56,4 +57,36 @@ export interface TrendView {
|
|
|
56
57
|
}
|
|
57
58
|
export declare function isTrendView<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "trendView">;
|
|
58
59
|
export declare function validateTrendView<V>(v: V): ValidationResult<TrendView & V>;
|
|
60
|
+
export interface ThreadItemPost {
|
|
61
|
+
$type?: 'app.bsky.unspecced.defs#threadItemPost';
|
|
62
|
+
post: AppBskyFeedDefs.PostView;
|
|
63
|
+
/** This post has more parents that were not present in the response. This is just a boolean, without the number of parents. */
|
|
64
|
+
moreParents: boolean;
|
|
65
|
+
/** 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. */
|
|
66
|
+
moreReplies: number;
|
|
67
|
+
/** 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. */
|
|
68
|
+
opThread: boolean;
|
|
69
|
+
/** The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread. */
|
|
70
|
+
hiddenByThreadgate: boolean;
|
|
71
|
+
/** This is by an account muted by the viewer requesting it. */
|
|
72
|
+
mutedByViewer: boolean;
|
|
73
|
+
}
|
|
74
|
+
export declare function isThreadItemPost<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "threadItemPost">;
|
|
75
|
+
export declare function validateThreadItemPost<V>(v: V): ValidationResult<ThreadItemPost & V>;
|
|
76
|
+
export interface ThreadItemNoUnauthenticated {
|
|
77
|
+
$type?: 'app.bsky.unspecced.defs#threadItemNoUnauthenticated';
|
|
78
|
+
}
|
|
79
|
+
export declare function isThreadItemNoUnauthenticated<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "threadItemNoUnauthenticated">;
|
|
80
|
+
export declare function validateThreadItemNoUnauthenticated<V>(v: V): ValidationResult<ThreadItemNoUnauthenticated & V>;
|
|
81
|
+
export interface ThreadItemNotFound {
|
|
82
|
+
$type?: 'app.bsky.unspecced.defs#threadItemNotFound';
|
|
83
|
+
}
|
|
84
|
+
export declare function isThreadItemNotFound<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "threadItemNotFound">;
|
|
85
|
+
export declare function validateThreadItemNotFound<V>(v: V): ValidationResult<ThreadItemNotFound & V>;
|
|
86
|
+
export interface ThreadItemBlocked {
|
|
87
|
+
$type?: 'app.bsky.unspecced.defs#threadItemBlocked';
|
|
88
|
+
author: AppBskyFeedDefs.BlockedAuthor;
|
|
89
|
+
}
|
|
90
|
+
export declare function isThreadItemBlocked<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.defs", "threadItemBlocked">;
|
|
91
|
+
export declare function validateThreadItemBlocked<V>(v: V): ValidationResult<ThreadItemBlocked & V>;
|
|
59
92
|
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../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IACxI,QAAQ,EAAE,OAAO,CAAA;IACjB,0HAA0H;IAC1H,kBAAkB,EAAE,OAAO,CAAA;IAC3B,+DAA+D;IAC/D,aAAa,EAAE,OAAO,CAAA;CACvB;AAID,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gGAEvC;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wCAE7C;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,qDAAqD,CAAA;CAC9D;AAID,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6GAEpD;AAED,wBAAgB,mCAAmC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qDAM1D;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,4CAA4C,CAAA;CACrD;AAID,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oGAE3C;AAED,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4CAEjD;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,2CAA2C,CAAA;IACnD,MAAM,EAAE,eAAe,CAAC,aAAa,CAAA;CACtC;AAID,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAE1C;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2CAEhD"}
|
|
@@ -12,6 +12,14 @@ exports.isSkeletonTrend = isSkeletonTrend;
|
|
|
12
12
|
exports.validateSkeletonTrend = validateSkeletonTrend;
|
|
13
13
|
exports.isTrendView = isTrendView;
|
|
14
14
|
exports.validateTrendView = validateTrendView;
|
|
15
|
+
exports.isThreadItemPost = isThreadItemPost;
|
|
16
|
+
exports.validateThreadItemPost = validateThreadItemPost;
|
|
17
|
+
exports.isThreadItemNoUnauthenticated = isThreadItemNoUnauthenticated;
|
|
18
|
+
exports.validateThreadItemNoUnauthenticated = validateThreadItemNoUnauthenticated;
|
|
19
|
+
exports.isThreadItemNotFound = isThreadItemNotFound;
|
|
20
|
+
exports.validateThreadItemNotFound = validateThreadItemNotFound;
|
|
21
|
+
exports.isThreadItemBlocked = isThreadItemBlocked;
|
|
22
|
+
exports.validateThreadItemBlocked = validateThreadItemBlocked;
|
|
15
23
|
const lexicons_1 = require("../../../../lexicons");
|
|
16
24
|
const util_1 = require("../../../../util");
|
|
17
25
|
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
@@ -58,4 +66,32 @@ function isTrendView(v) {
|
|
|
58
66
|
function validateTrendView(v) {
|
|
59
67
|
return validate(v, id, hashTrendView);
|
|
60
68
|
}
|
|
69
|
+
const hashThreadItemPost = 'threadItemPost';
|
|
70
|
+
function isThreadItemPost(v) {
|
|
71
|
+
return is$typed(v, id, hashThreadItemPost);
|
|
72
|
+
}
|
|
73
|
+
function validateThreadItemPost(v) {
|
|
74
|
+
return validate(v, id, hashThreadItemPost);
|
|
75
|
+
}
|
|
76
|
+
const hashThreadItemNoUnauthenticated = 'threadItemNoUnauthenticated';
|
|
77
|
+
function isThreadItemNoUnauthenticated(v) {
|
|
78
|
+
return is$typed(v, id, hashThreadItemNoUnauthenticated);
|
|
79
|
+
}
|
|
80
|
+
function validateThreadItemNoUnauthenticated(v) {
|
|
81
|
+
return validate(v, id, hashThreadItemNoUnauthenticated);
|
|
82
|
+
}
|
|
83
|
+
const hashThreadItemNotFound = 'threadItemNotFound';
|
|
84
|
+
function isThreadItemNotFound(v) {
|
|
85
|
+
return is$typed(v, id, hashThreadItemNotFound);
|
|
86
|
+
}
|
|
87
|
+
function validateThreadItemNotFound(v) {
|
|
88
|
+
return validate(v, id, hashThreadItemNotFound);
|
|
89
|
+
}
|
|
90
|
+
const hashThreadItemBlocked = 'threadItemBlocked';
|
|
91
|
+
function isThreadItemBlocked(v) {
|
|
92
|
+
return is$typed(v, id, hashThreadItemBlocked);
|
|
93
|
+
}
|
|
94
|
+
function validateThreadItemBlocked(v) {
|
|
95
|
+
return validate(v, id, hashThreadItemBlocked);
|
|
96
|
+
}
|
|
61
97
|
//# sourceMappingURL=defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":";;AAyBA,oDAEC;AAED,gEAEC;AASD,sDAEC;AAED,kEAEC;AASD,kEAEC;AAED,8EAMC;AAYD,0CAEC;AAED,sDAEC;AAgBD,0CAEC;AAED,sDAEC;AAgBD,kCAEC;AAED,8CAEC;AAmBD,4CAEC;AAED,wDAEC;AAQD,sEAEC;AAED,kFAMC;AAQD,oDAEC;AAED,gEAEC;AASD,kDAEC;AAED,8DAEC;AAlMD,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yBAAyB,CAAA;AAOpC,MAAM,sBAAsB,GAAG,oBAAoB,CAAA;AAEnD,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED,SAAgB,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAyB,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AACxE,CAAC;AAOD,MAAM,uBAAuB,GAAG,qBAAqB,CAAA;AAErD,SAAgB,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,uBAAuB,CAAC,CAAA;AACjD,CAAC;AAED,SAAgB,2BAA2B,CAAI,CAAI;IACjD,OAAO,QAAQ,CAA0B,CAAC,EAAE,EAAE,E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EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,CAAC;AAMD,MAAM,+BAA+B,GAAG,6BAA6B,CAAA;AAErE,SAAgB,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,+BAA+B,CAAC,CAAA;AACzD,CAAC;AAED,SAAgB,mCAAmC,CAAI,CAAI;IACzD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,+BAA+B,CAChC,CAAA;AACH,CAAC;AAMD,MAAM,sBAAsB,GAAG,oBAAoB,CAAA;AAEnD,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED,SAAgB,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAyB,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AACxE,CAAC;AAOD,MAAM,qBAAqB,GAAG,mBAAmB,CAAA;AAEjD,SAAgB,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AAC/C,CAAC;AAED,SAAgB,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAwB,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AACtE,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 AppBskyUnspeccedDefs from './defs.js';
|
|
8
|
+
export interface QueryParams {
|
|
9
|
+
/** Reference (AT-URI) to post record. This is the anchor post. */
|
|
10
|
+
anchor: string;
|
|
11
|
+
/** Whether to prioritize posts from followed users. It only has effect when the user is authenticated. */
|
|
12
|
+
prioritizeFollowedUsers?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export type InputSchema = undefined;
|
|
15
|
+
export interface OutputSchema {
|
|
16
|
+
/** A flat list of other thread items. The depth of each item is indicated by the depth property inside the item. */
|
|
17
|
+
thread: ThreadItem[];
|
|
18
|
+
}
|
|
19
|
+
export interface CallOptions {
|
|
20
|
+
signal?: AbortSignal;
|
|
21
|
+
headers?: HeadersMap;
|
|
22
|
+
}
|
|
23
|
+
export interface Response {
|
|
24
|
+
success: boolean;
|
|
25
|
+
headers: HeadersMap;
|
|
26
|
+
data: OutputSchema;
|
|
27
|
+
}
|
|
28
|
+
export declare function toKnownErr(e: any): any;
|
|
29
|
+
export interface ThreadItem {
|
|
30
|
+
$type?: 'app.bsky.unspecced.getPostThreadOtherV2#threadItem';
|
|
31
|
+
uri: string;
|
|
32
|
+
/** 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. */
|
|
33
|
+
depth: number;
|
|
34
|
+
value: $Typed<AppBskyUnspeccedDefs.ThreadItemPost> | {
|
|
35
|
+
$type: string;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export declare function isThreadItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadOtherV2", "threadItem">;
|
|
39
|
+
export declare function validateThreadItem<V>(v: V): ValidationResult<ThreadItem & V>;
|
|
40
|
+
//# sourceMappingURL=getPostThreadOtherV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostThreadOtherV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,M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Item = isThreadItem;
|
|
5
|
+
exports.validateThreadItem = validateThreadItem;
|
|
6
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
7
|
+
const util_1 = require("../../../../util");
|
|
8
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
9
|
+
const id = 'app.bsky.unspecced.getPostThreadOtherV2';
|
|
10
|
+
function toKnownErr(e) {
|
|
11
|
+
return e;
|
|
12
|
+
}
|
|
13
|
+
const hashThreadItem = 'threadItem';
|
|
14
|
+
function isThreadItem(v) {
|
|
15
|
+
return is$typed(v, id, hashThreadItem);
|
|
16
|
+
}
|
|
17
|
+
function validateThreadItem(v) {
|
|
18
|
+
return validate(v, id, hashThreadItem);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=getPostThreadOtherV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostThreadOtherV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":";;AA2CA,gCAEC;AAYD,oCAEC;AAED,gDAEC;AAzDD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA;AA2BpD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAUD,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,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { HeadersMap } from '@atproto/xrpc';
|
|
|
5
5
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
6
|
import { type $Typed } from '../../../../util';
|
|
7
7
|
import type * as AppBskyFeedDefs from '../feed/defs.js';
|
|
8
|
+
import type * as AppBskyUnspeccedDefs from './defs.js';
|
|
8
9
|
export interface QueryParams {
|
|
9
10
|
/** 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
11
|
anchor: string;
|
|
@@ -24,8 +25,8 @@ export interface OutputSchema {
|
|
|
24
25
|
/** A flat list of thread items. The depth of each item is indicated by the depth property inside the item. */
|
|
25
26
|
thread: ThreadItem[];
|
|
26
27
|
threadgate?: AppBskyFeedDefs.ThreadgateView;
|
|
27
|
-
/** Whether this thread has
|
|
28
|
-
|
|
28
|
+
/** Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them. */
|
|
29
|
+
hasOtherReplies: boolean;
|
|
29
30
|
}
|
|
30
31
|
export interface CallOptions {
|
|
31
32
|
signal?: AbortSignal;
|
|
@@ -42,38 +43,10 @@ export interface ThreadItem {
|
|
|
42
43
|
uri: string;
|
|
43
44
|
/** 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
45
|
depth: number;
|
|
45
|
-
value: $Typed<ThreadItemPost> | $Typed<ThreadItemNoUnauthenticated> | $Typed<ThreadItemNotFound> | $Typed<ThreadItemBlocked> | {
|
|
46
|
+
value: $Typed<AppBskyUnspeccedDefs.ThreadItemPost> | $Typed<AppBskyUnspeccedDefs.ThreadItemNoUnauthenticated> | $Typed<AppBskyUnspeccedDefs.ThreadItemNotFound> | $Typed<AppBskyUnspeccedDefs.ThreadItemBlocked> | {
|
|
46
47
|
$type: string;
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
export declare function isThreadItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.unspecced.getPostThreadV2", "threadItem">;
|
|
50
51
|
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
52
|
//# sourceMappingURL=getPostThreadV2.d.ts.map
|
|
@@ -1 +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;
|
|
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;AACvD,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,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,CAA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= toKnownErr;
|
|
4
4
|
exports.isThreadItem = isThreadItem;
|
|
5
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
6
|
const lexicons_1 = require("../../../../lexicons");
|
|
15
7
|
const util_1 = require("../../../../util");
|
|
16
8
|
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
@@ -25,32 +17,4 @@ function isThreadItem(v) {
|
|
|
25
17
|
function validateThreadItem(v) {
|
|
26
18
|
return validate(v, id, hashThreadItem);
|
|
27
19
|
}
|
|
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
20
|
//# sourceMappingURL=getPostThreadV2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThreadV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getPostThreadV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":";;AAuDA,gCAEC;AAiBD,oCAEC;AAED,gDAEC;AA1ED,mDAA4D;AAC5D,2CAIyB;AAIzB,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,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC"}
|
package/package.json
CHANGED
package/src/client/index.ts
CHANGED
|
@@ -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 AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
|
|
132
131
|
import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
|
|
132
|
+
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.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,7 +183,7 @@ 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
|
|
186
|
+
import * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'
|
|
187
187
|
import * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
|
|
188
188
|
import * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
|
|
189
189
|
import * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
|
|
@@ -391,8 +391,8 @@ export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGene
|
|
|
391
391
|
export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js'
|
|
392
392
|
export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js'
|
|
393
393
|
export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js'
|
|
394
|
-
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
|
|
395
394
|
export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js'
|
|
395
|
+
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js'
|
|
396
396
|
export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js'
|
|
397
397
|
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js'
|
|
398
398
|
export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js'
|
|
@@ -446,7 +446,7 @@ export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js'
|
|
|
446
446
|
export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js'
|
|
447
447
|
export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
|
|
448
448
|
export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
|
|
449
|
-
export * as
|
|
449
|
+
export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'
|
|
450
450
|
export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
|
|
451
451
|
export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
|
|
452
452
|
export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
|
|
@@ -2107,6 +2107,13 @@ export class AppBskyFeedNS {
|
|
|
2107
2107
|
})
|
|
2108
2108
|
}
|
|
2109
2109
|
|
|
2110
|
+
getPosts(
|
|
2111
|
+
params?: AppBskyFeedGetPosts.QueryParams,
|
|
2112
|
+
opts?: AppBskyFeedGetPosts.CallOptions,
|
|
2113
|
+
): Promise<AppBskyFeedGetPosts.Response> {
|
|
2114
|
+
return this._client.call('app.bsky.feed.getPosts', params, undefined, opts)
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2110
2117
|
getPostThread(
|
|
2111
2118
|
params?: AppBskyFeedGetPostThread.QueryParams,
|
|
2112
2119
|
opts?: AppBskyFeedGetPostThread.CallOptions,
|
|
@@ -2118,13 +2125,6 @@ export class AppBskyFeedNS {
|
|
|
2118
2125
|
})
|
|
2119
2126
|
}
|
|
2120
2127
|
|
|
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
|
-
|
|
2128
2128
|
getQuotes(
|
|
2129
2129
|
params?: AppBskyFeedGetQuotes.QueryParams,
|
|
2130
2130
|
opts?: AppBskyFeedGetQuotes.CallOptions,
|
|
@@ -3443,12 +3443,12 @@ export class AppBskyUnspeccedNS {
|
|
|
3443
3443
|
)
|
|
3444
3444
|
}
|
|
3445
3445
|
|
|
3446
|
-
|
|
3447
|
-
params?:
|
|
3448
|
-
opts?:
|
|
3449
|
-
): Promise<
|
|
3446
|
+
getPostThreadOtherV2(
|
|
3447
|
+
params?: AppBskyUnspeccedGetPostThreadOtherV2.QueryParams,
|
|
3448
|
+
opts?: AppBskyUnspeccedGetPostThreadOtherV2.CallOptions,
|
|
3449
|
+
): Promise<AppBskyUnspeccedGetPostThreadOtherV2.Response> {
|
|
3450
3450
|
return this._client.call(
|
|
3451
|
-
'app.bsky.unspecced.
|
|
3451
|
+
'app.bsky.unspecced.getPostThreadOtherV2',
|
|
3452
3452
|
params,
|
|
3453
3453
|
undefined,
|
|
3454
3454
|
opts,
|