@atproto/pds 0.3.5 → 0.3.7

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.
@@ -5,7 +5,7 @@ export interface QueryParams {
5
5
  actor: string;
6
6
  limit: number;
7
7
  cursor?: string;
8
- filter: 'posts_with_replies' | 'posts_no_replies' | 'posts_with_media' | (string & {});
8
+ filter: 'posts_with_replies' | 'posts_no_replies' | 'posts_with_media' | 'posts_and_author_threads' | (string & {});
9
9
  }
10
10
  export declare type InputSchema = undefined;
11
11
  export interface OutputSchema {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/pds",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "license": "MIT",
5
5
  "description": "Reference implementation of atproto Personal Data Server (PDS)",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  "typed-emitter": "^2.1.0",
45
45
  "uint8arrays": "3.0.0",
46
46
  "zod": "^3.21.4",
47
- "@atproto/api": "^0.7.0",
47
+ "@atproto/api": "^0.7.2",
48
48
  "@atproto/aws": "^0.1.6",
49
49
  "@atproto/common": "^0.3.3",
50
50
  "@atproto/crypto": "^0.3.0",
@@ -68,9 +68,9 @@
68
68
  "axios": "^0.27.2",
69
69
  "get-port": "^6.1.2",
70
70
  "ws": "^8.12.0",
71
- "@atproto/api": "^0.7.0",
72
- "@atproto/bsky": "^0.0.17",
73
- "@atproto/dev-env": "^0.2.17",
71
+ "@atproto/api": "^0.7.2",
72
+ "@atproto/bsky": "^0.0.19",
73
+ "@atproto/dev-env": "^0.2.19",
74
74
  "@atproto/lex-cli": "^0.2.5"
75
75
  },
76
76
  "scripts": {
@@ -5572,6 +5572,7 @@ export const schemaDict = {
5572
5572
  'posts_with_replies',
5573
5573
  'posts_no_replies',
5574
5574
  'posts_with_media',
5575
+ 'posts_and_author_threads',
5575
5576
  ],
5576
5577
  default: 'posts_with_replies',
5577
5578
  },
@@ -17,6 +17,7 @@ export interface QueryParams {
17
17
  | 'posts_with_replies'
18
18
  | 'posts_no_replies'
19
19
  | 'posts_with_media'
20
+ | 'posts_and_author_threads'
20
21
  | (string & {})
21
22
  }
22
23
 
@@ -204,6 +204,24 @@ Array [
204
204
  "did": "user(0)",
205
205
  "displayName": "ali",
206
206
  "handle": "alice.test",
207
+ "labels": Array [
208
+ Object {
209
+ "cid": "cids(1)",
210
+ "cts": "1970-01-01T00:00:00.000Z",
211
+ "neg": false,
212
+ "src": "user(0)",
213
+ "uri": "record(0)",
214
+ "val": "self-label-a",
215
+ },
216
+ Object {
217
+ "cid": "cids(1)",
218
+ "cts": "1970-01-01T00:00:00.000Z",
219
+ "neg": false,
220
+ "src": "user(0)",
221
+ "uri": "record(0)",
222
+ "val": "self-label-b",
223
+ },
224
+ ],
207
225
  "viewer": Object {
208
226
  "blockedBy": false,
209
227
  "muted": false,
@@ -214,29 +232,40 @@ Array [
214
232
  "did": "user(2)",
215
233
  "displayName": "bobby",
216
234
  "handle": "bob.test",
235
+ "labels": Array [],
217
236
  "viewer": Object {
218
237
  "blockedBy": false,
219
- "followedBy": "record(1)",
220
- "following": "record(0)",
238
+ "followedBy": "record(2)",
239
+ "following": "record(1)",
221
240
  "muted": false,
222
241
  },
223
242
  },
224
243
  Object {
225
244
  "did": "user(4)",
226
245
  "handle": "carol.test",
246
+ "labels": Array [],
227
247
  "viewer": Object {
228
248
  "blockedBy": false,
229
- "followedBy": "record(3)",
230
- "following": "record(2)",
249
+ "followedBy": "record(4)",
250
+ "following": "record(3)",
231
251
  "muted": false,
232
252
  },
233
253
  },
234
254
  Object {
235
255
  "did": "user(5)",
236
256
  "handle": "dan.test",
257
+ "labels": Array [
258
+ Object {
259
+ "cts": "1970-01-01T00:00:00.000Z",
260
+ "neg": false,
261
+ "src": "did:example:labeler",
262
+ "uri": "user(5)",
263
+ "val": "repo-action-label",
264
+ },
265
+ ],
237
266
  "viewer": Object {
238
267
  "blockedBy": false,
239
- "following": "record(4)",
268
+ "following": "record(5)",
240
269
  "muted": false,
241
270
  },
242
271
  },