@atproto/api 0.23.0 → 0.23.1
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 +6 -0
- package/dist/client/lexicons.d.ts +34 -2
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +17 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts +11 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.js +7 -0
- package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.23.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5558](https://github.com/bluesky-social/atproto/pull/5558) [`38e2dc8`](https://github.com/bluesky-social/atproto/commit/38e2dc8eea64d4077155cf5bbdb84965d5c6dbf6) Thanks [@gcwill70](https://github.com/gcwill70)! - Record report unassignment activity atomically with assignment and status updates.
|
|
8
|
+
|
|
3
9
|
## 0.23.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -23318,6 +23318,22 @@ export declare const schemaDict: {
|
|
|
23318
23318
|
};
|
|
23319
23319
|
};
|
|
23320
23320
|
};
|
|
23321
|
+
readonly unassignmentActivity: {
|
|
23322
|
+
readonly type: 'object';
|
|
23323
|
+
readonly description: 'Activity recording a moderator being unassigned from a report.';
|
|
23324
|
+
readonly properties: {
|
|
23325
|
+
readonly previousStatus: {
|
|
23326
|
+
readonly type: 'string';
|
|
23327
|
+
readonly knownValues: ["open", "closed", "escalated", "queued", "assigned"];
|
|
23328
|
+
readonly description: "The report's status immediately before the moderator was unassigned. May be absent on older activities.";
|
|
23329
|
+
};
|
|
23330
|
+
readonly nextStatus: {
|
|
23331
|
+
readonly type: 'string';
|
|
23332
|
+
readonly knownValues: ["open", "closed", "escalated", "queued", "assigned"];
|
|
23333
|
+
readonly description: "The report's status immediately after the moderator was unassigned. May equal previousStatus if unassignment did not change the report's status, or be absent on older activities.";
|
|
23334
|
+
};
|
|
23335
|
+
};
|
|
23336
|
+
};
|
|
23321
23337
|
readonly escalationActivity: {
|
|
23322
23338
|
readonly type: 'object';
|
|
23323
23339
|
readonly description: 'Activity recording a report being escalated.';
|
|
@@ -23371,7 +23387,7 @@ export declare const schemaDict: {
|
|
|
23371
23387
|
};
|
|
23372
23388
|
readonly activity: {
|
|
23373
23389
|
readonly type: 'union';
|
|
23374
|
-
readonly refs: ["lex:tools.ozone.report.defs#queueActivity", "lex:tools.ozone.report.defs#assignmentActivity", "lex:tools.ozone.report.defs#escalationActivity", "lex:tools.ozone.report.defs#closeActivity", "lex:tools.ozone.report.defs#reopenActivity", "lex:tools.ozone.report.defs#noteActivity"];
|
|
23390
|
+
readonly refs: ["lex:tools.ozone.report.defs#queueActivity", "lex:tools.ozone.report.defs#assignmentActivity", "lex:tools.ozone.report.defs#unassignmentActivity", "lex:tools.ozone.report.defs#escalationActivity", "lex:tools.ozone.report.defs#closeActivity", "lex:tools.ozone.report.defs#reopenActivity", "lex:tools.ozone.report.defs#noteActivity"];
|
|
23375
23391
|
readonly description: 'The typed activity object describing what occurred.';
|
|
23376
23392
|
};
|
|
23377
23393
|
readonly internalNote: {
|
|
@@ -48854,6 +48870,22 @@ export declare const schemas: ({
|
|
|
48854
48870
|
};
|
|
48855
48871
|
};
|
|
48856
48872
|
};
|
|
48873
|
+
readonly unassignmentActivity: {
|
|
48874
|
+
readonly type: 'object';
|
|
48875
|
+
readonly description: 'Activity recording a moderator being unassigned from a report.';
|
|
48876
|
+
readonly properties: {
|
|
48877
|
+
readonly previousStatus: {
|
|
48878
|
+
readonly type: 'string';
|
|
48879
|
+
readonly knownValues: ["open", "closed", "escalated", "queued", "assigned"];
|
|
48880
|
+
readonly description: "The report's status immediately before the moderator was unassigned. May be absent on older activities.";
|
|
48881
|
+
};
|
|
48882
|
+
readonly nextStatus: {
|
|
48883
|
+
readonly type: 'string';
|
|
48884
|
+
readonly knownValues: ["open", "closed", "escalated", "queued", "assigned"];
|
|
48885
|
+
readonly description: "The report's status immediately after the moderator was unassigned. May equal previousStatus if unassignment did not change the report's status, or be absent on older activities.";
|
|
48886
|
+
};
|
|
48887
|
+
};
|
|
48888
|
+
};
|
|
48857
48889
|
readonly escalationActivity: {
|
|
48858
48890
|
readonly type: 'object';
|
|
48859
48891
|
readonly description: 'Activity recording a report being escalated.';
|
|
@@ -48907,7 +48939,7 @@ export declare const schemas: ({
|
|
|
48907
48939
|
};
|
|
48908
48940
|
readonly activity: {
|
|
48909
48941
|
readonly type: 'union';
|
|
48910
|
-
readonly refs: ["lex:tools.ozone.report.defs#queueActivity", "lex:tools.ozone.report.defs#assignmentActivity", "lex:tools.ozone.report.defs#escalationActivity", "lex:tools.ozone.report.defs#closeActivity", "lex:tools.ozone.report.defs#reopenActivity", "lex:tools.ozone.report.defs#noteActivity"];
|
|
48942
|
+
readonly refs: ["lex:tools.ozone.report.defs#queueActivity", "lex:tools.ozone.report.defs#assignmentActivity", "lex:tools.ozone.report.defs#unassignmentActivity", "lex:tools.ozone.report.defs#escalationActivity", "lex:tools.ozone.report.defs#closeActivity", "lex:tools.ozone.report.defs#reopenActivity", "lex:tools.ozone.report.defs#noteActivity"];
|
|
48911
48943
|
readonly description: 'The typed activity object describing what occurred.';
|
|
48912
48944
|
};
|
|
48913
48945
|
readonly internalNote: {
|