@atproto/api 0.1.1 → 0.1.2

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.
Files changed (34) hide show
  1. package/dist/client/index.d.ts +4 -0
  2. package/dist/client/lexicons.d.ts +158 -244
  3. package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -24
  4. package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +2 -15
  5. package/dist/client/types/app/bsky/actor/profile.d.ts +24 -1
  6. package/dist/client/types/app/bsky/actor/ref.d.ts +2 -0
  7. package/dist/client/types/app/bsky/actor/search.d.ts +2 -15
  8. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +2 -13
  9. package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +2 -15
  10. package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -15
  11. package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -15
  12. package/dist/client/types/app/bsky/graph/getMutes.d.ts +2 -13
  13. package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
  14. package/dist/client/types/com/atproto/report/reasonType.d.ts +1 -1
  15. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +20 -0
  16. package/dist/index.js +471 -524
  17. package/dist/index.js.map +4 -4
  18. package/package.json +1 -1
  19. package/src/client/index.ts +15 -0
  20. package/src/client/lexicons.ts +177 -267
  21. package/src/client/types/app/bsky/actor/getProfile.ts +2 -35
  22. package/src/client/types/app/bsky/actor/getSuggestions.ts +2 -25
  23. package/src/client/types/app/bsky/actor/profile.ts +47 -1
  24. package/src/client/types/app/bsky/actor/ref.ts +2 -0
  25. package/src/client/types/app/bsky/actor/search.ts +2 -23
  26. package/src/client/types/app/bsky/actor/searchTypeahead.ts +2 -23
  27. package/src/client/types/app/bsky/feed/getRepostedBy.ts +2 -25
  28. package/src/client/types/app/bsky/graph/getFollowers.ts +1 -25
  29. package/src/client/types/app/bsky/graph/getFollows.ts +1 -25
  30. package/src/client/types/app/bsky/graph/getMutes.ts +2 -23
  31. package/src/client/types/com/atproto/handle/update.ts +31 -0
  32. package/src/client/types/com/atproto/report/reasonType.ts +2 -2
  33. package/src/client/types/com/atproto/sync/subscribeAllRepos.ts +48 -0
  34. package/tsconfig.build.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "codegen": "lex gen-api ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*",
@@ -30,6 +30,7 @@ import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRep
30
30
  import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction'
31
31
  import * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload'
32
32
  import * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'
33
+ import * as ComAtprotoHandleUpdate from './types/com/atproto/handle/update'
33
34
  import * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'
34
35
  import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'
35
36
  import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'
@@ -53,6 +54,7 @@ import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommit
53
54
  import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead'
54
55
  import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord'
55
56
  import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'
57
+ import * as ComAtprotoSyncSubscribeAllRepos from './types/com/atproto/sync/subscribeAllRepos'
56
58
  import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'
57
59
  import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles'
58
60
  import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'
@@ -114,6 +116,7 @@ export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRep
114
116
  export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction'
115
117
  export * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload'
116
118
  export * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve'
119
+ export * as ComAtprotoHandleUpdate from './types/com/atproto/handle/update'
117
120
  export * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite'
118
121
  export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord'
119
122
  export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord'
@@ -137,6 +140,7 @@ export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommit
137
140
  export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead'
138
141
  export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord'
139
142
  export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo'
143
+ export * as ComAtprotoSyncSubscribeAllRepos from './types/com/atproto/sync/subscribeAllRepos'
140
144
  export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile'
141
145
  export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles'
142
146
  export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions'
@@ -496,6 +500,17 @@ export class HandleNS {
496
500
  throw ComAtprotoHandleResolve.toKnownErr(e)
497
501
  })
498
502
  }
503
+
504
+ update(
505
+ data?: ComAtprotoHandleUpdate.InputSchema,
506
+ opts?: ComAtprotoHandleUpdate.CallOptions,
507
+ ): Promise<ComAtprotoHandleUpdate.Response> {
508
+ return this._service.xrpc
509
+ .call('com.atproto.handle.update', opts?.qp, data, opts)
510
+ .catch((e) => {
511
+ throw ComAtprotoHandleUpdate.toKnownErr(e)
512
+ })
513
+ }
499
514
  }
