@atproto/api 0.1.0 → 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.
- package/dist/client/index.d.ts +7 -0
- package/dist/client/lexicons.d.ts +254 -240
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -24
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +19 -0
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +2 -15
- package/dist/client/types/app/bsky/actor/profile.d.ts +48 -0
- package/dist/client/types/app/bsky/actor/ref.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/search.d.ts +2 -15
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +2 -13
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +2 -15
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -15
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -15
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +2 -13
- package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +2 -1
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +20 -0
- package/dist/index.js +632 -544
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +28 -0
- package/src/client/lexicons.ts +282 -262
- package/src/client/types/app/bsky/actor/getProfile.ts +2 -35
- package/src/client/types/app/bsky/actor/getProfiles.ts +35 -0
- package/src/client/types/app/bsky/actor/getSuggestions.ts +2 -25
- package/src/client/types/app/bsky/actor/profile.ts +91 -0
- package/src/client/types/app/bsky/actor/ref.ts +2 -0
- package/src/client/types/app/bsky/actor/search.ts +2 -23
- package/src/client/types/app/bsky/actor/searchTypeahead.ts +2 -23
- package/src/client/types/app/bsky/feed/getRepostedBy.ts +2 -25
- package/src/client/types/app/bsky/graph/getFollowers.ts +1 -25
- package/src/client/types/app/bsky/graph/getFollows.ts +1 -25
- package/src/client/types/app/bsky/graph/getMutes.ts +2 -23
- package/src/client/types/com/atproto/handle/update.ts +31 -0
- package/src/client/types/com/atproto/report/reasonType.ts +2 -2
- package/src/client/types/com/atproto/sync/getRepo.ts +4 -2
- package/src/client/types/com/atproto/sync/subscribeAllRepos.ts +48 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/src/client/lexicons.ts
CHANGED
|
@@ -302,7 +302,7 @@ export const schemaDict = {
|
|
|
302
302
|
required: ['id'],
|
|
303
303
|
properties: {
|
|
304
304
|
id: {
|
|
305
|
-
type: '
|
|
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: '
|
|
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.
|
|
1774
|
-
'com.atproto.report.
|
|
1795
|
+
'com.atproto.report.reasonType#spam',
|
|
1796
|
+
'com.atproto.report.reasonType#other',
|
|
1775
1797
|
],
|
|
1776
1798
|
},
|
|
1777
1799
|
spam: {
|
|
@@ -2155,9 +2177,15 @@ export const schemaDict = {
|
|
|
2155
2177
|
type: 'string',
|
|
2156
2178
|
description: 'The DID of the repo.',
|
|
2157
2179
|
},
|
|
2158
|
-
|
|
2180
|
+
earliest: {
|
|
2181
|
+
type: 'string',
|
|
2182
|
+
description:
|
|
2183
|
+
'The earliest commit in the commit range (not inclusive)',
|
|
2184
|
+
},
|
|
2185
|
+
latest: {
|
|
2159
2186
|
type: 'string',
|
|
2160
|
-
description:
|
|
2187
|
+
description:
|
|
2188
|
+
'The latest commit you in the commit range (inclusive',
|
|
2161
2189
|
},
|
|
2162
2190
|
},
|
|
2163
2191
|
},
|
|
@@ -2167,6 +2195,81 @@ export const schemaDict = {
|
|
|
2167
2195
|
},
|
|
2168
2196
|
},
|
|
2169
2197
|
},
|
|
2198
|
+
ComAtprotoSyncSubscribeAllRepos: {
|
|
2199
|
+
lexicon: 1,
|
|
2200
|
+
id: 'com.atproto.sync.subscribeAllRepos',
|
|
2201
|
+
defs: {
|
|
2202
|
+
main: {
|
|
2203
|
+
type: 'subscription',
|
|
2204
|
+
description: 'Subscribe to repo updates',
|
|
2205
|
+
parameters: {
|
|
2206
|
+
type: 'params',
|
|
2207
|
+
properties: {
|
|
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.',
|
|
2212
|
+
},
|
|
2213
|
+
},
|
|
2214
|
+
},
|
|
2215
|
+
message: {
|
|
2216
|
+
schema: {
|
|
2217
|
+
type: 'union',
|
|
2218
|
+
refs: [
|
|
2219
|
+
'lex:com.atproto.sync.subscribeAllRepos#repoAppend',
|
|
2220
|
+
'lex:com.atproto.sync.subscribeAllRepos#repoRebase',
|
|
2221
|
+
],
|
|
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',
|
|
2252
|
+
},
|
|
2253
|
+
},
|
|
2254
|
+
},
|
|
2255
|
+
},
|
|
2256
|
+
repoRebase: {
|
|
2257
|
+
type: 'object',
|
|
2258
|
+
required: ['time', 'repo', 'commit'],
|
|
2259
|
+
properties: {
|
|
2260
|
+
time: {
|
|
2261
|
+
type: 'datetime',
|
|
2262
|
+
},
|
|
2263
|
+
repo: {
|
|
2264
|
+
type: 'string',
|
|
2265
|
+
},
|
|
2266
|
+
commit: {
|
|
2267
|
+
type: 'string',
|
|
2268
|
+
},
|
|
2269
|
+
},
|
|
2270
|
+
},
|
|
2271
|
+
},
|
|
2272
|
+
},
|
|
2170
2273
|
AppBskyActorGetProfile: {
|
|
2171
2274
|
lexicon: 1,
|
|
2172
2275
|
id: 'app.bsky.actor.getProfile',
|
|
@@ -2185,69 +2288,46 @@ export const schemaDict = {
|
|
|
2185
2288
|
output: {
|
|
2186
2289
|
encoding: 'application/json',
|
|
2187
2290
|
schema: {
|
|
2188
|
-
type: '
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
},
|
|
2209
|
-
creator: {
|
|
2210
|
-
type: 'string',
|
|
2211
|
-
},
|
|
2212
|
-
displayName: {
|
|
2213
|
-
type: 'string',
|
|
2214
|
-
maxLength: 64,
|
|
2215
|
-
},
|
|
2216
|
-
description: {
|
|
2217
|
-
type: 'string',
|
|
2218
|
-
maxLength: 256,
|
|
2219
|
-
},
|
|
2220
|
-
avatar: {
|
|
2221
|
-
type: 'string',
|
|
2222
|
-
},
|
|
2223
|
-
banner: {
|
|
2291
|
+
type: 'ref',
|
|
2292
|
+
ref: 'lex:app.bsky.actor.profile#view',
|
|
2293
|
+
},
|
|
2294
|
+
},
|
|
2295
|
+
},
|
|
2296
|
+
},
|
|
2297
|
+
},
|
|
2298
|
+
AppBskyActorGetProfiles: {
|
|
2299
|
+
lexicon: 1,
|
|
2300
|
+
id: 'app.bsky.actor.getProfiles',
|
|
2301
|
+
defs: {
|
|
2302
|
+
main: {
|
|
2303
|
+
type: 'query',
|
|
2304
|
+
parameters: {
|
|
2305
|
+
type: 'params',
|
|
2306
|
+
required: ['actors'],
|
|
2307
|
+
properties: {
|
|
2308
|
+
actors: {
|
|
2309
|
+
type: 'array',
|
|
2310
|
+
items: {
|
|
2224
2311
|
type: 'string',
|
|
2225
2312
|
},
|
|
2226
|
-
|
|
2227
|
-
type: 'integer',
|
|
2228
|
-
},
|
|
2229
|
-
followsCount: {
|
|
2230
|
-
type: 'integer',
|
|
2231
|
-
},
|
|
2232
|
-
postsCount: {
|
|
2233
|
-
type: 'integer',
|
|
2234
|
-
},
|
|
2235
|
-
myState: {
|
|
2236
|
-
type: 'ref',
|
|
2237
|
-
ref: 'lex:app.bsky.actor.getProfile#myState',
|
|
2238
|
-
},
|
|
2313
|
+
maxLength: 25,
|
|
2239
2314
|
},
|
|
2240
2315
|
},
|
|
2241
2316
|
},
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2317
|
+
output: {
|
|
2318
|
+
encoding: 'application/json',
|
|
2319
|
+
schema: {
|
|
2320
|
+
type: 'object',
|
|
2321
|
+
required: ['profiles'],
|
|
2322
|
+
properties: {
|
|
2323
|
+
profiles: {
|
|
2324
|
+
type: 'array',
|
|
2325
|
+
items: {
|
|
2326
|
+
type: 'ref',
|
|
2327
|
+
ref: 'lex:app.bsky.actor.profile#view',
|
|
2328
|
+
},
|
|
2329
|
+
},
|
|
2330
|
+
},
|
|
2251
2331
|
},
|
|
2252
2332
|
},
|
|
2253
2333
|
},
|
|
@@ -2288,42 +2368,13 @@ export const schemaDict = {
|
|
|
2288
2368
|
type: 'array',
|
|
2289
2369
|
items: {
|
|
2290
2370
|
type: 'ref',
|
|
2291
|
-
ref: 'lex:app.bsky.actor.
|
|
2371
|
+
ref: 'lex:app.bsky.actor.profile#viewBasic',
|
|
2292
2372
|
},
|
|
2293
2373
|
},
|
|
2294
2374
|
},
|
|
2295
2375
|
},
|
|
2296
2376
|
},
|
|
2297
2377
|
},
|
|
2298
|
-
actor: {
|
|
2299
|
-
type: 'object',
|
|
2300
|
-
required: ['did', 'declaration', 'handle'],
|
|
2301
|
-
properties: {
|
|
2302
|
-
did: {
|
|
2303
|
-
type: 'string',
|
|
2304
|
-
},
|
|
2305
|
-
declaration: {
|
|
2306
|
-
type: 'ref',
|
|
2307
|
-
ref: 'lex:app.bsky.system.declRef',
|
|
2308
|
-
},
|
|
2309
|
-
handle: {
|
|
2310
|
-
type: 'string',
|
|
2311
|
-
},
|
|
2312
|
-
displayName: {
|
|
2313
|
-
type: 'string',
|
|
2314
|
-
maxLength: 64,
|
|
2315
|
-
},
|
|
2316
|
-
description: {
|
|
2317
|
-
type: 'string',
|
|
2318
|
-
},
|
|
2319
|
-
avatar: {
|
|
2320
|
-
type: 'string',
|
|
2321
|
-
},
|
|
2322
|
-
indexedAt: {
|
|
2323
|
-
type: 'datetime',
|
|
2324
|
-
},
|
|
2325
|
-
},
|
|
2326
|
-
},
|
|
2327
2378
|
},
|
|
2328
2379
|
},
|
|
2329
2380
|
AppBskyActorProfile: {
|
|
@@ -2362,6 +2413,128 @@ export const schemaDict = {
|
|
|
2362
2413
|
},
|
|
2363
2414
|
},
|
|
2364
2415
|
},
|
|
2416
|
+
view: {
|
|
2417
|
+
type: 'object',
|
|
2418
|
+
required: [
|
|
2419
|
+
'did',
|
|
2420
|
+
'declaration',
|
|
2421
|
+
'handle',
|
|
2422
|
+
'creator',
|
|
2423
|
+
'followersCount',
|
|
2424
|
+
'followsCount',
|
|
2425
|
+
'postsCount',
|
|
2426
|
+
],
|
|
2427
|
+
properties: {
|
|
2428
|
+
did: {
|
|
2429
|
+
type: 'string',
|
|
2430
|
+
},
|
|
2431
|
+
declaration: {
|
|
2432
|
+
type: 'ref',
|
|
2433
|
+
ref: 'lex:app.bsky.system.declRef',
|
|
2434
|
+
},
|
|
2435
|
+
handle: {
|
|
2436
|
+
type: 'string',
|
|
2437
|
+
},
|
|
2438
|
+
displayName: {
|
|
2439
|
+
type: 'string',
|
|
2440
|
+
maxLength: 64,
|
|
2441
|
+
},
|
|
2442
|
+
description: {
|
|
2443
|
+
type: 'string',
|
|
2444
|
+
maxLength: 256,
|
|
2445
|
+
},
|
|
2446
|
+
avatar: {
|
|
2447
|
+
type: 'string',
|
|
2448
|
+
},
|
|
2449
|
+
banner: {
|
|
2450
|
+
type: 'string',
|
|
2451
|
+
},
|
|
2452
|
+
followersCount: {
|
|
2453
|
+
type: 'integer',
|
|
2454
|
+
},
|
|
2455
|
+
followsCount: {
|
|
2456
|
+
type: 'integer',
|
|
2457
|
+
},
|
|
2458
|
+
postsCount: {
|
|
2459
|
+
type: 'integer',
|
|
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
|
+
},
|
|
2471
|
+
myState: {
|
|
2472
|
+
type: 'ref',
|
|
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',
|
|
2523
|
+
},
|
|
2524
|
+
},
|
|
2525
|
+
},
|
|
2526
|
+
myState: {
|
|
2527
|
+
type: 'object',
|
|
2528
|
+
description: 'Deprecated in favor of #viewerState',
|
|
2529
|
+
properties: {
|
|
2530
|
+
follow: {
|
|
2531
|
+
type: 'string',
|
|
2532
|
+
},
|
|
2533
|
+
muted: {
|
|
2534
|
+
type: 'boolean',
|
|
2535
|
+
},
|
|
2536
|
+
},
|
|
2537
|
+
},
|
|
2365
2538
|
},
|
|
2366
2539
|
},
|
|
2367
2540
|
AppBskyActorRef: {
|
|
@@ -2414,6 +2587,12 @@ export const schemaDict = {
|
|
|
2414
2587
|
muted: {
|
|
2415
2588
|
type: 'boolean',
|
|
2416
2589
|
},
|
|
2590
|
+
following: {
|
|
2591
|
+
type: 'string',
|
|
2592
|
+
},
|
|
2593
|
+
followedBy: {
|
|
2594
|
+
type: 'string',
|
|
2595
|
+
},
|
|
2417
2596
|
},
|
|
2418
2597
|
},
|
|
2419
2598
|
},
|
|
@@ -2455,42 +2634,13 @@ export const schemaDict = {
|
|
|
2455
2634
|
type: 'array',
|
|
2456
2635
|
items: {
|
|
2457
2636
|
type: 'ref',
|
|
2458
|
-
ref: 'lex:app.bsky.actor.
|
|
2637
|
+
ref: 'lex:app.bsky.actor.profile#viewBasic',
|
|
2459
2638
|
},
|
|
2460
2639
|
},
|
|
2461
2640
|
},
|
|
2462
2641
|
},
|
|
2463
2642
|
},
|
|
2464
2643
|
},
|
|
2465
|
-
user: {
|
|
2466
|
-
type: 'object',
|
|
2467
|
-
required: ['did', 'declaration', 'handle'],
|
|
2468
|
-
properties: {
|
|
2469
|
-
did: {
|
|
2470
|
-
type: 'string',
|
|
2471
|
-
},
|
|
2472
|
-
declaration: {
|
|
2473
|
-
type: 'ref',
|
|
2474
|
-
ref: 'lex:app.bsky.system.declRef',
|
|
2475
|
-
},
|
|
2476
|
-
handle: {
|
|
2477
|
-
type: 'string',
|
|
2478
|
-
},
|
|
2479
|
-
displayName: {
|
|
2480
|
-
type: 'string',
|
|
2481
|
-
maxLength: 64,
|
|
2482
|
-
},
|
|
2483
|
-
avatar: {
|
|
2484
|
-
type: 'string',
|
|
2485
|
-
},
|
|
2486
|
-
description: {
|
|
2487
|
-
type: 'string',
|
|
2488
|
-
},
|
|
2489
|
-
indexedAt: {
|
|
2490
|
-
type: 'datetime',
|
|
2491
|
-
},
|
|
2492
|
-
},
|
|
2493
|
-
},
|
|
2494
2644
|
},
|
|
2495
2645
|
},
|
|
2496
2646
|
AppBskyActorSearchTypeahead: {
|
|
@@ -2524,36 +2674,13 @@ export const schemaDict = {
|
|
|
2524
2674
|
type: 'array',
|
|
2525
2675
|
items: {
|
|
2526
2676
|
type: 'ref',
|
|
2527
|
-
ref: 'lex:app.bsky.actor.
|
|
2677
|
+
ref: 'lex:app.bsky.actor.ref#withInfo',
|
|
2528
2678
|
},
|
|
2529
2679
|
},
|
|
2530
2680
|
},
|
|
2531
2681
|
},
|
|
2532
2682
|
},
|
|
2533
2683
|
},
|
|
2534
|
-
user: {
|
|
2535
|
-
type: 'object',
|
|
2536
|
-
required: ['did', 'declaration', 'handle'],
|
|
2537
|
-
properties: {
|
|
2538
|
-
did: {
|
|
2539
|
-
type: 'string',
|
|
2540
|
-
},
|
|
2541
|
-
declaration: {
|
|
2542
|
-
type: 'ref',
|
|
2543
|
-
ref: 'lex:app.bsky.system.declRef',
|
|
2544
|
-
},
|
|
2545
|
-
handle: {
|
|
2546
|
-
type: 'string',
|
|
2547
|
-
},
|
|
2548
|
-
displayName: {
|
|
2549
|
-
type: 'string',
|
|
2550
|
-
maxLength: 64,
|
|
2551
|
-
},
|
|
2552
|
-
avatar: {
|
|
2553
|
-
type: 'string',
|
|
2554
|
-
},
|
|
2555
|
-
},
|
|
2556
|
-
},
|
|
2557
2684
|
},
|
|
2558
2685
|
},
|
|
2559
2686
|
AppBskyActorUpdateProfile: {
|
|
@@ -2988,42 +3115,13 @@ export const schemaDict = {
|
|
|
2988
3115
|
type: 'array',
|
|
2989
3116
|
items: {
|
|
2990
3117
|
type: 'ref',
|
|
2991
|
-
ref: 'lex:app.bsky.
|
|
3118
|
+
ref: 'lex:app.bsky.actor.ref#withInfo',
|
|
2992
3119
|
},
|
|
2993
3120
|
},
|
|
2994
3121
|
},
|
|
2995
3122
|
},
|
|
2996
3123
|
},
|
|
2997
3124
|
},
|
|
2998
|
-
repostedBy: {
|
|
2999
|
-
type: 'object',
|
|
3000
|
-
required: ['did', 'declaration', 'handle', 'indexedAt'],
|
|
3001
|
-
properties: {
|
|
3002
|
-
did: {
|
|
3003
|
-
type: 'string',
|
|
3004
|
-
},
|
|
3005
|
-
declaration: {
|
|
3006
|
-
type: 'ref',
|
|
3007
|
-
ref: 'lex:app.bsky.system.declRef',
|
|
3008
|
-
},
|
|
3009
|
-
handle: {
|
|
3010
|
-
type: 'string',
|
|
3011
|
-
},
|
|
3012
|
-
displayName: {
|
|
3013
|
-
type: 'string',
|
|
3014
|
-
maxLength: 64,
|
|
3015
|
-
},
|
|
3016
|
-
avatar: {
|
|
3017
|
-
type: 'string',
|
|
3018
|
-
},
|
|
3019
|
-
createdAt: {
|
|
3020
|
-
type: 'datetime',
|
|
3021
|
-
},
|
|
3022
|
-
indexedAt: {
|
|
3023
|
-
type: 'datetime',
|
|
3024
|
-
},
|
|
3025
|
-
},
|
|
3026
|
-
},
|
|
3027
3125
|
},
|
|
3028
3126
|
},
|
|
3029
3127
|
AppBskyFeedGetTimeline: {
|
|
@@ -3541,42 +3639,13 @@ export const schemaDict = {
|
|
|
3541
3639
|
type: 'array',
|
|
3542
3640
|
items: {
|
|
3543
3641
|
type: 'ref',
|
|
3544
|
-
ref: 'lex:app.bsky.
|
|
3642
|
+
ref: 'lex:app.bsky.actor.ref#withInfo',
|
|
3545
3643
|
},
|
|
3546
3644
|
},
|
|
3547
3645
|
},
|
|
3548
3646
|
},
|
|
3549
3647
|
},
|
|
3550
3648
|
},
|
|
3551
|
-
follower: {
|
|
3552
|
-
type: 'object',
|
|
3553
|
-
required: ['did', 'declaration', 'handle', 'indexedAt'],
|
|
3554
|
-
properties: {
|
|
3555
|
-
did: {
|
|
3556
|
-
type: 'string',
|
|
3557
|
-
},
|
|
3558
|
-
declaration: {
|
|
3559
|
-
type: 'ref',
|
|
3560
|
-
ref: 'lex:app.bsky.system.declRef',
|
|
3561
|
-
},
|
|
3562
|
-
handle: {
|
|
3563
|
-
type: 'string',
|
|
3564
|
-
},
|
|
3565
|
-
displayName: {
|
|
3566
|
-
type: 'string',
|
|
3567
|
-
maxLength: 64,
|
|
3568
|
-
},
|
|
3569
|
-
avatar: {
|
|
3570
|
-
type: 'string',
|
|
3571
|
-
},
|
|
3572
|
-
createdAt: {
|
|
3573
|
-
type: 'datetime',
|
|
3574
|
-
},
|
|
3575
|
-
indexedAt: {
|
|
3576
|
-
type: 'datetime',
|
|
3577
|
-
},
|
|
3578
|
-
},
|
|
3579
|
-
},
|
|
3580
3649
|
},
|
|
3581
3650
|
},
|
|
3582
3651
|
AppBskyGraphGetFollows: {
|
|
@@ -3621,42 +3690,13 @@ export const schemaDict = {
|
|
|
3621
3690
|
type: 'array',
|
|
3622
3691
|
items: {
|
|
3623
3692
|
type: 'ref',
|
|
3624
|
-
ref: 'lex:app.bsky.
|
|
3693
|
+
ref: 'lex:app.bsky.actor.ref#withInfo',
|
|
3625
3694
|
},
|
|
3626
3695
|
},
|
|
3627
3696
|
},
|
|
3628
3697
|
},
|
|
3629
3698
|
},
|
|
3630
3699
|
},
|
|
3631
|
-
follow: {
|
|
3632
|
-
type: 'object',
|
|
3633
|
-
required: ['did', 'declaration', 'handle', 'indexedAt'],
|
|
3634
|
-
properties: {
|
|
3635
|
-
did: {
|
|
3636
|
-
type: 'string',
|
|
3637
|
-
},
|
|
3638
|
-
declaration: {
|
|
3639
|
-
type: 'ref',
|
|
3640
|
-
ref: 'lex:app.bsky.system.declRef',
|
|
3641
|
-
},
|
|
3642
|
-
handle: {
|
|
3643
|
-
type: 'string',
|
|
3644
|
-
},
|
|
3645
|
-
displayName: {
|
|
3646
|
-
type: 'string',
|
|
3647
|
-
maxLength: 64,
|
|
3648
|
-
},
|
|
3649
|
-
avatar: {
|
|
3650
|
-
type: 'string',
|
|
3651
|
-
},
|
|
3652
|
-
createdAt: {
|
|
3653
|
-
type: 'datetime',
|
|
3654
|
-
},
|
|
3655
|
-
indexedAt: {
|
|
3656
|
-
type: 'datetime',
|
|
3657
|
-
},
|
|
3658
|
-
},
|
|
3659
|
-
},
|
|
3660
3700
|
},
|
|
3661
3701
|
},
|
|
3662
3702
|
AppBskyGraphGetMutes: {
|
|
@@ -3693,36 +3733,13 @@ export const schemaDict = {
|
|
|
3693
3733
|
type: 'array',
|
|
3694
3734
|
items: {
|
|
3695
3735
|
type: 'ref',
|
|
3696
|
-
ref: 'lex:app.bsky.
|
|
3736
|
+
ref: 'lex:app.bsky.actor.ref#withInfo',
|
|
3697
3737
|
},
|
|
3698
3738
|
},
|
|
3699
3739
|
},
|
|
3700
3740
|
},
|
|
3701
3741
|
},
|
|
3702
3742
|
},
|
|
3703
|
-
mute: {
|
|
3704
|
-
type: 'object',
|
|
3705
|
-
required: ['did', 'declaration', 'handle', 'createdAt'],
|
|
3706
|
-
properties: {
|
|
3707
|
-
did: {
|
|
3708
|
-
type: 'string',
|
|
3709
|
-
},
|
|
3710
|
-
declaration: {
|
|
3711
|
-
type: 'ref',
|
|
3712
|
-
ref: 'lex:app.bsky.system.declRef',
|
|
3713
|
-
},
|
|
3714
|
-
handle: {
|
|
3715
|
-
type: 'string',
|
|
3716
|
-
},
|
|
3717
|
-
displayName: {
|
|
3718
|
-
type: 'string',
|
|
3719
|
-
maxLength: 64,
|
|
3720
|
-
},
|
|
3721
|
-
createdAt: {
|
|
3722
|
-
type: 'datetime',
|
|
3723
|
-
},
|
|
3724
|
-
},
|
|
3725
|
-
},
|
|
3726
3743
|
},
|
|
3727
3744
|
},
|
|
3728
3745
|
AppBskyGraphMute: {
|
|
@@ -3987,6 +4004,7 @@ export const ids = {
|
|
|
3987
4004
|
ComAtprotoAdminTakeModerationAction: 'com.atproto.admin.takeModerationAction',
|
|
3988
4005
|
ComAtprotoBlobUpload: 'com.atproto.blob.upload',
|
|
3989
4006
|
ComAtprotoHandleResolve: 'com.atproto.handle.resolve',
|
|
4007
|
+
ComAtprotoHandleUpdate: 'com.atproto.handle.update',
|
|
3990
4008
|
ComAtprotoRepoBatchWrite: 'com.atproto.repo.batchWrite',
|
|
3991
4009
|
ComAtprotoRepoCreateRecord: 'com.atproto.repo.createRecord',
|
|
3992
4010
|
ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',
|
|
@@ -4010,7 +4028,9 @@ export const ids = {
|
|
|
4010
4028
|
ComAtprotoSyncGetHead: 'com.atproto.sync.getHead',
|
|
4011
4029
|
ComAtprotoSyncGetRecord: 'com.atproto.sync.getRecord',
|
|
4012
4030
|
ComAtprotoSyncGetRepo: 'com.atproto.sync.getRepo',
|
|
4031
|
+
ComAtprotoSyncSubscribeAllRepos: 'com.atproto.sync.subscribeAllRepos',
|
|
4013
4032
|
AppBskyActorGetProfile: 'app.bsky.actor.getProfile',
|
|
4033
|
+
AppBskyActorGetProfiles: 'app.bsky.actor.getProfiles',
|
|
4014
4034
|
AppBskyActorGetSuggestions: 'app.bsky.actor.getSuggestions',
|
|
4015
4035
|
AppBskyActorProfile: 'app.bsky.actor.profile',
|
|
4016
4036
|
AppBskyActorRef: 'app.bsky.actor.ref',
|