@atproto/api 0.1.1 → 0.1.3

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 (47) hide show
  1. package/build.js +8 -0
  2. package/dist/client/index.d.ts +14 -0
  3. package/dist/client/lexicons.d.ts +251 -227
  4. package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -24
  5. package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +2 -15
  6. package/dist/client/types/app/bsky/actor/profile.d.ts +24 -1
  7. package/dist/client/types/app/bsky/actor/ref.d.ts +2 -0
  8. package/dist/client/types/app/bsky/actor/search.d.ts +2 -15
  9. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +2 -13
  10. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +3 -3
  11. package/dist/client/types/app/bsky/embed/record.d.ts +33 -0
  12. package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +2 -15
  13. package/dist/client/types/app/bsky/feed/post.d.ts +3 -2
  14. package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -15
  15. package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -15
  16. package/dist/client/types/app/bsky/graph/getMutes.d.ts +2 -13
  17. package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
  18. package/dist/client/types/com/atproto/report/reasonType.d.ts +1 -1
  19. package/dist/client/types/com/atproto/sync/getBlocks.d.ts +15 -0
  20. package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +12 -0
  21. package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +13 -0
  22. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +1 -0
  23. package/dist/index.js +709 -545
  24. package/dist/index.js.map +4 -4
  25. package/package.json +1 -1
  26. package/src/client/index.ts +56 -0
  27. package/src/client/lexicons.ts +290 -253
  28. package/src/client/types/app/bsky/actor/getProfile.ts +2 -35
  29. package/src/client/types/app/bsky/actor/getSuggestions.ts +2 -25
  30. package/src/client/types/app/bsky/actor/profile.ts +47 -1
  31. package/src/client/types/app/bsky/actor/ref.ts +2 -0
  32. package/src/client/types/app/bsky/actor/search.ts +2 -23
  33. package/src/client/types/app/bsky/actor/searchTypeahead.ts +2 -23
  34. package/src/client/types/app/bsky/actor/updateProfile.ts +3 -3
  35. package/src/client/types/app/bsky/embed/record.ts +83 -0
  36. package/src/client/types/app/bsky/feed/getRepostedBy.ts +2 -25
  37. package/src/client/types/app/bsky/feed/post.ts +3 -0
  38. package/src/client/types/app/bsky/graph/getFollowers.ts +1 -25
  39. package/src/client/types/app/bsky/graph/getFollows.ts +1 -25
  40. package/src/client/types/app/bsky/graph/getMutes.ts +2 -23
  41. package/src/client/types/com/atproto/handle/update.ts +31 -0
  42. package/src/client/types/com/atproto/report/reasonType.ts +2 -2
  43. package/src/client/types/com/atproto/sync/getBlocks.ts +31 -0
  44. package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +26 -0
  45. package/src/client/types/com/atproto/sync/requestCrawl.ts +29 -0
  46. package/src/client/types/com/atproto/sync/subscribeAllRepos.ts +7 -0
  47. package/tsconfig.build.tsbuildinfo +1 -1
@@ -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: {
@@ -2003,6 +2025,35 @@ export const schemaDict = {
2003
2025
  },
2004
2026
  },
2005
2027
  },
2028
+ ComAtprotoSyncGetBlocks: {
2029
+ lexicon: 1,
2030
+ id: 'com.atproto.sync.getBlocks',
2031
+ defs: {
2032
+ main: {
2033
+ type: 'query',
2034
+ description: 'Gets blocks from a given repo.',
2035
+ parameters: {
2036
+ type: 'params',
2037
+ required: ['did', 'cids'],
2038
+ properties: {
2039
+ did: {
2040
+ type: 'string',
2041
+ description: 'The DID of the repo.',
2042
+ },
2043
+ cids: {
2044
+ type: 'array',
2045
+ items: {
2046
+ type: 'string',
2047
+ },
2048
+ },
2049
+ },
2050
+ },
2051
+ output: {
2052
+ encoding: 'application/vnd.ipld.car',
2053
+ },
2054
+ },
2055
+ },
2056
+ },
2006
2057
  ComAtprotoSyncGetCheckout: {
2007
2058
  lexicon: 1,
2008
2059
  id: 'com.atproto.sync.getCheckout',
@@ -2173,87 +2224,133 @@ export const schemaDict = {
2173
2224
  },
2174
2225
  },
2175
2226
  },
