@atproto/bsky 0.0.228 → 0.0.229
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/lexicons/app/bsky/embed/external.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/embed/external.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.js +1 -0
- package/dist/lexicons/app/bsky/embed/external.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/authFullChatClient.defs.js +1 -1
- package/dist/lexicons/chat/bsky/authFullChatClient.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts +6 -0
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.js +1 -0
- package/dist/lexicons/chat/bsky/convo/listConvos.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/group/defs.defs.d.ts +10 -5
- package/dist/lexicons/chat/bsky/group/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/group/defs.defs.js +5 -3
- package/dist/lexicons/chat/bsky/group/defs.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/group/getJoinLinkPreview.d.ts +3 -0
- package/dist/lexicons/chat/bsky/group/getJoinLinkPreview.d.ts.map +1 -0
- package/dist/lexicons/chat/bsky/group/{getGroupPublicInfo.defs.d.ts → getJoinLinkPreview.defs.d.ts} +6 -6
- package/dist/lexicons/chat/bsky/group/{getGroupPublicInfo.defs.d.ts.map → getJoinLinkPreview.defs.d.ts.map} +1 -1
- package/dist/lexicons/chat/bsky/group/{getGroupPublicInfo.defs.js → getJoinLinkPreview.defs.js} +3 -3
- package/dist/lexicons/chat/bsky/group/getJoinLinkPreview.defs.js.map +1 -0
- package/dist/lexicons/chat/bsky/group/{getGroupPublicInfo.js → getJoinLinkPreview.js} +3 -3
- package/dist/lexicons/chat/bsky/group/getJoinLinkPreview.js.map +1 -0
- package/dist/lexicons/chat/bsky/group.d.ts +1 -1
- package/dist/lexicons/chat/bsky/group.js +2 -2
- package/dist/lexicons/chat/bsky/group.js.map +1 -1
- package/dist/lexicons/tools/ozone/moderation/emitEvent.defs.d.ts +26 -0
- package/dist/lexicons/tools/ozone/moderation/emitEvent.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/moderation/emitEvent.defs.js +10 -1
- package/dist/lexicons/tools/ozone/moderation/emitEvent.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/assignModerator.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/assignModerator.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/assignModerator.defs.d.ts +20 -0
- package/dist/lexicons/tools/ozone/queue/assignModerator.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/assignModerator.defs.js +48 -0
- package/dist/lexicons/tools/ozone/queue/assignModerator.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/assignModerator.js +45 -0
- package/dist/lexicons/tools/ozone/queue/assignModerator.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts +38 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js +56 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.js +45 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/defs.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts +102 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.js +78 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/defs.js +45 -0
- package/dist/lexicons/tools/ozone/queue/defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.defs.d.ts +25 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.defs.js +20 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.js +45 -0
- package/dist/lexicons/tools/ozone/queue/deleteQueue.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.defs.d.ts +34 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.defs.js +57 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.js +45 -0
- package/dist/lexicons/tools/ozone/queue/getAssignments.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.defs.d.ts +32 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.defs.js +58 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.js +45 -0
- package/dist/lexicons/tools/ozone/queue/listQueues.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.defs.d.ts +25 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.defs.js +14 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.js +45 -0
- package/dist/lexicons/tools/ozone/queue/routeReports.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.defs.d.ts +23 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.defs.js +14 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.js +45 -0
- package/dist/lexicons/tools/ozone/queue/unassignModerator.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.d.ts +3 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts +28 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js +55 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.js +45 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue.d.ts +10 -0
- package/dist/lexicons/tools/ozone/queue.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/queue.js +49 -0
- package/dist/lexicons/tools/ozone/queue.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.defs.d.ts +28 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.defs.js +53 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.js +45 -0
- package/dist/lexicons/tools/ozone/report/assignModerator.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/createActivity.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/createActivity.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/createActivity.defs.d.ts +30 -0
- package/dist/lexicons/tools/ozone/report/createActivity.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/createActivity.defs.js +63 -0
- package/dist/lexicons/tools/ozone/report/createActivity.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/createActivity.js +45 -0
- package/dist/lexicons/tools/ozone/report/createActivity.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts +314 -0
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.js +150 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/getAssignments.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/getAssignments.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getAssignments.defs.d.ts +34 -0
- package/dist/lexicons/tools/ozone/report/getAssignments.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getAssignments.defs.js +57 -0
- package/dist/lexicons/tools/ozone/report/getAssignments.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getAssignments.js +45 -0
- package/dist/lexicons/tools/ozone/report/getAssignments.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.defs.d.ts +46 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.defs.js +59 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.js +45 -0
- package/dist/lexicons/tools/ozone/report/getHistoricalStats.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.defs.d.ts +16 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.defs.js +50 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.js +45 -0
- package/dist/lexicons/tools/ozone/report/getLatestReport.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.d.ts +28 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.js +54 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.js +45 -0
- package/dist/lexicons/tools/ozone/report/getLiveStats.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getReport.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/getReport.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getReport.defs.d.ts +16 -0
- package/dist/lexicons/tools/ozone/report/getReport.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getReport.defs.js +48 -0
- package/dist/lexicons/tools/ozone/report/getReport.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getReport.js +45 -0
- package/dist/lexicons/tools/ozone/report/getReport.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/listActivities.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/listActivities.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/listActivities.defs.d.ts +26 -0
- package/dist/lexicons/tools/ozone/report/listActivities.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/listActivities.defs.js +55 -0
- package/dist/lexicons/tools/ozone/report/listActivities.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/listActivities.js +45 -0
- package/dist/lexicons/tools/ozone/report/listActivities.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/queryReports.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/queryReports.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/queryReports.defs.d.ts +82 -0
- package/dist/lexicons/tools/ozone/report/queryReports.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/queryReports.defs.js +67 -0
- package/dist/lexicons/tools/ozone/report/queryReports.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/queryReports.js +45 -0
- package/dist/lexicons/tools/ozone/report/queryReports.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.defs.d.ts +26 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.defs.js +60 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.js +45 -0
- package/dist/lexicons/tools/ozone/report/reassignQueue.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.d.ts +21 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.js +18 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.js +45 -0
- package/dist/lexicons/tools/ozone/report/refreshStats.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.defs.d.ts +18 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.defs.js +48 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.js +45 -0
- package/dist/lexicons/tools/ozone/report/unassignModerator.js.map +1 -0
- package/dist/lexicons/tools/ozone/report.d.ts +12 -0
- package/dist/lexicons/tools/ozone/report.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report.js +13 -1
- package/dist/lexicons/tools/ozone/report.js.map +1 -1
- package/dist/lexicons/tools/ozone.d.ts +1 -0
- package/dist/lexicons/tools/ozone.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone.js +2 -1
- package/dist/lexicons/tools/ozone.js.map +1 -1
- package/dist/proto/courier_pb.d.ts +6 -0
- package/dist/proto/courier_pb.d.ts.map +1 -1
- package/dist/proto/courier_pb.js +12 -0
- package/dist/proto/courier_pb.js.map +1 -1
- package/package.json +6 -6
- package/proto/courier.proto +8 -0
- package/src/proto/courier_pb.ts +8 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts +0 -3
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.d.ts.map +0 -1
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.defs.js.map +0 -1
- package/dist/lexicons/chat/bsky/group/getGroupPublicInfo.js.map +0 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.$output = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
|
|
40
|
+
const lex_1 = require("@atproto/lex");
|
|
41
|
+
const ReportDefs = __importStar(require("./defs.defs.js"));
|
|
42
|
+
const $nsid = 'tools.ozone.report.queryReports';
|
|
43
|
+
exports.$nsid = $nsid;
|
|
44
|
+
/** View moderation reports. Reports are individual instances of content being reported, as opposed to subject statuses which aggregate reports at the subject level. */
|
|
45
|
+
const main = lex_1.l.query($nsid, lex_1.l.params({
|
|
46
|
+
queueId: lex_1.l.optional(lex_1.l.integer()),
|
|
47
|
+
reportTypes: lex_1.l.optional(lex_1.l.array(lex_1.l.string())),
|
|
48
|
+
status: lex_1.l.string(),
|
|
49
|
+
subject: lex_1.l.optional(lex_1.l.string({ format: 'uri' })),
|
|
50
|
+
did: lex_1.l.optional(lex_1.l.string({ format: 'did' })),
|
|
51
|
+
subjectType: lex_1.l.optional(lex_1.l.string()),
|
|
52
|
+
collections: lex_1.l.optional(lex_1.l.array(lex_1.l.string({ format: 'nsid' }), { maxLength: 20 })),
|
|
53
|
+
reportedAfter: lex_1.l.optional(lex_1.l.string({ format: 'datetime' })),
|
|
54
|
+
reportedBefore: lex_1.l.optional(lex_1.l.string({ format: 'datetime' })),
|
|
55
|
+
isMuted: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.boolean(), false)),
|
|
56
|
+
assignedTo: lex_1.l.optional(lex_1.l.string({ format: 'did' })),
|
|
57
|
+
sortField: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.enum(['createdAt', 'updatedAt']), 'createdAt')),
|
|
58
|
+
sortDirection: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.enum(['asc', 'desc']), 'desc')),
|
|
59
|
+
limit: lex_1.l.optional(lex_1.l.withDefault(lex_1.l.integer({ minimum: 1, maximum: 100 }), 50)),
|
|
60
|
+
cursor: lex_1.l.optional(lex_1.l.string()),
|
|
61
|
+
}), lex_1.l.jsonPayload({
|
|
62
|
+
cursor: lex_1.l.optional(lex_1.l.string()),
|
|
63
|
+
reports: lex_1.l.array(lex_1.l.ref((() => ReportDefs.reportView))),
|
|
64
|
+
}));
|
|
65
|
+
exports.main = main;
|
|
66
|
+
exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$output = main.output;
|
|
67
|
+
//# sourceMappingURL=queryReports.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryReports.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/queryReports.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,2DAA4C;AAE5C,MAAM,KAAK,GAAG,iCAAiC,CAAA;AAEtC,sBAAK;AAEd,wKAAwK;AACxK,MAAM,IAAI,GAAG,OAAC,CAAC,KAAK,CAClB,KAAK,EACL,OAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IAChC,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC5C,MAAM,EAAE,OAAC,CAAC,MAAM,EAEZ;IACJ,OAAO,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAChD,GAAG,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC5C,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAA0C,CAAC;IAC3E,WAAW,EAAE,OAAC,CAAC,QAAQ,CACrB,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACzD;IACD,aAAa,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IAC3D,cAAc,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IAC5D,OAAO,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC;IACtD,UAAU,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACnD,SAAS,EAAE,OAAC,CAAC,QAAQ,CACnB,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,EAAE,WAAW,CAAC,CAC/D;IACD,aAAa,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IACzE,KAAK,EAAE,OAAC,CAAC,QAAQ,CACf,OAAC,CAAC,WAAW,CAAC,OAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAC3D;IACD,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,MAAM,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAC,CAAC,KAAK,CACd,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,UAAU,CAAQ,CAAC,CACnE;CACF,CAAC,CACH,CAAA;AACQ,oBAAI;AASA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ReportDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.report.queryReports'\n\nexport { $nsid }\n\n/** View moderation reports. Reports are individual instances of content being reported, as opposed to subject statuses which aggregate reports at the subject level. */\nconst main = l.query(\n $nsid,\n l.params({\n queueId: l.optional(l.integer()),\n reportTypes: l.optional(l.array(l.string())),\n status: l.string<{\n knownValues: ['open', 'closed', 'escalated', 'queued', 'assigned']\n }>(),\n subject: l.optional(l.string({ format: 'uri' })),\n did: l.optional(l.string({ format: 'did' })),\n subjectType: l.optional(l.string<{ knownValues: ['account', 'record'] }>()),\n collections: l.optional(\n l.array(l.string({ format: 'nsid' }), { maxLength: 20 }),\n ),\n reportedAfter: l.optional(l.string({ format: 'datetime' })),\n reportedBefore: l.optional(l.string({ format: 'datetime' })),\n isMuted: l.optional(l.withDefault(l.boolean(), false)),\n assignedTo: l.optional(l.string({ format: 'did' })),\n sortField: l.optional(\n l.withDefault(l.enum(['createdAt', 'updatedAt']), 'createdAt'),\n ),\n sortDirection: l.optional(l.withDefault(l.enum(['asc', 'desc']), 'desc')),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n cursor: l.optional(l.string()),\n }),\n l.jsonPayload({\n cursor: l.optional(l.string()),\n reports: l.array(\n l.ref<ReportDefs.ReportView>((() => ReportDefs.reportView) as any),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
exports.$defs = void 0;
|
|
43
|
+
__exportStar(require("./queryReports.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./queryReports.defs.js"));
|
|
45
|
+
//# sourceMappingURL=queryReports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryReports.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/queryReports.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yDAAsC;AACtC,gEAA+C","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './queryReports.defs.js'\nexport * as $defs from './queryReports.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reassignQueue.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/reassignQueue.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as ReportDefs from './defs.defs.js';
|
|
3
|
+
declare const $nsid = "tools.ozone.report.reassignQueue";
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report. */
|
|
6
|
+
declare const main: l.Procedure<"tools.ozone.report.reassignQueue", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
7
|
+
reportId: l.IntegerSchema;
|
|
8
|
+
queueId: l.IntegerSchema;
|
|
9
|
+
comment: l.OptionalSchema<l.StringSchema<{}>>;
|
|
10
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
11
|
+
report: l.RefSchema<l.Validator<ReportDefs.ReportView, ReportDefs.ReportView>>;
|
|
12
|
+
}>>, readonly ["ReportNotFound", "ReportClosed", "AlreadyInTargetQueue", "QueueNotFound", "QueueDisabled"]>;
|
|
13
|
+
export { main };
|
|
14
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
15
|
+
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
16
|
+
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
17
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
18
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
19
|
+
export declare const $lxm: "tools.ozone.report.reassignQueue", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
20
|
+
reportId: l.IntegerSchema;
|
|
21
|
+
queueId: l.IntegerSchema;
|
|
22
|
+
comment: l.OptionalSchema<l.StringSchema<{}>>;
|
|
23
|
+
}>>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
24
|
+
report: l.RefSchema<l.Validator<ReportDefs.ReportView, ReportDefs.ReportView>>;
|
|
25
|
+
}>>;
|
|
26
|
+
//# sourceMappingURL=reassignQueue.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reassignQueue.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/reassignQueue.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAE5C,QAAA,MAAM,KAAK,qCAAqC,CAAA;AAEhD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,qHAAqH;AACrH,QAAA,MAAM,IAAI;;;;;;2GAkBT,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,oCAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;;;GAAa,EACnB,OAAO;;GAAc,CAAA"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.$output = exports.$input = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
|
|
40
|
+
const lex_1 = require("@atproto/lex");
|
|
41
|
+
const ReportDefs = __importStar(require("./defs.defs.js"));
|
|
42
|
+
const $nsid = 'tools.ozone.report.reassignQueue';
|
|
43
|
+
exports.$nsid = $nsid;
|
|
44
|
+
/** Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report. */
|
|
45
|
+
const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({
|
|
46
|
+
reportId: lex_1.l.integer(),
|
|
47
|
+
queueId: lex_1.l.integer(),
|
|
48
|
+
comment: lex_1.l.optional(lex_1.l.string()),
|
|
49
|
+
}), lex_1.l.jsonPayload({
|
|
50
|
+
report: lex_1.l.ref((() => ReportDefs.reportView)),
|
|
51
|
+
}), [
|
|
52
|
+
'ReportNotFound',
|
|
53
|
+
'ReportClosed',
|
|
54
|
+
'AlreadyInTargetQueue',
|
|
55
|
+
'QueueNotFound',
|
|
56
|
+
'QueueDisabled',
|
|
57
|
+
]);
|
|
58
|
+
exports.main = main;
|
|
59
|
+
exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$input = main.input, exports.$output = main.output;
|
|
60
|
+
//# sourceMappingURL=reassignQueue.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reassignQueue.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/reassignQueue.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,2DAA4C;AAE5C,MAAM,KAAK,GAAG,kCAAkC,CAAA;AAEvC,sBAAK;AAEd,qHAAqH;AACrH,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,OAAO,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,MAAM,EAAE,OAAC,CAAC,GAAG,CAAwB,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,UAAU,CAAQ,CAAC;CAC3E,CAAC,EACF;IACE,gBAAgB;IAChB,cAAc;IACd,sBAAsB;IACtB,eAAe;IACf,eAAe;CAChB,CACF,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ReportDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.report.reassignQueue'\n\nexport { $nsid }\n\n/** Manually reassign a report to a different queue (or unassign it). Records a queueActivity entry on the report. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n reportId: l.integer(),\n queueId: l.integer(),\n comment: l.optional(l.string()),\n }),\n l.jsonPayload({\n report: l.ref<ReportDefs.ReportView>((() => ReportDefs.reportView) as any),\n }),\n [\n 'ReportNotFound',\n 'ReportClosed',\n 'AlreadyInTargetQueue',\n 'QueueNotFound',\n 'QueueDisabled',\n ],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
exports.$defs = void 0;
|
|
43
|
+
__exportStar(require("./reassignQueue.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./reassignQueue.defs.js"));
|
|
45
|
+
//# sourceMappingURL=reassignQueue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reassignQueue.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/reassignQueue.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAAuC;AACvC,iEAAgD","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './reassignQueue.defs.js'\nexport * as $defs from './reassignQueue.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshStats.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/refreshStats.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAA;AACtC,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "tools.ozone.report.refreshStats";
|
|
3
|
+
export { $nsid };
|
|
4
|
+
/** Recompute report statistics for a date range. Useful for backfilling after failures or data corrections. */
|
|
5
|
+
declare const main: l.Procedure<"tools.ozone.report.refreshStats", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
6
|
+
startDate: l.StringSchema<{}>;
|
|
7
|
+
endDate: l.StringSchema<{}>;
|
|
8
|
+
queueIds: l.OptionalSchema<l.ArraySchema<l.IntegerSchema>>;
|
|
9
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{}>>, undefined>;
|
|
10
|
+
export { main };
|
|
11
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
12
|
+
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
13
|
+
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
14
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
15
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
16
|
+
export declare const $lxm: "tools.ozone.report.refreshStats", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
17
|
+
startDate: l.StringSchema<{}>;
|
|
18
|
+
endDate: l.StringSchema<{}>;
|
|
19
|
+
queueIds: l.OptionalSchema<l.ArraySchema<l.IntegerSchema>>;
|
|
20
|
+
}>>, $output: l.Payload<"application/json", l.ObjectSchema<{}>>;
|
|
21
|
+
//# sourceMappingURL=refreshStats.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshStats.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/refreshStats.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,oCAAoC,CAAA;AAE/C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,+GAA+G;AAC/G,QAAA,MAAM,IAAI;;;;kEAST,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,mCAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;;;GAAa,EACnB,OAAO,mDAAc,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.$output = exports.$input = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
|
|
7
|
+
const lex_1 = require("@atproto/lex");
|
|
8
|
+
const $nsid = 'tools.ozone.report.refreshStats';
|
|
9
|
+
exports.$nsid = $nsid;
|
|
10
|
+
/** Recompute report statistics for a date range. Useful for backfilling after failures or data corrections. */
|
|
11
|
+
const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({
|
|
12
|
+
startDate: lex_1.l.string(),
|
|
13
|
+
endDate: lex_1.l.string(),
|
|
14
|
+
queueIds: lex_1.l.optional(lex_1.l.array(lex_1.l.integer())),
|
|
15
|
+
}), lex_1.l.jsonPayload({}));
|
|
16
|
+
exports.main = main;
|
|
17
|
+
exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$input = main.input, exports.$output = main.output;
|
|
18
|
+
//# sourceMappingURL=refreshStats.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshStats.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/refreshStats.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,iCAAiC,CAAA;AAEtC,sBAAK;AAEd,+GAA+G;AAC/G,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;CAC3C,CAAC,EACF,OAAC,CAAC,WAAW,CAAC,EAAE,CAAC,CAClB,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'tools.ozone.report.refreshStats'\n\nexport { $nsid }\n\n/** Recompute report statistics for a date range. Useful for backfilling after failures or data corrections. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n startDate: l.string(),\n endDate: l.string(),\n queueIds: l.optional(l.array(l.integer())),\n }),\n l.jsonPayload({}),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
exports.$defs = void 0;
|
|
43
|
+
__exportStar(require("./refreshStats.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./refreshStats.defs.js"));
|
|
45
|
+
//# sourceMappingURL=refreshStats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshStats.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/refreshStats.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yDAAsC;AACtC,gEAA+C","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './refreshStats.defs.js'\nexport * as $defs from './refreshStats.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassignModerator.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/unassignModerator.ts"],"names":[],"mappings":"AAIA,cAAc,6BAA6B,CAAA;AAC3C,OAAO,KAAK,KAAK,MAAM,6BAA6B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as ReportDefs from './defs.defs.js';
|
|
3
|
+
declare const $nsid = "tools.ozone.report.unassignModerator";
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** Remove report assignment. */
|
|
6
|
+
declare const main: l.Procedure<"tools.ozone.report.unassignModerator", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
7
|
+
reportId: l.IntegerSchema;
|
|
8
|
+
}>>, l.Payload<"application/json", l.RefSchema<l.Validator<ReportDefs.AssignmentView, ReportDefs.AssignmentView>>>, readonly ["InvalidAssignment"]>;
|
|
9
|
+
export { main };
|
|
10
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
11
|
+
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
12
|
+
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
13
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
14
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
15
|
+
export declare const $lxm: "tools.ozone.report.unassignModerator", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
16
|
+
reportId: l.IntegerSchema;
|
|
17
|
+
}>>, $output: l.Payload<"application/json", l.RefSchema<l.Validator<ReportDefs.AssignmentView, ReportDefs.AssignmentView>>>;
|
|
18
|
+
//# sourceMappingURL=unassignModerator.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassignModerator.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/unassignModerator.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAE5C,QAAA,MAAM,KAAK,yCAAyC,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,gCAAgC;AAChC,QAAA,MAAM,IAAI;;mJAST,CAAA;AACD,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,CAAA;AACtD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,oBAAoB,CAC/D,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;AAC3E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,qBAAqB,CACjE,OAAO,IAAI,EACX,CAAC,CACF,CAAA;AAED,eAAO,MAAM,IAAI,wCAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;GAAa,EACnB,OAAO,+GAAc,CAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.$output = exports.$input = exports.$params = exports.$lxm = exports.main = exports.$nsid = void 0;
|
|
40
|
+
const lex_1 = require("@atproto/lex");
|
|
41
|
+
const ReportDefs = __importStar(require("./defs.defs.js"));
|
|
42
|
+
const $nsid = 'tools.ozone.report.unassignModerator';
|
|
43
|
+
exports.$nsid = $nsid;
|
|
44
|
+
/** Remove report assignment. */
|
|
45
|
+
const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({ reportId: lex_1.l.integer() }), lex_1.l.payload('application/json', lex_1.l.ref((() => ReportDefs.assignmentView))), ['InvalidAssignment']);
|
|
46
|
+
exports.main = main;
|
|
47
|
+
exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$input = main.input, exports.$output = main.output;
|
|
48
|
+
//# sourceMappingURL=unassignModerator.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassignModerator.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/unassignModerator.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,2DAA4C;AAE5C,MAAM,KAAK,GAAG,sCAAsC,CAAA;AAE3C,sBAAK;AAEd,gCAAgC;AAChC,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,EAAE,CAAC,EACxC,OAAC,CAAC,OAAO,CACP,kBAAkB,EAClB,OAAC,CAAC,GAAG,CAA4B,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,cAAc,CAAQ,CAAC,CAC3E,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAA;AACQ,oBAAI;AAcA,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAC3B,QAAA,OAAO,GAAG,IAAI,CAAC,UAAU,EACzB,QAAA,MAAM,GAAG,IAAI,CAAC,KAAK,EACnB,QAAA,OAAO,GAAG,IAAI,CAAC,MAAM,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ReportDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.report.unassignModerator'\n\nexport { $nsid }\n\n/** Remove report assignment. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({ reportId: l.integer() }),\n l.payload(\n 'application/json',\n l.ref<ReportDefs.AssignmentView>((() => ReportDefs.assignmentView) as any),\n ),\n ['InvalidAssignment'],\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
exports.$defs = void 0;
|
|
43
|
+
__exportStar(require("./unassignModerator.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./unassignModerator.defs.js"));
|
|
45
|
+
//# sourceMappingURL=unassignModerator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassignModerator.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/unassignModerator.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,8DAA2C;AAC3C,qEAAoD","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './unassignModerator.defs.js'\nexport * as $defs from './unassignModerator.defs.js'\n"]}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
export * as assignModerator from './report/assignModerator.js';
|
|
2
|
+
export * as getAssignments from './report/getAssignments.js';
|
|
3
|
+
export * as getHistoricalStats from './report/getHistoricalStats.js';
|
|
4
|
+
export * as getLatestReport from './report/getLatestReport.js';
|
|
5
|
+
export * as getLiveStats from './report/getLiveStats.js';
|
|
6
|
+
export * as getReport from './report/getReport.js';
|
|
7
|
+
export * as listActivities from './report/listActivities.js';
|
|
8
|
+
export * as queryReports from './report/queryReports.js';
|
|
9
|
+
export * as reassignQueue from './report/reassignQueue.js';
|
|
10
|
+
export * as refreshStats from './report/refreshStats.js';
|
|
11
|
+
export * as unassignModerator from './report/unassignModerator.js';
|
|
12
|
+
export * as createActivity from './report/createActivity.js';
|
|
1
13
|
export * as defs from './report/defs.js';
|
|
2
14
|
//# sourceMappingURL=report.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA"}
|
|
@@ -36,6 +36,18 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.defs = void 0;
|
|
39
|
+
exports.defs = exports.createActivity = exports.unassignModerator = exports.refreshStats = exports.reassignQueue = exports.queryReports = exports.listActivities = exports.getReport = exports.getLiveStats = exports.getLatestReport = exports.getHistoricalStats = exports.getAssignments = exports.assignModerator = void 0;
|
|
40
|
+
exports.assignModerator = __importStar(require("./report/assignModerator.js"));
|
|
41
|
+
exports.getAssignments = __importStar(require("./report/getAssignments.js"));
|
|
42
|
+
exports.getHistoricalStats = __importStar(require("./report/getHistoricalStats.js"));
|
|
43
|
+
exports.getLatestReport = __importStar(require("./report/getLatestReport.js"));
|
|
44
|
+
exports.getLiveStats = __importStar(require("./report/getLiveStats.js"));
|
|
45
|
+
exports.getReport = __importStar(require("./report/getReport.js"));
|
|
46
|
+
exports.listActivities = __importStar(require("./report/listActivities.js"));
|
|
47
|
+
exports.queryReports = __importStar(require("./report/queryReports.js"));
|
|
48
|
+
exports.reassignQueue = __importStar(require("./report/reassignQueue.js"));
|
|
49
|
+
exports.refreshStats = __importStar(require("./report/refreshStats.js"));
|
|
50
|
+
exports.unassignModerator = __importStar(require("./report/unassignModerator.js"));
|
|
51
|
+
exports.createActivity = __importStar(require("./report/createActivity.js"));
|
|
40
52
|
exports.defs = __importStar(require("./report/defs.js"));
|
|
41
53
|
//# sourceMappingURL=report.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yDAAwC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as defs from './report/defs.js'\n"]}
|
|
1
|
+
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+EAA8D;AAC9D,6EAA4D;AAC5D,qFAAoE;AACpE,+EAA8D;AAC9D,yEAAwD;AACxD,mEAAkD;AAClD,6EAA4D;AAC5D,yEAAwD;AACxD,2EAA0D;AAC1D,yEAAwD;AACxD,mFAAkE;AAClE,6EAA4D;AAC5D,yDAAwC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as assignModerator from './report/assignModerator.js'\nexport * as getAssignments from './report/getAssignments.js'\nexport * as getHistoricalStats from './report/getHistoricalStats.js'\nexport * as getLatestReport from './report/getLatestReport.js'\nexport * as getLiveStats from './report/getLiveStats.js'\nexport * as getReport from './report/getReport.js'\nexport * as listActivities from './report/listActivities.js'\nexport * as queryReports from './report/queryReports.js'\nexport * as reassignQueue from './report/reassignQueue.js'\nexport * as refreshStats from './report/refreshStats.js'\nexport * as unassignModerator from './report/unassignModerator.js'\nexport * as createActivity from './report/createActivity.js'\nexport * as defs from './report/defs.js'\n"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as communication from './ozone/communication.js';
|
|
2
2
|
export * as hosting from './ozone/hosting.js';
|
|
3
3
|
export * as moderation from './ozone/moderation.js';
|
|
4
|
+
export * as queue from './ozone/queue.js';
|
|
4
5
|
export * as report from './ozone/report.js';
|
|
5
6
|
export * as safelink from './ozone/safelink.js';
|
|
6
7
|
export * as server from './ozone/server.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ozone.d.ts","sourceRoot":"","sources":["../../../src/lexicons/tools/ozone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA;AAC3C,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA;AAC3C,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAA;AACvC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA"}
|
|
1
|
+
{"version":3,"file":"ozone.d.ts","sourceRoot":"","sources":["../../../src/lexicons/tools/ozone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AACzC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA;AAC3C,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA;AAC3C,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAA;AACvC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAA"}
|