@atproto/bsky 0.3.3 → 0.3.5
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 +20 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js +1 -1
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts +4 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.js +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.d.ts +6 -0
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.js +1 -1
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atproto/bsky
|
|
2
2
|
|
|
3
|
+
## 0.3.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5700](https://github.com/bluesky-social/atproto/pull/5700) [`53d307b`](https://github.com/bluesky-social/atproto/commit/53d307b614120947d7a11687e9bd0868c1c02dd1) Thanks [@gcwill70](https://github.com/gcwill70)! - Add strict access flag to report queues. Non-admin users will only be able to access strict queues and their reports if they are assigned to them.
|
|
8
|
+
|
|
9
|
+
Allow filtering SafeLink rules by exact source in queryRules, combining with existing filters and pagination.
|
|
10
|
+
- Updated dependencies [[`53d307b`](https://github.com/bluesky-social/atproto/commit/53d307b614120947d7a11687e9bd0868c1c02dd1)]:
|
|
11
|
+
- @atproto/api@0.29.1
|
|
12
|
+
|
|
13
|
+
## 0.3.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`fc60876`](https://github.com/bluesky-social/atproto/commit/fc60876949cca1ca28e98273ecfc97a151d3ebfc)]:
|
|
18
|
+
- @atproto-labs/fetch-node@0.4.2
|
|
19
|
+
- @atproto/identity@0.5.18
|
|
20
|
+
- @atproto/sync@0.4.15
|
|
21
|
+
- @atproto/lex@0.4.1
|
|
22
|
+
|
|
3
23
|
## 0.3.3
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -23,6 +23,7 @@ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
23
23
|
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
24
24
|
recommendedPolicies: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
25
25
|
recommendedLabels: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
26
|
+
strictAccess: l.OptionalSchema<l.BooleanSchema>;
|
|
26
27
|
}>>;
|
|
27
28
|
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
28
29
|
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
@@ -50,6 +51,7 @@ declare const main: l.Procedure<"tools.ozone.queue.createQueue", l.ParamsSchema<
|
|
|
50
51
|
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
51
52
|
recommendedPolicies: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
52
53
|
recommendedLabels: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
54
|
+
strictAccess: l.OptionalSchema<l.BooleanSchema>;
|
|
53
55
|
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
54
56
|
queue: l.RefSchema<l.Validator<QueueDefs.QueueView, QueueDefs.QueueView>>;
|
|
55
57
|
}>>, readonly ["InvalidRecommendedPolicies", "ConflictingQueue"]>;
|
|
@@ -1 +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,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,kCAAkC,CAAC;AAE9C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM
|
|
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,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,kCAAkC,CAAC;AAE9C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;GAA+7B,CAAC;AAEn9B,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;GAAsH,CAAC;AAE3I,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,yPAAyP;AACzP,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;iEAAgH,CAAC;AAE3H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,kCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ import * as QueueDefs from "./defs.defs.js";
|
|
|
6
6
|
const $nsid = "tools.ozone.queue.createQueue";
|
|
7
7
|
export { $nsid };
|
|
8
8
|
export const $params = /*#__PURE__*/ l.params();
|
|
9
|
-
export const $input = /*#__PURE__*/ l.jsonPayload({ "name": /*#__PURE__*/ l.string(), "subjectTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "collection": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "nsid" })), "reportTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "reporterTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "accountTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "description": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "recommendedPolicies": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "recommendedLabels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())) });
|
|
9
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "name": /*#__PURE__*/ l.string(), "subjectTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "collection": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "nsid" })), "reportTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "reporterTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "accountTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "description": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "recommendedPolicies": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "recommendedLabels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "strictAccess": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()) });
|
|
10
10
|
export const $output = /*#__PURE__*/ l.jsonPayload({ "queue": /*#__PURE__*/ l.ref((() => QueueDefs.queueView)) });
|
|
11
11
|
/** Create a new moderation queue. A queue with omitted or empty subjectTypes or reportTypes must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`. */
|
|
12
12
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidRecommendedPolicies", "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Aa,CAAC,CAAC,CAAC,GAAG,CAAsB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CAAC,EAAC,CAAC,CAAC;AAK3I,yPAAyP;AACzP,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,4BAA4B,EAAC,kBAAkB,CAAC,CAAC,CAAC;AAE3H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC","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\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\nexport const $params = /*#__PURE__*/ l.params();\n\nexport type $Params = l.InferOutput<typeof $params>;\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\"name\":/*#__PURE__*/ l.string(),\"subjectTypes\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string<{\"knownValues\":[\"account\",\"record\",\"message\",\"conversation\"]}>(), )),\"collection\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"nsid\"})),\"reportTypes\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"reporterTags\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"minLength\":1}), {\"maxLength\":25})),\"accountTags\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"minLength\":1}), {\"maxLength\":25})),\"description\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"recommendedPolicies\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"recommendedLabels\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"strictAccess\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean())});\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\"queue\":/*#__PURE__*/ l.ref<QueueDefs.QueueView>((() => QueueDefs.queueView) as any)});\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;\n\n/** Create a new moderation queue. A queue with omitted or empty subjectTypes or reportTypes must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"InvalidRecommendedPolicies\",\"ConflictingQueue\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
|
@@ -63,6 +63,10 @@ type QueueView = {
|
|
|
63
63
|
* Statistics about this queue
|
|
64
64
|
*/
|
|
65
65
|
"stats": QueueStats;
|
|
66
|
+
/**
|
|
67
|
+
* Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.
|
|
68
|
+
*/
|
|
69
|
+
"strictAccess"?: boolean;
|
|
66
70
|
};
|
|
67
71
|
export type { QueueView };
|
|
68
72
|
declare const queueView: l.TypedObjectSchema<"tools.ozone.queue.defs#queueView", l.Validator<QueueView, QueueView>>;
|
|
@@ -1 +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,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AErB;;OAEG;IACH,oBAAoB,CAAC,EAAC,MAAM,CAAC;IAE7B;;OAEG;IACH,sBAAsB,CAAC,EAAC,MAAM,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAC,CAAC,CAAC,cAAc,CAAA;CAAE,CAAC;AAEpC,YAAY,EAAE,UAAU,EAAE,CAAC;AAE3B,QAAA,MAAM,UAAU,+FAA8oD,CAAC;AAE/pD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,KAAK,cAAc,GAAG;IAAE,KAAK,CAAC,EAAE,uCAAuC,CAAC;IAAA,IAAI,EAAC,MAAM,CAAC;IAAA,KAAK,EAAC,CAAC,CAAC,SAAS,CAAC;IAEpG;;OAEG;IACH,WAAW,CAAC,EAAC,QAAQ,CAAC,MAAM,CAAC;IAAA,OAAO,EAAC,SAAS,CAAC;IAAA,SAAS,EAAC,CAAC,CAAC,cAAc,CAAC;IAAA,OAAO,CAAC,EAAC,CAAC,CAAC,cAAc,CAAA;CAAE,CAAC;AAExG,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,QAAA,MAAM,cAAc,2GAAoe,CAAC;AAEzf,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { l } from "@atproto/lex";
|
|
|
5
5
|
import * as TeamDefs from "../team/defs.defs.js";
|
|
6
6
|
const $nsid = "tools.ozone.queue.defs";
|
|
7
7
|
export { $nsid };
|
|
8
|
-
const queueView = /*#__PURE__*/ l.typedObject($nsid, "queueView", /*#__PURE__*/ l.object({ "id": /*#__PURE__*/ l.integer(), "name": /*#__PURE__*/ l.string(), "subjectTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "collection": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "nsid" })), "reportTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "reporterTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "accountTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "description": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "recommendedPolicies": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "recommendedLabels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "createdBy": /*#__PURE__*/ l.string({ "format": "did" }), "createdAt": /*#__PURE__*/ l.string({ "format": "datetime" }), "updatedAt": /*#__PURE__*/ l.string({ "format": "datetime" }), "enabled": /*#__PURE__*/ l.boolean(), "deletedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "stats": /*#__PURE__*/ l.ref((() => queueStats)) }));
|
|
8
|
+
const queueView = /*#__PURE__*/ l.typedObject($nsid, "queueView", /*#__PURE__*/ l.object({ "id": /*#__PURE__*/ l.integer(), "name": /*#__PURE__*/ l.string(), "subjectTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "collection": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "nsid" })), "reportTypes": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "reporterTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "accountTags": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "minLength": 1 }), { "maxLength": 25 })), "description": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "recommendedPolicies": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "recommendedLabels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "createdBy": /*#__PURE__*/ l.string({ "format": "did" }), "createdAt": /*#__PURE__*/ l.string({ "format": "datetime" }), "updatedAt": /*#__PURE__*/ l.string({ "format": "datetime" }), "enabled": /*#__PURE__*/ l.boolean(), "deletedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "stats": /*#__PURE__*/ l.ref((() => queueStats)), "strictAccess": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()) }));
|
|
9
9
|
export { queueView };
|
|
10
10
|
const queueStats = /*#__PURE__*/ l.typedObject($nsid, "queueStats", /*#__PURE__*/ l.object({ "pendingCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "closureTargetOverdueCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "closureTargetMetCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "closureTargetMissedCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "closureTargetMetRate": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0, "maximum": 100 })), "closedCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "actionedCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "acknowledgedCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "escalatedCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "inboundCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "labelActionCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "tagActionCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "takedownActionCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "ahtDurationSec": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "ahtSampleCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "resolutionDurationSec": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "resolutionSampleCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "actionRate": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "avgHandlingTimeSec": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "avgResolutionTimeSec": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "lastUpdated": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })) }));
|
|
11
11
|
export { queueStats };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAEjD,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAC;AA4EjB,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAY,KAAK,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,IAAI,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,cAAc,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAiE,CAAG,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC,CAAC,EAAC,aAAa,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,E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,CAAC,OAAO,EAAE,CAAC,EAAC,aAAa,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAE/pD,OAAO,EAAE,UAAU,EAAE,CAAC;AAWtB,MAAM,cAAc,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAiB,KAAK,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,IAAI,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAQ,CAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAY,CAAC,GAAG,EAAE,CAAC,SAAS,CAAQ,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAEzf,OAAO,EAAE,cAAc,EAAE,CAAC","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\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\ntype QueueView = { $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\" | \"conversation\" | l.UnknownString)[];\n\n /**\n * Collection name for record subjects. Omit to accept every collection.\n */\n \"collection\"?:l.NsidString;\n\n /**\n * Report reason types this queue accepts (fully qualified NSIDs)\n */\n \"reportTypes\"?:(string)[];\n\n /**\n * Match any listed tag on the account submitting the report.\n */\n \"reporterTags\"?:(string)[];\n\n /**\n * Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.\n */\n \"accountTags\"?:(string)[];\n\n /**\n * Optional description of the queue\n */\n \"description\"?:string;\n\n /**\n * Policy keys recommended when actioning reports in this queue\n */\n \"recommendedPolicies\"?:(string)[];\n\n /**\n * Labels recommended for this queue and used as a fallback when routing label appeals\n */\n \"recommendedLabels\"?:(string)[];\n\n /**\n * DID of moderator who created this queue\n */\n \"createdBy\":l.DidString;\"createdAt\":l.DatetimeString;\"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\nexport type { QueueView };\n\nconst queueView = /*#__PURE__*/ l.typedObject<QueueView>($nsid, \"queueView\", /*#__PURE__*/ l.object({\"id\":/*#__PURE__*/ l.integer(),\"name\":/*#__PURE__*/ l.string(),\"subjectTypes\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string<{\"knownValues\":[\"account\",\"record\",\"message\",\"conversation\"]}>(), )),\"collection\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"nsid\"})),\"reportTypes\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"reporterTags\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"minLength\":1}), {\"maxLength\":25})),\"accountTags\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"minLength\":1}), {\"maxLength\":25})),\"description\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"recommendedPolicies\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"recommendedLabels\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"createdBy\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"createdAt\":/*#__PURE__*/ l.string({\"format\":\"datetime\"}),\"updatedAt\":/*#__PURE__*/ l.string({\"format\":\"datetime\"}),\"enabled\":/*#__PURE__*/ l.boolean(),\"deletedAt\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"datetime\"})),\"stats\":/*#__PURE__*/ l.ref<QueueStats>((() => queueStats) as any)}));\n\nexport { queueView };\n\ntype QueueStats = { $type?: \"tools.ozone.queue.defs#queueStats\";\n\n /**\n * Number of unmuted reports currently not closed.\n */\n \"pendingCount\"?:number;\n\n /**\n * Unmuted pending reports past their closure target.\n */\n \"closureTargetOverdueCount\"?:number;\n\n /**\n * Reports whose closure meets their closure target.\n */\n \"closureTargetMetCount\"?:number;\n\n /**\n * Reports whose closure exceeds their closure target.\n */\n \"closureTargetMissedCount\"?:number;\n\n /**\n * Percent of reports meeting their closure target.\n */\n \"closureTargetMetRate\"?:number;\n\n /**\n * Number of reports whose current closure falls within this UTC calendar day.\n */\n \"closedCount\"?:number;\n\n /**\n * Number of closures whose last report action is label, tag, or takedown.\n */\n \"actionedCount\"?:number;\n\n /**\n * Number of closures whose last report action is not label, tag, or takedown.\n */\n \"acknowledgedCount\"?:number;\n\n /**\n * Number of report escalation events during this UTC calendar day.\n */\n \"escalatedCount\"?:number;\n\n /**\n * Reports received in this queue during this UTC calendar day.\n */\n \"inboundCount\"?:number;\n\n /**\n * Closures whose last report action is a label event.\n */\n \"labelActionCount\"?:number;\n\n /**\n * Closures whose last report action is a tag event.\n */\n \"tagActionCount\"?:number;\n\n /**\n * Closures whose last report action is a takedown event.\n */\n \"takedownActionCount\"?:number;\n\n /**\n * Sum of report assignment-to-close seconds.\n */\n \"ahtDurationSec\"?:number;\n\n /**\n * Number of assigned closed-report samples in ahtDurationSec.\n */\n \"ahtSampleCount\"?:number;\n\n /**\n * Sum of report creation-to-close seconds.\n */\n \"resolutionDurationSec\"?:number;\n\n /**\n * Number of closed-report samples in resolutionDurationSec.\n */\n \"resolutionSampleCount\"?:number;\n\n /**\n * Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.\n */\n \"actionRate\"?:number;\n\n /**\n * Average handling time in seconds from report assignment to close.\n */\n \"avgHandlingTimeSec\"?:number;\n\n /**\n * Average resolution time in seconds from report creation to close.\n */\n \"avgResolutionTimeSec\"?:number;\n\n /**\n * When these statistics were last computed.\n */\n \"lastUpdated\"?:l.DatetimeString };\n\nexport type { QueueStats };\n\nconst queueStats = /*#__PURE__*/ l.typedObject<QueueStats>($nsid, \"queueStats\", /*#__PURE__*/ l.object({\"pendingCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"closureTargetOverdueCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0})),\"closureTargetMetCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0})),\"closureTargetMissedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0})),\"closureTargetMetRate\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0,\"maximum\":100})),\"closedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"actionedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"acknowledgedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"escalatedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"inboundCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"labelActionCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"tagActionCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"takedownActionCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"ahtDurationSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"ahtSampleCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"resolutionDurationSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"resolutionSampleCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"actionRate\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"avgHandlingTimeSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"avgResolutionTimeSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"lastUpdated\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"datetime\"}))}));\n\nexport { queueStats };\n\ntype AssignmentView = { $type?: \"tools.ozone.queue.defs#assignmentView\";\"id\":number;\"did\":l.DidString;\n\n /**\n * The moderator assigned to this queue\n */\n \"moderator\"?:TeamDefs.Member;\"queue\":QueueView;\"startAt\":l.DatetimeString;\"endAt\"?:l.DatetimeString };\n\nexport type { AssignmentView };\n\nconst assignmentView = /*#__PURE__*/ l.typedObject<AssignmentView>($nsid, \"assignmentView\", /*#__PURE__*/ l.object({\"id\":/*#__PURE__*/ l.integer(),\"did\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"moderator\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref<TeamDefs.Member>((() => TeamDefs.member) as any)),\"queue\":/*#__PURE__*/ l.ref<QueueView>((() => queueView) as any),\"startAt\":/*#__PURE__*/ l.string({\"format\":\"datetime\"}),\"endAt\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"datetime\"}))}));\n\nexport { assignmentView };\n"]}
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAEjD,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAC;AAiFjB,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAY,KAAK,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,IAAI,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,cAAc,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAiE,CAAG,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC,CAAC,EAAC,aAAa,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAG,CAAC,EAAC,cAAc,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,WAAW,EAAC,CAAC,EAAC,CAAC,EAAE,EAAC,WAAW,EAAC,EAAE,EAAC,CAAC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AAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAE/pD,OAAO,EAAE,UAAU,EAAE,CAAC;AAWtB,MAAM,cAAc,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAiB,KAAK,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,IAAI,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAkB,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAQ,CAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAY,CAAC,GAAG,EAAE,CAAC,SAAS,CAAQ,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAEzf,OAAO,EAAE,cAAc,EAAE,CAAC","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\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\ntype QueueView = { $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\" | \"conversation\" | l.UnknownString)[];\n\n /**\n * Collection name for record subjects. Omit to accept every collection.\n */\n \"collection\"?:l.NsidString;\n\n /**\n * Report reason types this queue accepts (fully qualified NSIDs)\n */\n \"reportTypes\"?:(string)[];\n\n /**\n * Match any listed tag on the account submitting the report.\n */\n \"reporterTags\"?:(string)[];\n\n /**\n * Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.\n */\n \"accountTags\"?:(string)[];\n\n /**\n * Optional description of the queue\n */\n \"description\"?:string;\n\n /**\n * Policy keys recommended when actioning reports in this queue\n */\n \"recommendedPolicies\"?:(string)[];\n\n /**\n * Labels recommended for this queue and used as a fallback when routing label appeals\n */\n \"recommendedLabels\"?:(string)[];\n\n /**\n * DID of moderator who created this queue\n */\n \"createdBy\":l.DidString;\"createdAt\":l.DatetimeString;\"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 /**\n * Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.\n */\n \"strictAccess\"?:boolean };\n\nexport type { QueueView };\n\nconst queueView = /*#__PURE__*/ l.typedObject<QueueView>($nsid, \"queueView\", /*#__PURE__*/ l.object({\"id\":/*#__PURE__*/ l.integer(),\"name\":/*#__PURE__*/ l.string(),\"subjectTypes\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string<{\"knownValues\":[\"account\",\"record\",\"message\",\"conversation\"]}>(), )),\"collection\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"nsid\"})),\"reportTypes\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"reporterTags\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"minLength\":1}), {\"maxLength\":25})),\"accountTags\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"minLength\":1}), {\"maxLength\":25})),\"description\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"recommendedPolicies\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"recommendedLabels\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"createdBy\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"createdAt\":/*#__PURE__*/ l.string({\"format\":\"datetime\"}),\"updatedAt\":/*#__PURE__*/ l.string({\"format\":\"datetime\"}),\"enabled\":/*#__PURE__*/ l.boolean(),\"deletedAt\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"datetime\"})),\"stats\":/*#__PURE__*/ l.ref<QueueStats>((() => queueStats) as any),\"strictAccess\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean())}));\n\nexport { queueView };\n\ntype QueueStats = { $type?: \"tools.ozone.queue.defs#queueStats\";\n\n /**\n * Number of unmuted reports currently not closed.\n */\n \"pendingCount\"?:number;\n\n /**\n * Unmuted pending reports past their closure target.\n */\n \"closureTargetOverdueCount\"?:number;\n\n /**\n * Reports whose closure meets their closure target.\n */\n \"closureTargetMetCount\"?:number;\n\n /**\n * Reports whose closure exceeds their closure target.\n */\n \"closureTargetMissedCount\"?:number;\n\n /**\n * Percent of reports meeting their closure target.\n */\n \"closureTargetMetRate\"?:number;\n\n /**\n * Number of reports whose current closure falls within this UTC calendar day.\n */\n \"closedCount\"?:number;\n\n /**\n * Number of closures whose last report action is label, tag, or takedown.\n */\n \"actionedCount\"?:number;\n\n /**\n * Number of closures whose last report action is not label, tag, or takedown.\n */\n \"acknowledgedCount\"?:number;\n\n /**\n * Number of report escalation events during this UTC calendar day.\n */\n \"escalatedCount\"?:number;\n\n /**\n * Reports received in this queue during this UTC calendar day.\n */\n \"inboundCount\"?:number;\n\n /**\n * Closures whose last report action is a label event.\n */\n \"labelActionCount\"?:number;\n\n /**\n * Closures whose last report action is a tag event.\n */\n \"tagActionCount\"?:number;\n\n /**\n * Closures whose last report action is a takedown event.\n */\n \"takedownActionCount\"?:number;\n\n /**\n * Sum of report assignment-to-close seconds.\n */\n \"ahtDurationSec\"?:number;\n\n /**\n * Number of assigned closed-report samples in ahtDurationSec.\n */\n \"ahtSampleCount\"?:number;\n\n /**\n * Sum of report creation-to-close seconds.\n */\n \"resolutionDurationSec\"?:number;\n\n /**\n * Number of closed-report samples in resolutionDurationSec.\n */\n \"resolutionSampleCount\"?:number;\n\n /**\n * Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.\n */\n \"actionRate\"?:number;\n\n /**\n * Average handling time in seconds from report assignment to close.\n */\n \"avgHandlingTimeSec\"?:number;\n\n /**\n * Average resolution time in seconds from report creation to close.\n */\n \"avgResolutionTimeSec\"?:number;\n\n /**\n * When these statistics were last computed.\n */\n \"lastUpdated\"?:l.DatetimeString };\n\nexport type { QueueStats };\n\nconst queueStats = /*#__PURE__*/ l.typedObject<QueueStats>($nsid, \"queueStats\", /*#__PURE__*/ l.object({\"pendingCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"closureTargetOverdueCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0})),\"closureTargetMetCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0})),\"closureTargetMissedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0})),\"closureTargetMetRate\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({\"minimum\":0,\"maximum\":100})),\"closedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"actionedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"acknowledgedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"escalatedCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"inboundCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"labelActionCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"tagActionCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"takedownActionCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"ahtDurationSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"ahtSampleCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"resolutionDurationSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"resolutionSampleCount\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"actionRate\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"avgHandlingTimeSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"avgResolutionTimeSec\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\"lastUpdated\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"datetime\"}))}));\n\nexport { queueStats };\n\ntype AssignmentView = { $type?: \"tools.ozone.queue.defs#assignmentView\";\"id\":number;\"did\":l.DidString;\n\n /**\n * The moderator assigned to this queue\n */\n \"moderator\"?:TeamDefs.Member;\"queue\":QueueView;\"startAt\":l.DatetimeString;\"endAt\"?:l.DatetimeString };\n\nexport type { AssignmentView };\n\nconst assignmentView = /*#__PURE__*/ l.typedObject<AssignmentView>($nsid, \"assignmentView\", /*#__PURE__*/ l.object({\"id\":/*#__PURE__*/ l.integer(),\"did\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"moderator\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref<TeamDefs.Member>((() => TeamDefs.member) as any)),\"queue\":/*#__PURE__*/ l.ref<QueueView>((() => queueView) as any),\"startAt\":/*#__PURE__*/ l.string({\"format\":\"datetime\"}),\"endAt\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"datetime\"}))}));\n\nexport { assignmentView };\n"]}
|
|
@@ -12,6 +12,7 @@ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
12
12
|
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
13
13
|
recommendedPolicies: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
14
14
|
recommendedLabels: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
15
|
+
strictAccess: l.OptionalSchema<l.BooleanSchema>;
|
|
15
16
|
}>>;
|
|
16
17
|
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
17
18
|
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
@@ -28,6 +29,7 @@ declare const main: l.Procedure<"tools.ozone.queue.updateQueue", l.ParamsSchema<
|
|
|
28
29
|
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
29
30
|
recommendedPolicies: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
30
31
|
recommendedLabels: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
32
|
+
strictAccess: l.OptionalSchema<l.BooleanSchema>;
|
|
31
33
|
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
32
34
|
queue: l.RefSchema<l.Validator<QueueDefs.QueueView, QueueDefs.QueueView>>;
|
|
33
35
|
}>>, readonly ["InvalidRecommendedPolicies", "ConflictingQueue"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateQueue.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/updateQueue.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,kC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,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,+BAA+B;AAC/B,QAAA,MAAM,IAAI;;;;;;;;;;iEAAgH,CAAC;AAE3H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,kCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ import * as QueueDefs from "./defs.defs.js";
|
|
|
6
6
|
const $nsid = "tools.ozone.queue.updateQueue";
|
|
7
7
|
export { $nsid };
|
|
8
8
|
export const $params = /*#__PURE__*/ l.params();
|
|
9
|
-
export const $input = /*#__PURE__*/ l.jsonPayload({ "queueId": /*#__PURE__*/ l.integer(), "name": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "enabled": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()), "description": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "recommendedPolicies": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "recommendedLabels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())) });
|
|
9
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "queueId": /*#__PURE__*/ l.integer(), "name": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "enabled": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()), "description": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "recommendedPolicies": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "recommendedLabels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "strictAccess": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()) });
|
|
10
10
|
export const $output = /*#__PURE__*/ l.jsonPayload({ "queue": /*#__PURE__*/ l.ref((() => QueueDefs.queueView)) });
|
|
11
11
|
/** Update queue properties. */
|
|
12
12
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidRecommendedPolicies", "ConflictingQueue"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateQueue.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/updateQueue.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,MAAM,KAAK,GAAG,+BAA+B,CAAC;AAI9C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,EAAC,aAAa,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,qBAAqB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAG,CAAC,EAAC,mBAAmB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAG,CAAC,EAAC,CAAC,CA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,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAsB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CAAC,EAAC,CAAC,CAAC;AAK3I,+BAA+B;AAC/B,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,4BAA4B,EAAC,kBAAkB,CAAC,CAAC,CAAC;AAE3H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC","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.updateQueue\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\nexport const $params = /*#__PURE__*/ l.params();\n\nexport type $Params = l.InferOutput<typeof $params>;\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\"queueId\":/*#__PURE__*/ l.integer(),\"name\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"enabled\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\"description\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"recommendedPolicies\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"recommendedLabels\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"strictAccess\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean())});\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\"queue\":/*#__PURE__*/ l.ref<QueueDefs.QueueView>((() => QueueDefs.queueView) as any)});\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;\n\n/** Update queue properties. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"InvalidRecommendedPolicies\",\"ConflictingQueue\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
|
@@ -12,6 +12,9 @@ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
12
12
|
patternType: l.OptionalSchema<l.StringSchema<{}>>;
|
|
13
13
|
actions: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
14
14
|
reason: l.OptionalSchema<l.StringSchema<{}>>;
|
|
15
|
+
source: l.OptionalSchema<l.StringSchema<{
|
|
16
|
+
readonly maxLength: 128;
|
|
17
|
+
}>>;
|
|
15
18
|
createdBy: l.OptionalSchema<l.StringSchema<{
|
|
16
19
|
readonly format: "did";
|
|
17
20
|
}>>;
|
|
@@ -35,6 +38,9 @@ declare const main: l.Procedure<"tools.ozone.safelink.queryRules", l.ParamsSchem
|
|
|
35
38
|
patternType: l.OptionalSchema<l.StringSchema<{}>>;
|
|
36
39
|
actions: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
37
40
|
reason: l.OptionalSchema<l.StringSchema<{}>>;
|
|
41
|
+
source: l.OptionalSchema<l.StringSchema<{
|
|
42
|
+
readonly maxLength: 128;
|
|
43
|
+
}>>;
|
|
38
44
|
createdBy: l.OptionalSchema<l.StringSchema<{
|
|
39
45
|
readonly format: "did";
|
|
40
46
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryRules.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/safelink/queryRules.defs.ts"],"names":[],"mappings":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AC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,6BAA6B;AAC7B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;eAA6D,CAAC;AAExE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,oCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ import * as SafelinkDefs from "./defs.defs.js";
|
|
|
6
6
|
const $nsid = "tools.ozone.safelink.queryRules";
|
|
7
7
|
export { $nsid };
|
|
8
8
|
export const $params = /*#__PURE__*/ l.params();
|
|
9
|
-
export const $input = /*#__PURE__*/ l.jsonPayload({ "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "limit": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer({ "minimum": 1, "maximum": 100 }), 50)), "urls": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "patternType": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "actions": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "reason": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "createdBy": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "did" })), "sortDirection": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.string(), "desc")) });
|
|
9
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "limit": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer({ "minimum": 1, "maximum": 100 }), 50)), "urls": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "patternType": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "actions": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())), "reason": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "source": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 128 })), "createdBy": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "did" })), "sortDirection": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.string(), "desc")) });
|
|
10
10
|
export const $output = /*#__PURE__*/ l.jsonPayload({ "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "rules": /*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => SafelinkDefs.urlRule))) });
|
|
11
11
|
/** Query URL safety rules */
|
|
12
12
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryRules.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/safelink/queryRules.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,MAAM,KAAK,GAAG,iCAAiC,CAAC;AAIhD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC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AAC,KAAK,EAAC,CAAC,CAAC,EAAC,eAAe,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAkC,EAAE,MAAM,CAAC,CAAC,EAAC,CAAC,CAAC;AAKnzB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAuB,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAQ,CAAC,CAAG,EAAC,CAAC,CAAC;AAKlO,6BAA6B;AAC7B,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAExE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from \"@atproto/lex\";\nimport * as SafelinkDefs from \"./defs.defs.js\";\n\nconst $nsid = \"tools.ozone.safelink.queryRules\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\nexport const $params = /*#__PURE__*/ l.params();\n\nexport type $Params = l.InferOutput<typeof $params>;\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\"cursor\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"limit\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer({\"minimum\":1,\"maximum\":100}), 50)),\"urls\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"patternType\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"actions\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), )),\"reason\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"source\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"maxLength\":128})),\"createdBy\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"did\"})),\"sortDirection\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.string<{\"knownValues\":[\"asc\",\"desc\"]}>(), \"desc\"))});\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\"cursor\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"rules\":/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref<SafelinkDefs.UrlRule>((() => SafelinkDefs.urlRule) as any), )});\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;\n\n/** Query URL safety rules */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/bsky",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference implementation of app.bsky App View (Bluesky API)",
|
|
6
6
|
"keywords": [
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
"undici_v7": "npm:undici@^7.x",
|
|
72
72
|
"undici_v8": "npm:undici@^8.x",
|
|
73
73
|
"zod": "3.23.8",
|
|
74
|
-
"@atproto-labs/fetch-node": "^0.4.
|
|
75
|
-
"@atproto-labs/opentelemetry-node": "^0.3.1",
|
|
74
|
+
"@atproto-labs/fetch-node": "^0.4.2",
|
|
76
75
|
"@atproto-labs/xrpc-utils": "^0.1.26",
|
|
77
|
-
"@atproto/
|
|
76
|
+
"@atproto/common": "^0.8.6",
|
|
77
|
+
"@atproto-labs/opentelemetry-node": "^0.3.1",
|
|
78
78
|
"@atproto/crypto": "^0.5.7",
|
|
79
|
-
"@atproto/
|
|
80
|
-
"@atproto/identity": "^0.5.17",
|
|
79
|
+
"@atproto/api": "^0.29.1",
|
|
81
80
|
"@atproto/did": "^0.5.6",
|
|
82
|
-
"@atproto/
|
|
83
|
-
"@atproto/
|
|
81
|
+
"@atproto/identity": "^0.5.18",
|
|
82
|
+
"@atproto/lex": "^0.4.1",
|
|
83
|
+
"@atproto/sync": "^0.4.15",
|
|
84
|
+
"@atproto/repo": "^0.11.1",
|
|
84
85
|
"@atproto/syntax": "^0.7.7",
|
|
85
|
-
"@atproto/xrpc-server": "^0.13.5"
|
|
86
|
-
"@atproto/common": "^0.8.6"
|
|
86
|
+
"@atproto/xrpc-server": "^0.13.5"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@bufbuild/buf": "^1.73.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@types/pg": "^8.15.5",
|
|
98
98
|
"@types/qs": "^6.15.1",
|
|
99
99
|
"vitest": "^4.1.10",
|
|
100
|
-
"@atproto/pds": "^0.5.
|
|
100
|
+
"@atproto/pds": "^0.5.44"
|
|
101
101
|
},
|
|
102
102
|
"scripts": {
|
|
103
103
|
"codegen:buf": "buf generate ../bsync/proto && buf generate ./proto",
|