2176
- AppBskyActorGetProfile: {
2227
+ ComAtprotoSyncNotifyOfUpdate: {
2177
2228
  lexicon: 1,
2178
- id: 'app.bsky.actor.getProfile',
2229
+ id: 'com.atproto.sync.notifyOfUpdate',
2230
+ defs: {
2231
+ main: {
2232
+ type: 'query',
2233
+ description:
2234
+ 'Notify a crawling service of a recent update. Often when a long break between updates causes the connection with the crawling service to break.',
2235
+ },
2236
+ },
2237
+ },
2238
+ ComAtprotoSyncRequestCrawl: {
2239
+ lexicon: 1,
2240
+ id: 'com.atproto.sync.requestCrawl',
2179
2241
  defs: {
2180
2242
  main: {
2181
2243
  type: 'query',
2244
+ description: 'Request a service to persistently crawl hosted repos.',
2182
2245
  parameters: {
2183
2246
  type: 'params',
2184
- required: ['actor'],
2247
+ required: ['hostname'],
2185
2248
  properties: {
2186
- actor: {
2249
+ host: {
2187
2250
  type: 'string',
2251
+ description:
2252
+ 'Hostname of the service that is requesting to be crawled.',
2188
2253
  },
2189
2254
  },
2190
2255
  },
2191
- output: {
2192
- encoding: 'application/json',
2256
+ },
2257
+ },
2258
+ },
2259
+ ComAtprotoSyncSubscribeAllRepos: {
2260
+ lexicon: 1,
2261
+ id: 'com.atproto.sync.subscribeAllRepos',
2262
+ defs: {
2263
+ main: {
2264
+ type: 'subscription',
2265
+ description: 'Subscribe to repo updates',
2266
+ parameters: {
2267
+ type: 'params',
2268
+ properties: {
2269
+ cursor: {
2270
+ type: 'integer',
2271
+ description: 'The last known event to backfill from.',
2272
+ },
2273
+ },
2274
+ },
2275
+ message: {
2193
2276
  schema: {
2194
2277
  type: 'object',
2195
2278
  required: [
2196
- 'did',
2197
- 'declaration',
2198
- 'handle',
2199
- 'creator',
2200
- 'followersCount',
2201
- 'followsCount',
2202
- 'postsCount',
2279
+ 'seq',
2280
+ 'event',
2281
+ 'repo',
2282
+ 'commit',
2283
+ 'prev',
2284
+ 'blocks',
2285
+ 'blobs',
2286
+ 'time',
2203
2287
  ],
2288
+ nullable: ['prev'],
2204
2289
  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',
2290
+ seq: {
2291
+ type: 'integer',
2214
2292
  },
2215
- creator: {
2293
+ event: {
2216
2294
  type: 'string',
2295
+ knownValues: ['repo_append', 'rebase'],
2217
2296
  },
2218
- displayName: {
2297
+ repo: {
2219
2298
  type: 'string',
2220
- maxLength: 64,
2221
2299
  },
2222
- description: {
2300
+ commit: {
2223
2301
  type: 'string',
2224
- maxLength: 256,
2225
2302
  },
2226
- avatar: {
2303
+ prev: {
2227
2304
  type: 'string',
2228
2305
  },
2229
- banner: {
2230
- type: 'string',
2231
- },
2232
- followersCount: {
2233
- type: 'integer',
2234
- },
2235
- followsCount: {
2236
- type: 'integer',
2306
+ blocks: {
2307
+ type: 'unknown',
2237
2308
  },
2238
- postsCount: {
2239
- type: 'integer',
2309
+ blobs: {
2310
+ type: 'array',
2311
+ items: {
2312
+ type: 'string',
2313
+ },
2240
2314
  },
2241
- myState: {
2242
- type: 'ref',
2243
- ref: 'lex:app.bsky.actor.getProfile#myState',
2315
+ time: {
2316
+ type: 'datetime',
2244
2317
  },
2245
2318
  },
2246
2319
  },
2247
2320
  },
2321
+ infos: [
2322
+ {
2323
+ name: 'OutdatedCursor',
2324
+ },
2325
+ ],
2326
+ errors: [
2327
+ {
2328
+ name: 'FutureCursor',
2329
+ },
2330
+ ],
2248
2331
  },
2249
- myState: {
2250
- type: 'object',
2251
- properties: {
2252
- follow: {
2253
- type: 'string',
2332
+ },
2333
+ },
2334
+ AppBskyActorGetProfile: {
2335
+ lexicon: 1,
2336
+ id: 'app.bsky.actor.getProfile',
2337
+ defs: {
2338
+ main: {
2339
+ type: 'query',
2340
+ parameters: {
2341
+ type: 'params',
2342
+ required: ['actor'],
2343
+ properties: {
2344
+ actor: {
2345
+ type: 'string',
2346
+ },
2254
2347
  },
2255
- muted: {
2256
- type: 'boolean',
2348
+ },
2349
+ output: {
2350
+ encoding: 'application/json',
2351
+ schema: {
2352
+ type: 'ref',
2353
+ ref: 'lex:app.bsky.actor.profile#view',
2257
2354
  },
2258
2355
  },
2259
2356
  },
@@ -2332,42 +2429,13 @@ export const schemaDict = {
2332
2429
  type: 'array',
2333
2430
  items: {
2334
2431
  type: 'ref',
2335
- ref: 'lex:app.bsky.actor.getSuggestions#actor',
2432
+ ref: 'lex:app.bsky.actor.profile#viewBasic',
2336
2433
  },
2337
2434
  },
2338
2435
  },
2339
2436
  },
2340
2437
  },
2341
2438
  },
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
2439
  },
2372
2440
  },
2373
2441
  AppBskyActorProfile: {
@@ -2428,9 +2496,6 @@ export const schemaDict = {
2428
2496
  handle: {
2429
2497
  type: 'string',
2430
2498
  },
2431
- creator: {
2432
- type: 'string',
2433
- },
2434
2499
  displayName: {
2435
2500
  type: 'string',
2436
2501
  maxLength: 64,
@@ -2454,14 +2519,74 @@ export const schemaDict = {
2454
2519
  postsCount: {
2455
2520
  type: 'integer',
2456
2521
  },
2522
+ creator: {
2523
+ type: 'string',
2524
+ },
2525
+ indexedAt: {
2526
+ type: 'datetime',
2527
+ },
2528
+ viewer: {
2529
+ type: 'ref',
2530
+ ref: 'lex:app.bsky.actor.profile#viewerState',
2531
+ },
2457
2532
  myState: {
2458
2533
  type: 'ref',
2459
2534
  ref: 'lex:app.bsky.actor.profile#myState',
2535
+ description: 'Deprecated',
2536
+ },
2537
+ },
2538
+ },
2539
+ viewBasic: {
2540
+ type: 'object',
2541
+ required: ['did', 'declaration', 'handle'],
2542
+ properties: {
2543
+ did: {
2544
+ type: 'string',
2545
+ },
2546
+ declaration: {
2547
+ type: 'ref',
2548
+ ref: 'lex:app.bsky.system.declRef',
2549
+ },
2550
+ handle: {
2551
+ type: 'string',
2552
+ },
2553
+ displayName: {
2554
+ type: 'string',
2555
+ maxLength: 64,
2556
+ },
2557
+ description: {
2558
+ type: 'string',
2559
+ maxLength: 256,
2560
+ },
2561
+ avatar: {
2562
+ type: 'string',
2563
+ },
2564
+ indexedAt: {
2565
+ type: 'datetime',
2566
+ },
2567
+ viewer: {
2568
+ type: 'ref',
2569
+ ref: 'lex:app.bsky.actor.profile#viewerState',
2570
+ },
2571
+ },
2572
+ },
2573
+ viewerState: {
2574
+ type: 'object',
2575
+ properties: {
2576
+ muted: {
2577
+ type: 'boolean',
2578
+ },
2579
+ following: {
2580
+ type: 'string',
2581
+ },
2582
+ followedBy: {
2583
+ type: 'string',
2460
2584
  },
2461
2585
  },
2462
2586
  },
2463
2587
  myState: {
2464
2588
  type: 'object',
2589
+ description: 'Deprecated in favor of #viewerState',
2465
2590
  properties: {
2466
2591
  follow: {
2467
2592
  type: 'string',
@@ -2523,6 +2648,12 @@ export const schemaDict = {
2523
2648
  muted: {
2524
2649
  type: 'boolean',
2525
2650
  },
2651
+ following: {
2652
+ type: 'string',
2653
+ },
2654
+ followedBy: {
2655
+ type: 'string',
2656
+ },
2526
2657
  },
2527
2658
  },
2528
2659
  },
@@ -2564,42 +2695,13 @@ export const schemaDict = {
2564
2695
  type: 'array',
2565
2696
  items: {
2566
2697
  type: 'ref',
2567
- ref: 'lex:app.bsky.actor.search#user',
2698
+ ref: 'lex:app.bsky.actor.profile#viewBasic',
2568
2699
  },
2569
2700
  },
2570
2701
  },
2571
2702
  },
2572
2703
  },
2573
2704
  },
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
2705
  },
2604
2706
  },
2605
2707
  AppBskyActorSearchTypeahead: {
@@ -2633,36 +2735,13 @@ export const schemaDict = {
2633
2735
  type: 'array',
2634
2736
  items: {
2635
2737
  type: 'ref',
2636
- ref: 'lex:app.bsky.actor.searchTypeahead#user',
2738
+ ref: 'lex:app.bsky.actor.ref#withInfo',
2637
2739
  },
2638
2740
  },
2639
2741
  },
2640
2742
  },
2641
2743
  },
2642
2744
  },
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
2745
  },
2667
2746
  },
2668
2747
  AppBskyActorUpdateProfile: {
@@ -2676,6 +2755,7 @@ export const schemaDict = {
2676
2755
  encoding: 'application/json',
2677
2756
  schema: {
2678
2757
  type: 'object',
2758
+ nullable: ['description', 'avatar', 'banner'],
2679
2759
  properties: {
2680
2760
  displayName: {
2681
2761
  type: 'string',
@@ -2871,6 +2951,65 @@ export const schemaDict = {
2871
2951
  },
2872
2952
  },
2873
2953
  },
2954
+ AppBskyEmbedRecord: {
2955
+ lexicon: 1,
2956
+ id: 'app.bsky.embed.record',
2957
+ description:
2958
+ 'An representation of a record embedded in another form of content',
2959
+ defs: {
2960
+ main: {
2961
+ type: 'object',
2962
+ required: ['record'],
2963
+ properties: {
2964
+ record: {
2965
+ type: 'ref',
2966
+ ref: 'lex:com.atproto.repo.strongRef',
2967
+ },
2968
+ },
2969
+ },
2970
+ presented: {
2971
+ type: 'object',
2972
+ required: ['record'],
2973
+ properties: {
2974
+ record: {
2975
+ type: 'union',
2976
+ refs: [
2977
+ 'lex:app.bsky.embed.record#presentedRecord',
2978
+ 'lex:app.bsky.embed.record#presentedNotFound',
2979
+ ],
2980
+ },
2981
+ },
2982
+ },
2983
+ presentedRecord: {
2984
+ type: 'object',
2985
+ required: ['uri', 'cid', 'author', 'record'],
2986
+ properties: {
2987
+ uri: {
2988
+ type: 'string',
2989
+ },
2990
+ cid: {
2991
+ type: 'string',
2992
+ },
2993
+ author: {
2994
+ type: 'ref',
2995
+ ref: 'lex:app.bsky.actor.ref#withInfo',
2996
+ },
2997
+ record: {
2998
+ type: 'unknown',
2999
+ },
3000
+ },
3001
+ },
3002
+ presentedNotFound: {
3003
+ type: 'object',
3004
+ required: ['uri'],
3005
+ properties: {
3006
+ uri: {
3007
+ type: 'string',
3008
+ },
3009
+ },
3010
+ },
3011
+ },
3012
+ },
2874
3013
  AppBskyFeedFeedViewPost: {
2875
3014
  lexicon: 1,
2876
3015
  id: 'app.bsky.feed.feedViewPost',
@@ -3097,42 +3236,13 @@ export const schemaDict = {
3097
3236
  type: 'array',
3098
3237
  items: {
3099
3238
  type: 'ref',
3100
- ref: 'lex:app.bsky.feed.getRepostedBy#repostedBy',
3239
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3101
3240
  },
3102
3241
  },
3103
3242
  },
3104
3243
  },
3105
3244
  },
3106
3245
  },
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
3246
  },
