@atproto/pds 0.4.37 → 0.4.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/lexicon/index.d.ts +7 -0
  3. package/dist/lexicon/index.d.ts.map +1 -1
  4. package/dist/lexicon/index.js +13 -0
  5. package/dist/lexicon/index.js.map +1 -1
  6. package/dist/lexicon/lexicons.d.ts +362 -0
  7. package/dist/lexicon/lexicons.d.ts.map +1 -1
  8. package/dist/lexicon/lexicons.js +371 -2
  9. package/dist/lexicon/lexicons.js.map +1 -1
  10. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +22 -1
  11. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/lexicon/types/app/bsky/actor/defs.js +21 -1
  13. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  14. package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
  15. package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
  16. package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
  17. package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
  18. package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
  19. package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
  20. package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
  21. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
  22. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
  23. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
  24. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
  25. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
  26. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
  27. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
  28. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
  29. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
  30. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
  31. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
  32. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
  33. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
  34. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
  35. package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
  36. package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
  37. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
  38. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  39. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  40. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +1 -1
  41. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
  42. package/dist/repo/prepare.d.ts.map +1 -1
  43. package/dist/repo/prepare.js +4 -0
  44. package/dist/repo/prepare.js.map +1 -1
  45. package/example.env +5 -5
  46. package/package.json +5 -5
  47. package/src/lexicon/index.ts +37 -0
  48. package/src/lexicon/lexicons.ts +376 -2
  49. package/src/lexicon/types/app/bsky/actor/defs.ts +44 -0
  50. package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
  51. package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
  52. package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
  53. package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
  54. package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
  55. package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
  56. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
  57. package/src/lexicon/types/tools/ozone/team/deleteMember.ts +1 -1
  58. package/src/repo/prepare.ts +3 -0
  59. package/tests/proxied/__snapshots__/admin.test.ts.snap +3 -0
  60. package/tests/proxied/__snapshots__/feedgen.test.ts.snap +2 -0
  61. package/tests/proxied/__snapshots__/views.test.ts.snap +141 -2
@@ -3234,7 +3234,7 @@ exports.schemaDict = {
3234
3234
  defs: {
3235
3235
  main: {
3236
3236
  type: 'query',
3237
- description: 'List blob CIDso for an account, since some repo revision. Does not require auth; implemented by PDS.',
3237
+ description: 'List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.',
3238
3238
  parameters: {
3239
3239
  type: 'params',
3240
3240
  required: ['did'],
@@ -3805,6 +3805,10 @@ exports.schemaDict = {
3805
3805
  ref: 'lex:com.atproto.label.defs#label',
3806
3806
  },
3807
3807
  },
3808
+ createdAt: {
3809
+ type: 'string',
3810
+ format: 'datetime',
3811
+ },
3808
3812
  },
3809
3813
  },
3810
3814
  profileView: {
@@ -3841,6 +3845,10 @@ exports.schemaDict = {
3841
3845
  type: 'string',
3842
3846
  format: 'datetime',
3843
3847
  },
3848
+ createdAt: {
3849
+ type: 'string',
3850
+ format: 'datetime',
3851
+ },
3844
3852
  viewer: {
3845
3853
  type: 'ref',
3846
3854
  ref: 'lex:app.bsky.actor.defs#viewerState',
@@ -3897,10 +3905,18 @@ exports.schemaDict = {
3897
3905
  type: 'ref',
3898
3906
  ref: 'lex:app.bsky.actor.defs#profileAssociated',
3899
3907
  },
3908
+ joinedViaStarterPack: {
3909
+ type: 'ref',
3910
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
3911
+ },
3900
3912
  indexedAt: {
3901
3913
  type: 'string',
3902
3914
  format: 'datetime',
3903
3915
  },
3916
+ createdAt: {
3917
+ type: 'string',
3918
+ format: 'datetime',
3919
+ },
3904
3920
  viewer: {
3905
3921
  type: 'ref',
3906
3922
  ref: 'lex:app.bsky.actor.defs#viewerState',
@@ -3923,6 +3939,9 @@ exports.schemaDict = {
3923
3939
  feedgens: {
3924
3940
  type: 'integer',
3925
3941
  },
3942
+ starterPacks: {
3943
+ type: 'integer',
3944
+ },
3926
3945
  labeler: {
3927
3946
  type: 'boolean',
3928
3947
  },
@@ -4012,6 +4031,7 @@ exports.schemaDict = {
4012
4031
  'lex:app.bsky.actor.defs#interestsPref',
4013
4032
  'lex:app.bsky.actor.defs#mutedWordsPref',
4014
4033
  'lex:app.bsky.actor.defs#hiddenPostsPref',
4034
+ 'lex:app.bsky.actor.defs#bskyAppStatePref',
4015
4035
  ],
4016
4036
  },
4017
4037
  },
@@ -4247,6 +4267,36 @@ exports.schemaDict = {
4247
4267
  },
4248
4268
  },
4249
4269
  },
4270
+ bskyAppStatePref: {
4271
+ description: "A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this.",
4272
+ type: 'object',
4273
+ properties: {
4274
+ activeProgressGuide: {
4275
+ type: 'ref',
4276
+ ref: 'lex:app.bsky.actor.defs#bskyAppProgressGuide',
4277
+ },
4278
+ queuedNudges: {
4279
+ description: 'An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user.',
4280
+ type: 'array',
4281
+ maxLength: 1000,
4282
+ items: {
4283
+ type: 'string',
4284
+ maxLength: 100,
4285
+ },
4286
+ },
4287
+ },
4288
+ },
4289
+ bskyAppProgressGuide: {
4290
+ description: 'If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress.',
4291
+ type: 'object',
4292
+ required: ['guide'],
4293
+ properties: {
4294
+ guide: {
4295
+ type: 'string',
4296
+ maxLength: 100,
4297
+ },
4298
+ },
4299
+ },
4250
4300
  },
