@atproto/pds 0.4.51 → 0.4.52
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +9 -0
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +4 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +141 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +142 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts +8 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.js +11 -1
- package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts +44 -0
- package/dist/lexicon/types/app/bsky/feed/getQuotes.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/getQuotes.js +3 -0
- package/dist/lexicon/types/app/bsky/feed/getQuotes.js.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.js +27 -0
- package/dist/lexicon/types/app/bsky/feed/postgate.js.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/feed/threadgate.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/threadgate.js.map +1 -1
- package/package.json +4 -4
- package/src/lexicon/index.ts +12 -0
- package/src/lexicon/lexicons.ts +145 -0
- package/src/lexicon/types/app/bsky/embed/record.ts +19 -0
- package/src/lexicon/types/app/bsky/feed/defs.ts +2 -0
- package/src/lexicon/types/app/bsky/feed/getQuotes.ts +54 -0
- package/src/lexicon/types/app/bsky/feed/postgate.ts +47 -0
- package/src/lexicon/types/app/bsky/feed/threadgate.ts +2 -0
- package/tests/proxied/__snapshots__/feedgen.test.ts.snap +4 -0
- package/tests/proxied/__snapshots__/views.test.ts.snap +80 -0
@@ -18,7 +18,7 @@ export interface Main {
|
|
18
18
|
export declare function isMain(v: unknown): v is Main;
|
19
19
|
export declare function validateMain(v: unknown): ValidationResult;
|
20
20
|
export interface View {
|
21
|
-
record: ViewRecord | ViewNotFound | ViewBlocked | AppBskyFeedDefs.GeneratorView | AppBskyGraphDefs.ListView | AppBskyLabelerDefs.LabelerView | AppBskyGraphDefs.StarterPackViewBasic | {
|
21
|
+
record: ViewRecord | ViewNotFound | ViewBlocked | ViewDetached | AppBskyFeedDefs.GeneratorView | AppBskyGraphDefs.ListView | AppBskyLabelerDefs.LabelerView | AppBskyGraphDefs.StarterPackViewBasic | {
|
22
22
|
$type: string;
|
23
23
|
[k: string]: unknown;
|
24
24
|
};
|
@@ -60,4 +60,11 @@ export interface ViewBlocked {
|
|
60
60
|
}
|
61
61
|
export declare function isViewBlocked(v: unknown): v is ViewBlocked;
|
62
62
|
export declare function validateViewBlocked(v: unknown): ValidationResult;
|
63
|
+
export interface ViewDetached {
|
64
|
+
uri: string;
|
65
|
+
detached: true;
|
66
|
+
[k: string]: unknown;
|
67
|
+
}
|
68
|
+
export declare function isViewDetached(v: unknown): v is ViewDetached;
|
69
|
+
export declare function validateViewDetached(v: unknown): ValidationResult;
|
63
70
|
//# sourceMappingURL=record.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,uBAAuB,MAAM,qCAAqC,CAAA;AAC9E,OAAO,KAA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A;IACb,MAAM,EAAE,eAAe,CAAC,aAAa,CAAA;IACrC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,WAAW,CAM1D;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEhE;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,IAAI,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,YAAY,CAM5D;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEjE"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateViewBlocked = exports.isViewBlocked = exports.validateViewNotFound = exports.isViewNotFound = exports.validateViewRecord = exports.isViewRecord = exports.validateView = exports.isView = exports.validateMain = exports.isMain = void 0;
|
3
|
+
exports.validateViewDetached = exports.isViewDetached = exports.validateViewBlocked = exports.isViewBlocked = exports.validateViewNotFound = exports.isViewNotFound = exports.validateViewRecord = exports.isViewRecord = exports.validateView = exports.isView = exports.validateMain = exports.isMain = void 0;
|
4
4
|
const lexicons_1 = require("../../../../lexicons");
|
5
5
|
const util_1 = require("../../../../util");
|
6
6
|
function isMain(v) {
|
@@ -52,4 +52,14 @@ function validateViewBlocked(v) {
|
|
52
52
|
return lexicons_1.lexicons.validate('app.bsky.embed.record#viewBlocked', v);
|
53
53
|
}
|
54
54
|
exports.validateViewBlocked = validateViewBlocked;
|
55
|
+
function isViewDetached(v) {
|
56
|
+
return ((0, util_1.isObj)(v) &&
|
57
|
+
(0, util_1.hasProp)(v, '$type') &&
|
58
|
+
v.$type === 'app.bsky.embed.record#viewDetached');
|
59
|
+
}
|
60
|
+
exports.isViewDetached = isViewDetached;
|
61
|
+
function validateViewDetached(v) {
|
62
|
+
return lexicons_1.lexicons.validate('app.bsky.embed.record#viewDetached', v);
|
63
|
+
}
|
64
|
+
exports.validateViewDetached = validateViewDetached;
|
55
65
|
//# sourceMappingURL=record.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAiBjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,4BAA4B;YACvC,CAAC,CAAC,KAAK,KAAK,uBAAuB,CAAC,CACvC,CAAA;AACH,CAAC;AAPD,wBAOC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,oCAEC;
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/embed/record.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAiBjD,SAAgB,MAAM,CAAC,CAAU;IAC/B,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,4BAA4B;YACvC,CAAC,CAAC,KAAK,KAAK,uBAAuB,CAAC,CACvC,CAAA;AACH,CAAC;AAPD,wBAOC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAA;AAC3D,CAAC;AA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AU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,kDAEC;AAQD,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,oCAAoC,CACjD,CAAA;AACH,CAAC;AAND,wCAMC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,oDAEC"}
|
@@ -22,6 +22,7 @@ export interface PostView {
|
|
22
22
|
replyCount?: number;
|
23
23
|
repostCount?: number;
|
24
24
|
likeCount?: number;
|
25
|
+
quoteCount?: number;
|
25
26
|
indexedAt: string;
|
26
27
|
viewer?: ViewerState;
|
27
28
|
labels?: ComAtprotoLabelDefs.Label[];
|
@@ -36,6 +37,7 @@ export interface ViewerState {
|
|
36
37
|
like?: string;
|
37
38
|
threadMuted?: boolean;
|
38
39
|
replyDisabled?: boolean;
|
40
|
+
embeddingDisabled?: boolean;
|
39
41
|
[k: string]: unknown;
|
40
42
|
}
|
41
43
|
export declare function isViewerState(v: unknown): v is ViewerState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAA;AACrD,OAAO,KAAK,2BAA2B,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0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,0CAA0C,CAAA;AACzE,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,4CAA4C,CAAA;AAC7E,oEAAoE;AACpE,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,iCAAiC;AACjC,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,+BAA+B;AAC/B,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,kCAAkC;AAClC,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,oCAAoC;AACpC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAiCjD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAC7E,CAAA;AACH,CAAC;AAJD,gCAIC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,4CAEC;AAYD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACn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AA,eAAe,GAAG,oCAAoC,CAAA;AACnE,kCAAkC;AACrB,QAAA,iBAAiB,GAAG,sCAAsC,CAAA;AACvE,oCAAoC;AACvB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as AppBskyFeedDefs from './defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
/** Reference (AT-URI) of post record */
|
9
|
+
uri: string;
|
10
|
+
/** If supplied, filters to quotes of specific version (by CID) of the post record. */
|
11
|
+
cid?: string;
|
12
|
+
limit: number;
|
13
|
+
cursor?: string;
|
14
|
+
}
|
15
|
+
export type InputSchema = undefined;
|
16
|
+
export interface OutputSchema {
|
17
|
+
uri: string;
|
18
|
+
cid?: string;
|
19
|
+
cursor?: string;
|
20
|
+
posts: AppBskyFeedDefs.PostView[];
|
21
|
+
[k: string]: unknown;
|
22
|
+
}
|
23
|
+
export type HandlerInput = undefined;
|
24
|
+
export interface HandlerSuccess {
|
25
|
+
encoding: 'application/json';
|
26
|
+
body: OutputSchema;
|
27
|
+
headers?: {
|
28
|
+
[key: string]: string;
|
29
|
+
};
|
30
|
+
}
|
31
|
+
export interface HandlerError {
|
32
|
+
status: number;
|
33
|
+
message?: string;
|
34
|
+
}
|
35
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
36
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
37
|
+
auth: HA;
|
38
|
+
params: QueryParams;
|
39
|
+
input: HandlerInput;
|
40
|
+
req: express.Request;
|
41
|
+
res: express.Response;
|
42
|
+
};
|
43
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
44
|
+
//# sourceMappingURL=getQuotes.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getQuotes.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/getQuotes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,eAAe,MAAM,QAAQ,CAAA;AAEzC,MAAM,WAAW,WAAW;IAC1B,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,sFAAsF;IACtF,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAA;IACjC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getQuotes.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/getQuotes.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import { ValidationResult } from '@atproto/lexicon';
|
5
|
+
export interface Record {
|
6
|
+
createdAt: string;
|
7
|
+
/** Reference (AT-URI) to the post record. */
|
8
|
+
post: string;
|
9
|
+
/** List of AT-URIs embedding this post that the author has detached from. */
|
10
|
+
detachedEmbeddingUris?: string[];
|
11
|
+
embeddingRules?: (DisableRule | {
|
12
|
+
$type: string;
|
13
|
+
[k: string]: unknown;
|
14
|
+
})[];
|
15
|
+
[k: string]: unknown;
|
16
|
+
}
|
17
|
+
export declare function isRecord(v: unknown): v is Record;
|
18
|
+
export declare function validateRecord(v: unknown): ValidationResult;
|
19
|
+
/** Disables embedding of this post. */
|
20
|
+
export interface DisableRule {
|
21
|
+
[k: string]: unknown;
|
22
|
+
}
|
23
|
+
export declare function isDisableRule(v: unknown): v is DisableRule;
|
24
|
+
export declare function validateDisableRule(v: unknown): ValidationResult;
|
25
|
+
//# sourceMappingURL=postgate.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"postgate.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/postgate.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAK5D,MAAM,WAAW,MAAM;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,6EAA6E;IAC7E,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAA;IAChC,cAAc,CAAC,EAAE,CAAC,WAAW,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,EAAE,CAAA;IAC1E,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAOhD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE3D;AAED,uCAAuC;AACvC,MAAM,WAAW,WAAW;IAC1B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,WAAW,CAM1D;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEhE"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.validateDisableRule = exports.isDisableRule = exports.validateRecord = exports.isRecord = void 0;
|
4
|
+
const lexicons_1 = require("../../../../lexicons");
|
5
|
+
const util_1 = require("../../../../util");
|
6
|
+
function isRecord(v) {
|
7
|
+
return ((0, util_1.isObj)(v) &&
|
8
|
+
(0, util_1.hasProp)(v, '$type') &&
|
9
|
+
(v.$type === 'app.bsky.feed.postgate#main' ||
|
10
|
+
v.$type === 'app.bsky.feed.postgate'));
|
11
|
+
}
|
12
|
+
exports.isRecord = isRecord;
|
13
|
+
function validateRecord(v) {
|
14
|
+
return lexicons_1.lexicons.validate('app.bsky.feed.postgate#main', v);
|
15
|
+
}
|
16
|
+
exports.validateRecord = validateRecord;
|
17
|
+
function isDisableRule(v) {
|
18
|
+
return ((0, util_1.isObj)(v) &&
|
19
|
+
(0, util_1.hasProp)(v, '$type') &&
|
20
|
+
v.$type === 'app.bsky.feed.postgate#disableRule');
|
21
|
+
}
|
22
|
+
exports.isDisableRule = isDisableRule;
|
23
|
+
function validateDisableRule(v) {
|
24
|
+
return lexicons_1.lexicons.validate('app.bsky.feed.postgate#disableRule', v);
|
25
|
+
}
|
26
|
+
exports.validateDisableRule = validateDisableRule;
|
27
|
+
//# sourceMappingURL=postgate.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"postgate.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/postgate.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAajD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,6BAA6B;YACxC,CAAC,CAAC,KAAK,KAAK,wBAAwB,CAAC,CACxC,CAAA;AACH,CAAC;AAPD,4BAOC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC;AAOD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK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GAAG,gBAAgB,CAEhE;AAED,4CAA4C;AAC5C,MAAM,WAAW,aAAa;IAC5B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,aAAa,CAM9D;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAElE;AAED,2CAA2C;AAC3C,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,QAAQ,CAMpD;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAE7D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"threadgate.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/threadgate.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;
|
1
|
+
{"version":3,"file":"threadgate.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/threadgate.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAkBjD,SAAgB,QAAQ,CAAC,CAAU;IACjC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,CAAC,KAAK,KAAK,+BAA+B;YAC1C,CAAC,CAAC,KAAK,KAAK,0BAA0B,CAAC,CAC1C,CAAA;AACH,CAAC;AAPD,4BAOC;AAED,SAAgB,cAAc,CAAC,CAAU;IACvC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,+BAA+B,EAAE,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,wCAEC;AAOD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAND,sCAMC;AAED,SAAgB,mBAAmB,CAAC,CAAU;IAC5C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,kDAEC;AAOD,SAAgB,eAAe,CAAC,CAAU;IACxC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,wCAAwC,CACrD,CAAA;AACH,CAAC;AAND,0CAMC;AAED,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,sDAEC;AAQD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mCAAmC,CAChD,CAAA;AACH,CAAC;AAND,gCAMC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,4CAEC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/pds",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.52",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
6
6
|
"keywords": [
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"uint8arrays": "3.0.0",
|
45
45
|
"zod": "^3.23.8",
|
46
46
|
"@atproto-labs/fetch-node": "0.1.0",
|
47
|
-
"@atproto/api": "^0.13.
|
47
|
+
"@atproto/api": "^0.13.2",
|
48
48
|
"@atproto/aws": "^0.2.2",
|
49
49
|
"@atproto/common": "^0.4.1",
|
50
50
|
"@atproto/crypto": "^0.4.0",
|
@@ -72,8 +72,8 @@
|
|
72
72
|
"jest": "^28.1.2",
|
73
73
|
"ts-node": "^10.8.2",
|
74
74
|
"ws": "^8.12.0",
|
75
|
-
"@atproto/
|
76
|
-
"@atproto/
|
75
|
+
"@atproto/api": "^0.13.2",
|
76
|
+
"@atproto/bsky": "^0.0.77",
|
77
77
|
"@atproto/lex-cli": "^0.5.0"
|
78
78
|
},
|
79
79
|
"scripts": {
|
package/src/lexicon/index.ts
CHANGED
@@ -102,6 +102,7 @@ import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes'
|
|
102
102
|
import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed'
|
103
103
|
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread'
|
104
104
|
import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts'
|
105
|
+
import * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes'
|
105
106
|
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy'
|
106
107
|
import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds'
|
107
108
|
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'
|
@@ -1414,6 +1415,17 @@ export class AppBskyFeedNS {
|
|
1414
1415
|
return this._server.xrpc.method(nsid, cfg)
|
1415
1416
|
}
|
1416
1417
|
|
1418
|
+
getQuotes<AV extends AuthVerifier>(
|
1419
|
+
cfg: ConfigOf<
|
1420
|
+
AV,
|
1421
|
+
AppBskyFeedGetQuotes.Handler<ExtractAuth<AV>>,
|
1422
|
+
AppBskyFeedGetQuotes.HandlerReqCtx<ExtractAuth<AV>>
|
1423
|
+
>,
|
1424
|
+
) {
|
1425
|
+
const nsid = 'app.bsky.feed.getQuotes' // @ts-ignore
|
1426
|
+
return this._server.xrpc.method(nsid, cfg)
|
1427
|
+
}
|
1428
|
+
|
1417
1429
|
getRepostedBy<AV extends AuthVerifier>(
|
1418
1430
|
cfg: ConfigOf<
|
1419
1431
|
AV,
|
package/src/lexicon/lexicons.ts
CHANGED
@@ -4989,6 +4989,7 @@ export const schemaDict = {
|
|
4989
4989
|
'lex:app.bsky.embed.record#viewRecord',
|
4990
4990
|
'lex:app.bsky.embed.record#viewNotFound',
|
4991
4991
|
'lex:app.bsky.embed.record#viewBlocked',
|
4992
|
+
'lex:app.bsky.embed.record#viewDetached',
|
4992
4993
|
'lex:app.bsky.feed.defs#generatorView',
|
4993
4994
|
'lex:app.bsky.graph.defs#listView',
|
4994
4995
|
'lex:app.bsky.labeler.defs#labelerView',
|
@@ -5083,6 +5084,20 @@ export const schemaDict = {
|
|
5083
5084
|
},
|
5084
5085
|
},
|
5085
5086
|
},
|
5087
|
+
viewDetached: {
|
5088
|
+
type: 'object',
|
5089
|
+
required: ['uri', 'detached'],
|
5090
|
+
properties: {
|
5091
|
+
uri: {
|
5092
|
+
type: 'string',
|
5093
|
+
format: 'at-uri',
|
5094
|
+
},
|
5095
|
+
detached: {
|
5096
|
+
type: 'boolean',
|
5097
|
+
const: true,
|
5098
|
+
},
|
5099
|
+
},
|
5100
|
+
},
|
5086
5101
|
},
|
5087
5102
|
},
|
5088
5103
|
AppBskyEmbedRecordWithMedia: {
|
@@ -5165,6 +5180,9 @@ export const schemaDict = {
|
|
5165
5180
|
likeCount: {
|
5166
5181
|
type: 'integer',
|
5167
5182
|
},
|
5183
|
+
quoteCount: {
|
5184
|
+
type: 'integer',
|
5185
|
+
},
|
5168
5186
|
indexedAt: {
|
5169
5187
|
type: 'string',
|
5170
5188
|
format: 'datetime',
|
@@ -5205,6 +5223,9 @@ export const schemaDict = {
|
|
5205
5223
|
replyDisabled: {
|
5206
5224
|
type: 'boolean',
|
5207
5225
|
},
|
5226
|
+
embeddingDisabled: {
|
5227
|
+
type: 'boolean',
|
5228
|
+
},
|
5208
5229
|
},
|
5209
5230
|
},
|
5210
5231
|
feedViewPost: {
|
@@ -6280,6 +6301,69 @@ export const schemaDict = {
|
|
6280
6301
|
},
|
6281
6302
|
},
|
6282
6303
|
},
|
6304
|
+
AppBskyFeedGetQuotes: {
|
6305
|
+
lexicon: 1,
|
6306
|
+
id: 'app.bsky.feed.getQuotes',
|
6307
|
+
defs: {
|
6308
|
+
main: {
|
6309
|
+
type: 'query',
|
6310
|
+
description: 'Get a list of quotes for a given post.',
|
6311
|
+
parameters: {
|
6312
|
+
type: 'params',
|
6313
|
+
required: ['uri'],
|
6314
|
+
properties: {
|
6315
|
+
uri: {
|
6316
|
+
type: 'string',
|
6317
|
+
format: 'at-uri',
|
6318
|
+
description: 'Reference (AT-URI) of post record',
|
6319
|
+
},
|
6320
|
+
cid: {
|
6321
|
+
type: 'string',
|
6322
|
+
format: 'cid',
|
6323
|
+
description:
|
6324
|
+
'If supplied, filters to quotes of specific version (by CID) of the post record.',
|
6325
|
+
},
|
6326
|
+
limit: {
|
6327
|
+
type: 'integer',
|
6328
|
+
minimum: 1,
|
6329
|
+
maximum: 100,
|
6330
|
+
default: 50,
|
6331
|
+
},
|
6332
|
+
cursor: {
|
6333
|
+
type: 'string',
|
6334
|
+
},
|
6335
|
+
},
|
6336
|
+
},
|
6337
|
+
output: {
|
6338
|
+
encoding: 'application/json',
|
6339
|
+
schema: {
|
6340
|
+
type: 'object',
|
6341
|
+
required: ['uri', 'posts'],
|
6342
|
+
properties: {
|
6343
|
+
uri: {
|
6344
|
+
type: 'string',
|
6345
|
+
format: 'at-uri',
|
6346
|
+
},
|
6347
|
+
cid: {
|
6348
|
+
type: 'string',
|
6349
|
+
format: 'cid',
|
6350
|
+
},
|
6351
|
+
cursor: {
|
6352
|
+
type: 'string',
|
6353
|
+
},
|
6354
|
+
posts: {
|
6355
|
+
type: 'array',
|
6356
|
+
items: {
|
6357
|
+
type: 'ref',
|
6358
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
6359
|
+
},
|
6360
|
+
},
|
6361
|
+
},
|
6362
|
+
},
|
6363
|
+
},
|
6364
|
+
},
|
6365
|
+
},
|
6366
|
+
},
|
6283
6367
|
AppBskyFeedGetRepostedBy: {
|
6284
6368
|
lexicon: 1,
|
6285
6369
|
id: 'app.bsky.feed.getRepostedBy',
|
@@ -6596,6 +6680,56 @@ export const schemaDict = {
|
|
6596
6680
|
},
|
6597
6681
|
},
|
6598
6682
|
},
|
6683
|
+
AppBskyFeedPostgate: {
|
6684
|
+
lexicon: 1,
|
6685
|
+
id: 'app.bsky.feed.postgate',
|
6686
|
+
defs: {
|
6687
|
+
main: {
|
6688
|
+
type: 'record',
|
6689
|
+
key: 'tid',
|
6690
|
+
description:
|
6691
|
+
'Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.',
|
6692
|
+
record: {
|
6693
|
+
type: 'object',
|
6694
|
+
required: ['post', 'createdAt'],
|
6695
|
+
properties: {
|
6696
|
+
createdAt: {
|
6697
|
+
type: 'string',
|
6698
|
+
format: 'datetime',
|
6699
|
+
},
|
6700
|
+
post: {
|
6701
|
+
type: 'string',
|
6702
|
+
format: 'at-uri',
|
6703
|
+
description: 'Reference (AT-URI) to the post record.',
|
6704
|
+
},
|
6705
|
+
detachedEmbeddingUris: {
|
6706
|
+
type: 'array',
|
6707
|
+
maxLength: 50,
|
6708
|
+
items: {
|
6709
|
+
type: 'string',
|
6710
|
+
format: 'at-uri',
|
6711
|
+
},
|
6712
|
+
description:
|
6713
|
+
'List of AT-URIs embedding this post that the author has detached from.',
|
6714
|
+
},
|
6715
|
+
embeddingRules: {
|
6716
|
+
type: 'array',
|
6717
|
+
maxLength: 5,
|
6718
|
+
items: {
|
6719
|
+
type: 'union',
|
6720
|
+
refs: ['lex:app.bsky.feed.postgate#disableRule'],
|
6721
|
+
},
|
6722
|
+
},
|
6723
|
+
},
|
6724
|
+
},
|
6725
|
+
},
|
6726
|
+
disableRule: {
|
6727
|
+
type: 'object',
|
6728
|
+
description: 'Disables embedding of this post.',
|
6729
|
+
properties: {},
|
6730
|
+
},
|
6731
|
+
},
|
6732
|
+
},
|
6599
6733
|
AppBskyFeedRepost: {
|
6600
6734
|
lexicon: 1,
|
6601
6735
|
id: 'app.bsky.feed.repost',
|
@@ -6807,6 +6941,15 @@ export const schemaDict = {
|
|
6807
6941
|
type: 'string',
|
6808
6942
|
format: 'datetime',
|
6809
6943
|
},
|
6944
|
+
hiddenReplies: {
|
6945
|
+
type: 'array',
|
6946
|
+
maxLength: 50,
|
6947
|
+
items: {
|
6948
|
+
type: 'string',
|
6949
|
+
format: 'at-uri',
|
6950
|
+
},
|
6951
|
+
description: 'List of hidden reply URIs.',
|
6952
|
+
},
|
6810
6953
|
},
|
6811
6954
|
},
|
6812
6955
|
},
|
@@ -11792,11 +11935,13 @@ export const ids = {
|
|
11792
11935
|
AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
|
11793
11936
|
AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
|
11794
11937
|
AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
|
11938
|
+
AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
|
11795
11939
|
AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',
|
11796
11940
|
AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds',
|
11797
11941
|
AppBskyFeedGetTimeline: 'app.bsky.feed.getTimeline',
|
11798
11942
|
AppBskyFeedLike: 'app.bsky.feed.like',
|
11799
11943
|
AppBskyFeedPost: 'app.bsky.feed.post',
|
11944
|
+
AppBskyFeedPostgate: 'app.bsky.feed.postgate',
|
11800
11945
|
AppBskyFeedRepost: 'app.bsky.feed.repost',
|
11801
11946
|
AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
|
11802
11947
|
AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
|
@@ -38,6 +38,7 @@ export interface View {
|
|
38
38
|
| ViewRecord
|
39
39
|
| ViewNotFound
|
40
40
|
| ViewBlocked
|
41
|
+
| ViewDetached
|
41
42
|
| AppBskyFeedDefs.GeneratorView
|
42
43
|
| AppBskyGraphDefs.ListView
|
43
44
|
| AppBskyLabelerDefs.LabelerView
|
@@ -125,3 +126,21 @@ export function isViewBlocked(v: unknown): v is ViewBlocked {
|
|
125
126
|
export function validateViewBlocked(v: unknown): ValidationResult {
|
126
127
|
return lexicons.validate('app.bsky.embed.record#viewBlocked', v)
|
127
128
|
}
|
129
|
+
|
130
|
+
export interface ViewDetached {
|
131
|
+
uri: string
|
132
|
+
detached: true
|
133
|
+
[k: string]: unknown
|
134
|
+
}
|
135
|
+
|
136
|
+
export function isViewDetached(v: unknown): v is ViewDetached {
|
137
|
+
return (
|
138
|
+
isObj(v) &&
|
139
|
+
hasProp(v, '$type') &&
|
140
|
+
v.$type === 'app.bsky.embed.record#viewDetached'
|
141
|
+
)
|
142
|
+
}
|
143
|
+
|
144
|
+
export function validateViewDetached(v: unknown): ValidationResult {
|
145
|
+
return lexicons.validate('app.bsky.embed.record#viewDetached', v)
|
146
|
+
}
|
@@ -28,6 +28,7 @@ export interface PostView {
|
|
28
28
|
replyCount?: number
|
29
29
|
repostCount?: number
|
30
30
|
likeCount?: number
|
31
|
+
quoteCount?: number
|
31
32
|
indexedAt: string
|
32
33
|
viewer?: ViewerState
|
33
34
|
labels?: ComAtprotoLabelDefs.Label[]
|
@@ -51,6 +52,7 @@ export interface ViewerState {
|
|
51
52
|
like?: string
|
52
53
|
threadMuted?: boolean
|
53
54
|
replyDisabled?: boolean
|
55
|
+
embeddingDisabled?: boolean
|
54
56
|
[k: string]: unknown
|
55
57
|
}
|
56
58
|
|