3137
3247
  },
3138
3248
  AppBskyFeedGetTimeline: {
@@ -3291,6 +3401,7 @@ export const schemaDict = {
3291
3401
  refs: [
3292
3402
  'lex:app.bsky.embed.images',
3293
3403
  'lex:app.bsky.embed.external',
3404
+ 'lex:app.bsky.embed.record',
3294
3405
  ],
3295
3406
  },
3296
3407
  createdAt: {
@@ -3379,6 +3490,7 @@ export const schemaDict = {
3379
3490
  refs: [
3380
3491
  'lex:app.bsky.embed.images#presented',
3381
3492
  'lex:app.bsky.embed.external#presented',
3493
+ 'lex:app.bsky.embed.record#presented',
3382
3494
  ],
3383
3495
  },
3384
3496
  replyCount: {
@@ -3650,42 +3762,13 @@ export const schemaDict = {
3650
3762
  type: 'array',
3651
3763
  items: {
3652
3764
  type: 'ref',
3653
- ref: 'lex:app.bsky.graph.getFollowers#follower',
3765
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3654
3766
  },
3655
3767
  },
3656
3768
  },
3657
3769
  },
3658
3770
  },
3659
3771
  },
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
3772
  },
3690
3773
  },
3691
3774
  AppBskyGraphGetFollows: {
@@ -3730,42 +3813,13 @@ export const schemaDict = {
3730
3813
  type: 'array',
3731
3814
  items: {
3732
3815
  type: 'ref',
3733
- ref: 'lex:app.bsky.graph.getFollows#follow',
3816
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3734
3817
  },
3735
3818
  },
3736
3819
  },