500
515
 
501
516
  export class RepoNS {
@@ -302,7 +302,7 @@ export const schemaDict = {
302
302
  required: ['id'],
303
303
  properties: {
304
304
  id: {
305
- type: 'number',
305
+ type: 'integer',
306
306
  },
307
307
  },
308
308
  },
@@ -374,7 +374,7 @@ export const schemaDict = {
374
374
  required: ['id'],
375
375
  properties: {
376
376
  id: {
377
- type: 'number',
377
+ type: 'integer',
378
378
  },
379
379
  },
380
380
  },
@@ -1225,6 +1225,28 @@ export const schemaDict = {
1225
1225
  },
1226
1226
  },
1227
1227
  },
1228
+ ComAtprotoHandleUpdate: {
1229
+ lexicon: 1,
1230
+ id: 'com.atproto.handle.update',
1231
+ defs: {
1232
+ main: {
1233
+ type: 'procedure',
1234
+ description: 'Updates the handle of the account',
1235
+ input: {
1236
+ encoding: 'application/json',
1237
+ schema: {
1238
+ type: 'object',
1239
+ required: ['handle'],
1240
+ properties: {
1241
+ handle: {
1242
+ type: 'string',
1243
+ },
1244
+ },
1245
+ },
1246
+ },
1247
+ },
1248
+ },
1249
+ },
1228
1250
  ComAtprotoRepoBatchWrite: {
1229
1251
  lexicon: 1,
1230
1252
  id: 'com.atproto.repo.batchWrite',
@@ -1770,8 +1792,8 @@ export const schemaDict = {
1770
1792
  main: {
1771
1793
  type: 'string',
1772
1794
  knownValues: [
1773
- 'com.atproto.report.reason#spam',
1774
- 'com.atproto.report.reason#other',
1795
+ 'com.atproto.report.reasonType#spam',
1796
+ 'com.atproto.report.reasonType#other',
1775
1797
  ],
1776
1798
  },
1777
1799
  spam: {
@@ -2173,87 +2195,101 @@ export const schemaDict = {
2173
2195
  },
2174
2196
  },
2175
2197
  },
2176
- AppBskyActorGetProfile: {
2198
+ ComAtprotoSyncSubscribeAllRepos: {
2177
2199
  lexicon: 1,
2178
- id: 'app.bsky.actor.getProfile',
2200
+ id: 'com.atproto.sync.subscribeAllRepos',
2179
2201
  defs: {
2180
2202
  main: {
2181
- type: 'query',
2203
+ type: 'subscription',
2204
+ description: 'Subscribe to repo updates',
2182
2205
  parameters: {
2183
2206
  type: 'params',
2184
- required: ['actor'],
2185
2207
  properties: {
2186
- actor: {
2187
- type: 'string',
2208
+ backfillFrom: {
2209
+ type: 'datetime',
2210
+ description:
2211
+ 'The last known event to backfill from. Does not dedupe as there may be an overlap in timestamps.',
2188
2212
  },
2189
2213
  },
2190
2214
  },
2191
- output: {
2192
- encoding: 'application/json',
2215
+ message: {
2193
2216
  schema: {
2194
- type: 'object',
2195
- required: [
2196
- 'did',
2197
- 'declaration',
2198
- 'handle',
2199
- 'creator',
2200
- 'followersCount',
2201
- 'followsCount',
2202
- 'postsCount',
2217
+ type: 'union',
2218
+ refs: [
2219
+ 'lex:com.atproto.sync.subscribeAllRepos#repoAppend',
2220
+ 'lex:com.atproto.sync.subscribeAllRepos#repoRebase',
2203
2221
  ],
2204
- properties: {
2205
- did: {
2206
- type: 'string',
2207
- },
2208
- declaration: {
2209
- type: 'ref',
2210
- ref: 'lex:app.bsky.system.declRef',
2211
- },
2212
- handle: {
2213
- type: 'string',
2214
- },
2215
- creator: {
2216
- type: 'string',
2217
- },
2218
- displayName: {
2219
- type: 'string',
2220
- maxLength: 64,
2221
- },
2222
- description: {
2223
- type: 'string',
2224
- maxLength: 256,
2225
- },
2226
- avatar: {
2227
- type: 'string',
2228
- },
2229
- banner: {
2230
- type: 'string',
2231
- },
2232
- followersCount: {
2233
- type: 'integer',
2234
- },
2235
- followsCount: {
2236
- type: 'integer',
2237
- },
2238
- postsCount: {
2239
- type: 'integer',
2240
- },
2241
- myState: {
2242
- type: 'ref',
2243
- ref: 'lex:app.bsky.actor.getProfile#myState',
2244
- },
2222
+ },
2223
+ codes: {
2224
+ 'lex:com.atproto.sync.subscribeAllRepos#repoAppend': 0,
2225
+ 'lex:com.atproto.sync.subscribeAllRepos#repoRebase': 1,
2226
+ },
2227
+ },
2228
+ },
2229
+ repoAppend: {
2230
+ type: 'object',
2231
+ required: ['time', 'repo', 'commit', 'blocks', 'blobs'],
2232
+ properties: {
2233
+ time: {
2234
+ type: 'datetime',
2235
+ },
2236
+ repo: {
2237
+ type: 'string',
2238
+ },
2239
+ commit: {
2240
+ type: 'string',
2241
+ },
2242
+ prev: {
2243
+ type: 'string',
2244
+ },
2245
+ blocks: {
2246
+ type: 'unknown',
2247
+ },
2248
+ blobs: {
2249
+ type: 'array',
2250
+ items: {
2251
+ type: 'string',
2245
2252
  },
2246
2253
  },
2247
2254
  },
2248
2255
  },
2249
- myState: {
2256
+ repoRebase: {
2250
2257
  type: 'object',
2258
+ required: ['time', 'repo', 'commit'],
2251
2259
  properties: {
2252
- follow: {
2260
+ time: {
2261
+ type: 'datetime',
2262
+ },
2263
+ repo: {
2253
2264
  type: 'string',
2254
2265
  },
2255
- muted: {
2256
- type: 'boolean',
2266
+ commit: {
2267
+ type: 'string',
2268
+ },
2269
+ },
2270
+ },
2271
+ },
2272
+ },
2273
+ AppBskyActorGetProfile: {
2274
+ lexicon: 1,
2275
+ id: 'app.bsky.actor.getProfile',
2276
+ defs: {
2277
+ main: {
2278
+ type: 'query',
2279
+ parameters: {
2280
+ type: 'params',
2281
+ required: ['actor'],
2282
+ properties: {
2283
+ actor: {
2284
+ type: 'string',
2285
+ },
2286
+ },
2287
+ },
2288
+ output: {
2289
+ encoding: 'application/json',
2290
+ schema: {
2291
+ type: 'ref',
2292
+ ref: 'lex:app.bsky.actor.profile#view',
2257
2293
  },
2258
2294
  },
2259
2295
  },
@@ -2332,42 +2368,13 @@ export const schemaDict = {
2332
2368
  type: 'array',
2333
2369
  items: {
2334
2370
  type: 'ref',
2335
- ref: 'lex:app.bsky.actor.getSuggestions#actor',
2371
+ ref: 'lex:app.bsky.actor.profile#viewBasic',
2336
2372
  },
2337
2373
  },
2338
2374
  },
2339
2375
  },
2340
2376
  },
2341
2377
  },
2342
- actor: {
2343
- type: 'object',
2344
- required: ['did', 'declaration', 'handle'],
2345
- properties: {
2346
- did: {
2347
- type: 'string',
2348
- },
2349
- declaration: {
2350
- type: 'ref',
2351
- ref: 'lex:app.bsky.system.declRef',
2352
- },
2353
- handle: {
2354
- type: 'string',
2355
- },
2356
- displayName: {
2357
- type: 'string',
2358
- maxLength: 64,
2359
- },
2360
- description: {
2361
- type: 'string',
2362
- },
2363
- avatar: {
2364
- type: 'string',
2365
- },
2366
- indexedAt: {
2367
- type: 'datetime',
2368
- },
2369
- },
2370
- },
2371
2378
  },
2372
2379
  },
2373
2380
  AppBskyActorProfile: {
@@ -2428,9 +2435,6 @@ export const schemaDict = {
2428
2435
  handle: {
2429
2436
  type: 'string',
2430
2437
  },
2431
- creator: {
2432
- type: 'string',
2433
- },
2434
2438
  displayName: {
2435
2439
  type: 'string',
2436
2440
  maxLength: 64,
@@ -2454,14 +2458,74 @@ export const schemaDict = {
2454
2458
  postsCount: {
2455
2459
  type: 'integer',
2456
2460
  },
2461
+ creator: {
2462
+ type: 'string',
2463
+ },
2464
+ indexedAt: {
2465
+ type: 'datetime',
2466
+ },
2467
+ viewer: {
2468
+ type: 'ref',
2469
+ ref: 'lex:app.bsky.actor.profile#viewerState',
2470
+ },
2457
2471
  myState: {
2458
2472
  type: 'ref',
2459
2473
  ref: 'lex:app.bsky.actor.profile#myState',
2474
+ description: 'Deprecated',
2475
+ },
2476
+ },
2477
+ },
2478
+ viewBasic: {
2479
+ type: 'object',
2480
+ required: ['did', 'declaration', 'handle'],
2481
+ properties: {
2482
+ did: {
2483
+ type: 'string',
2484
+ },
2485
+ declaration: {
2486
+ type: 'ref',
2487
+ ref: 'lex:app.bsky.system.declRef',
2488
+ },
2489
+ handle: {
2490
+ type: 'string',
2491
+ },
2492
+ displayName: {
2493
+ type: 'string',
2494
+ maxLength: 64,
2495
+ },
2496
+ description: {
2497
+ type: 'string',
2498
+ maxLength: 256,
2499
+ },
2500
+ avatar: {
2501
+ type: 'string',
2502
+ },
2503
+ indexedAt: {
2504
+ type: 'datetime',
2505
+ },
2506
+ viewer: {
2507
+ type: 'ref',
2508
+ ref: 'lex:app.bsky.actor.profile#viewerState',
2509
+ },
2510
+ },
2511
+ },
2512
+ viewerState: {
2513
+ type: 'object',
2514
+ properties: {
2515
+ muted: {
2516
+ type: 'boolean',
2517
+ },
2518
+ following: {
2519
+ type: 'string',
2520
+ },
2521
+ followedBy: {
2522
+ type: 'string',
2460
2523
  },
2461
2524
  },
2462
2525
  },
2463
2526
  myState: {
2464
2527
  type: 'object',
2528
+ description: 'Deprecated in favor of #viewerState',
2465
2529
  properties: {
2466
2530
  follow: {
2467
2531
  type: 'string',
@@ -2523,6 +2587,12 @@ export const schemaDict = {
2523
2587
  muted: {
2524
2588
  type: 'boolean',
2525
2589
  },
2590
+ following: {
2591
+ type: 'string',
2592
+ },
2593
+ followedBy: {
2594
+ type: 'string',
2595
+ },
2526
2596
  },
2527
2597
  },
2528
2598
  },
@@ -2564,42 +2634,13 @@ export const schemaDict = {
2564
2634
  type: 'array',
2565
2635
  items: {
2566
2636
  type: 'ref',
2567
- ref: 'lex:app.bsky.actor.search#user',
2637
+ ref: 'lex:app.bsky.actor.profile#viewBasic',
2568
2638
  },
2569
2639
  },
2570
2640
  },
2571
2641
  },
2572
2642
  },
2573
2643
  },
2574
- user: {
2575
- type: 'object',
2576
- required: ['did', 'declaration', 'handle'],
2577
- properties: {
2578
- did: {
2579
- type: 'string',
2580
- },
2581
- declaration: {
2582
- type: 'ref',
2583
- ref: 'lex:app.bsky.system.declRef',
2584
- },
2585
- handle: {
2586
- type: 'string',
2587
- },
2588
- displayName: {
2589
- type: 'string',
2590
- maxLength: 64,
2591
- },
2592
- avatar: {
2593
- type: 'string',
2594
- },
2595
- description: {
2596
- type: 'string',
2597
- },
2598
- indexedAt: {
2599
- type: 'datetime',
2600
- },
2601
- },
2602
- },
2603
2644
  },
2604
2645
  },
2605
2646
  AppBskyActorSearchTypeahead: {
@@ -2633,36 +2674,13 @@ export const schemaDict = {
2633
2674
  type: 'array',
2634
2675
  items: {
2635
2676
  type: 'ref',
2636
- ref: 'lex:app.bsky.actor.searchTypeahead#user',
2677
+ ref: 'lex:app.bsky.actor.ref#withInfo',
2637
2678
  },
2638
2679
  },
2639
2680
  },
2640
2681
  },
2641
2682
  },
