@atproto/api 0.24.0 → 0.24.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 +10 -0
- package/dist/client/lexicons.d.ts +66 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +33 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/record.d.ts +4 -0
- package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/record.js.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts +10 -0
- package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.24.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5579](https://github.com/bluesky-social/atproto/pull/5579) [`b023046`](https://github.com/bluesky-social/atproto/commit/b023046f9266b8755ad9b44928032426bb05599e) Thanks [@gcwill70](https://github.com/gcwill70)! - Add configurable report priority levels and reason mappings, with priority scores and resolution targets in minutes snapshotted on reports at creation.
|
|
8
|
+
|
|
9
|
+
Expose each closed report's resolution time and whether it met its priority target.
|
|
10
|
+
|
|
11
|
+
- [#5622](https://github.com/bluesky-social/atproto/pull/5622) [`2ee3a27`](https://github.com/bluesky-social/atproto/commit/2ee3a27d7095c836d51a077330174900f5c0e8ee) Thanks [@ds-boyce](https://github.com/ds-boyce)! - Expose canonical OP thread numbering on embedded post views.
|
|
12
|
+
|
|
3
13
|
## 0.24.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -3031,6 +3031,14 @@ export declare const schemaDict: {
|
|
|
3031
3031
|
readonly quoteCount: {
|
|
3032
3032
|
readonly type: 'integer';
|
|
3033
3033
|
};
|
|
3034
|
+
readonly opThreadPostIndex: {
|
|
3035
|
+
readonly type: 'integer';
|
|
3036
|
+
readonly description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread.';
|
|
3037
|
+
};
|
|
3038
|
+
readonly opThreadPostCount: {
|
|
3039
|
+
readonly type: 'integer';
|
|
3040
|
+
readonly description: 'The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread.';
|
|
3041
|
+
};
|
|
3034
3042
|
readonly embeds: {
|
|
3035
3043
|
readonly type: 'array';
|
|
3036
3044
|
readonly items: {
|
|
@@ -24063,6 +24071,31 @@ export declare const schemaDict: {
|
|
|
24063
24071
|
readonly ref: 'lex:com.atproto.moderation.defs#reasonType';
|
|
24064
24072
|
readonly description: 'Type of report';
|
|
24065
24073
|
};
|
|
24074
|
+
readonly priorityLevel: {
|
|
24075
|
+
readonly type: 'string';
|
|
24076
|
+
readonly description: 'Priority level assigned to the report.';
|
|
24077
|
+
};
|
|
24078
|
+
readonly priorityScore: {
|
|
24079
|
+
readonly type: 'integer';
|
|
24080
|
+
readonly minimum: 0;
|
|
24081
|
+
readonly maximum: 100;
|
|
24082
|
+
readonly description: 'Report priority score. Higher scores have higher priority.';
|
|
24083
|
+
};
|
|
24084
|
+
readonly priorityTargetMinutes: {
|
|
24085
|
+
readonly type: 'integer';
|
|
24086
|
+
readonly minimum: 1;
|
|
24087
|
+
readonly maximum: 2147483647;
|
|
24088
|
+
readonly description: 'Target resolution duration in minutes.';
|
|
24089
|
+
};
|
|
24090
|
+
readonly resolutionTimeSec: {
|
|
24091
|
+
readonly type: 'integer';
|
|
24092
|
+
readonly minimum: 0;
|
|
24093
|
+
readonly description: 'Time from report creation to its last closure.';
|
|
24094
|
+
};
|
|
24095
|
+
readonly priorityTargetMet: {
|
|
24096
|
+
readonly type: 'boolean';
|
|
24097
|
+
readonly description: "Whether the current closure occurred within the report's snapshotted target.";
|
|
24098
|
+
};
|
|
24066
24099
|
readonly reportedBy: {
|
|
24067
24100
|
readonly type: 'string';
|
|
24068
24101
|
readonly format: 'did';
|
|
@@ -29772,6 +29805,14 @@ export declare const schemas: ({
|
|
|
29772
29805
|
readonly quoteCount: {
|
|
29773
29806
|
readonly type: 'integer';
|
|
29774
29807
|
};
|
|
29808
|
+
readonly opThreadPostIndex: {
|
|
29809
|
+
readonly type: 'integer';
|
|
29810
|
+
readonly description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread.';
|
|
29811
|
+
};
|
|
29812
|
+
readonly opThreadPostCount: {
|
|
29813
|
+
readonly type: 'integer';
|
|
29814
|
+
readonly description: 'The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread.';
|
|
29815
|
+
};
|
|
29775
29816
|
readonly embeds: {
|
|
29776
29817
|
readonly type: 'array';
|
|
29777
29818
|
readonly items: {
|
|
@@ -50485,6 +50526,31 @@ export declare const schemas: ({
|
|
|
50485
50526
|
readonly ref: 'lex:com.atproto.moderation.defs#reasonType';
|
|
50486
50527
|
readonly description: 'Type of report';
|
|
50487
50528
|
};
|
|
50529
|
+
readonly priorityLevel: {
|
|
50530
|
+
readonly type: 'string';
|
|
50531
|
+
readonly description: 'Priority level assigned to the report.';
|
|
50532
|
+
};
|
|
50533
|
+
readonly priorityScore: {
|
|
50534
|
+
readonly type: 'integer';
|
|
50535
|
+
readonly minimum: 0;
|
|
50536
|
+
readonly maximum: 100;
|
|
50537
|
+
readonly description: 'Report priority score. Higher scores have higher priority.';
|
|
50538
|
+
};
|
|
50539
|
+
readonly priorityTargetMinutes: {
|
|
50540
|
+
readonly type: 'integer';
|
|
50541
|
+
readonly minimum: 1;
|
|
50542
|
+
readonly maximum: 2147483647;
|
|
50543
|
+
readonly description: 'Target resolution duration in minutes.';
|
|
50544
|
+
};
|
|
50545
|
+
readonly resolutionTimeSec: {
|
|
50546
|
+
readonly type: 'integer';
|
|
50547
|
+
readonly minimum: 0;
|
|
50548
|
+
readonly description: 'Time from report creation to its last closure.';
|
|
50549
|
+
};
|
|
50550
|
+
readonly priorityTargetMet: {
|
|
50551
|
+
readonly type: 'boolean';
|
|
50552
|
+
readonly description: "Whether the current closure occurred within the report's snapshotted target.";
|
|
50553
|
+
};
|
|
50488
50554
|
readonly reportedBy: {
|
|
50489
50555
|
readonly type: 'string';
|
|
50490
50556
|
readonly format: 'did';
|