@atproto/pds 0.4.145 → 0.4.146
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/CHANGELOG.md +9 -0
- package/dist/lexicon/index.d.ts +4 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +8 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +418 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +225 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.js +36 -0
- package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts +35 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts +52 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js.map +1 -0
- package/package.json +5 -5
- package/src/lexicon/index.ts +24 -0
- package/src/lexicon/lexicons.ts +227 -0
- package/src/lexicon/types/app/bsky/notification/defs.ts +76 -0
- package/src/lexicon/types/app/bsky/notification/getPreferences.ts +52 -0
- package/src/lexicon/types/app/bsky/notification/putPreferencesV2.ts +69 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
@@ -9405,6 +9405,146 @@ exports.schemaDict = {
|
|
9405
9405
|
type: 'object',
|
9406
9406
|
properties: {},
|
9407
9407
|
},
|
9408
|
+
chatPreference: {
|
9409
|
+
type: 'object',
|
9410
|
+
required: ['filter', 'push'],
|
9411
|
+
properties: {
|
9412
|
+
filter: {
|
9413
|
+
type: 'string',
|
9414
|
+
knownValues: ['all', 'accepted'],
|
9415
|
+
},
|
9416
|
+
push: {
|
9417
|
+
type: 'boolean',
|
9418
|
+
},
|
9419
|
+
},
|
9420
|
+
},
|
9421
|
+
filterablePreference: {
|
9422
|
+
type: 'object',
|
9423
|
+
required: ['filter', 'list', 'push'],
|
9424
|
+
properties: {
|
9425
|
+
filter: {
|
9426
|
+
type: 'string',
|
9427
|
+
knownValues: ['all', 'follows'],
|
9428
|
+
},
|
9429
|
+
list: {
|
9430
|
+
type: 'boolean',
|
9431
|
+
},
|
9432
|
+
push: {
|
9433
|
+
type: 'boolean',
|
9434
|
+
},
|
9435
|
+
},
|
9436
|
+
},
|
9437
|
+
preference: {
|
9438
|
+
type: 'object',
|
9439
|
+
required: ['list', 'push'],
|
9440
|
+
properties: {
|
9441
|
+
list: {
|
9442
|
+
type: 'boolean',
|
9443
|
+
},
|
9444
|
+
push: {
|
9445
|
+
type: 'boolean',
|
9446
|
+
},
|
9447
|
+
},
|
9448
|
+
},
|
9449
|
+
preferences: {
|
9450
|
+
type: 'object',
|
9451
|
+
required: [
|
9452
|
+
'chat',
|
9453
|
+
'follow',
|
9454
|
+
'like',
|
9455
|
+
'likeViaRepost',
|
9456
|
+
'mention',
|
9457
|
+
'quote',
|
9458
|
+
'reply',
|
9459
|
+
'repost',
|
9460
|
+
'repostViaRepost',
|
9461
|
+
'starterpackJoined',
|
9462
|
+
'subscribedPost',
|
9463
|
+
'unverified',
|
9464
|
+
'verified',
|
9465
|
+
],
|
9466
|
+
properties: {
|
9467
|
+
chat: {
|
9468
|
+
type: 'ref',
|
9469
|
+
ref: 'lex:app.bsky.notification.defs#chatPreference',
|
9470
|
+
},
|
9471
|
+
follow: {
|
9472
|
+
type: 'ref',
|
9473
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9474
|
+
},
|
9475
|
+
like: {
|
9476
|
+
type: 'ref',
|
9477
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9478
|
+
},
|
9479
|
+
likeViaRepost: {
|
9480
|
+
type: 'ref',
|
9481
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9482
|
+
},
|
9483
|
+
mention: {
|
9484
|
+
type: 'ref',
|
9485
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9486
|
+
},
|
9487
|
+
quote: {
|
9488
|
+
type: 'ref',
|
9489
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9490
|
+
},
|
9491
|
+
reply: {
|
9492
|
+
type: 'ref',
|
9493
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9494
|
+
},
|
9495
|
+
repost: {
|
9496
|
+
type: 'ref',
|
9497
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9498
|
+
},
|
9499
|
+
repostViaRepost: {
|
9500
|
+
type: 'ref',
|
9501
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9502
|
+
},
|
9503
|
+
starterpackJoined: {
|
9504
|
+
type: 'ref',
|
9505
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9506
|
+
},
|
9507
|
+
subscribedPost: {
|
9508
|
+
type: 'ref',
|
9509
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9510
|
+
},
|
9511
|
+
unverified: {
|
9512
|
+
type: 'ref',
|
9513
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9514
|
+
},
|
9515
|
+
verified: {
|
9516
|
+
type: 'ref',
|
9517
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9518
|
+
},
|
9519
|
+
},
|
9520
|
+
},
|
9521
|
+
},
|
9522
|
+
},
|
9523
|
+
AppBskyNotificationGetPreferences: {
|
9524
|
+
lexicon: 1,
|
9525
|
+
id: 'app.bsky.notification.getPreferences',
|
9526
|
+
defs: {
|
9527
|
+
main: {
|
9528
|
+
type: 'query',
|
9529
|
+
description: 'Get notification-related preferences for an account. Requires auth.',
|
9530
|
+
parameters: {
|
9531
|
+
type: 'params',
|
9532
|
+
properties: {},
|
9533
|
+
},
|
9534
|
+
output: {
|
9535
|
+
encoding: 'application/json',
|
9536
|
+
schema: {
|
9537
|
+
type: 'object',
|
9538
|
+
required: ['preferences'],
|
9539
|
+
properties: {
|
9540
|
+
preferences: {
|
9541
|
+
type: 'ref',
|
9542
|
+
ref: 'lex:app.bsky.notification.defs#preferences',
|
9543
|
+
},
|
9544
|
+
},
|
9545
|
+
},
|
9546
|
+
},
|
9547
|
+
},
|
9408
9548
|
},
|
9409
9549
|
},
|
9410
9550
|
AppBskyNotificationGetUnreadCount: {
|
@@ -9592,6 +9732,89 @@ exports.schemaDict = {
|
|
9592
9732
|
},
|
9593
9733
|
},
|
9594
9734
|
},
|
9735
|
+
AppBskyNotificationPutPreferencesV2: {
|
9736
|
+
lexicon: 1,
|
9737
|
+
id: 'app.bsky.notification.putPreferencesV2',
|
9738
|
+
defs: {
|
9739
|
+
main: {
|
9740
|
+
type: 'procedure',
|
9741
|
+
description: 'Set notification-related preferences for an account. Requires auth.',
|
9742
|
+
input: {
|
9743
|
+
encoding: 'application/json',
|
9744
|
+
schema: {
|
9745
|
+
type: 'object',
|
9746
|
+
properties: {
|
9747
|
+
chat: {
|
9748
|
+
type: 'ref',
|
9749
|
+
ref: 'lex:app.bsky.notification.defs#chatPreference',
|
9750
|
+
},
|
9751
|
+
follow: {
|
9752
|
+
type: 'ref',
|
9753
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9754
|
+
},
|
9755
|
+
like: {
|
9756
|
+
type: 'ref',
|
9757
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9758
|
+
},
|
9759
|
+
likeViaRepost: {
|
9760
|
+
type: 'ref',
|
9761
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9762
|
+
},
|
9763
|
+
mention: {
|
9764
|
+
type: 'ref',
|
9765
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9766
|
+
},
|
9767
|
+
quote: {
|
9768
|
+
type: 'ref',
|
9769
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9770
|
+
},
|
9771
|
+
reply: {
|
9772
|
+
type: 'ref',
|
9773
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9774
|
+
},
|
9775
|
+
repost: {
|
9776
|
+
type: 'ref',
|
9777
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9778
|
+
},
|
9779
|
+
repostViaRepost: {
|
9780
|
+
type: 'ref',
|
9781
|
+
ref: 'lex:app.bsky.notification.defs#filterablePreference',
|
9782
|
+
},
|
9783
|
+
starterpackJoined: {
|
9784
|
+
type: 'ref',
|
9785
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9786
|
+
},
|
9787
|
+
subscribedPost: {
|
9788
|
+
type: 'ref',
|
9789
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9790
|
+
},
|
9791
|
+
unverified: {
|
9792
|
+
type: 'ref',
|
9793
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9794
|
+
},
|
9795
|
+
verified: {
|
9796
|
+
type: 'ref',
|
9797
|
+
ref: 'lex:app.bsky.notification.defs#preference',
|
9798
|
+
},
|
9799
|
+
},
|
9800
|
+
},
|
9801
|
+
},
|
9802
|
+
output: {
|
9803
|
+
encoding: 'application/json',
|
9804
|
+
schema: {
|
9805
|
+
type: 'object',
|
9806
|
+
required: ['preferences'],
|
9807
|
+
properties: {
|
9808
|
+
preferences: {
|
9809
|
+
type: 'ref',
|
9810
|
+
ref: 'lex:app.bsky.notification.defs#preferences',
|
9811
|
+
},
|
9812
|
+
},
|
9813
|
+
},
|
9814
|
+
},
|
9815
|
+
},
|
9816
|
+
},
|
9817
|
+
},
|
9595
9818
|
AppBskyNotificationRegisterPush: {
|
9596
9819
|
lexicon: 1,
|
9597
9820
|
id: 'app.bsky.notification.registerPush',
|
@@ -16022,9 +16245,11 @@ exports.ids = {
|
|
16022
16245
|
AppBskyLabelerGetServices: 'app.bsky.labeler.getServices',
|
16023
16246
|
AppBskyLabelerService: 'app.bsky.labeler.service',
|
16024
16247
|
AppBskyNotificationDefs: 'app.bsky.notification.defs',
|
16248
|
+
AppBskyNotificationGetPreferences: 'app.bsky.notification.getPreferences',
|
16025
16249
|
AppBskyNotificationGetUnreadCount: 'app.bsky.notification.getUnreadCount',
|
16026
16250
|
AppBskyNotificationListNotifications: 'app.bsky.notification.listNotifications',
|
16027
16251
|
AppBskyNotificationPutPreferences: 'app.bsky.notification.putPreferences',
|
16252
|
+
AppBskyNotificationPutPreferencesV2: 'app.bsky.notification.putPreferencesV2',
|
16028
16253
|
AppBskyNotificationRegisterPush: 'app.bsky.notification.registerPush',
|
16029
16254
|
AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',
|
16030
16255
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|