2642
2683
  },
2643
- user: {
2644
- type: 'object',
2645
- required: ['did', 'declaration', 'handle'],
2646
- properties: {
2647
- did: {
2648
- type: 'string',
2649
- },
2650
- declaration: {
2651
- type: 'ref',
2652
- ref: 'lex:app.bsky.system.declRef',
2653
- },
2654
- handle: {
2655
- type: 'string',
2656
- },
2657
- displayName: {
2658
- type: 'string',
2659
- maxLength: 64,
2660
- },
2661
- avatar: {
2662
- type: 'string',
2663
- },
2664
- },
2665
- },
2666
2684
  },
2667
2685
  },
2668
2686
  AppBskyActorUpdateProfile: {
@@ -3097,42 +3115,13 @@ export const schemaDict = {
3097
3115
  type: 'array',
3098
3116
  items: {
3099
3117
  type: 'ref',
3100
- ref: 'lex:app.bsky.feed.getRepostedBy#repostedBy',
3118
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3101
3119
  },
3102
3120
  },
3103
3121
  },
3104
3122
  },
3105
3123
  },
3106
3124
  },
3107
- repostedBy: {
3108
- type: 'object',
3109
- required: ['did', 'declaration', 'handle', 'indexedAt'],
3110
- properties: {
3111
- did: {
3112
- type: 'string',
3113
- },
3114
- declaration: {
3115
- type: 'ref',
3116
- ref: 'lex:app.bsky.system.declRef',
3117
- },
3118
- handle: {
3119
- type: 'string',
3120
- },
3121
- displayName: {
3122
- type: 'string',
3123
- maxLength: 64,
3124
- },
3125
- avatar: {
3126
- type: 'string',
3127
- },
3128
- createdAt: {
3129
- type: 'datetime',
3130
- },
3131
- indexedAt: {
3132
- type: 'datetime',
3133
- },
3134
- },
3135
- },
3136
3125
  },
