@atproto/api 0.20.19 → 0.20.21

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.20.21
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5146](https://github.com/bluesky-social/atproto/pull/5146) [`e4e6e84`](https://github.com/bluesky-social/atproto/commit/e4e6e84b486234686dd995f516a95098e4785a90) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Enable filtering by multiple languages in search V2
8
+
9
+ - [#5143](https://github.com/bluesky-social/atproto/pull/5143) [`cf429ac`](https://github.com/bluesky-social/atproto/commit/cf429ac0ee3a76244304aad344d38e88bc643887) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Match V1 search date handling with V2 date handling
10
+
11
+ - [#5145](https://github.com/bluesky-social/atproto/pull/5145) [`2e8ab4b`](https://github.com/bluesky-social/atproto/commit/2e8ab4bb08bd754f1f3f20722e028294a2169d6b) Thanks [@rafaeleyng](https://github.com/rafaeleyng)! - update chat lexicons
12
+
13
+ ## 0.20.20
14
+
15
+ ### Patch Changes
16
+
17
+ - [#5137](https://github.com/bluesky-social/atproto/pull/5137) [`ec8c90c`](https://github.com/bluesky-social/atproto/commit/ec8c90c88963155f471fd25ad266ab29f91f27fc) Thanks [@rafaeleyng](https://github.com/rafaeleyng)! - update chat lexicons
18
+
3
19
  ## 0.20.19
4
20
 
5
21
  ### Patch Changes
@@ -4995,22 +4995,31 @@ export declare const schemaDict: {
4995
4995
  };
4996
4996
  readonly since: {
4997
4997
  readonly type: 'string';
4998
- readonly format: 'datetime';
4999
- readonly description: 'Include posts indexed at or after this timestamp.';
4998
+ readonly description: 'Include posts indexed at or after this timestamp. Can be a datetime, or just an ISO date (YYYY-MM-DD).';
5000
4999
  };
5001
5000
  readonly until: {
5002
5001
  readonly type: 'string';
5003
- readonly format: 'datetime';
5004
- readonly description: 'Include posts indexed before this timestamp. Defaults to the current time.';
5002
+ readonly description: 'Include posts indexed before this timestamp. Defaults to the current time. Can be a datetime, or just an ISO date (YYYY-MM-DD).';
5005
5003
  };
5006
5004
  readonly allTime: {
5007
5005
  readonly type: 'boolean';
5008
5006
  readonly description: 'Search the full index instead of the recent-post window.';
5009
5007
  };
5010
- readonly language: {
5011
- readonly type: 'string';
5012
- readonly format: 'language';
5013
- readonly description: 'Include posts whose language matches this language code.';
5008
+ readonly languages: {
5009
+ readonly type: 'array';
5010
+ readonly items: {
5011
+ readonly type: 'string';
5012
+ readonly format: 'language';
5013
+ };
5014
+ readonly description: 'Include posts whose language matches any of these language codes.';
5015
+ };
5016
+ readonly excludeLanguages: {
5017
+ readonly type: 'array';
5018
+ readonly items: {
5019
+ readonly type: 'string';
5020
+ readonly format: 'language';
5021
+ };
5022
+ readonly description: 'Exclude posts whose language matches any of these language codes.';
5014
5023
  };
5015
5024
  readonly hasMedia: {
5016
5025
  readonly type: 'boolean';
@@ -9935,7 +9944,7 @@ export declare const schemaDict: {
9935
9944
  readonly replyTo: {
9936
9945
  readonly description: "If set, the message this message is replying to. The full view of the referenced message is embedded so the client can render it inline. Only a single level is embedded: the embedded message will not itself have a populated 'replyTo' field even if it was also a reply.";
9937
9946
  readonly type: 'union';
9938
- readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView"];
9947
+ readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView", "lex:chat.bsky.convo.defs#messageBeforeUserJoinedGroupView"];
9939
9948
  };
9940
9949
  readonly sender: {
9941
9950
  readonly type: 'ref';
@@ -10138,6 +10147,11 @@ export declare const schemaDict: {
10138
10147
  };
10139
10148
  };
10140
10149
  };
10150
+ readonly messageBeforeUserJoinedGroupView: {
10151
+ readonly description: "Placeholder embedded in place of a reply's parent message when that parent was sent before the viewer joined the group convo. The viewer has no access to that history, so no message data is carried.";
10152
+ readonly type: 'object';
10153
+ readonly properties: {};
10154
+ };
10141
10155
  readonly messageViewSender: {
10142
10156
  readonly type: 'object';
10143
10157
  readonly required: ["did"];
@@ -11201,11 +11215,11 @@ export declare const schemaDict: {
11201
11215
  readonly properties: {
11202
11216
  readonly unreadAcceptedConvos: {
11203
11217
  readonly type: 'integer';
11204
- readonly description: 'Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 31, where 31 means more than 30.';
11218
+ readonly description: 'Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 100, where 100 means more than 99.';
11205
11219
  };
11206
11220
  readonly unreadRequestConvos: {
11207
11221
  readonly type: 'integer';
11208
- readonly description: 'Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 11, where 11 means more than 10.';
11222
+ readonly description: 'Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 100, where 100 means more than 99.';
11209
11223
  };
11210
11224
  };
11211
11225
  };
@@ -29267,22 +29281,31 @@ export declare const schemas: ({
29267
29281
  };
29268
29282
  readonly since: {
29269
29283
  readonly type: 'string';
29270
- readonly format: 'datetime';
29271
- readonly description: 'Include posts indexed at or after this timestamp.';
29284
+ readonly description: 'Include posts indexed at or after this timestamp. Can be a datetime, or just an ISO date (YYYY-MM-DD).';
29272
29285
  };
29273
29286
  readonly until: {
29274
29287
  readonly type: 'string';
29275
- readonly format: 'datetime';
29276
- readonly description: 'Include posts indexed before this timestamp. Defaults to the current time.';
29288
+ readonly description: 'Include posts indexed before this timestamp. Defaults to the current time. Can be a datetime, or just an ISO date (YYYY-MM-DD).';
29277
29289
  };
29278
29290
  readonly allTime: {
29279
29291
  readonly type: 'boolean';
29280
29292
  readonly description: 'Search the full index instead of the recent-post window.';
29281
29293
  };
29282
- readonly language: {
29283
- readonly type: 'string';
29284
- readonly format: 'language';
29285
- readonly description: 'Include posts whose language matches this language code.';
29294
+ readonly languages: {
29295
+ readonly type: 'array';
29296
+ readonly items: {
29297
+ readonly type: 'string';
29298
+ readonly format: 'language';
29299
+ };
29300
+ readonly description: 'Include posts whose language matches any of these language codes.';
29301
+ };
29302
+ readonly excludeLanguages: {
29303
+ readonly type: 'array';
29304
+ readonly items: {
29305
+ readonly type: 'string';
29306
+ readonly format: 'language';
29307
+ };
29308
+ readonly description: 'Exclude posts whose language matches any of these language codes.';
29286
29309
  };
29287
29310
  readonly hasMedia: {
29288
29311
  readonly type: 'boolean';
@@ -34115,7 +34138,7 @@ export declare const schemas: ({
34115
34138
  readonly replyTo: {
34116
34139
  readonly description: "If set, the message this message is replying to. The full view of the referenced message is embedded so the client can render it inline. Only a single level is embedded: the embedded message will not itself have a populated 'replyTo' field even if it was also a reply.";
34117
34140
  readonly type: 'union';
34118
- readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView"];
34141
+ readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView", "lex:chat.bsky.convo.defs#messageBeforeUserJoinedGroupView"];
34119
34142
  };
34120
34143
  readonly sender: {
34121
34144
  readonly type: 'ref';
@@ -34318,6 +34341,11 @@ export declare const schemas: ({
34318
34341
  };
34319
34342
  };
34320
34343
  };
34344
+ readonly messageBeforeUserJoinedGroupView: {
34345
+ readonly description: "Placeholder embedded in place of a reply's parent message when that parent was sent before the viewer joined the group convo. The viewer has no access to that history, so no message data is carried.";
34346
+ readonly type: 'object';
34347
+ readonly properties: {};
34348
+ };
34321
34349
  readonly messageViewSender: {
34322
34350
  readonly type: 'object';
34323
34351
  readonly required: ["did"];
@@ -35373,11 +35401,11 @@ export declare const schemas: ({
35373
35401
  readonly properties: {
35374
35402
  readonly unreadAcceptedConvos: {
35375
35403
  readonly type: 'integer';
35376
- readonly description: 'Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 31, where 31 means more than 30.';
35404
+ readonly description: 'Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 100, where 100 means more than 99.';
35377
35405
  };
35378
35406
  readonly unreadRequestConvos: {
35379
35407
  readonly type: 'integer';
35380
- readonly description: 'Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 11, where 11 means more than 10.';
35408
+ readonly description: 'Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 100, where 100 means more than 99.';
35381
35409
  };
35382
35410
  };
35383
35411
  };