@atproto/api 0.29.2 → 0.29.4
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/client/lexicons.d.ts +40 -2
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +20 -1
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +2 -0
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.d.ts +7 -1
- package/dist/client/types/tools/ozone/report/closeReports.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.js.map +1 -1
- package/dist/client/types/tools/ozone/report/createActivity.d.ts +4 -0
- package/dist/client/types/tools/ozone/report/createActivity.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/createActivity.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.29.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5732](https://github.com/bluesky-social/atproto/pull/5732) [`ef3ad34`](https://github.com/bluesky-social/atproto/commit/ef3ad349e89dd3812f89acd6a41c25f43eb178f0) Thanks [@gcwill70](https://github.com/gcwill70)! - Add `excludedReportTypes` to `tools.ozone.report.closeReports` to leave matching report reasons unchanged during no-action cleanup. Exclusions take precedence over `reportTypes` within the requested subject scope.
|
|
8
|
+
|
|
9
|
+
## 0.29.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#5724](https://github.com/bluesky-social/atproto/pull/5724) [`123b4e2`](https://github.com/bluesky-social/atproto/commit/123b4e2c76ba25cbcc4833490fbac12cfa237abf) Thanks [@gcwill70](https://github.com/gcwill70)! - Accept optional metadata on report activity creation and bulk closure requests. Preserve moderation tool metadata on event-generated report activities and allow callers to mark those activities as automated.
|
|
14
|
+
|
|
3
15
|
## 0.29.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -22968,6 +22968,10 @@ export declare const schemaDict: {
|
|
|
22968
22968
|
readonly type: 'string';
|
|
22969
22969
|
readonly description: 'Note to send to reporter(s) when actioning their report';
|
|
22970
22970
|
};
|
|
22971
|
+
readonly isAutomated: {
|
|
22972
|
+
readonly type: 'boolean';
|
|
22973
|
+
readonly description: 'Set true when the report activities are created by an automated process.';
|
|
22974
|
+
};
|
|
22971
22975
|
};
|
|
22972
22976
|
};
|
|
22973
22977
|
};
|
|
@@ -24760,7 +24764,14 @@ export declare const schemaDict: {
|
|
|
24760
24764
|
readonly items: {
|
|
24761
24765
|
readonly type: 'string';
|
|
24762
24766
|
};
|
|
24763
|
-
readonly description: 'If
|
|
24767
|
+
readonly description: 'If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all non-closed reports in the requested subject scope are targeted, except excludedReportTypes.';
|
|
24768
|
+
};
|
|
24769
|
+
readonly excludedReportTypes: {
|
|
24770
|
+
readonly type: 'array';
|
|
24771
|
+
readonly items: {
|
|
24772
|
+
readonly type: 'string';
|
|
24773
|
+
};
|
|
24774
|
+
readonly description: 'Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded.';
|
|
24764
24775
|
};
|
|
24765
24776
|
readonly internalNote: {
|
|
24766
24777
|
readonly type: 'string';
|
|
@@ -24771,6 +24782,10 @@ export declare const schemaDict: {
|
|
|
24771
24782
|
readonly description: 'Set true when this action is triggered by an automated process. Defaults to false.';
|
|
24772
24783
|
readonly default: false;
|
|
24773
24784
|
};
|
|
24785
|
+
readonly meta: {
|
|
24786
|
+
readonly type: 'unknown';
|
|
24787
|
+
readonly description: 'Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.';
|
|
24788
|
+
};
|
|
24774
24789
|
};
|
|
24775
24790
|
};
|
|
24776
24791
|
};
|
|
@@ -24836,6 +24851,10 @@ export declare const schemaDict: {
|
|
|
24836
24851
|
readonly description: 'Set true when this activity is triggered by an automated process. Defaults to false.';
|
|
24837
24852
|
readonly default: false;
|
|
24838
24853
|
};
|
|
24854
|
+
readonly meta: {
|
|
24855
|
+
readonly type: 'unknown';
|
|
24856
|
+
readonly description: 'Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.';
|
|
24857
|
+
};
|
|
24839
24858
|
};
|
|
24840
24859
|
};
|
|
24841
24860
|
};
|
|
@@ -50612,6 +50631,10 @@ export declare const schemas: ({
|
|
|
50612
50631
|
readonly type: 'string';
|
|
50613
50632
|
readonly description: 'Note to send to reporter(s) when actioning their report';
|
|
50614
50633
|
};
|
|
50634
|
+
readonly isAutomated: {
|
|
50635
|
+
readonly type: 'boolean';
|
|
50636
|
+
readonly description: 'Set true when the report activities are created by an automated process.';
|
|
50637
|
+
};
|
|
50615
50638
|
};
|
|
50616
50639
|
};
|
|
50617
50640
|
};
|
|
@@ -52379,7 +52402,14 @@ export declare const schemas: ({
|
|
|
52379
52402
|
readonly items: {
|
|
52380
52403
|
readonly type: 'string';
|
|
52381
52404
|
};
|
|
52382
|
-
readonly description: 'If
|
|
52405
|
+
readonly description: 'If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all non-closed reports in the requested subject scope are targeted, except excludedReportTypes.';
|
|
52406
|
+
};
|
|
52407
|
+
readonly excludedReportTypes: {
|
|
52408
|
+
readonly type: 'array';
|
|
52409
|
+
readonly items: {
|
|
52410
|
+
readonly type: 'string';
|
|
52411
|
+
};
|
|
52412
|
+
readonly description: 'Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded.';
|
|
52383
52413
|
};
|
|
52384
52414
|
readonly internalNote: {
|
|
52385
52415
|
readonly type: 'string';
|
|
@@ -52390,6 +52420,10 @@ export declare const schemas: ({
|
|
|
52390
52420
|
readonly description: 'Set true when this action is triggered by an automated process. Defaults to false.';
|
|
52391
52421
|
readonly default: false;
|
|
52392
52422
|
};
|
|
52423
|
+
readonly meta: {
|
|
52424
|
+
readonly type: 'unknown';
|
|
52425
|
+
readonly description: 'Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.';
|
|
52426
|
+
};
|
|
52393
52427
|
};
|
|
52394
52428
|
};
|
|
52395
52429
|
};
|
|
@@ -52454,6 +52488,10 @@ export declare const schemas: ({
|
|
|
52454
52488
|
readonly description: 'Set true when this activity is triggered by an automated process. Defaults to false.';
|
|
52455
52489
|
readonly default: false;
|
|
52456
52490
|
};
|
|
52491
|
+
readonly meta: {
|
|
52492
|
+
readonly type: 'unknown';
|
|
52493
|
+
readonly description: 'Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.';
|
|
52494
|
+
};
|
|
52457
52495
|
};
|
|
52458
52496
|
};
|
|
52459
52497
|
};
|