3137
3126
  },
3138
3127
  AppBskyFeedGetTimeline: {
@@ -3650,42 +3639,13 @@ export const schemaDict = {
3650
3639
  type: 'array',
3651
3640
  items: {
3652
3641
  type: 'ref',
3653
- ref: 'lex:app.bsky.graph.getFollowers#follower',
3642
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3654
3643
  },
3655
3644
  },
3656
3645
  },
3657
3646
  },
3658
3647
  },
3659
3648
  },
3660
- follower: {
3661
- type: 'object',
3662
- required: ['did', 'declaration', 'handle', 'indexedAt'],
3663
- properties: {
3664
- did: {
3665
- type: 'string',
3666
- },
3667
- declaration: {
3668
- type: 'ref',
3669
- ref: 'lex:app.bsky.system.declRef',
3670
- },
3671
- handle: {
3672
- type: 'string',
3673
- },
3674
- displayName: {
3675
- type: 'string',
3676
- maxLength: 64,
3677
- },
3678
- avatar: {
3679
- type: 'string',
3680
- },
3681
- createdAt: {
3682
- type: 'datetime',
3683
- },
3684
- indexedAt: {
3685
- type: 'datetime',
3686
- },
3687
- },
3688
- },
3689
3649
  },
3690
3650
  },
