@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
@@ -3343,7 +3343,7 @@ export const schemaDict = {
3343
3343
  main: {
3344
3344
  type: 'query',
3345
3345
  description:
3346
- 'List blob CIDso for an account, since some repo revision. Does not require auth; implemented by PDS.',
3346
+ 'List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.',
3347
3347
  parameters: {
3348
3348
  type: 'params',
3349
3349
  required: ['did'],
@@ -3939,6 +3939,10 @@ export const schemaDict = {
3939
3939
  ref: 'lex:com.atproto.label.defs#label',
3940
3940
  },
3941
3941
  },
3942
+ createdAt: {
3943
+ type: 'string',
3944
+ format: 'datetime',
3945
+ },
3942
3946
  },
3943
3947
  },
3944
3948
  profileView: {
@@ -3975,6 +3979,10 @@ export const schemaDict = {
3975
3979
  type: 'string',
3976
3980
  format: 'datetime',
3977
3981
  },
3982
+ createdAt: {
3983
+ type: 'string',
3984
+ format: 'datetime',
3985
+ },
3978
3986
  viewer: {
3979
3987
  type: 'ref',
3980
3988
  ref: 'lex:app.bsky.actor.defs#viewerState',
@@ -4031,10 +4039,18 @@ export const schemaDict = {
4031
4039
  type: 'ref',
4032
4040
  ref: 'lex:app.bsky.actor.defs#profileAssociated',
4033
4041
  },
4042
+ joinedViaStarterPack: {
4043
+ type: 'ref',
4044
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
4045
+ },
4034
4046
  indexedAt: {
4035
4047
  type: 'string',
4036
4048
  format: 'datetime',
4037
4049
  },
4050
+ createdAt: {
4051
+ type: 'string',
4052
+ format: 'datetime',
4053
+ },
4038
4054
  viewer: {
4039
4055
  type: 'ref',
4040
4056
  ref: 'lex:app.bsky.actor.defs#viewerState',
@@ -4057,6 +4073,9 @@ export const schemaDict = {
4057
4073
  feedgens: {
4058
4074
  type: 'integer',
4059
4075
  },
4076
+ starterPacks: {
4077
+ type: 'integer',
4078
+ },
4060
4079
  labeler: {
4061
4080
  type: 'boolean',
4062
4081
  },
@@ -4147,6 +4166,7 @@ export const schemaDict = {
4147
4166
  'lex:app.bsky.actor.defs#interestsPref',
4148
4167
  'lex:app.bsky.actor.defs#mutedWordsPref',
4149
4168
  'lex:app.bsky.actor.defs#hiddenPostsPref',
4169
+ 'lex:app.bsky.actor.defs#bskyAppStatePref',
4150
4170
  ],
4151
4171
  },
4152
4172
  },
@@ -4388,6 +4408,39 @@ export const schemaDict = {
4388
4408
  },
4389
4409
  },
4390
4410
  },
4411
+ bskyAppStatePref: {
4412
+ description:
4413
+ "A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this.",
4414
+ type: 'object',
4415
+ properties: {
4416
+ activeProgressGuide: {
4417
+ type: 'ref',
4418
+ ref: 'lex:app.bsky.actor.defs#bskyAppProgressGuide',
4419
+ },
4420
+ queuedNudges: {
4421
+ description:
4422
+ 'An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user.',
4423
+ type: 'array',
4424
+ maxLength: 1000,
4425
+ items: {
4426
+ type: 'string',
4427
+ maxLength: 100,
4428
+ },
4429
+ },
4430
+ },
4431
+ },
4432
+ bskyAppProgressGuide: {
4433
+ description:
4434
+ 'If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress.',
4435
+ type: 'object',
4436
+ required: ['guide'],
4437
+ properties: {
4438
+ guide: {
4439
+ type: 'string',
4440
+ maxLength: 100,
4441
+ },
4442
+ },
4443
+ },
4391
4444
  },
4392
4445
  },
4393
4446
  AppBskyActorGetPreferences: {
@@ -4573,6 +4626,14 @@ export const schemaDict = {
4573
4626
  'Self-label values, specific to the Bluesky application, on the overall account.',
4574
4627
  refs: ['lex:com.atproto.label.defs#selfLabels'],
4575
4628
  },
4629
+ joinedViaStarterPack: {
4630
+ type: 'ref',
4631
+ ref: 'lex:com.atproto.repo.strongRef',
4632
+ },
4633
+ createdAt: {
4634
+ type: 'string',
4635
+ format: 'datetime',
4636
+ },
4576
4637
  },
4577
4638
  },
4578
4639
  },