3737
3820
  },
3738
3821
  },
3739
3822
  },
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
3823
  },
3770
3824
  },
3771
3825
  AppBskyGraphGetMutes: {
@@ -3802,36 +3856,13 @@ export const schemaDict = {
3802
3856
  type: 'array',
3803
3857
  items: {
3804
3858
  type: 'ref',
3805
- ref: 'lex:app.bsky.graph.getMutes#mute',
3859
+ ref: 'lex:app.bsky.actor.ref#withInfo',
3806
3860
  },
3807
3861
  },
3808
3862
  },
3809
3863
  },
3810
3864
  },
3811
3865
  },
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
3866
  },
3836
3867
  },
3837
3868
  AppBskyGraphMute: {
@@ -4096,6 +4127,7 @@ export const ids = {
4096
4127
  ComAtprotoAdminTakeModerationAction: 'com.atproto.admin.takeModerationAction',
4097
4128
  ComAtprotoBlobUpload: 'com.atproto.blob.upload',
4098
4129
  ComAtprotoHandleResolve: 'com.atproto.handle.resolve',
4130
+ ComAtprotoHandleUpdate: 'com.atproto.handle.update',
4099
4131
  ComAtprotoRepoBatchWrite: 'com.atproto.repo.batchWrite',
4100
4132
  ComAtprotoRepoCreateRecord: 'com.atproto.repo.createRecord',
4101
4133
  ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',
@@ -4114,11 +4146,15 @@ export const ids = {
4114
4146
  ComAtprotoSessionDelete: 'com.atproto.session.delete',
4115
4147
  ComAtprotoSessionGet: 'com.atproto.session.get',
4116
4148
  ComAtprotoSessionRefresh: 'com.atproto.session.refresh',
4149
+ ComAtprotoSyncGetBlocks: 'com.atproto.sync.getBlocks',
4117
4150
  ComAtprotoSyncGetCheckout: 'com.atproto.sync.getCheckout',
4118
4151
  ComAtprotoSyncGetCommitPath: 'com.atproto.sync.getCommitPath',
4119
4152
  ComAtprotoSyncGetHead: 'com.atproto.sync.getHead',
4120
4153
  ComAtprotoSyncGetRecord: 'com.atproto.sync.getRecord',
4121
4154
  ComAtprotoSyncGetRepo: 'com.atproto.sync.getRepo',
4155
+ ComAtprotoSyncNotifyOfUpdate: 'com.atproto.sync.notifyOfUpdate',
4156
+ ComAtprotoSyncRequestCrawl: 'com.atproto.sync.requestCrawl',
4157
+ ComAtprotoSyncSubscribeAllRepos: 'com.atproto.sync.subscribeAllRepos',
4122
4158
  AppBskyActorGetProfile: 'app.bsky.actor.getProfile',
4123
4159
  AppBskyActorGetProfiles: 'app.bsky.actor.getProfiles',
4124
4160
  AppBskyActorGetSuggestions: 'app.bsky.actor.getSuggestions',
@@ -4129,6 +4165,7 @@ export const ids = {
4129
4165
  AppBskyActorUpdateProfile: 'app.bsky.actor.updateProfile',
4130
4166
  AppBskyEmbedExternal: 'app.bsky.embed.external',
4131
4167
  AppBskyEmbedImages: 'app.bsky.embed.images',
4168
+ AppBskyEmbedRecord: 'app.bsky.embed.record',
4132
4169
  AppBskyFeedFeedViewPost: 'app.bsky.feed.feedViewPost',
4133
4170
  AppBskyFeedGetAuthorFeed: 'app.bsky.feed.getAuthorFeed',
4134
4171
  AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',