3691
3651
  AppBskyGraphGetFollows: {
@@ -3730,42 +3690,13 @@ export const schemaDict = {
3730
3690
  type: 'array',
3731
3691
  items: {
3732
3692
  type: 'ref',
3733
- ref: 'lex:app.bsky.graph.getFollows#follow',
3693
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3734
3694
  },
3735
3695
  },
3736
3696
  },
3737
3697
  },
3738
3698
  },
3739
3699
  },
3740
- follow: {
3741
- type: 'object',
3742
- required: ['did', 'declaration', 'handle', 'indexedAt'],
3743
- properties: {
3744
- did: {
3745
- type: 'string',
3746
- },
3747
- declaration: {
3748
- type: 'ref',
3749
- ref: 'lex:app.bsky.system.declRef',
3750
- },
3751
- handle: {
3752
- type: 'string',
3753
- },
3754
- displayName: {
3755
- type: 'string',
3756
- maxLength: 64,
3757
- },
3758
- avatar: {
3759
- type: 'string',
3760
- },
3761
- createdAt: {
3762
- type: 'datetime',
3763
- },
3764
- indexedAt: {
3765
- type: 'datetime',
3766
- },
3767
- },
3768
- },
3769
3700
  },
3770
3701
  },
3771
3702
  AppBskyGraphGetMutes: {
@@ -3802,36 +3733,13 @@ export const schemaDict = {
3802
3733
  type: 'array',
3803
3734
  items: {
3804
3735
  type: 'ref',
3805
- ref: 'lex:app.bsky.graph.getMutes#mute',
3736
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3806
3737
  },
3807
3738
  },
3808
3739
  },
