@atproto/pds 0.4.16 → 0.4.18
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.js +11 -1
- package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
- package/dist/config/config.d.ts +1 -0
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +1 -0
- package/dist/config/config.js.map +1 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +1 -0
- package/dist/config/env.js.map +1 -1
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -0
- package/dist/context.js.map +1 -1
- package/dist/db/tables/moderation.d.ts +1 -1
- package/dist/db/tables/moderation.d.ts.map +1 -1
- package/dist/lexicon/lexicons.d.ts +68 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +78 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +16 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +21 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +22 -2
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js +22 -2
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +2 -0
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/api/com/atproto/repo/uploadBlob.ts +17 -5
- package/src/config/config.ts +2 -0
- package/src/config/env.ts +2 -0
- package/src/context.ts +1 -0
- package/src/db/tables/moderation.ts +6 -0
- package/src/lexicon/lexicons.ts +80 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +38 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +56 -0
- package/src/lexicon/types/tools/ozone/moderation/emitEvent.ts +3 -0
- package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +2 -0
- package/tests/proxied/__snapshots__/admin.test.ts.snap +4 -2
@@ -69,7 +69,7 @@ export interface ViewerState {
|
|
69
69
|
}
|
70
70
|
export declare function isViewerState(v: unknown): v is ViewerState;
|
71
71
|
export declare function validateViewerState(v: unknown): ValidationResult;
|
72
|
-
export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | PersonalDetailsPref | FeedViewPref | ThreadViewPref | InterestsPref | MutedWordsPref | HiddenPostsPref | {
|
72
|
+
export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | SavedFeedsPrefV2 | PersonalDetailsPref | FeedViewPref | ThreadViewPref | InterestsPref | MutedWordsPref | HiddenPostsPref | {
|
73
73
|
$type: string;
|
74
74
|
[k: string]: unknown;
|
75
75
|
})[];
|
@@ -88,6 +88,21 @@ export interface ContentLabelPref {
|
|
88
88
|
}
|
89
89
|
export declare function isContentLabelPref(v: unknown): v is ContentLabelPref;
|
90
90
|
export declare function validateContentLabelPref(v: unknown): ValidationResult;
|
91
|
+
export interface SavedFeed {
|
92
|
+
id: string;
|
93
|
+
type: 'feed' | 'list' | 'timeline' | (string & {});
|
94
|
+
value: string;
|
95
|
+
pinned: boolean;
|
96
|
+
[k: string]: unknown;
|
97
|
+
}
|
98
|
+
export declare function isSavedFeed(v: unknown): v is SavedFeed;
|
99
|
+
export declare function validateSavedFeed(v: unknown): ValidationResult;
|
100
|
+
export interface SavedFeedsPrefV2 {
|
101
|
+
items: SavedFeed[];
|
102
|
+
[k: string]: unknown;
|
103
|
+
}
|
104
|
+
export declare function isSavedFeedsPrefV2(v: unknown): v is SavedFeedsPrefV2;
|
105
|
+
export declare function validateSavedFeedsPrefV2(v: unknown): ValidationResult;
|
91
106
|
export interface SavedFeedsPref {
|
92
107
|
pinned: string[];
|
93
108
|
saved: string[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,gBAAgB,CAMpE;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAErE;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,MAAM,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ACrB;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,eAAe,CAMlE;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEpE"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
3
|
+
exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateSavedFeedsPrefV2 = exports.isSavedFeedsPrefV2 = exports.validateSavedFeed = exports.isSavedFeed = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
4
4
|
const lexicons_1 = require("../../../../lexicons");
|
5
5
|
const util_1 = require("../../../../util");
|
6
6
|
function isProfileViewBasic(v) {
|
@@ -73,6 +73,26 @@ function validateContentLabelPref(v) {
|
|
73
73
|
return lexicons_1.lexicons.validate('app.bsky.actor.defs#contentLabelPref', v);
|
74
74
|
}
|
75
75
|
exports.validateContentLabelPref = validateContentLabelPref;
|
76
|
+
function isSavedFeed(v) {
|
77
|
+
return ((0, util_1.isObj)(v) &&
|
78
|
+
(0, util_1.hasProp)(v, '$type') &&
|
79
|
+
v.$type === 'app.bsky.actor.defs#savedFeed');
|
80
|
+
}
|
81
|
+
exports.isSavedFeed = isSavedFeed;
|
82
|
+
function validateSavedFeed(v) {
|
83
|
+
return lexicons_1.lexicons.validate('app.bsky.actor.defs#savedFeed', v);
|
84
|
+
}
|
85
|
+
exports.validateSavedFeed = validateSavedFeed;
|
86
|
+
function isSavedFeedsPrefV2(v) {
|
87
|
+
return ((0, util_1.isObj)(v) &&
|
88
|
+
(0, util_1.hasProp)(v, '$type') &&
|
89
|
+
v.$type === 'app.bsky.actor.defs#savedFeedsPrefV2');
|
90
|
+
}
|
91
|
+
exports.isSavedFeedsPrefV2 = isSavedFeedsPrefV2;
|
92
|
+
function validateSavedFeedsPrefV2(v) {
|
93
|
+
return lexicons_1.lexicons.validate('app.bsky.actor.defs#savedFeedsPrefV2', v);
|
94
|
+
}
|
95
|
+
exports.validateSavedFeedsPrefV2 = validateSavedFeedsPrefV2;
|
76
96
|
function isSavedFeedsPref(v) {
|
77
97
|
return ((0, util_1.isObj)(v) &&
|
78
98
|
(0, util_1.hasProp)(v, '$type') &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon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AC,CAAU;IAChD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0DAEC;AAOD,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,kCAAkC,CAC/C,CAAA;AACH,CAAC;AAND,wCAMC;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oDAEC;AAOD,SAAgB,iBAAiB,CAAC,CAAU;IAC1C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,qCAAqC,CAClD,CAAA;AACH,CAAC;AAND,8CAMC;AAED,SAAgB,uBAAuB,CAAC,CAAU;IAChD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0DAEC"}
|
@@ -9,7 +9,7 @@ import * as ComAtprotoServerDefs from '../../../com/atproto/server/defs';
|
|
9
9
|
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
10
10
|
export interface ModEventView {
|
11
11
|
id: number;
|
12
|
-
event: ModEventTakedown | ModEventReverseTakedown | ModEventComment | ModEventReport | ModEventLabel | ModEventAcknowledge | ModEventEscalate | ModEventMute | ModEventEmail | ModEventResolveAppeal | ModEventDivert | {
|
12
|
+
event: ModEventTakedown | ModEventReverseTakedown | ModEventComment | ModEventReport | ModEventLabel | ModEventAcknowledge | ModEventEscalate | ModEventMute | ModEventUnmute | ModEventMuteReporter | ModEventUnmuteReporter | ModEventEmail | ModEventResolveAppeal | ModEventDivert | {
|
13
13
|
$type: string;
|
14
14
|
[k: string]: unknown;
|
15
15
|
};
|
@@ -28,7 +28,7 @@ export declare function isModEventView(v: unknown): v is ModEventView;
|
|
28
28
|
export declare function validateModEventView(v: unknown): ValidationResult;
|
29
29
|
export interface ModEventViewDetail {
|
30
30
|
id: number;
|
31
|
-
event: ModEventTakedown | ModEventReverseTakedown | ModEventComment | ModEventReport | ModEventLabel | ModEventAcknowledge | ModEventEscalate | ModEventMute | ModEventEmail | ModEventResolveAppeal | ModEventDivert | {
|
31
|
+
event: ModEventTakedown | ModEventReverseTakedown | ModEventComment | ModEventReport | ModEventLabel | ModEventAcknowledge | ModEventEscalate | ModEventMute | ModEventUnmute | ModEventMuteReporter | ModEventUnmuteReporter | ModEventEmail | ModEventResolveAppeal | ModEventDivert | {
|
32
32
|
$type: string;
|
33
33
|
[k: string]: unknown;
|
34
34
|
};
|
@@ -59,6 +59,7 @@ export interface SubjectStatusView {
|
|
59
59
|
/** Sticky comment on the subject. */
|
60
60
|
comment?: string;
|
61
61
|
muteUntil?: string;
|
62
|
+
muteReportingUntil?: string;
|
62
63
|
lastReviewedBy?: string;
|
63
64
|
lastReviewedAt?: string;
|
64
65
|
lastReportedAt?: string;
|
@@ -119,6 +120,8 @@ export declare function validateModEventComment(v: unknown): ValidationResult;
|
|
119
120
|
/** Report a subject */
|
120
121
|
export interface ModEventReport {
|
121
122
|
comment?: string;
|
123
|
+
/** Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject. */
|
124
|
+
isReporterMuted?: boolean;
|
122
125
|
reportType: ComAtprotoModerationDefs.ReasonType;
|
123
126
|
[k: string]: unknown;
|
124
127
|
}
|
@@ -162,6 +165,23 @@ export interface ModEventUnmute {
|
|
162
165
|
}
|
163
166
|
export declare function isModEventUnmute(v: unknown): v is ModEventUnmute;
|
164
167
|
export declare function validateModEventUnmute(v: unknown): ValidationResult;
|
168
|
+
/** Mute incoming reports from an account */
|
169
|
+
export interface ModEventMuteReporter {
|
170
|
+
comment?: string;
|
171
|
+
/** Indicates how long the account should remain muted. */
|
172
|
+
durationInHours: number;
|
173
|
+
[k: string]: unknown;
|
174
|
+
}
|
175
|
+
export declare function isModEventMuteReporter(v: unknown): v is ModEventMuteReporter;
|
176
|
+
export declare function validateModEventMuteReporter(v: unknown): ValidationResult;
|
177
|
+
/** Unmute incoming reports from an account */
|
178
|
+
export interface ModEventUnmuteReporter {
|
179
|
+
/** Describe reasoning behind the reversal. */
|
180
|
+
comment?: string;
|
181
|
+
[k: string]: unknown;
|
182
|
+
}
|
183
|
+
export declare function isModEventUnmuteReporter(v: unknown): v is ModEventUnmuteReporter;
|
184
|
+
export declare function validateModEventUnmuteReporter(v: unknown): ValidationResult;
|
165
185
|
/** Keep a log of outgoing email to a user */
|
166
186
|
export interface ModEventEmail {
|
167
187
|
/** The subject line of the email sent to the user. */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,uBAAuB,MAAM,qCAAqC,CAAA;AAC9E,OAAO,KAAK,wBAAwB,MAAM,sCAAsC,CAAA;AAChF,OAAO,KAAK,oBAAoB,MAAM,kCAAkC,CAAA;AACxE,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AAEtE,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EACD,gBAAgB,GAChB,uBAAuB,GACvB,eAAe,GACf,cAAc,GACd,aAAa,GACb,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,aAAa,GACb,qBAAqB,GACrB,cAAc,GACd;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CA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AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,YAAY,CAM5D;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEjE"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.validateVideoDetails = exports.isVideoDetails = exports.validateImageDetails = exports.isImageDetails = exports.validateBlobView = exports.isBlobView = exports.validateModerationDetail = exports.isModerationDetail = void 0;
|
3
|
+
exports.validateRecordViewDetail = exports.isRecordViewDetail = exports.validateRecordView = exports.isRecordView = exports.validateRepoViewNotFound = exports.isRepoViewNotFound = exports.validateRepoViewDetail = exports.isRepoViewDetail = exports.validateRepoView = exports.isRepoView = exports.validateModEventTag = exports.isModEventTag = exports.validateModEventDivert = exports.isModEventDivert = exports.validateModEventEmail = exports.isModEventEmail = exports.validateModEventUnmuteReporter = exports.isModEventUnmuteReporter = exports.validateModEventMuteReporter = exports.isModEventMuteReporter = exports.validateModEventUnmute = exports.isModEventUnmute = exports.validateModEventMute = exports.isModEventMute = exports.validateModEventEscalate = exports.isModEventEscalate = exports.validateModEventAcknowledge = exports.isModEventAcknowledge = exports.validateModEventLabel = exports.isModEventLabel = exports.validateModEventReport = exports.isModEventReport = exports.validateModEventComment = exports.isModEventComment = exports.validateModEventResolveAppeal = exports.isModEventResolveAppeal = exports.validateModEventReverseTakedown = exports.isModEventReverseTakedown = exports.validateModEventTakedown = exports.isModEventTakedown = exports.REVIEWNONE = exports.REVIEWCLOSED = exports.REVIEWESCALATED = exports.REVIEWOPEN = exports.validateSubjectStatusView = exports.isSubjectStatusView = exports.validateModEventViewDetail = exports.isModEventViewDetail = exports.validateModEventView = exports.isModEventView = void 0;
|
4
|
+
exports.validateVideoDetails = exports.isVideoDetails = exports.validateImageDetails = exports.isImageDetails = exports.validateBlobView = exports.isBlobView = exports.validateModerationDetail = exports.isModerationDetail = exports.validateModeration = exports.isModeration = exports.validateRecordViewNotFound = exports.isRecordViewNotFound = void 0;
|
5
5
|
const lexicons_1 = require("../../../../lexicons");
|
6
6
|
const util_1 = require("../../../../util");
|
7
7
|
function isModEventView(v) {
|
@@ -142,6 +142,26 @@ function validateModEventUnmute(v) {
|
|
142
142
|
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventUnmute', v);
|
143
143
|
}
|
144
144
|
exports.validateModEventUnmute = validateModEventUnmute;
|
145
|
+
function isModEventMuteReporter(v) {
|
146
|
+
return ((0, util_1.isObj)(v) &&
|
147
|
+
(0, util_1.hasProp)(v, '$type') &&
|
148
|
+
v.$type === 'tools.ozone.moderation.defs#modEventMuteReporter');
|
149
|
+
}
|
150
|
+
exports.isModEventMuteReporter = isModEventMuteReporter;
|
151
|
+
function validateModEventMuteReporter(v) {
|
152
|
+
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventMuteReporter', v);
|
153
|
+
}
|
154
|
+
exports.validateModEventMuteReporter = validateModEventMuteReporter;
|
155
|
+
function isModEventUnmuteReporter(v) {
|
156
|
+
return ((0, util_1.isObj)(v) &&
|
157
|
+
(0, util_1.hasProp)(v, '$type') &&
|
158
|
+
v.$type === 'tools.ozone.moderation.defs#modEventUnmuteReporter');
|
159
|
+
}
|
160
|
+
exports.isModEventUnmuteReporter = isModEventUnmuteReporter;
|
161
|
+
function validateModEventUnmuteReporter(v) {
|
162
|
+
return lexicons_1.lexicons.validate('tools.ozone.moderation.defs#modEventUnmuteReporter', v);
|
163
|
+
}
|
164
|
+
exports.validateModEventUnmuteReporter = validateModEventUnmuteReporter;
|
145
165
|
function isModEventEmail(v) {
|
146
166
|
return ((0, util_1.isObj)(v) &&
|
147
167
|
(0, util_1.hasProp)(v, '$type') &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/defs.ts"],"names":[],"mappings":";;;;A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;AAED,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,mBAAQ,CAAC,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
@@ -9,7 +9,7 @@ import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
|
|
9
9
|
export interface QueryParams {
|
10
10
|
}
|
11
11
|
export interface InputSchema {
|
12
|
-
event: ToolsOzoneModerationDefs.ModEventTakedown | ToolsOzoneModerationDefs.ModEventAcknowledge | ToolsOzoneModerationDefs.ModEventEscalate | ToolsOzoneModerationDefs.ModEventComment | ToolsOzoneModerationDefs.ModEventLabel | ToolsOzoneModerationDefs.ModEventReport | ToolsOzoneModerationDefs.ModEventMute | ToolsOzoneModerationDefs.ModEventReverseTakedown | ToolsOzoneModerationDefs.ModEventUnmute | ToolsOzoneModerationDefs.ModEventEmail | ToolsOzoneModerationDefs.ModEventTag | {
|
12
|
+
event: ToolsOzoneModerationDefs.ModEventTakedown | ToolsOzoneModerationDefs.ModEventAcknowledge | ToolsOzoneModerationDefs.ModEventEscalate | ToolsOzoneModerationDefs.ModEventComment | ToolsOzoneModerationDefs.ModEventLabel | ToolsOzoneModerationDefs.ModEventReport | ToolsOzoneModerationDefs.ModEventMute | ToolsOzoneModerationDefs.ModEventUnmute | ToolsOzoneModerationDefs.ModEventMuteReporter | ToolsOzoneModerationDefs.ModEventUnmuteReporter | ToolsOzoneModerationDefs.ModEventReverseTakedown | ToolsOzoneModerationDefs.ModEventUnmute | ToolsOzoneModerationDefs.ModEventEmail | ToolsOzoneModerationDefs.ModEventTag | {
|
13
13
|
$type: string;
|
14
14
|
[k: string]: unknown;
|
15
15
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"emitEvent.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;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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"}
|
@@ -18,6 +18,8 @@ export interface QueryParams {
|
|
18
18
|
reviewedBefore?: string;
|
19
19
|
/** By default, we don't include muted subjects in the results. Set this to true to include them. */
|
20
20
|
includeMuted?: boolean;
|
21
|
+
/** When set to true, only muted subjects and reporters will be returned. */
|
22
|
+
onlyMuted?: boolean;
|
21
23
|
/** Specify when fetching subjects in a certain state */
|
22
24
|
reviewState?: string;
|
23
25
|
ignoreSubjects?: string[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queryStatuses.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/queryStatuses.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,wBAAwB,MAAM,QAAQ,CAAA;AAElD,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wDAAwD;IACxD,cAAc,CAAC,EAAE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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"}
|
1
|
+
{"version":3,"file":"queryStatuses.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/tools/ozone/moderation/queryStatuses.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,wBAAwB,MAAM,QAAQ,CAAA;AAElD,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,oGAAoG;IACpG,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,gBAAgB,GAAG,gBAAgB,CAAA;IAC9C,aAAa,EAAE,KA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AAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/pds",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.18",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
6
6
|
"keywords": [
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"typed-emitter": "^2.1.0",
|
44
44
|
"uint8arrays": "3.0.0",
|
45
45
|
"zod": "^3.21.4",
|
46
|
-
"@atproto/api": "^0.12.
|
46
|
+
"@atproto/api": "^0.12.7",
|
47
47
|
"@atproto/aws": "^0.2.0",
|
48
48
|
"@atproto/common": "^0.4.0",
|
49
49
|
"@atproto/crypto": "^0.4.0",
|
@@ -70,8 +70,8 @@
|
|
70
70
|
"jest": "^28.1.2",
|
71
71
|
"ts-node": "^10.8.2",
|
72
72
|
"ws": "^8.12.0",
|
73
|
-
"@atproto/api": "^0.12.
|
74
|
-
"@atproto/bsky": "^0.0.
|
73
|
+
"@atproto/api": "^0.12.7",
|
74
|
+
"@atproto/bsky": "^0.0.49",
|
75
75
|
"@atproto/lex-cli": "^0.4.0"
|
76
76
|
},
|
77
77
|
"scripts": {
|
@@ -1,6 +1,8 @@
|
|
1
|
+
import { DAY } from '@atproto/common'
|
2
|
+
import { UpstreamTimeoutError } from '@atproto/xrpc-server'
|
1
3
|
import { Server } from '../../../../lexicon'
|
2
4
|
import AppContext from '../../../../context'
|
3
|
-
import {
|
5
|
+
import { BlobMetadata } from '../../../../actor-store/blob/transactor'
|
4
6
|
|
5
7
|
export default function (server: Server, ctx: AppContext) {
|
6
8
|
server.com.atproto.repo.uploadBlob({
|
@@ -15,10 +17,20 @@ export default function (server: Server, ctx: AppContext) {
|
|
15
17
|
const blob = await ctx.actorStore.writeNoTransaction(
|
16
18
|
requester,
|
17
19
|
async (store) => {
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
let metadata: BlobMetadata
|
21
|
+
try {
|
22
|
+
metadata = await store.repo.blob.uploadBlobAndGetMetadata(
|
23
|
+
input.encoding,
|
24
|
+
input.body,
|
25
|
+
)
|
26
|
+
} catch (err) {
|
27
|
+
if (err?.['name'] === 'AbortError') {
|
28
|
+
throw new UpstreamTimeoutError(
|
29
|
+
'Upload timed out, please try again.',
|
30
|
+
)
|
31
|
+
}
|
32
|
+
throw err
|
33
|
+
}
|
22
34
|
|
23
35
|
return store.transact(async (actorTxn) => {
|
24
36
|
const blobRef =
|
package/src/config/config.ts
CHANGED
@@ -55,6 +55,7 @@ export const envToCfg = (env: ServerEnvironment): ServerConfig => {
|
|
55
55
|
blobstoreCfg = {
|
56
56
|
provider: 's3',
|
57
57
|
bucket: env.blobstoreS3Bucket,
|
58
|
+
uploadTimeoutMs: env.blobstoreS3UploadTimeoutMs || 20000,
|
58
59
|
region: env.blobstoreS3Region,
|
59
60
|
endpoint: env.blobstoreS3Endpoint,
|
60
61
|
forcePathStyle: env.blobstoreS3ForcePathStyle,
|
@@ -305,6 +306,7 @@ export type S3BlobstoreConfig = {
|
|
305
306
|
region?: string
|
306
307
|
endpoint?: string
|
307
308
|
forcePathStyle?: boolean
|
309
|
+
uploadTimeoutMs?: number
|
308
310
|
credentials?: {
|
309
311
|
accessKeyId: string
|
310
312
|
secretAccessKey: string
|
package/src/config/env.ts
CHANGED
@@ -33,6 +33,7 @@ export const readEnv = (): ServerEnvironment => {
|
|
33
33
|
blobstoreS3ForcePathStyle: envBool('PDS_BLOBSTORE_S3_FORCE_PATH_STYLE'),
|
34
34
|
blobstoreS3AccessKeyId: envStr('PDS_BLOBSTORE_S3_ACCESS_KEY_ID'),
|
35
35
|
blobstoreS3SecretAccessKey: envStr('PDS_BLOBSTORE_S3_SECRET_ACCESS_KEY'),
|
36
|
+
blobstoreS3UploadTimeoutMs: envInt('PDS_BLOBSTORE_S3_UPLOAD_TIMEOUT_MS'),
|
36
37
|
// disk
|
37
38
|
blobstoreDiskLocation: envStr('PDS_BLOBSTORE_DISK_LOCATION'),
|
38
39
|
blobstoreDiskTmpLocation: envStr('PDS_BLOBSTORE_DISK_TMP_LOCATION'),
|
@@ -143,6 +144,7 @@ export type ServerEnvironment = {
|
|
143
144
|
blobstoreS3ForcePathStyle?: boolean
|
144
145
|
blobstoreS3AccessKeyId?: string
|
145
146
|
blobstoreS3SecretAccessKey?: string
|
147
|
+
blobstoreS3UploadTimeoutMs?: number
|
146
148
|
|
147
149
|
// identity
|
148
150
|
didPlcUrl?: string
|
package/src/context.ts
CHANGED
@@ -107,6 +107,7 @@ export class AppContext {
|
|
107
107
|
endpoint: cfg.blobstore.endpoint,
|
108
108
|
forcePathStyle: cfg.blobstore.forcePathStyle,
|
109
109
|
credentials: cfg.blobstore.credentials,
|
110
|
+
uploadTimeoutMs: cfg.blobstore.uploadTimeoutMs,
|
110
111
|
})
|
111
112
|
: DiskBlobStore.creator(
|
112
113
|
cfg.blobstore.location,
|
@@ -23,7 +23,13 @@ export interface ModerationAction {
|
|
23
23
|
| 'tools.ozone.moderation.defs#modEventLabel'
|
24
24
|
| 'tools.ozone.moderation.defs#modEventReport'
|
25
25
|
| 'tools.ozone.moderation.defs#modEventMute'
|
26
|
+
| 'tools.ozone.moderation.defs#modEventUnmute'
|
27
|
+
| 'tools.ozone.moderation.defs#modEventMuteReporter'
|
28
|
+
| 'tools.ozone.moderation.defs#modEventUnmuteReporter'
|
26
29
|
| 'tools.ozone.moderation.defs#modEventReverseTakedown'
|
30
|
+
| 'tools.ozone.moderation.defs#modEventEmail'
|
31
|
+
| 'tools.ozone.moderation.defs#modEventResolveAppeal'
|
32
|
+
| 'tools.ozone.moderation.defs#modEventDivert'
|
27
33
|
subjectType: 'com.atproto.admin.defs#repoRef' | 'com.atproto.repo.strongRef'
|
28
34
|
subjectDid: string
|
29
35
|
subjectUri: string | null
|