@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 @@
|
|
|
1
|
+
{"version":3,"file":"assignModerator.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/assignModerator.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAE3C,MAAM,KAAK,GAAG,mCAAmC,CAAA;AAExC,sBAAK;AAEd,gCAAgC;AAChC,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EACxD,OAAC,CAAC,OAAO,CACP,kBAAkB,EAClB,OAAC,CAAC,GAAG,CAA2B,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CAAQ,CAAC,CACzE,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 QueueDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.queue.assignModerator'\n\nexport { $nsid }\n\n/** Assign a user to a queue. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({ queueId: l.integer(), did: l.string() }),\n l.payload(\n 'application/json',\n l.ref<QueueDefs.AssignmentView>((() => QueueDefs.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("./assignModerator.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./assignModerator.defs.js"));
|
|
45
|
+
//# sourceMappingURL=assignModerator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assignModerator.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/assignModerator.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,4DAAyC;AACzC,mEAAkD","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './assignModerator.defs.js'\nexport * as $defs from './assignModerator.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createQueue.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/createQueue.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as QueueDefs from './defs.defs.js';
|
|
3
|
+
declare const $nsid = "tools.ozone.queue.createQueue";
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue. */
|
|
6
|
+
declare const main: l.Procedure<"tools.ozone.queue.createQueue", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
7
|
+
name: l.StringSchema<{}>;
|
|
8
|
+
subjectTypes: l.ArraySchema<l.StringSchema<{
|
|
9
|
+
knownValues: ["account", "record", "message"];
|
|
10
|
+
}>>;
|
|
11
|
+
collection: l.OptionalSchema<l.StringSchema<{
|
|
12
|
+
readonly format: "nsid";
|
|
13
|
+
}>>;
|
|
14
|
+
reportTypes: l.ArraySchema<l.StringSchema<{}>>;
|
|
15
|
+
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
16
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
17
|
+
queue: l.RefSchema<l.Validator<QueueDefs.QueueView, QueueDefs.QueueView>>;
|
|
18
|
+
}>>, readonly ["ConflictingQueue"]>;
|
|
19
|
+
export { main };
|
|
20
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
21
|
+
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
22
|
+
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
23
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
24
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
25
|
+
export declare const $lxm: "tools.ozone.queue.createQueue", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
26
|
+
name: l.StringSchema<{}>;
|
|
27
|
+
subjectTypes: l.ArraySchema<l.StringSchema<{
|
|
28
|
+
knownValues: ["account", "record", "message"];
|
|
29
|
+
}>>;
|
|
30
|
+
collection: l.OptionalSchema<l.StringSchema<{
|
|
31
|
+
readonly format: "nsid";
|
|
32
|
+
}>>;
|
|
33
|
+
reportTypes: l.ArraySchema<l.StringSchema<{}>>;
|
|
34
|
+
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
35
|
+
}>>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
36
|
+
queue: l.RefSchema<l.Validator<QueueDefs.QueueView, QueueDefs.QueueView>>;
|
|
37
|
+
}>>;
|
|
38
|
+
//# sourceMappingURL=createQueue.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createQueue.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/createQueue.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,kCAAkC,CAAA;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,4GAA4G;AAC5G,QAAA,MAAM,IAAI;;;;;;;;;;;;mCAiBT,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,iCAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;;;;;;;;;GAAa,EACnB,OAAO;;GAAc,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 QueueDefs = __importStar(require("./defs.defs.js"));
|
|
42
|
+
const $nsid = 'tools.ozone.queue.createQueue';
|
|
43
|
+
exports.$nsid = $nsid;
|
|
44
|
+
/** Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue. */
|
|
45
|
+
const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({
|
|
46
|
+
name: lex_1.l.string(),
|
|
47
|
+
subjectTypes: lex_1.l.array(lex_1.l.string(), { minLength: 1 }),
|
|
48
|
+
collection: lex_1.l.optional(lex_1.l.string({ format: 'nsid' })),
|
|
49
|
+
reportTypes: lex_1.l.array(lex_1.l.string(), { minLength: 1, maxLength: 25 }),
|
|
50
|
+
description: lex_1.l.optional(lex_1.l.string()),
|
|
51
|
+
}), lex_1.l.jsonPayload({
|
|
52
|
+
queue: lex_1.l.ref((() => QueueDefs.queueView)),
|
|
53
|
+
}), ['ConflictingQueue']);
|
|
54
|
+
exports.main = main;
|
|
55
|
+
exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$input = main.input, exports.$output = main.output;
|
|
56
|
+
//# sourceMappingURL=createQueue.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createQueue.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/createQueue.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,0DAA2C;AAE3C,MAAM,KAAK,GAAG,+BAA+B,CAAA;AAEpC,sBAAK;AAEd,4GAA4G;AAC5G,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,OAAC,CAAC,KAAK,CACnB,OAAC,CAAC,MAAM,EAAqD,EAC7D,EAAE,SAAS,EAAE,CAAC,EAAE,CACjB;IACD,UAAU,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACpD,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IACjE,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACpC,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,KAAK,EAAE,OAAC,CAAC,GAAG,CAAsB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CAAC;CACtE,CAAC,EACF,CAAC,kBAAkB,CAAC,CACrB,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 QueueDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.queue.createQueue'\n\nexport { $nsid }\n\n/** Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n name: l.string(),\n subjectTypes: l.array(\n l.string<{ knownValues: ['account', 'record', 'message'] }>(),\n { minLength: 1 },\n ),\n collection: l.optional(l.string({ format: 'nsid' })),\n reportTypes: l.array(l.string(), { minLength: 1, maxLength: 25 }),\n description: l.optional(l.string()),\n }),\n l.jsonPayload({\n queue: l.ref<QueueDefs.QueueView>((() => QueueDefs.queueView) as any),\n }),\n ['ConflictingQueue'],\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("./createQueue.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./createQueue.defs.js"));
|
|
45
|
+
//# sourceMappingURL=createQueue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createQueue.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/createQueue.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAAqC;AACrC,+DAA8C","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './createQueue.defs.js'\nexport * as $defs from './createQueue.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/defs.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAA;AAC9B,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as TeamDefs from '../team/defs.defs.js';
|
|
3
|
+
declare const $nsid = "tools.ozone.queue.defs";
|
|
4
|
+
export { $nsid };
|
|
5
|
+
type QueueView = {
|
|
6
|
+
$type?: 'tools.ozone.queue.defs#queueView';
|
|
7
|
+
/**
|
|
8
|
+
* Queue ID
|
|
9
|
+
*/
|
|
10
|
+
id: number;
|
|
11
|
+
/**
|
|
12
|
+
* Display name of the queue
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Subject types this queue accepts.
|
|
17
|
+
*/
|
|
18
|
+
subjectTypes: ('account' | 'record' | 'message' | l.UnknownString)[];
|
|
19
|
+
/**
|
|
20
|
+
* Collection name for record subjects (e.g., 'app.bsky.feed.post')
|
|
21
|
+
*/
|
|
22
|
+
collection?: l.NsidString;
|
|
23
|
+
/**
|
|
24
|
+
* Report reason types this queue accepts (fully qualified NSIDs)
|
|
25
|
+
*/
|
|
26
|
+
reportTypes: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Optional description of the queue
|
|
29
|
+
*/
|
|
30
|
+
description?: string;
|
|
31
|
+
/**
|
|
32
|
+
* DID of moderator who created this queue
|
|
33
|
+
*/
|
|
34
|
+
createdBy: l.DidString;
|
|
35
|
+
createdAt: l.DatetimeString;
|
|
36
|
+
updatedAt: l.DatetimeString;
|
|
37
|
+
/**
|
|
38
|
+
* Whether this queue is currently active
|
|
39
|
+
*/
|
|
40
|
+
enabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* When the queue was deleted, if applicable
|
|
43
|
+
*/
|
|
44
|
+
deletedAt?: l.DatetimeString;
|
|
45
|
+
/**
|
|
46
|
+
* Statistics about this queue
|
|
47
|
+
*/
|
|
48
|
+
stats: QueueStats;
|
|
49
|
+
};
|
|
50
|
+
export type { QueueView };
|
|
51
|
+
declare const queueView: l.TypedObjectSchema<"tools.ozone.queue.defs#queueView", l.Validator<QueueView, QueueView>>;
|
|
52
|
+
export { queueView };
|
|
53
|
+
type QueueStats = {
|
|
54
|
+
$type?: 'tools.ozone.queue.defs#queueStats';
|
|
55
|
+
/**
|
|
56
|
+
* Number of reports in 'open' status
|
|
57
|
+
*/
|
|
58
|
+
pendingCount?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Number of reports in 'closed' status
|
|
61
|
+
*/
|
|
62
|
+
actionedCount?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Number of reports in 'escalated' status
|
|
65
|
+
*/
|
|
66
|
+
escalatedCount?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Reports received in this queue in the last 24 hours.
|
|
69
|
+
*/
|
|
70
|
+
inboundCount?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. Absent when inboundCount is 0.
|
|
73
|
+
*/
|
|
74
|
+
actionRate?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Average time in seconds from report creation to close, for reports closed in this period.
|
|
77
|
+
*/
|
|
78
|
+
avgHandlingTimeSec?: number;
|
|
79
|
+
/**
|
|
80
|
+
* When these statistics were last computed
|
|
81
|
+
*/
|
|
82
|
+
lastUpdated?: l.DatetimeString;
|
|
83
|
+
};
|
|
84
|
+
export type { QueueStats };
|
|
85
|
+
declare const queueStats: l.TypedObjectSchema<"tools.ozone.queue.defs#queueStats", l.Validator<QueueStats, QueueStats>>;
|
|
86
|
+
export { queueStats };
|
|
87
|
+
type AssignmentView = {
|
|
88
|
+
$type?: 'tools.ozone.queue.defs#assignmentView';
|
|
89
|
+
id: number;
|
|
90
|
+
did: l.DidString;
|
|
91
|
+
/**
|
|
92
|
+
* The moderator assigned to this queue
|
|
93
|
+
*/
|
|
94
|
+
moderator?: TeamDefs.Member;
|
|
95
|
+
queue: QueueView;
|
|
96
|
+
startAt: l.DatetimeString;
|
|
97
|
+
endAt?: l.DatetimeString;
|
|
98
|
+
};
|
|
99
|
+
export type { AssignmentView };
|
|
100
|
+
declare const assignmentView: l.TypedObjectSchema<"tools.ozone.queue.defs#assignmentView", l.Validator<AssignmentView, AssignmentView>>;
|
|
101
|
+
export { assignmentView };
|
|
102
|
+
//# sourceMappingURL=defs.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAA;AAEhD,QAAA,MAAM,KAAK,2BAA2B,CAAA;AAEtC,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,kCAAkC,CAAA;IAE1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,YAAY,EAAE,CAAC,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,CAAC,CAAC,aAAa,CAAC,EAAE,CAAA;IAEpE;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,CAAC,UAAU,CAAA;IAEzB;;OAEG;IACH,WAAW,EAAE,MAAM,EAAE,CAAA;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,EAAE,CAAC,CAAC,SAAS,CAAA;IACtB,SAAS,EAAE,CAAC,CAAC,cAAc,CAAA;IAC3B,SAAS,EAAE,CAAC,CAAC,cAAc,CAAA;IAE3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,cAAc,CAAA;IAE5B;;OAEG;IACH,KAAK,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,YAAY,EAAE,SAAS,EAAE,CAAA;AAEzB,QAAA,MAAM,SAAS,4FAoBd,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA;AAEpB,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,mCAAmC,CAAA;IAE3C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,cAAc,CAAA;CAC/B,CAAA;AAED,YAAY,EAAE,UAAU,EAAE,CAAA;AAE1B,QAAA,MAAM,UAAU,+FAYf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA;AAErB,KAAK,cAAc,GAAG;IACpB,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,CAAC,CAAC,SAAS,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAA;IAC3B,KAAK,EAAE,SAAS,CAAA;IAChB,OAAO,EAAE,CAAC,CAAC,cAAc,CAAA;IACzB,KAAK,CAAC,EAAE,CAAC,CAAC,cAAc,CAAA;CACzB,CAAA;AAED,YAAY,EAAE,cAAc,EAAE,CAAA;AAE9B,QAAA,MAAM,cAAc,2GAanB,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.assignmentView = exports.queueStats = exports.queueView = exports.$nsid = void 0;
|
|
40
|
+
const lex_1 = require("@atproto/lex");
|
|
41
|
+
const TeamDefs = __importStar(require("../team/defs.defs.js"));
|
|
42
|
+
const $nsid = 'tools.ozone.queue.defs';
|
|
43
|
+
exports.$nsid = $nsid;
|
|
44
|
+
const queueView = lex_1.l.typedObject($nsid, 'queueView', lex_1.l.object({
|
|
45
|
+
id: lex_1.l.integer(),
|
|
46
|
+
name: lex_1.l.string(),
|
|
47
|
+
subjectTypes: lex_1.l.array(lex_1.l.string(), { minLength: 1 }),
|
|
48
|
+
collection: lex_1.l.optional(lex_1.l.string({ format: 'nsid' })),
|
|
49
|
+
reportTypes: lex_1.l.array(lex_1.l.string(), { minLength: 1 }),
|
|
50
|
+
description: lex_1.l.optional(lex_1.l.string()),
|
|
51
|
+
createdBy: lex_1.l.string({ format: 'did' }),
|
|
52
|
+
createdAt: lex_1.l.string({ format: 'datetime' }),
|
|
53
|
+
updatedAt: lex_1.l.string({ format: 'datetime' }),
|
|
54
|
+
enabled: lex_1.l.boolean(),
|
|
55
|
+
deletedAt: lex_1.l.optional(lex_1.l.string({ format: 'datetime' })),
|
|
56
|
+
stats: lex_1.l.ref((() => queueStats)),
|
|
57
|
+
}));
|
|
58
|
+
exports.queueView = queueView;
|
|
59
|
+
const queueStats = lex_1.l.typedObject($nsid, 'queueStats', lex_1.l.object({
|
|
60
|
+
pendingCount: lex_1.l.optional(lex_1.l.integer()),
|
|
61
|
+
actionedCount: lex_1.l.optional(lex_1.l.integer()),
|
|
62
|
+
escalatedCount: lex_1.l.optional(lex_1.l.integer()),
|
|
63
|
+
inboundCount: lex_1.l.optional(lex_1.l.integer()),
|
|
64
|
+
actionRate: lex_1.l.optional(lex_1.l.integer()),
|
|
65
|
+
avgHandlingTimeSec: lex_1.l.optional(lex_1.l.integer()),
|
|
66
|
+
lastUpdated: lex_1.l.optional(lex_1.l.string({ format: 'datetime' })),
|
|
67
|
+
}));
|
|
68
|
+
exports.queueStats = queueStats;
|
|
69
|
+
const assignmentView = lex_1.l.typedObject($nsid, 'assignmentView', lex_1.l.object({
|
|
70
|
+
id: lex_1.l.integer(),
|
|
71
|
+
did: lex_1.l.string({ format: 'did' }),
|
|
72
|
+
moderator: lex_1.l.optional(lex_1.l.ref((() => TeamDefs.member))),
|
|
73
|
+
queue: lex_1.l.ref((() => queueView)),
|
|
74
|
+
startAt: lex_1.l.string({ format: 'datetime' }),
|
|
75
|
+
endAt: lex_1.l.optional(lex_1.l.string({ format: 'datetime' })),
|
|
76
|
+
}));
|
|
77
|
+
exports.assignmentView = assignmentView;
|
|
78
|
+
//# sourceMappingURL=defs.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/defs.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,sCAAgC;AAChC,+DAAgD;AAEhD,MAAM,KAAK,GAAG,wBAAwB,CAAA;AAE7B,sBAAK;AA4Dd,MAAM,SAAS,GAAG,OAAC,CAAC,WAAW,CAC7B,KAAK,EACL,WAAW,EACX,OAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE;IACf,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,OAAC,CAAC,KAAK,CACnB,OAAC,CAAC,MAAM,EAAqD,EAC7D,EAAE,SAAS,EAAE,CAAC,EAAE,CACjB;IACD,UAAU,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACpD,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAClD,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACnC,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IACtC,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IAC3C,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IAC3C,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IACvD,KAAK,EAAE,OAAC,CAAC,GAAG,CAAa,CAAC,GAAG,EAAE,CAAC,UAAU,CAAQ,CAAC;CACpD,CAAC,CACH,CAAA;AAEQ,8BAAS;AA2ClB,MAAM,UAAU,GAAG,OAAC,CAAC,WAAW,CAC9B,KAAK,EACL,YAAY,EACZ,OAAC,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACrC,aAAa,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACtC,cAAc,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACvC,YAAY,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACrC,UAAU,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACnC,kBAAkB,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IAC3C,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;CAC1D,CAAC,CACH,CAAA;AAEQ,gCAAU;AAkBnB,MAAM,cAAc,GAAG,OAAC,CAAC,WAAW,CAClC,KAAK,EACL,gBAAgB,EAChB,OAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChC,SAAS,EAAE,OAAC,CAAC,QAAQ,CACnB,OAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAQ,CAAC,CACvD;IACD,KAAK,EAAE,OAAC,CAAC,GAAG,CAAY,CAAC,GAAG,EAAE,CAAC,SAAS,CAAQ,CAAC;IACjD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IACzC,KAAK,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;CACpD,CAAC,CACH,CAAA;AAEQ,wCAAc","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as TeamDefs from '../team/defs.defs.js'\n\nconst $nsid = 'tools.ozone.queue.defs'\n\nexport { $nsid }\n\ntype QueueView = {\n $type?: 'tools.ozone.queue.defs#queueView'\n\n /**\n * Queue ID\n */\n id: number\n\n /**\n * Display name of the queue\n */\n name: string\n\n /**\n * Subject types this queue accepts.\n */\n subjectTypes: ('account' | 'record' | 'message' | l.UnknownString)[]\n\n /**\n * Collection name for record subjects (e.g., 'app.bsky.feed.post')\n */\n collection?: l.NsidString\n\n /**\n * Report reason types this queue accepts (fully qualified NSIDs)\n */\n reportTypes: string[]\n\n /**\n * Optional description of the queue\n */\n description?: string\n\n /**\n * DID of moderator who created this queue\n */\n createdBy: l.DidString\n createdAt: l.DatetimeString\n updatedAt: l.DatetimeString\n\n /**\n * Whether this queue is currently active\n */\n enabled: boolean\n\n /**\n * When the queue was deleted, if applicable\n */\n deletedAt?: l.DatetimeString\n\n /**\n * Statistics about this queue\n */\n stats: QueueStats\n}\n\nexport type { QueueView }\n\nconst queueView = l.typedObject<QueueView>(\n $nsid,\n 'queueView',\n l.object({\n id: l.integer(),\n name: l.string(),\n subjectTypes: l.array(\n l.string<{ knownValues: ['account', 'record', 'message'] }>(),\n { minLength: 1 },\n ),\n collection: l.optional(l.string({ format: 'nsid' })),\n reportTypes: l.array(l.string(), { minLength: 1 }),\n description: l.optional(l.string()),\n createdBy: l.string({ format: 'did' }),\n createdAt: l.string({ format: 'datetime' }),\n updatedAt: l.string({ format: 'datetime' }),\n enabled: l.boolean(),\n deletedAt: l.optional(l.string({ format: 'datetime' })),\n stats: l.ref<QueueStats>((() => queueStats) as any),\n }),\n)\n\nexport { queueView }\n\ntype QueueStats = {\n $type?: 'tools.ozone.queue.defs#queueStats'\n\n /**\n * Number of reports in 'open' status\n */\n pendingCount?: number\n\n /**\n * Number of reports in 'closed' status\n */\n actionedCount?: number\n\n /**\n * Number of reports in 'escalated' status\n */\n escalatedCount?: number\n\n /**\n * Reports received in this queue in the last 24 hours.\n */\n inboundCount?: number\n\n /**\n * Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. Absent when inboundCount is 0.\n */\n actionRate?: number\n\n /**\n * Average time in seconds from report creation to close, for reports closed in this period.\n */\n avgHandlingTimeSec?: number\n\n /**\n * When these statistics were last computed\n */\n lastUpdated?: l.DatetimeString\n}\n\nexport type { QueueStats }\n\nconst queueStats = l.typedObject<QueueStats>(\n $nsid,\n 'queueStats',\n l.object({\n pendingCount: l.optional(l.integer()),\n actionedCount: l.optional(l.integer()),\n escalatedCount: l.optional(l.integer()),\n inboundCount: l.optional(l.integer()),\n actionRate: l.optional(l.integer()),\n avgHandlingTimeSec: l.optional(l.integer()),\n lastUpdated: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { queueStats }\n\ntype AssignmentView = {\n $type?: 'tools.ozone.queue.defs#assignmentView'\n id: number\n did: l.DidString\n\n /**\n * The moderator assigned to this queue\n */\n moderator?: TeamDefs.Member\n queue: QueueView\n startAt: l.DatetimeString\n endAt?: l.DatetimeString\n}\n\nexport type { AssignmentView }\n\nconst assignmentView = l.typedObject<AssignmentView>(\n $nsid,\n 'assignmentView',\n l.object({\n id: l.integer(),\n did: l.string({ format: 'did' }),\n moderator: l.optional(\n l.ref<TeamDefs.Member>((() => TeamDefs.member) as any),\n ),\n queue: l.ref<QueueView>((() => queueView) as any),\n startAt: l.string({ format: 'datetime' }),\n endAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { assignmentView }\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("./defs.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./defs.defs.js"));
|
|
45
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iDAA8B;AAC9B,wDAAuC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './defs.defs.js'\nexport * as $defs from './defs.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteQueue.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/deleteQueue.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "tools.ozone.queue.deleteQueue";
|
|
3
|
+
export { $nsid };
|
|
4
|
+
/** Delete a moderation queue. Optionally migrate reports to another queue. */
|
|
5
|
+
declare const main: l.Procedure<"tools.ozone.queue.deleteQueue", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
6
|
+
queueId: l.IntegerSchema;
|
|
7
|
+
migrateToQueueId: l.OptionalSchema<l.IntegerSchema>;
|
|
8
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
9
|
+
deleted: l.BooleanSchema;
|
|
10
|
+
reportsMigrated: l.OptionalSchema<l.IntegerSchema>;
|
|
11
|
+
}>>, undefined>;
|
|
12
|
+
export { main };
|
|
13
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
14
|
+
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
15
|
+
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
16
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
17
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
18
|
+
export declare const $lxm: "tools.ozone.queue.deleteQueue", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
19
|
+
queueId: l.IntegerSchema;
|
|
20
|
+
migrateToQueueId: l.OptionalSchema<l.IntegerSchema>;
|
|
21
|
+
}>>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
22
|
+
deleted: l.BooleanSchema;
|
|
23
|
+
reportsMigrated: l.OptionalSchema<l.IntegerSchema>;
|
|
24
|
+
}>>;
|
|
25
|
+
//# sourceMappingURL=deleteQueue.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteQueue.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/deleteQueue.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,kCAAkC,CAAA;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,8EAA8E;AAC9E,QAAA,MAAM,IAAI;;;;;;eAWT,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,iCAAY,EAC3B,OAAO,oBAAkB,EACzB,MAAM;;;GAAa,EACnB,OAAO;;;GAAc,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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.queue.deleteQueue';
|
|
9
|
+
exports.$nsid = $nsid;
|
|
10
|
+
/** Delete a moderation queue. Optionally migrate reports to another queue. */
|
|
11
|
+
const main = lex_1.l.procedure($nsid, lex_1.l.params(), lex_1.l.jsonPayload({
|
|
12
|
+
queueId: lex_1.l.integer(),
|
|
13
|
+
migrateToQueueId: lex_1.l.optional(lex_1.l.integer()),
|
|
14
|
+
}), lex_1.l.jsonPayload({
|
|
15
|
+
deleted: lex_1.l.boolean(),
|
|
16
|
+
reportsMigrated: lex_1.l.optional(lex_1.l.integer()),
|
|
17
|
+
}));
|
|
18
|
+
exports.main = main;
|
|
19
|
+
exports.$lxm = main.nsid, exports.$params = main.parameters, exports.$input = main.input, exports.$output = main.output;
|
|
20
|
+
//# sourceMappingURL=deleteQueue.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteQueue.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/deleteQueue.defs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,sCAAgC;AAEhC,MAAM,KAAK,GAAG,+BAA+B,CAAA;AAEpC,sBAAK;AAEd,8EAA8E;AAC9E,MAAM,IAAI,GAAG,OAAC,CAAC,SAAS,CACtB,KAAK,EACL,OAAC,CAAC,MAAM,EAAE,EACV,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,gBAAgB,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;CAC1C,CAAC,EACF,OAAC,CAAC,WAAW,CAAC;IACZ,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,eAAe,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;CACzC,CAAC,CACH,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.queue.deleteQueue'\n\nexport { $nsid }\n\n/** Delete a moderation queue. Optionally migrate reports to another queue. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n queueId: l.integer(),\n migrateToQueueId: l.optional(l.integer()),\n }),\n l.jsonPayload({\n deleted: l.boolean(),\n reportsMigrated: l.optional(l.integer()),\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("./deleteQueue.defs.js"), exports);
|
|
44
|
+
exports.$defs = __importStar(require("./deleteQueue.defs.js"));
|
|
45
|
+
//# sourceMappingURL=deleteQueue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteQueue.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/deleteQueue.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAAqC;AACrC,+DAA8C","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './deleteQueue.defs.js'\nexport * as $defs from './deleteQueue.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAssignments.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/getAssignments.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAA;AACxC,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAA"}
|