3809
3740
  },
3810
3741
  },
3811
3742
  },
3812
- mute: {
3813
- type: 'object',
3814
- required: ['did', 'declaration', 'handle', 'createdAt'],
3815
- properties: {
3816
- did: {
3817
- type: 'string',
3818
- },
3819
- declaration: {
3820
- type: 'ref',
3821
- ref: 'lex:app.bsky.system.declRef',
3822
- },
3823
- handle: {
3824
- type: 'string',
3825
- },
3826
- displayName: {
3827
- type: 'string',
3828
- maxLength: 64,
3829
- },
3830
- createdAt: {
3831
- type: 'datetime',
3832
- },
3833
- },
3834
- },
3835
3743
  },
3836
3744
  },
3837
3745
  AppBskyGraphMute: {
@@ -4096,6 +4004,7 @@ export const ids = {
4096
4004
  ComAtprotoAdminTakeModerationAction: 'com.atproto.admin.takeModerationAction',
4097
4005
  ComAtprotoBlobUpload: 'com.atproto.blob.upload',
4098
4006
  ComAtprotoHandleResolve: 'com.atproto.handle.resolve',
4007
+ ComAtprotoHandleUpdate: 'com.atproto.handle.update',
4099
4008
  ComAtprotoRepoBatchWrite: 'com.atproto.repo.batchWrite',
4100
4009
  ComAtprotoRepoCreateRecord: 'com.atproto.repo.createRecord',
4101
4010
  ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',
@@ -4119,6 +4028,7 @@ export const ids = {
4119
4028
  ComAtprotoSyncGetHead: 'com.atproto.sync.getHead',
4120
4029
  ComAtprotoSyncGetRecord: 'com.atproto.sync.getRecord',
4121
4030
  ComAtprotoSyncGetRepo: 'com.atproto.sync.getRepo',
4031
+ ComAtprotoSyncSubscribeAllRepos: 'com.atproto.sync.subscribeAllRepos',
4122
4032
  AppBskyActorGetProfile: 'app.bsky.actor.getProfile',
4123
4033
  AppBskyActorGetProfiles: 'app.bsky.actor.getProfiles',
4124
4034
  AppBskyActorGetSuggestions: 'app.bsky.actor.getSuggestions',