@atproto/pds 0.4.134 → 0.4.136

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 (48) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/LICENSE.txt +1 -1
  3. package/dist/account-manager/db/migrations/005-oauth-account-management.d.ts +3 -0
  4. package/dist/account-manager/db/migrations/005-oauth-account-management.d.ts.map +1 -1
  5. package/dist/account-manager/db/migrations/005-oauth-account-management.js +19 -1
  6. package/dist/account-manager/db/migrations/005-oauth-account-management.js.map +1 -1
  7. package/dist/api/com/atproto/identity/resolveHandle.d.ts.map +1 -1
  8. package/dist/api/com/atproto/identity/resolveHandle.js +13 -11
  9. package/dist/api/com/atproto/identity/resolveHandle.js.map +1 -1
  10. package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
  11. package/dist/api/com/atproto/repo/importRepo.js +1 -0
  12. package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
  13. package/dist/background.js +1 -1
  14. package/dist/background.js.map +1 -1
  15. package/dist/basic-routes.js +1 -1
  16. package/dist/basic-routes.js.map +1 -1
  17. package/dist/error.js +1 -1
  18. package/dist/error.js.map +1 -1
  19. package/dist/lexicon/index.d.ts +3 -0
  20. package/dist/lexicon/index.d.ts.map +1 -1
  21. package/dist/lexicon/index.js +4 -1
  22. package/dist/lexicon/index.js.map +1 -1
  23. package/dist/lexicon/lexicons.d.ts +160 -0
  24. package/dist/lexicon/lexicons.d.ts.map +1 -1
  25. package/dist/lexicon/lexicons.js +81 -0
  26. package/dist/lexicon/lexicons.js.map +1 -1
  27. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +21 -0
  28. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  29. package/dist/lexicon/types/app/bsky/actor/defs.js +9 -0
  30. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  31. package/dist/lexicon/types/app/bsky/actor/status.d.ts +23 -0
  32. package/dist/lexicon/types/app/bsky/actor/status.d.ts.map +1 -0
  33. package/dist/lexicon/types/app/bsky/actor/status.js +19 -0
  34. package/dist/lexicon/types/app/bsky/actor/status.js.map +1 -0
  35. package/dist/read-after-write/viewer.d.ts +3 -3
  36. package/dist/sequencer/events.d.ts +16 -16
  37. package/package.json +16 -16
  38. package/src/account-manager/db/migrations/005-oauth-account-management.ts +24 -1
  39. package/src/api/com/atproto/identity/resolveHandle.ts +17 -15
  40. package/src/api/com/atproto/repo/importRepo.ts +1 -0
  41. package/src/background.ts +1 -1
  42. package/src/basic-routes.ts +1 -1
  43. package/src/error.ts +1 -1
  44. package/src/lexicon/index.ts +3 -0
  45. package/src/lexicon/lexicons.ts +85 -0
  46. package/src/lexicon/types/app/bsky/actor/defs.ts +26 -0
  47. package/src/lexicon/types/app/bsky/actor/status.ts +40 -0
  48. package/tsconfig.build.tsbuildinfo +1 -1
@@ -4395,6 +4395,10 @@ exports.schemaDict = {
4395
4395
  type: 'ref',
4396
4396
  ref: 'lex:app.bsky.actor.defs#verificationState',
4397
4397
  },
4398
+ status: {
4399
+ type: 'ref',
4400
+ ref: 'lex:app.bsky.actor.defs#statusView',
4401
+ },
4398
4402
  },
4399
4403
  },
4400
4404
  profileView: {
@@ -4450,6 +4454,10 @@ exports.schemaDict = {
4450
4454
  type: 'ref',
4451
4455
  ref: 'lex:app.bsky.actor.defs#verificationState',
4452
4456
  },
4457
+ status: {
4458
+ type: 'ref',
4459
+ ref: 'lex:app.bsky.actor.defs#statusView',
4460
+ },
4453
4461
  },
4454
4462
  },