@@ -6792,6 +6853,10 @@ export const schemaDict = {
6792
6853
  type: 'string',
6793
6854
  format: 'uri',
6794
6855
  },
6856
+ listItemCount: {
6857
+ type: 'integer',
6858
+ minimum: 0,
6859
+ },
6795
6860
  labels: {
6796
6861
  type: 'array',
6797
6862
  items: {
@@ -6850,6 +6915,10 @@ export const schemaDict = {
6850
6915
  type: 'string',
6851
6916
  format: 'uri',
6852
6917
  },
6918
+ listItemCount: {
6919
+ type: 'integer',
6920
+ minimum: 0,
6921
+ },
6853
6922
  labels: {
6854
6923
  type: 'array',
6855
6924
  items: {
@@ -6881,11 +6950,116 @@ export const schemaDict = {
6881
6950
  },
6882
6951
  },
6883
6952
  },
6953
+ starterPackView: {
6954
+ type: 'object',
6955
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
6956
+ properties: {
6957
+ uri: {
6958
+ type: 'string',
6959
+ format: 'at-uri',
6960
+ },
6961
+ cid: {
6962
+ type: 'string',
6963
+ format: 'cid',
6964
+ },
6965
+ record: {
6966
+ type: 'unknown',
6967
+ },
6968
+ creator: {
6969
+ type: 'ref',
6970
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6971
+ },
6972
+ list: {
6973
+ type: 'ref',
6974
+ ref: 'lex:app.bsky.graph.defs#listViewBasic',
6975
+ },
6976
+ listItemsSample: {
6977
+ type: 'array',
6978
+ maxLength: 12,
6979
+ items: {
6980
+ type: 'ref',
6981
+ ref: 'lex:app.bsky.graph.defs#listItemView',
6982
+ },
6983
+ },
6984
+ feeds: {
6985
+ type: 'array',
6986
+ maxLength: 3,
6987
+ items: {
6988
+ type: 'ref',
6989
+ ref: 'lex:app.bsky.feed.defs#generatorView',
6990
+ },
6991
+ },
6992
+ joinedWeekCount: {
6993
+ type: 'integer',
6994
+ minimum: 0,
6995
+ },
6996
+ joinedAllTimeCount: {
6997
+ type: 'integer',
6998
+ minimum: 0,
6999
+ },
7000
+ labels: {
7001
+ type: 'array',
7002
+ items: {
7003
+ type: 'ref',
7004
+ ref: 'lex:com.atproto.label.defs#label',
7005
+ },
7006
+ },
7007
+ indexedAt: {
7008
+ type: 'string',
7009
+ format: 'datetime',
7010
+ },
7011
+ },
7012
+ },
7013
+ starterPackViewBasic: {
7014
+ type: 'object',
7015
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
7016
+ properties: {
7017
+ uri: {
7018
+ type: 'string',
7019
+ format: 'at-uri',
7020
+ },
7021
+ cid: {
7022
+ type: 'string',
7023
+ format: 'cid',
7024
+ },
7025
+ record: {
7026
+ type: 'unknown',
7027
+ },
7028
+ creator: {
7029
+ type: 'ref',
7030
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
7031
+ },
7032
+ listItemCount: {
7033
+ type: 'integer',
7034
+ minimum: 0,
7035
+ },
7036
+ joinedWeekCount: {
7037
+ type: 'integer',
7038
+ minimum: 0,
7039
+ },
7040
+ joinedAllTimeCount: {
7041
+ type: 'integer',
7042
+ minimum: 0,
7043
+ },
7044
+ labels: {
7045
+ type: 'array',
7046
+ items: {
7047
+ type: 'ref',
7048
+ ref: 'lex:com.atproto.label.defs#label',
7049
+ },
7050
+ },
7051
+ indexedAt: {
7052
+ type: 'string',
7053
+ format: 'datetime',
7054
+ },
7055
+ },
7056
+ },
6884
7057
  listPurpose: {
6885
7058
  type: 'string',
6886
7059
  knownValues: [
6887
7060
  'app.bsky.graph.defs#modlist',
6888
7061
  'app.bsky.graph.defs#curatelist',
7062
+ 'app.bsky.graph.defs#referencelist',
6889
7063
  ],
6890
7064
  },
6891
7065
  modlist: {
@@ -6898,6 +7072,11 @@ export const schemaDict = {
6898
7072
  description:
6899
7073
  'A list of actors used for curation purposes such as list feeds or interaction gating.',
6900
7074
  },
7075
+ referencelist: {
7076
+ type: 'token',
7077
+ description:
7078
+ 'A list of actors used for only for reference purposes such as within a starter pack.',
7079
+ },
6901
7080
  listViewerState: {
6902
7081
  type: 'object',
6903
7082
  properties: {
@@ -6977,6 +7156,54 @@ export const schemaDict = {
6977
7156
  },
6978
7157
  },
6979
7158
  },
7159
+ AppBskyGraphGetActorStarterPacks: {
7160
+ lexicon: 1,
7161
+ id: 'app.bsky.graph.getActorStarterPacks',
7162
+ defs: {
7163
+ main: {
7164
+ type: 'query',
7165
+ description: 'Get a list of starter packs created by the actor.',
7166
+ parameters: {
7167
+ type: 'params',
7168
+ required: ['actor'],
7169
+ properties: {
7170
+ actor: {
7171
+ type: 'string',
7172
+ format: 'at-identifier',
7173
+ },
7174
+ limit: {
7175
+ type: 'integer',
7176
+ minimum: 1,
7177
+ maximum: 100,
7178
+ default: 50,
7179
+ },
7180
+ cursor: {
7181
+ type: 'string',
7182
+ },
7183
+ },
7184
+ },
7185
+ output: {
7186
+ encoding: 'application/json',
7187
+ schema: {
7188
+ type: 'object',
7189
+ required: ['starterPacks'],
7190
+ properties: {
7191
+ cursor: {
7192
+ type: 'string',
7193
+ },
7194
+ starterPacks: {
7195
+ type: 'array',
7196
+ items: {
7197
+ type: 'ref',
7198
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
7199
+ },
7200
+ },
7201
+ },
7202
+ },
7203
+ },
7204
+ },
7205
+ },
7206
+ },
6980
7207
  AppBskyGraphGetBlocks: {
6981
7208
  lexicon: 1,
6982
7209
  id: 'app.bsky.graph.getBlocks',
@@ -7478,6 +7705,80 @@ export const schemaDict = {
7478
7705
  },
7479
7706
  },
7480
7707
  },
7708
+ AppBskyGraphGetStarterPack: {
7709
+ lexicon: 1,
7710
+ id: 'app.bsky.graph.getStarterPack',
7711
+ defs: {
7712
+ main: {
7713
+ type: 'query',
7714
+ description: 'Gets a view of a starter pack.',
7715
+ parameters: {
7716
+ type: 'params',
7717
+ required: ['starterPack'],
7718
+ properties: {
7719
+ starterPack: {
7720
+ type: 'string',
7721
+ format: 'at-uri',
7722
+ description: 'Reference (AT-URI) of the starter pack record.',
7723
+ },
7724
+ },
7725
+ },
7726
+ output: {
7727
+ encoding: 'application/json',
7728
+ schema: {
7729
+ type: 'object',
7730
+ required: ['starterPack'],
7731
+ properties: {
7732
+ starterPack: {
7733
+ type: 'ref',
7734
+ ref: 'lex:app.bsky.graph.defs#starterPackView',
7735
+ },
7736
+ },
7737
+ },
7738
+ },
7739
+ },
7740
+ },
7741
+ },
7742
+ AppBskyGraphGetStarterPacks: {
7743
+ lexicon: 1,
7744
+ id: 'app.bsky.graph.getStarterPacks',
7745
+ defs: {
7746
+ main: {
7747
+ type: 'query',
7748
+ description: 'Get views for a list of starter packs.',
7749
+ parameters: {
7750
+ type: 'params',
7751
+ required: ['uris'],
7752
+ properties: {
7753
+ uris: {
7754
+ type: 'array',
7755
+ items: {
7756
+ type: 'string',
7757
+ format: 'at-uri',
7758
+ },
7759
+ maxLength: 25,
7760
+ },
7761
+ },
7762
+ },
7763
+ output: {
7764
+ encoding: 'application/json',
7765
+ schema: {
7766
+ type: 'object',
7767
+ required: ['starterPacks'],
7768
+ properties: {
7769
+ starterPacks: {
7770
+ type: 'array',
7771
+ items: {
7772
+ type: 'ref',
7773
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
7774
+ },
7775
+ },
7776
+ },
7777
+ },
7778
+ },
7779
+ },
7780
+ },
7781
+ },
7481
7782
  AppBskyGraphGetSuggestedFollowsByActor: {
7482
7783
  lexicon: 1,
7483
7784
  id: 'app.bsky.graph.getSuggestedFollowsByActor',
@@ -7702,6 +8003,70 @@ export const schemaDict = {
7702
8003
  },
7703
8004
  },
7704
8005
  },
8006
+ AppBskyGraphStarterpack: {
8007
+ lexicon: 1,
8008
+ id: 'app.bsky.graph.starterpack',
8009
+ defs: {
8010
+ main: {
8011
+ type: 'record',
8012
+ description:
8013
+ 'Record defining a starter pack of actors and feeds for new users.',
8014
+ key: 'tid',
8015
+ record: {
8016
+ type: 'object',
8017
+ required: ['name', 'list', 'createdAt'],
8018
+ properties: {
8019
+ name: {
8020
+ type: 'string',
8021
+ maxGraphemes: 50,
8022
+ maxLength: 500,
8023
+ minLength: 1,
8024
+ description: 'Display name for starter pack; can not be empty.',
8025
+ },
8026
+ description: {
8027
+ type: 'string',
8028
+ maxGraphemes: 300,
8029
+ maxLength: 3000,
8030
+ },
8031
+ descriptionFacets: {
8032
+ type: 'array',
8033
+ items: {
8034
+ type: 'ref',
8035
+ ref: 'lex:app.bsky.richtext.facet',
8036
+ },
8037
+ },
8038
+ list: {
8039
+ type: 'string',
8040
+ format: 'at-uri',
8041
+ description: 'Reference (AT-URI) to the list record.',
8042
+ },
8043
+ feeds: {
8044
+ type: 'array',
8045
+ maxLength: 3,
8046
+ items: {
8047
+ type: 'ref',
8048
+ ref: 'lex:app.bsky.graph.starterpack#feedItem',
8049
+ },
8050
+ },
8051
+ createdAt: {
8052
+ type: 'string',
8053
+ format: 'datetime',
8054
+ },
8055
+ },
8056
+ },
8057
+ },
8058
+ feedItem: {
8059
+ type: 'object',
8060
+ required: ['uri'],
8061
+ properties: {
8062
+ uri: {
8063
+ type: 'string',
8064
+ format: 'at-uri',
8065
+ },
8066
+ },
8067
+ },
8068
+ },
8069
+ },
7705
8070
  AppBskyGraphUnmuteActor: {
7706
8071
  lexicon: 1,
7707
8072
  id: 'app.bsky.graph.unmuteActor',
@@ -8072,7 +8437,7 @@ export const schemaDict = {
8072
8437
  reason: {
8073
8438
  type: 'string',
8074
8439
  description:
8075
- "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', and 'quote'.",
8440
+ "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'.",
8076
8441
  knownValues: [
8077
8442
  'like',
8078
8443
  'repost',
@@ -8080,6 +8445,7 @@ export const schemaDict = {
8080
8445
  'mention',
8081
8446
  'reply',
8082
8447
  'quote',
8448
+ 'starterpack-joined',
8083
8449
  ],
8084
8450
  },
8085
8451
  reasonSubject: {
@@ -11131,6 +11497,10 @@ export const schemaDict = {
11131
11497
  name: 'MemberNotFound',
11132
11498
  description: 'The member being deleted does not exist',
11133
11499
  },
11500
+ {
11501
+ name: 'CannotDeleteSelf',
11502
+ description: 'You can not delete yourself from the team',
11503
+ },
11134
11504
  ],
11135
11505
  },
11136
11506
  },
@@ -11358,6 +11728,7 @@ export const ids = {
11358
11728
  AppBskyGraphBlock: 'app.bsky.graph.block',
11359
11729
  AppBskyGraphDefs: 'app.bsky.graph.defs',
11360
11730
  AppBskyGraphFollow: 'app.bsky.graph.follow',
11731
+ AppBskyGraphGetActorStarterPacks: 'app.bsky.graph.getActorStarterPacks',
11361
11732
  AppBskyGraphGetBlocks: 'app.bsky.graph.getBlocks',
11362
11733
  AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',
11363
11734
  AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',
@@ -11368,6 +11739,8 @@ export const ids = {
11368
11739
  AppBskyGraphGetLists: 'app.bsky.graph.getLists',
11369
11740
  AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
11370
11741
  AppBskyGraphGetRelationships: 'app.bsky.graph.getRelationships',
11742
+ AppBskyGraphGetStarterPack: 'app.bsky.graph.getStarterPack',
11743
+ AppBskyGraphGetStarterPacks: 'app.bsky.graph.getStarterPacks',
11371
11744
  AppBskyGraphGetSuggestedFollowsByActor:
11372
11745
  'app.bsky.graph.getSuggestedFollowsByActor',
11373
11746
  AppBskyGraphList: 'app.bsky.graph.list',
@@ -11376,6 +11749,7 @@ export const ids = {
11376
11749
  AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
11377
11750
  AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
11378
11751
  AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
11752
+ AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
11379
11753
  AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
11380
11754
  AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',
11381
11755
  AppBskyGraphUnmuteThread: 'app.bsky.graph.unmuteThread',
@@ -16,6 +16,7 @@ export interface ProfileViewBasic {
16
16
  associated?: ProfileAssociated
17
17
  viewer?: ViewerState
18
18
  labels?: ComAtprotoLabelDefs.Label[]
19
+ createdAt?: string
19
20
  [k: string]: unknown
20
21
  }
21
22
 
@@ -39,6 +40,7 @@ export interface ProfileView {
39
40
  avatar?: string
40
41
  associated?: ProfileAssociated
41
42
  indexedAt?: string
43
+ createdAt?: string
42
44
  viewer?: ViewerState
43
45
  labels?: ComAtprotoLabelDefs.Label[]
44
46
  [k: string]: unknown
@@ -67,7 +69,9 @@ export interface ProfileViewDetailed {
67
69
  followsCount?: number
68
70
  postsCount?: number
69
71
  associated?: ProfileAssociated
72
+ joinedViaStarterPack?: AppBskyGraphDefs.StarterPackViewBasic
70
73
  indexedAt?: string
74
+ createdAt?: string
71
75
  viewer?: ViewerState
72
76
  labels?: ComAtprotoLabelDefs.Label[]
73
77
  [k: string]: unknown
@@ -88,6 +92,7 @@ export function validateProfileViewDetailed(v: unknown): ValidationResult {
88
92
  export interface ProfileAssociated {
89
93
  lists?: number
90
94
  feedgens?: number
95
+ starterPacks?: number
91
96
  labeler?: boolean
92
97
  chat?: ProfileAssociatedChat
93
98
  [k: string]: unknown
@@ -179,6 +184,7 @@ export type Preferences = (
179
184
  | InterestsPref
180
185
  | MutedWordsPref
181
186
  | HiddenPostsPref
187
+ | BskyAppStatePref
182
188
  | { $type: string; [k: string]: unknown }
183
189
  )[]
184
190
 
@@ -451,3 +457,41 @@ export function isLabelerPrefItem(v: unknown): v is LabelerPrefItem {
451
457
  export function validateLabelerPrefItem(v: unknown): ValidationResult {
452
458
  return lexicons.validate('app.bsky.actor.defs#labelerPrefItem', v)
453
459
  }
460
+
461
+ /** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */
462
+ export interface BskyAppStatePref {
463
+ activeProgressGuide?: BskyAppProgressGuide
464
+ /** An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */
465
+ queuedNudges?: string[]
466
+ [k: string]: unknown
467
+ }
468
+
469
+ export function isBskyAppStatePref(v: unknown): v is BskyAppStatePref {
470
+ return (
471
+ isObj(v) &&
472
+ hasProp(v, '$type') &&
473
+ v.$type === 'app.bsky.actor.defs#bskyAppStatePref'
474
+ )
475
+ }
476
+
477
+ export function validateBskyAppStatePref(v: unknown): ValidationResult {
478
+ return lexicons.validate('app.bsky.actor.defs#bskyAppStatePref', v)
479
+ }
480
+
481
+ /** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */
482
+ export interface BskyAppProgressGuide {
483
+ guide: string
484
+ [k: string]: unknown
485
+ }
486
+
487
+ export function isBskyAppProgressGuide(v: unknown): v is BskyAppProgressGuide {
488
+ return (
489
+ isObj(v) &&
490
+ hasProp(v, '$type') &&
491
+ v.$type === 'app.bsky.actor.defs#bskyAppProgressGuide'
492
+ )
493
+ }
494
+
495
+ export function validateBskyAppProgressGuide(v: unknown): ValidationResult {
496
+ return lexicons.validate('app.bsky.actor.defs#bskyAppProgressGuide', v)
497
+ }
@@ -6,6 +6,7 @@ import { lexicons } from '../../../../lexicons'
6
6
  import { isObj, hasProp } from '../../../../util'
7
7
  import { CID } from 'multiformats/cid'
8
8
  import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
9
+ import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
9
10
 
10
11
  export interface Record {
11
12
  displayName?: string
@@ -18,6 +19,8 @@ export interface Record {
18
19
  labels?:
19
20
  | ComAtprotoLabelDefs.SelfLabels
20
21
  | { $type: string; [k: string]: unknown }
22
+ joinedViaStarterPack?: ComAtprotoRepoStrongRef.Main
23
+ createdAt?: string
21
24
  [k: string]: unknown
22
25
  }
23
26