@atproto/api 0.25.0 → 0.26.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 +72 -8
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +36 -4
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +1 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/actor/link.d.ts +5 -0
- package/dist/client/types/app/bsky/actor/link.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/link.js.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +7 -1
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/inbox/putNotificationPreferences.d.ts +6 -1
- package/dist/client/types/tools/ozone/inbox/putNotificationPreferences.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/putNotificationPreferences.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#5641](https://github.com/bluesky-social/atproto/pull/5641) [`7184ed7`](https://github.com/bluesky-social/atproto/commit/7184ed74423e1d976ceb9e57310d2983c90c2f18) Thanks [@foysalit](https://github.com/foysalit)! - Replace the moderation inbox global push preference with independent reports, account, and labels preferences. Support atomic partial updates and preserve existing opt-outs through nullable category columns that inherit the stored global value. Clients must switch to the category fields.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#5647](https://github.com/bluesky-social/atproto/pull/5647) [`f882504`](https://github.com/bluesky-social/atproto/commit/f88250427e91402d6142bf908074ac6e368c455d) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Support self-labels on profile link records and include them in profile link views.
|
|
12
|
+
|
|
13
|
+
- [#5647](https://github.com/bluesky-social/atproto/pull/5647) [`f882504`](https://github.com/bluesky-social/atproto/commit/f88250427e91402d6142bf908074ac6e368c455d) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Apply takedown labels to individual profile links and expose labels on profile link views.
|
|
14
|
+
|
|
3
15
|
## 0.25.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -335,6 +335,13 @@ export declare const schemaDict: {
|
|
|
335
335
|
readonly format: 'uri';
|
|
336
336
|
readonly description: "Image URL for the destination site's icon.";
|
|
337
337
|
};
|
|
338
|
+
readonly labels: {
|
|
339
|
+
readonly type: 'array';
|
|
340
|
+
readonly items: {
|
|
341
|
+
readonly type: 'ref';
|
|
342
|
+
readonly ref: 'lex:com.atproto.label.defs#label';
|
|
343
|
+
};
|
|
344
|
+
};
|
|
338
345
|
};
|
|
339
346
|
};
|
|
340
347
|
readonly profileAssociatedActivitySubscription: {
|
|
@@ -1101,6 +1108,11 @@ export declare const schemaDict: {
|
|
|
1101
1108
|
readonly type: 'string';
|
|
1102
1109
|
readonly format: 'datetime';
|
|
1103
1110
|
};
|
|
1111
|
+
readonly labels: {
|
|
1112
|
+
readonly type: 'union';
|
|
1113
|
+
readonly description: 'Self-label values for this link.';
|
|
1114
|
+
readonly refs: ["lex:com.atproto.label.defs#selfLabels"];
|
|
1115
|
+
};
|
|
1104
1116
|
};
|
|
1105
1117
|
};
|
|
1106
1118
|
};
|
|
@@ -20602,10 +20614,20 @@ export declare const schemaDict: {
|
|
|
20602
20614
|
};
|
|
20603
20615
|
readonly notificationPreferences: {
|
|
20604
20616
|
readonly type: 'object';
|
|
20605
|
-
readonly
|
|
20617
|
+
readonly description: 'Push notification preferences by moderation notification category. These preferences do not hide in-app inbox activity. Each category defaults to enabled.';
|
|
20618
|
+
readonly required: ["reports", "account", "labels"];
|
|
20606
20619
|
readonly properties: {
|
|
20607
|
-
readonly
|
|
20620
|
+
readonly reports: {
|
|
20608
20621
|
readonly type: 'boolean';
|
|
20622
|
+
readonly description: 'Notify about outcomes of reports filed by the account (reportResolved and reportReopened).';
|
|
20623
|
+
};
|
|
20624
|
+
readonly account: {
|
|
20625
|
+
readonly type: 'boolean';
|
|
20626
|
+
readonly description: 'Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels.';
|
|
20627
|
+
};
|
|
20628
|
+
readonly labels: {
|
|
20629
|
+
readonly type: 'boolean';
|
|
20630
|
+
readonly description: 'Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions).';
|
|
20609
20631
|
};
|
|
20610
20632
|
};
|
|
20611
20633
|
};
|
|
@@ -20761,6 +20783,7 @@ export declare const schemaDict: {
|
|
|
20761
20783
|
readonly defs: {
|
|
20762
20784
|
readonly main: {
|
|
20763
20785
|
readonly type: 'query';
|
|
20786
|
+
readonly description: 'Get moderation push notification preferences for report outcomes, account actions, and labeling. Returns all three categories, defaulting to enabled for an account without saved preferences.';
|
|
20764
20787
|
readonly parameters: {
|
|
20765
20788
|
readonly type: 'params';
|
|
20766
20789
|
readonly properties: {
|
|
@@ -21208,14 +21231,23 @@ export declare const schemaDict: {
|
|
|
21208
21231
|
readonly defs: {
|
|
21209
21232
|
readonly main: {
|
|
21210
21233
|
readonly type: 'procedure';
|
|
21234
|
+
readonly description: "Update the authenticated account's moderation push notification preferences. Only provided categories are updated; omitted categories retain their values. At least one category must be provided. Returns all three preferences. These preferences do not hide in-app inbox activity.";
|
|
21211
21235
|
readonly input: {
|
|
21212
21236
|
readonly encoding: 'application/json';
|
|
21213
21237
|
readonly schema: {
|
|
21214
21238
|
readonly type: 'object';
|
|
21215
|
-
readonly required: ["push"];
|
|
21216
21239
|
readonly properties: {
|
|
21217
|
-
readonly
|
|
21240
|
+
readonly reports: {
|
|
21241
|
+
readonly type: 'boolean';
|
|
21242
|
+
readonly description: 'Notify about outcomes of reports filed by the account.';
|
|
21243
|
+
};
|
|
21244
|
+
readonly account: {
|
|
21245
|
+
readonly type: 'boolean';
|
|
21246
|
+
readonly description: 'Notify about moderation actions against the account or its content, excluding labeling.';
|
|
21247
|
+
};
|
|
21248
|
+
readonly labels: {
|
|
21218
21249
|
readonly type: 'boolean';
|
|
21250
|
+
readonly description: 'Notify about labels applied to or removed from the account or its content.';
|
|
21219
21251
|
};
|
|
21220
21252
|
};
|
|
21221
21253
|
};
|
|
@@ -27940,6 +27972,13 @@ export declare const schemas: ({
|
|
|
27940
27972
|
readonly format: 'uri';
|
|
27941
27973
|
readonly description: "Image URL for the destination site's icon.";
|
|
27942
27974
|
};
|
|
27975
|
+
readonly labels: {
|
|
27976
|
+
readonly type: 'array';
|
|
27977
|
+
readonly items: {
|
|
27978
|
+
readonly type: 'ref';
|
|
27979
|
+
readonly ref: 'lex:com.atproto.label.defs#label';
|
|
27980
|
+
};
|
|
27981
|
+
};
|
|
27943
27982
|
};
|
|
27944
27983
|
};
|
|
27945
27984
|
readonly profileAssociatedActivitySubscription: {
|
|
@@ -28701,6 +28740,11 @@ export declare const schemas: ({
|
|
|
28701
28740
|
readonly type: 'string';
|
|
28702
28741
|
readonly format: 'datetime';
|
|
28703
28742
|
};
|
|
28743
|
+
readonly labels: {
|
|
28744
|
+
readonly type: 'union';
|
|
28745
|
+
readonly description: 'Self-label values for this link.';
|
|
28746
|
+
readonly refs: ["lex:com.atproto.label.defs#selfLabels"];
|
|
28747
|
+
};
|
|
28704
28748
|
};
|
|
28705
28749
|
};
|
|
28706
28750
|
};
|
|
@@ -47889,10 +47933,20 @@ export declare const schemas: ({
|
|
|
47889
47933
|
};
|
|
47890
47934
|
readonly notificationPreferences: {
|
|
47891
47935
|
readonly type: 'object';
|
|
47892
|
-
readonly
|
|
47936
|
+
readonly description: 'Push notification preferences by moderation notification category. These preferences do not hide in-app inbox activity. Each category defaults to enabled.';
|
|
47937
|
+
readonly required: ["reports", "account", "labels"];
|
|
47893
47938
|
readonly properties: {
|
|
47894
|
-
readonly
|
|
47939
|
+
readonly reports: {
|
|
47895
47940
|
readonly type: 'boolean';
|
|
47941
|
+
readonly description: 'Notify about outcomes of reports filed by the account (reportResolved and reportReopened).';
|
|
47942
|
+
};
|
|
47943
|
+
readonly account: {
|
|
47944
|
+
readonly type: 'boolean';
|
|
47945
|
+
readonly description: 'Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels.';
|
|
47946
|
+
};
|
|
47947
|
+
readonly labels: {
|
|
47948
|
+
readonly type: 'boolean';
|
|
47949
|
+
readonly description: 'Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions).';
|
|
47896
47950
|
};
|
|
47897
47951
|
};
|
|
47898
47952
|
};
|
|
@@ -48045,6 +48099,7 @@ export declare const schemas: ({
|
|
|
48045
48099
|
readonly defs: {
|
|
48046
48100
|
readonly main: {
|
|
48047
48101
|
readonly type: 'query';
|
|
48102
|
+
readonly description: 'Get moderation push notification preferences for report outcomes, account actions, and labeling. Returns all three categories, defaulting to enabled for an account without saved preferences.';
|
|
48048
48103
|
readonly parameters: {
|
|
48049
48104
|
readonly type: 'params';
|
|
48050
48105
|
readonly properties: {
|
|
@@ -48486,14 +48541,23 @@ export declare const schemas: ({
|
|
|
48486
48541
|
readonly defs: {
|
|
48487
48542
|
readonly main: {
|
|
48488
48543
|
readonly type: 'procedure';
|
|
48544
|
+
readonly description: "Update the authenticated account's moderation push notification preferences. Only provided categories are updated; omitted categories retain their values. At least one category must be provided. Returns all three preferences. These preferences do not hide in-app inbox activity.";
|
|
48489
48545
|
readonly input: {
|
|
48490
48546
|
readonly encoding: 'application/json';
|
|
48491
48547
|
readonly schema: {
|
|
48492
48548
|
readonly type: 'object';
|
|
48493
|
-
readonly required: ["push"];
|
|
48494
48549
|
readonly properties: {
|
|
48495
|
-
readonly
|
|
48550
|
+
readonly reports: {
|
|
48551
|
+
readonly type: 'boolean';
|
|
48552
|
+
readonly description: 'Notify about outcomes of reports filed by the account.';
|
|
48553
|
+
};
|
|
48554
|
+
readonly account: {
|
|
48555
|
+
readonly type: 'boolean';
|
|
48556
|
+
readonly description: 'Notify about moderation actions against the account or its content, excluding labeling.';
|
|
48557
|
+
};
|
|
48558
|
+
readonly labels: {
|
|
48496
48559
|
readonly type: 'boolean';
|
|
48560
|
+
readonly description: 'Notify about labels applied to or removed from the account or its content.';
|
|
48497
48561
|
};
|
|
48498
48562
|
};
|
|
48499
48563
|
};
|