@atproto/api 0.28.1 → 0.29.0
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 +88 -8
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +44 -4
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +2 -0
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts +5 -1
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts +5 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.29.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#5662](https://github.com/bluesky-social/atproto/pull/5662) [`a2840e2`](https://github.com/bluesky-social/atproto/commit/a2840e277d5ed0d01b97fd4d2427b676e6c90bf2) Thanks [@foysalit](https://github.com/foysalit)! - Expose client-supplied expiry on strike reversals and preserve supplied expiry
|
|
8
|
+
when executing scheduled takedowns. Strike amounts and expiry policy remain
|
|
9
|
+
client-controlled.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#5693](https://github.com/bluesky-social/atproto/pull/5693) [`1a99766`](https://github.com/bluesky-social/atproto/commit/1a99766791d15cf62e8508cf2b5abc8e9bbb25aa) Thanks [@gcwill70](https://github.com/gcwill70)! - Route reports using reporter and reported-account tags. Record automated notes with the matched tag values.
|
|
14
|
+
|
|
3
15
|
## 0.28.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -21925,6 +21925,11 @@ export declare const schemaDict: {
|
|
|
21925
21925
|
readonly type: 'integer';
|
|
21926
21926
|
readonly description: "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.";
|
|
21927
21927
|
};
|
|
21928
|
+
readonly strikeExpiresAt: {
|
|
21929
|
+
readonly type: 'string';
|
|
21930
|
+
readonly format: 'datetime';
|
|
21931
|
+
readonly description: 'When the strike should expire. If not provided, the strike never expires.';
|
|
21932
|
+
};
|
|
21928
21933
|
};
|
|
21929
21934
|
};
|
|
21930
21935
|
readonly modEventResolveAppeal: {
|
|
@@ -24023,7 +24028,7 @@ export declare const schemaDict: {
|
|
|
24023
24028
|
readonly defs: {
|
|
24024
24029
|
readonly main: {
|
|
24025
24030
|
readonly type: 'procedure';
|
|
24026
|
-
readonly description:
|
|
24031
|
+
readonly description: '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`.';
|
|
24027
24032
|
readonly input: {
|
|
24028
24033
|
readonly encoding: 'application/json';
|
|
24029
24034
|
readonly schema: {
|
|
@@ -24045,16 +24050,33 @@ export declare const schemaDict: {
|
|
|
24045
24050
|
readonly collection: {
|
|
24046
24051
|
readonly type: 'string';
|
|
24047
24052
|
readonly format: 'nsid';
|
|
24048
|
-
readonly description:
|
|
24053
|
+
readonly description: 'Collection name for record subjects. Omit to accept every collection.';
|
|
24049
24054
|
};
|
|
24050
24055
|
readonly reportTypes: {
|
|
24051
24056
|
readonly type: 'array';
|
|
24052
24057
|
readonly items: {
|
|
24053
24058
|
readonly type: 'string';
|
|
24054
24059
|
};
|
|
24055
|
-
readonly maxLength: 25;
|
|
24056
24060
|
readonly description: 'Report reason types (fully qualified NSIDs)';
|
|
24057
24061
|
};
|
|
24062
|
+
readonly reporterTags: {
|
|
24063
|
+
readonly type: 'array';
|
|
24064
|
+
readonly maxLength: 25;
|
|
24065
|
+
readonly items: {
|
|
24066
|
+
readonly type: 'string';
|
|
24067
|
+
readonly minLength: 1;
|
|
24068
|
+
};
|
|
24069
|
+
readonly description: 'Match any listed tag on the account submitting the report.';
|
|
24070
|
+
};
|
|
24071
|
+
readonly accountTags: {
|
|
24072
|
+
readonly type: 'array';
|
|
24073
|
+
readonly maxLength: 25;
|
|
24074
|
+
readonly items: {
|
|
24075
|
+
readonly type: 'string';
|
|
24076
|
+
readonly minLength: 1;
|
|
24077
|
+
};
|
|
24078
|
+
readonly description: 'Match any of these tags on the account that is being reported against.';
|
|
24079
|
+
};
|
|
24058
24080
|
readonly description: {
|
|
24059
24081
|
readonly type: 'string';
|
|
24060
24082
|
readonly description: 'Optional description of the queue';
|
|
@@ -24126,7 +24148,7 @@ export declare const schemaDict: {
|
|
|
24126
24148
|
readonly collection: {
|
|
24127
24149
|
readonly type: 'string';
|
|
24128
24150
|
readonly format: 'nsid';
|
|
24129
|
-
readonly description:
|
|
24151
|
+
readonly description: 'Collection name for record subjects. Omit to accept every collection.';
|
|
24130
24152
|
};
|
|
24131
24153
|
readonly reportTypes: {
|
|
24132
24154
|
readonly type: 'array';
|
|
@@ -24135,6 +24157,24 @@ export declare const schemaDict: {
|
|
|
24135
24157
|
};
|
|
24136
24158
|
readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
|
|
24137
24159
|
};
|
|
24160
|
+
readonly reporterTags: {
|
|
24161
|
+
readonly type: 'array';
|
|
24162
|
+
readonly maxLength: 25;
|
|
24163
|
+
readonly items: {
|
|
24164
|
+
readonly type: 'string';
|
|
24165
|
+
readonly minLength: 1;
|
|
24166
|
+
};
|
|
24167
|
+
readonly description: 'Match any listed tag on the account submitting the report.';
|
|
24168
|
+
};
|
|
24169
|
+
readonly accountTags: {
|
|
24170
|
+
readonly type: 'array';
|
|
24171
|
+
readonly maxLength: 25;
|
|
24172
|
+
readonly items: {
|
|
24173
|
+
readonly type: 'string';
|
|
24174
|
+
readonly minLength: 1;
|
|
24175
|
+
};
|
|
24176
|
+
readonly description: 'Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.';
|
|
24177
|
+
};
|
|
24138
24178
|
readonly description: {
|
|
24139
24179
|
readonly type: 'string';
|
|
24140
24180
|
readonly description: 'Optional description of the queue';
|
|
@@ -49506,6 +49546,11 @@ export declare const schemas: ({
|
|
|
49506
49546
|
readonly type: 'integer';
|
|
49507
49547
|
readonly description: "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.";
|
|
49508
49548
|
};
|
|
49549
|
+
readonly strikeExpiresAt: {
|
|
49550
|
+
readonly type: 'string';
|
|
49551
|
+
readonly format: 'datetime';
|
|
49552
|
+
readonly description: 'When the strike should expire. If not provided, the strike never expires.';
|
|
49553
|
+
};
|
|
49509
49554
|
};
|
|
49510
49555
|
};
|
|
49511
49556
|
readonly modEventResolveAppeal: {
|
|
@@ -51587,7 +51632,7 @@ export declare const schemas: ({
|
|
|
51587
51632
|
readonly defs: {
|
|
51588
51633
|
readonly main: {
|
|
51589
51634
|
readonly type: 'procedure';
|
|
51590
|
-
readonly description:
|
|
51635
|
+
readonly description: '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`.';
|
|
51591
51636
|
readonly input: {
|
|
51592
51637
|
readonly encoding: 'application/json';
|
|
51593
51638
|
readonly schema: {
|
|
@@ -51609,16 +51654,33 @@ export declare const schemas: ({
|
|
|
51609
51654
|
readonly collection: {
|
|
51610
51655
|
readonly type: 'string';
|
|
51611
51656
|
readonly format: 'nsid';
|
|
51612
|
-
readonly description:
|
|
51657
|
+
readonly description: 'Collection name for record subjects. Omit to accept every collection.';
|
|
51613
51658
|
};
|
|
51614
51659
|
readonly reportTypes: {
|
|
51615
51660
|
readonly type: 'array';
|
|
51616
51661
|
readonly items: {
|
|
51617
51662
|
readonly type: 'string';
|
|
51618
51663
|
};
|
|
51619
|
-
readonly maxLength: 25;
|
|
51620
51664
|
readonly description: 'Report reason types (fully qualified NSIDs)';
|
|
51621
51665
|
};
|
|
51666
|
+
readonly reporterTags: {
|
|
51667
|
+
readonly type: 'array';
|
|
51668
|
+
readonly maxLength: 25;
|
|
51669
|
+
readonly items: {
|
|
51670
|
+
readonly type: 'string';
|
|
51671
|
+
readonly minLength: 1;
|
|
51672
|
+
};
|
|
51673
|
+
readonly description: 'Match any listed tag on the account submitting the report.';
|
|
51674
|
+
};
|
|
51675
|
+
readonly accountTags: {
|
|
51676
|
+
readonly type: 'array';
|
|
51677
|
+
readonly maxLength: 25;
|
|
51678
|
+
readonly items: {
|
|
51679
|
+
readonly type: 'string';
|
|
51680
|
+
readonly minLength: 1;
|
|
51681
|
+
};
|
|
51682
|
+
readonly description: 'Match any of these tags on the account that is being reported against.';
|
|
51683
|
+
};
|
|
51622
51684
|
readonly description: {
|
|
51623
51685
|
readonly type: 'string';
|
|
51624
51686
|
readonly description: 'Optional description of the queue';
|
|
@@ -51689,7 +51751,7 @@ export declare const schemas: ({
|
|
|
51689
51751
|
readonly collection: {
|
|
51690
51752
|
readonly type: 'string';
|
|
51691
51753
|
readonly format: 'nsid';
|
|
51692
|
-
readonly description:
|
|
51754
|
+
readonly description: 'Collection name for record subjects. Omit to accept every collection.';
|
|
51693
51755
|
};
|
|
51694
51756
|
readonly reportTypes: {
|
|
51695
51757
|
readonly type: 'array';
|
|
@@ -51698,6 +51760,24 @@ export declare const schemas: ({
|
|
|
51698
51760
|
};
|
|
51699
51761
|
readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
|
|
51700
51762
|
};
|
|
51763
|
+
readonly reporterTags: {
|
|
51764
|
+
readonly type: 'array';
|
|
51765
|
+
readonly maxLength: 25;
|
|
51766
|
+
readonly items: {
|
|
51767
|
+
readonly type: 'string';
|
|
51768
|
+
readonly minLength: 1;
|
|
51769
|
+
};
|
|
51770
|
+
readonly description: 'Match any listed tag on the account submitting the report.';
|
|
51771
|
+
};
|
|
51772
|
+
readonly accountTags: {
|
|
51773
|
+
readonly type: 'array';
|
|
51774
|
+
readonly maxLength: 25;
|
|
51775
|
+
readonly items: {
|
|
51776
|
+
readonly type: 'string';
|
|
51777
|
+
readonly minLength: 1;
|
|
51778
|
+
};
|
|
51779
|
+
readonly description: 'Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.';
|
|
51780
|
+
};
|
|
51701
51781
|
readonly description: {
|
|
51702
51782
|
readonly type: 'string';
|
|
51703
51783
|
readonly description: 'Optional description of the queue';
|