@atproto/pds 0.4.97 → 0.4.99
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 +16 -0
- package/LICENSE.txt +1 -1
- package/dist/api/com/atproto/server/activateAccount.js +1 -1
- package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
- package/dist/lexicon/index.d.ts +8 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +16 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +610 -6
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +322 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts +40 -0
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js +7 -0
- package/dist/lexicon/types/chat/bsky/convo/acceptConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +32 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +36 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts +37 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js +7 -0
- package/dist/lexicon/types/chat/bsky/convo/getConvoAvailability.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts +2 -0
- package/dist/lexicon/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/lexicon/types/com/atproto/sync/listReposByCollection.d.ts +46 -0
- package/dist/lexicon/types/com/atproto/sync/listReposByCollection.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/sync/listReposByCollection.js +16 -0
- package/dist/lexicon/types/com/atproto/sync/listReposByCollection.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +22 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js +9 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.d.ts +36 -0
- package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.js +7 -0
- package/dist/lexicon/types/tools/ozone/moderation/getReporterStats.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts +2 -0
- package/dist/lexicon/types/tools/ozone/team/listMembers.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/api/com/atproto/server/activateAccount.ts +1 -1
- package/src/lexicon/index.ts +48 -0
- package/src/lexicon/lexicons.ts +334 -2
- package/src/lexicon/types/chat/bsky/convo/acceptConvo.ts +53 -0
- package/src/lexicon/types/chat/bsky/convo/defs.ts +66 -1
- package/src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts +51 -0
- package/src/lexicon/types/chat/bsky/convo/getLog.ts +1 -0
- package/src/lexicon/types/chat/bsky/convo/listConvos.ts +2 -0
- package/src/lexicon/types/com/atproto/repo/applyWrites.ts +1 -0
- package/src/lexicon/types/com/atproto/sync/listReposByCollection.ts +68 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +31 -0
- package/src/lexicon/types/tools/ozone/moderation/getReporterStats.ts +50 -0
- package/src/lexicon/types/tools/ozone/team/listMembers.ts +2 -0
- package/tests/crud.test.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import type * as ToolsOzoneModerationDefs from './defs.js';
|
7
|
+
export interface QueryParams {
|
8
|
+
dids: string[];
|
9
|
+
}
|
10
|
+
export type InputSchema = undefined;
|
11
|
+
export interface OutputSchema {
|
12
|
+
stats: ToolsOzoneModerationDefs.ReporterStats[];
|
13
|
+
}
|
14
|
+
export type HandlerInput = undefined;
|
15
|
+
export interface HandlerSuccess {
|
16
|
+
encoding: 'application/json';
|
17
|
+
body: OutputSchema;
|
18
|
+
headers?: {
|
19
|
+
[key: string]: string;
|
20
|
+
};
|
21
|
+
}
|
22
|
+
export interface HandlerError {
|
23
|
+
status: number;
|
24
|
+
message?: string;
|
25
|
+
}
|
26
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
27
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
28
|
+
auth: HA;
|
29
|
+
params: QueryParams;
|
30
|
+
input: HandlerInput;
|
31
|
+
req: express.Request;
|
32
|
+
res: express.Response;
|
33
|
+
resetRouteRateLimits: () => Promise<void>;
|
34
|
+
};
|
35
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
36
|
+
//# sourceMappingURL=getReporterStats.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getReporterStats.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/getReporterStats.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;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Module", { value: true });
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
4
|
+
const util_1 = require("../../../../util");
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
6
|
+
const id = 'tools.ozone.moderation.getReporterStats';
|
7
|
+
//# sourceMappingURL=getReporterStats.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getReporterStats.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/getReporterStats.ts"],"names":[],"mappings":";;AAMA,mDAA4D;AAC5D,2CAAyE;AAIzE,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA"}
|
@@ -5,6 +5,8 @@ import express from 'express';
|
|
5
5
|
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
6
|
import type * as ToolsOzoneTeamDefs from './defs.js';
|
7
7
|
export interface QueryParams {
|
8
|
+
disabled?: boolean;
|
9
|
+
roles?: string[];
|
8
10
|
limit: number;
|
9
11
|
cursor?: string;
|
10
12
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/team/listMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,KAAK,kBAAkB,MAAM,WAAW,CAAA;AAMpD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,kBAAkB,CAAC,MAAM,EAAE,CAAA;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5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
6
6
|
"keywords": [
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"zod": "^3.23.8",
|
51
51
|
"@atproto-labs/fetch-node": "0.1.7",
|
52
52
|
"@atproto-labs/xrpc-utils": "0.0.7",
|
53
|
-
"@atproto/api": "^0.14.
|
53
|
+
"@atproto/api": "^0.14.3",
|
54
54
|
"@atproto/aws": "^0.2.15",
|
55
55
|
"@atproto/common": "^0.4.8",
|
56
56
|
"@atproto/crypto": "^0.4.4",
|
@@ -78,8 +78,8 @@
|
|
78
78
|
"ts-node": "^10.8.2",
|
79
79
|
"typescript": "^5.6.3",
|
80
80
|
"ws": "^8.12.0",
|
81
|
-
"@atproto/api": "^0.14.
|
82
|
-
"@atproto/bsky": "^0.0.
|
81
|
+
"@atproto/api": "^0.14.3",
|
82
|
+
"@atproto/bsky": "^0.0.120",
|
83
83
|
"@atproto/lex-cli": "^0.6.1",
|
84
84
|
"@atproto/oauth-client-browser-example": "0.0.1"
|
85
85
|
},
|
@@ -49,7 +49,7 @@ export default function (server: Server, ctx: AppContext) {
|
|
49
49
|
// @NOTE: we're over-emitting for now for backwards compatibility, can reduce this in the future
|
50
50
|
const status = await ctx.accountManager.getAccountStatus(requester)
|
51
51
|
await ctx.sequencer.sequenceAccountEvt(requester, status)
|
52
|
-
await ctx.sequencer.
|
52
|
+
await ctx.sequencer.sequenceIdentityEvt(
|
53
53
|
requester,
|
54
54
|
account.handle ?? INVALID_HANDLE,
|
55
55
|
)
|
package/src/lexicon/index.ts
CHANGED
@@ -77,6 +77,7 @@ import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo.js'
|
|
77
77
|
import * as ComAtprotoSyncGetRepoStatus from './types/com/atproto/sync/getRepoStatus.js'
|
78
78
|
import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs.js'
|
79
79
|
import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos.js'
|
80
|
+
import * as ComAtprotoSyncListReposByCollection from './types/com/atproto/sync/listReposByCollection.js'
|
80
81
|
import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate.js'
|
81
82
|
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl.js'
|
82
83
|
import * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos.js'
|
@@ -149,8 +150,10 @@ import * as AppBskyVideoGetUploadLimits from './types/app/bsky/video/getUploadLi
|
|
149
150
|
import * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo.js'
|
150
151
|
import * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.js'
|
151
152
|
import * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.js'
|
153
|
+
import * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.js'
|
152
154
|
import * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/deleteMessageForSelf.js'
|
153
155
|
import * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js'
|
156
|
+
import * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js'
|
154
157
|
import * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js'
|
155
158
|
import * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js'
|
156
159
|
import * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js'
|
@@ -173,6 +176,7 @@ import * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/ge
|
|
173
176
|
import * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord.js'
|
174
177
|
import * as ToolsOzoneModerationGetRecords from './types/tools/ozone/moderation/getRecords.js'
|
175
178
|
import * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo.js'
|
179
|
+
import * as ToolsOzoneModerationGetReporterStats from './types/tools/ozone/moderation/getReporterStats.js'
|
176
180
|
import * as ToolsOzoneModerationGetRepos from './types/tools/ozone/moderation/getRepos.js'
|
177
181
|
import * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js'
|
178
182
|
import * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js'
|
@@ -1108,6 +1112,17 @@ export class ComAtprotoSyncNS {
|
|
1108
1112
|
return this._server.xrpc.method(nsid, cfg)
|
1109
1113
|
}
|
1110
1114
|
|
1115
|
+
listReposByCollection<AV extends AuthVerifier>(
|
1116
|
+
cfg: ConfigOf<
|
1117
|
+
AV,
|
1118
|
+
ComAtprotoSyncListReposByCollection.Handler<ExtractAuth<AV>>,
|
1119
|
+
ComAtprotoSyncListReposByCollection.HandlerReqCtx<ExtractAuth<AV>>
|
1120
|
+
>,
|
1121
|
+
) {
|
1122
|
+
const nsid = 'com.atproto.sync.listReposByCollection' // @ts-ignore
|
1123
|
+
return this._server.xrpc.method(nsid, cfg)
|
1124
|
+
}
|
1125
|
+
|
1111
1126
|
notifyOfUpdate<AV extends AuthVerifier>(
|
1112
1127
|
cfg: ConfigOf<
|
1113
1128
|
AV,
|
@@ -2056,6 +2071,17 @@ export class ChatBskyConvoNS {
|
|
2056
2071
|
this._server = server
|
2057
2072
|
}
|
2058
2073
|
|
2074
|
+
acceptConvo<AV extends AuthVerifier>(
|
2075
|
+
cfg: ConfigOf<
|
2076
|
+
AV,
|
2077
|
+
ChatBskyConvoAcceptConvo.Handler<ExtractAuth<AV>>,
|
2078
|
+
ChatBskyConvoAcceptConvo.HandlerReqCtx<ExtractAuth<AV>>
|
2079
|
+
>,
|
2080
|
+
) {
|
2081
|
+
const nsid = 'chat.bsky.convo.acceptConvo' // @ts-ignore
|
2082
|
+
return this._server.xrpc.method(nsid, cfg)
|
2083
|
+
}
|
2084
|
+
|
2059
2085
|
deleteMessageForSelf<AV extends AuthVerifier>(
|
2060
2086
|
cfg: ConfigOf<
|
2061
2087
|
AV,
|
@@ -2078,6 +2104,17 @@ export class ChatBskyConvoNS {
|
|
2078
2104
|
return this._server.xrpc.method(nsid, cfg)
|
2079
2105
|
}
|
2080
2106
|
|
2107
|
+
getConvoAvailability<AV extends AuthVerifier>(
|
2108
|
+
cfg: ConfigOf<
|
2109
|
+
AV,
|
2110
|
+
ChatBskyConvoGetConvoAvailability.Handler<ExtractAuth<AV>>,
|
2111
|
+
ChatBskyConvoGetConvoAvailability.HandlerReqCtx<ExtractAuth<AV>>
|
2112
|
+
>,
|
2113
|
+
) {
|
2114
|
+
const nsid = 'chat.bsky.convo.getConvoAvailability' // @ts-ignore
|
2115
|
+
return this._server.xrpc.method(nsid, cfg)
|
2116
|
+
}
|
2117
|
+
|
2081
2118
|
getConvoForMembers<AV extends AuthVerifier>(
|
2082
2119
|
cfg: ConfigOf<
|
2083
2120
|
AV,
|
@@ -2376,6 +2413,17 @@ export class ToolsOzoneModerationNS {
|
|
2376
2413
|
return this._server.xrpc.method(nsid, cfg)
|
2377
2414
|
}
|
2378
2415
|
|
2416
|
+
getReporterStats<AV extends AuthVerifier>(
|
2417
|
+
cfg: ConfigOf<
|
2418
|
+
AV,
|
2419
|
+
ToolsOzoneModerationGetReporterStats.Handler<ExtractAuth<AV>>,
|
2420
|
+
ToolsOzoneModerationGetReporterStats.HandlerReqCtx<ExtractAuth<AV>>
|
2421
|
+
>,
|
2422
|
+
) {
|
2423
|
+
const nsid = 'tools.ozone.moderation.getReporterStats' // @ts-ignore
|
2424
|
+
return this._server.xrpc.method(nsid, cfg)
|
2425
|
+
}
|
2426
|
+
|
2379
2427
|
getRepos<AV extends AuthVerifier>(
|
2380
2428
|
cfg: ConfigOf<
|
2381
2429
|
AV,
|