4455
4463
  profileViewDetailed: {
@@ -4526,6 +4534,10 @@ exports.schemaDict = {
4526
4534
  type: 'ref',
4527
4535
  ref: 'lex:app.bsky.actor.defs#verificationState',
4528
4536
  },
4537
+ status: {
4538
+ type: 'ref',
4539
+ ref: 'lex:app.bsky.actor.defs#statusView',
4540
+ },
4529
4541
  },
4530
4542
  },
4531
4543
  profileAssociated: {
@@ -5046,6 +5058,34 @@ exports.schemaDict = {
5046
5058
  },
5047
5059
  },
5048
5060
  },
5061
+ statusView: {
5062
+ type: 'object',
5063
+ required: ['status', 'record'],
5064
+ properties: {
5065
+ status: {
5066
+ type: 'string',
5067
+ description: 'The status for the account.',
5068
+ knownValues: ['app.bsky.actor.status#live'],
5069
+ },
5070
+ record: {
5071
+ type: 'unknown',
5072
+ },
5073
+ embed: {
5074
+ type: 'union',
5075
+ description: 'An optional embed associated with the status.',
5076
+ refs: ['lex:app.bsky.embed.external#view'],
5077
+ },
5078
+ expiresAt: {
5079
+ type: 'string',
5080
+ description: 'The date when this status will expire. The application might choose to no longer return the status after expiration.',
5081
+ format: 'datetime',
5082
+ },
5083
+ isActive: {
5084
+ type: 'boolean',
5085
+ description: 'True if the status is not expired, false if it is expired. Only present if expiration was set.',
5086
+ },
5087
+ },
5088
+ },
5049
5089
  },
5050
5090
  },
5051
5091
  AppBskyActorGetPreferences: {
@@ -5365,6 +5405,46 @@ exports.schemaDict = {
5365
5405
  },
5366
5406
  },
5367
5407
  },
5408
+ AppBskyActorStatus: {
5409
+ lexicon: 1,
5410
+ id: 'app.bsky.actor.status',
5411
+ defs: {
5412
+ main: {
5413
+ type: 'record',
5414
+ description: 'A declaration of a Bluesky account status.',
5415
+ key: 'literal:self',
5416
+ record: {
5417
+ type: 'object',
5418
+ required: ['status', 'createdAt'],
5419
+ properties: {
5420
+ status: {
5421
+ type: 'string',
5422
+ description: 'The status for the account.',
5423
+ knownValues: ['app.bsky.actor.status#live'],
5424
+ },
5425
+ embed: {
5426
+ type: 'union',
5427
+ description: 'An optional embed associated with the status.',
5428
+ refs: ['lex:app.bsky.embed.external'],
5429
+ },
5430
+ durationMinutes: {
5431
+ type: 'integer',
5432
+ description: 'The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.',
5433
+ minimum: 1,
5434
+ },
5435
+ createdAt: {
5436
+ type: 'string',
5437
+ format: 'datetime',
5438
+ },
5439
+ },
5440
+ },
5441
+ },
5442
+ live: {
5443
+ type: 'token',
5444
+ description: 'Advertises an account as currently offering live content.',
5445
+ },
5446
+ },
5447
+ },
5368
5448
  AppBskyEmbedDefs: {
5369
5449
  lexicon: 1,
5370
5450
  id: 'app.bsky.embed.defs',
@@ -15604,6 +15684,7 @@ exports.ids = {
15604
15684
  AppBskyActorPutPreferences: 'app.bsky.actor.putPreferences',
15605
15685
  AppBskyActorSearchActors: 'app.bsky.actor.searchActors',
15606
15686
  AppBskyActorSearchActorsTypeahead: 'app.bsky.actor.searchActorsTypeahead',
15687
+ AppBskyActorStatus: 'app.bsky.actor.status',
15607
15688
  AppBskyEmbedDefs: 'app.bsky.embed.defs',
15608
15689
  AppBskyEmbedExternal: 'app.bsky.embed.external',
15609
15690
  AppBskyEmbedImages: 'app.bsky.embed.images',