@atproto/api 0.20.20 → 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,15 @@
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
+
3
13
  ## 0.20.20
4
14
 
5
15
  ### 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';
@@ -11206,11 +11215,11 @@ export declare const schemaDict: {
11206
11215
  readonly properties: {
11207
11216
  readonly unreadAcceptedConvos: {
11208
11217
  readonly type: 'integer';
11209
- 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.';
11210
11219
  };
11211
11220
  readonly unreadRequestConvos: {
11212
11221
  readonly type: 'integer';
11213
- 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.';
11214
11223
  };
11215
11224
  };
11216
11225
  };
@@ -29272,22 +29281,31 @@ export declare const schemas: ({
29272
29281
  };
29273
29282
  readonly since: {
29274
29283
  readonly type: 'string';
29275
- readonly format: 'datetime';
29276
- 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).';
29277
29285
  };
29278
29286
  readonly until: {
29279
29287
  readonly type: 'string';
29280
- readonly format: 'datetime';
29281
- 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).';
29282
29289
  };
29283
29290
  readonly allTime: {
29284
29291
  readonly type: 'boolean';
29285
29292
  readonly description: 'Search the full index instead of the recent-post window.';
29286
29293
  };
29287
- readonly language: {
29288
- readonly type: 'string';
29289
- readonly format: 'language';
29290
- 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.';
29291
29309
  };
29292
29310
  readonly hasMedia: {
29293
29311
  readonly type: 'boolean';
@@ -35383,11 +35401,11 @@ export declare const schemas: ({
35383
35401
  readonly properties: {
35384
35402
  readonly unreadAcceptedConvos: {
35385
35403
  readonly type: 'integer';
35386
- 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.';
35387
35405
  };
35388
35406
  readonly unreadRequestConvos: {
35389
35407
  readonly type: 'integer';
35390
- 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.';
35391
35409
  };
35392
35410
  };
35393
35411
  };