4251
4301
  },
4252
4302
  AppBskyActorGetPreferences: {
@@ -4426,6 +4476,14 @@ exports.schemaDict = {
4426
4476
  description: 'Self-label values, specific to the Bluesky application, on the overall account.',
4427
4477
  refs: ['lex:com.atproto.label.defs#selfLabels'],
4428
4478
  },
4479
+ joinedViaStarterPack: {
4480
+ type: 'ref',
4481
+ ref: 'lex:com.atproto.repo.strongRef',
4482
+ },
4483
+ createdAt: {
4484
+ type: 'string',
4485
+ format: 'datetime',
4486
+ },
4429
4487
  },
4430
4488
  },
4431
4489
  },
@@ -6579,6 +6637,10 @@ exports.schemaDict = {
6579
6637
  type: 'string',
6580
6638
  format: 'uri',
6581
6639
  },
6640
+ listItemCount: {
6641
+ type: 'integer',
6642
+ minimum: 0,
6643
+ },
6582
6644
  labels: {
6583
6645
  type: 'array',
6584
6646
  items: {
@@ -6637,6 +6699,10 @@ exports.schemaDict = {
6637
6699
  type: 'string',
6638
6700
  format: 'uri',
6639
6701
  },
6702
+ listItemCount: {
6703
+ type: 'integer',
6704
+ minimum: 0,
6705
+ },
6640
6706
  labels: {
6641
6707
  type: 'array',
6642
6708
  items: {
@@ -6668,11 +6734,116 @@ exports.schemaDict = {
6668
6734
  },
6669
6735
  },
6670
6736
  },
6737
+ starterPackView: {
6738
+ type: 'object',
6739
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
6740
+ properties: {
6741
+ uri: {
6742
+ type: 'string',
6743
+ format: 'at-uri',
6744
+ },
6745
+ cid: {
6746
+ type: 'string',
6747
+ format: 'cid',
6748
+ },
6749
+ record: {
6750
+ type: 'unknown',
6751
+ },
6752
+ creator: {
6753
+ type: 'ref',
6754
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6755
+ },
6756
+ list: {
6757
+ type: 'ref',
6758
+ ref: 'lex:app.bsky.graph.defs#listViewBasic',
6759
+ },
6760
+ listItemsSample: {
6761
+ type: 'array',
6762
+ maxLength: 12,
6763
+ items: {
6764
+ type: 'ref',
6765
+ ref: 'lex:app.bsky.graph.defs#listItemView',
6766
+ },
6767
+ },
6768
+ feeds: {
6769
+ type: 'array',
6770
+ maxLength: 3,
6771
+ items: {
6772
+ type: 'ref',
6773
+ ref: 'lex:app.bsky.feed.defs#generatorView',
6774
+ },
6775
+ },
6776
+ joinedWeekCount: {
6777
+ type: 'integer',
6778
+ minimum: 0,
6779
+ },
6780
+ joinedAllTimeCount: {
6781
+ type: 'integer',
6782
+ minimum: 0,
6783
+ },
6784
+ labels: {
6785
+ type: 'array',
6786
+ items: {
6787
+ type: 'ref',
6788
+ ref: 'lex:com.atproto.label.defs#label',
6789
+ },
6790
+ },
6791
+ indexedAt: {
6792
+ type: 'string',
6793
+ format: 'datetime',
6794
+ },
6795
+ },
6796
+ },
6797
+ starterPackViewBasic: {
6798
+ type: 'object',
6799
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
6800
+ properties: {
6801
+ uri: {
6802
+ type: 'string',
6803
+ format: 'at-uri',
6804
+ },
6805
+ cid: {
6806
+ type: 'string',
6807
+ format: 'cid',
6808
+ },
6809
+ record: {
6810
+ type: 'unknown',
6811
+ },
6812
+ creator: {
6813
+ type: 'ref',
6814
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6815
+ },
6816
+ listItemCount: {
6817
+ type: 'integer',
6818
+ minimum: 0,
6819
+ },
6820
+ joinedWeekCount: {
6821
+ type: 'integer',
6822
+ minimum: 0,
6823
+ },
6824
+ joinedAllTimeCount: {
6825
+ type: 'integer',
6826
+ minimum: 0,
6827
+ },
6828
+ labels: {
6829
+ type: 'array',
6830
+ items: {
6831
+ type: 'ref',
6832
+ ref: 'lex:com.atproto.label.defs#label',
6833
+ },
6834
+ },
6835
+ indexedAt: {
6836
+ type: 'string',
6837
+ format: 'datetime',
6838
+ },
6839
+ },
6840
+ },
6671
6841
  listPurpose: {
6672
6842
  type: 'string',
6673
6843
  knownValues: [
6674
6844
  'app.bsky.graph.defs#modlist',
6675
6845
  'app.bsky.graph.defs#curatelist',
6846
+ 'app.bsky.graph.defs#referencelist',
6676
6847
  ],
6677
6848
  },
6678
6849
  modlist: {
@@ -6683,6 +6854,10 @@ exports.schemaDict = {
6683
6854
  type: 'token',
6684
6855
  description: 'A list of actors used for curation purposes such as list feeds or interaction gating.',
6685
6856
  },
6857
+ referencelist: {
6858
+ type: 'token',
6859
+ description: 'A list of actors used for only for reference purposes such as within a starter pack.',
6860
+ },
6686
6861
  listViewerState: {
6687
6862
  type: 'object',
6688
6863
  properties: {
@@ -6758,6 +6933,54 @@ exports.schemaDict = {
6758
6933
  },
6759
6934
  },
6760
6935
  },
6936
+ AppBskyGraphGetActorStarterPacks: {
6937
+ lexicon: 1,
6938
+ id: 'app.bsky.graph.getActorStarterPacks',
6939
+ defs: {
6940
+ main: {
6941
+ type: 'query',
6942
+ description: 'Get a list of starter packs created by the actor.',
6943
+ parameters: {
6944
+ type: 'params',
6945
+ required: ['actor'],
6946
+ properties: {
6947
+ actor: {
6948
+ type: 'string',
6949
+ format: 'at-identifier',
6950
+ },
6951
+ limit: {
6952
+ type: 'integer',
6953
+ minimum: 1,
6954
+ maximum: 100,
6955
+ default: 50,
6956
+ },
6957
+ cursor: {
6958
+ type: 'string',
6959
+ },
6960
+ },
6961
+ },
6962
+ output: {
6963
+ encoding: 'application/json',
6964
+ schema: {
6965
+ type: 'object',
6966
+ required: ['starterPacks'],
6967
+ properties: {
6968
+ cursor: {
6969
+ type: 'string',
6970
+ },
6971
+ starterPacks: {
6972
+ type: 'array',
6973
+ items: {
6974
+ type: 'ref',
6975
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
6976
+ },
6977
+ },
6978
+ },
6979
+ },
6980
+ },
6981
+ },
6982
+ },
6983
+ },
6761
6984
  AppBskyGraphGetBlocks: {
6762
6985
  lexicon: 1,
6763
6986
  id: 'app.bsky.graph.getBlocks',
@@ -7247,6 +7470,80 @@ exports.schemaDict = {
7247
7470
  },
7248
7471
  },
7249
7472
  },
7473
+ AppBskyGraphGetStarterPack: {
7474
+ lexicon: 1,
7475
+ id: 'app.bsky.graph.getStarterPack',
7476
+ defs: {
7477
+ main: {
7478
+ type: 'query',
7479
+ description: 'Gets a view of a starter pack.',
7480
+ parameters: {
7481
+ type: 'params',
7482
+ required: ['starterPack'],
7483
+ properties: {
7484
+ starterPack: {
7485
+ type: 'string',
7486
+ format: 'at-uri',
7487
+ description: 'Reference (AT-URI) of the starter pack record.',
7488
+ },
7489
+ },
7490
+ },
7491
+ output: {
7492
+ encoding: 'application/json',
7493
+ schema: {
7494
+ type: 'object',
7495
+ required: ['starterPack'],
7496
+ properties: {
7497
+ starterPack: {
7498
+ type: 'ref',
7499
+ ref: 'lex:app.bsky.graph.defs#starterPackView',
7500
+ },
7501
+ },
7502
+ },
7503
+ },
7504
+ },
7505
+ },
7506
+ },
7507
+ AppBskyGraphGetStarterPacks: {
7508
+ lexicon: 1,
7509
+ id: 'app.bsky.graph.getStarterPacks',
7510
+ defs: {
7511
+ main: {
7512
+ type: 'query',
7513
+ description: 'Get views for a list of starter packs.',
7514
+ parameters: {
7515
+ type: 'params',
7516
+ required: ['uris'],
7517
+ properties: {
7518
+ uris: {
7519
+ type: 'array',
7520
+ items: {
7521
+ type: 'string',
7522
+ format: 'at-uri',
7523
+ },
7524
+ maxLength: 25,
7525
+ },
7526
+ },
7527
+ },
7528
+ output: {
7529
+ encoding: 'application/json',
7530
+ schema: {
7531
+ type: 'object',
7532
+ required: ['starterPacks'],
7533
+ properties: {
7534
+ starterPacks: {
7535
+ type: 'array',
7536
+ items: {
7537
+ type: 'ref',
7538
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
7539
+ },
7540
+ },
7541
+ },
7542
+ },
7543
+ },
7544
+ },
7545
+ },
7546
+ },
7250
7547
  AppBskyGraphGetSuggestedFollowsByActor: {
7251
7548
  lexicon: 1,
7252
7549
  id: 'app.bsky.graph.getSuggestedFollowsByActor',
@@ -7462,6 +7759,69 @@ exports.schemaDict = {
7462
7759
  },
7463
7760
  },
7464
7761
  },
7762
+ AppBskyGraphStarterpack: {
7763
+ lexicon: 1,
7764
+ id: 'app.bsky.graph.starterpack',
7765
+ defs: {
7766
+ main: {
7767
+ type: 'record',
7768
+ description: 'Record defining a starter pack of actors and feeds for new users.',
7769
+ key: 'tid',
7770
+ record: {
7771
+ type: 'object',
7772
+ required: ['name', 'list', 'createdAt'],
7773
+ properties: {
7774
+ name: {
7775
+ type: 'string',
7776
+ maxGraphemes: 50,
7777
+ maxLength: 500,
7778
+ minLength: 1,
7779
+ description: 'Display name for starter pack; can not be empty.',
7780
+ },
7781
+ description: {
7782
+ type: 'string',
7783
+ maxGraphemes: 300,
7784
+ maxLength: 3000,
7785
+ },
7786
+ descriptionFacets: {
7787
+ type: 'array',
7788
+ items: {
7789
+ type: 'ref',
7790
+ ref: 'lex:app.bsky.richtext.facet',
7791
+ },
7792
+ },
7793
+ list: {
7794
+ type: 'string',
7795
+ format: 'at-uri',
7796
+ description: 'Reference (AT-URI) to the list record.',
7797
+ },
7798
+ feeds: {
7799
+ type: 'array',
7800
+ maxLength: 3,
7801
+ items: {
7802
+ type: 'ref',
7803
+ ref: 'lex:app.bsky.graph.starterpack#feedItem',
7804
+ },
7805
+ },
7806
+ createdAt: {
7807
+ type: 'string',
7808
+ format: 'datetime',
7809
+ },
7810
+ },
7811
+ },
7812
+ },
7813
+ feedItem: {
7814
+ type: 'object',
7815
+ required: ['uri'],
7816
+ properties: {
7817
+ uri: {
7818
+ type: 'string',
7819
+ format: 'at-uri',
7820
+ },
7821
+ },
7822
+ },
7823
+ },
7824
+ },
7465
7825
  AppBskyGraphUnmuteActor: {
7466
7826
  lexicon: 1,
7467
7827
  id: 'app.bsky.graph.unmuteActor',
@@ -7827,7 +8187,7 @@ exports.schemaDict = {
7827
8187
  },
7828
8188
  reason: {
7829
8189
  type: 'string',
7830
- description: "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', and 'quote'.",
8190
+ description: "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'.",
7831
8191
  knownValues: [
7832
8192
  'like',
7833
8193
  'repost',
@@ -7835,6 +8195,7 @@ exports.schemaDict = {
7835
8195
  'mention',
7836
8196
  'reply',
7837
8197
  'quote',
8198
+ 'starterpack-joined',
7838
8199
  ],
7839
8200
  },
7840
8201
  reasonSubject: {
@@ -10828,6 +11189,10 @@ exports.schemaDict = {
10828
11189
  name: 'MemberNotFound',
10829
11190
  description: 'The member being deleted does not exist',
10830
11191
  },
11192
+ {
11193
+ name: 'CannotDeleteSelf',
11194
+ description: 'You can not delete yourself from the team',
11195
+ },
10831
11196
  ],
10832
11197
  },
10833
11198
  },
@@ -11044,6 +11409,7 @@ exports.ids = {
11044
11409
  AppBskyGraphBlock: 'app.bsky.graph.block',
11045
11410
  AppBskyGraphDefs: 'app.bsky.graph.defs',
11046
11411
  AppBskyGraphFollow: 'app.bsky.graph.follow',
11412
+ AppBskyGraphGetActorStarterPacks: 'app.bsky.graph.getActorStarterPacks',
11047
11413
  AppBskyGraphGetBlocks: 'app.bsky.graph.getBlocks',
11048
11414
  AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',
11049
11415
  AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',
@@ -11054,6 +11420,8 @@ exports.ids = {
11054
11420
  AppBskyGraphGetLists: 'app.bsky.graph.getLists',
11055
11421
  AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
11056
11422
  AppBskyGraphGetRelationships: 'app.bsky.graph.getRelationships',
11423
+ AppBskyGraphGetStarterPack: 'app.bsky.graph.getStarterPack',
11424
+ AppBskyGraphGetStarterPacks: 'app.bsky.graph.getStarterPacks',
11057
11425
  AppBskyGraphGetSuggestedFollowsByActor: 'app.bsky.graph.getSuggestedFollowsByActor',
11058
11426
  AppBskyGraphList: 'app.bsky.graph.list',
11059
11427
  AppBskyGraphListblock: 'app.bsky.graph.listblock',
@@ -11061,6 +11429,7 @@ exports.ids = {
11061
11429
  AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
11062
11430
  AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
11063
11431
  AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
11432
+ AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
11064
11433
  AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
11065
11434
  AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',
11066
11435
  AppBskyGraphUnmuteThread: 'app.bsky.graph.unmuteThread',