@atproto/ozone 0.1.26 → 0.1.27

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 (63) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/api/proxied.d.ts.map +1 -1
  3. package/dist/api/proxied.js +30 -0
  4. package/dist/api/proxied.js.map +1 -1
  5. package/dist/lexicon/index.d.ts +7 -0
  6. package/dist/lexicon/index.d.ts.map +1 -1
  7. package/dist/lexicon/index.js +13 -0
  8. package/dist/lexicon/index.js.map +1 -1
  9. package/dist/lexicon/lexicons.d.ts +332 -0
  10. package/dist/lexicon/lexicons.d.ts.map +1 -1
  11. package/dist/lexicon/lexicons.js +339 -1
  12. package/dist/lexicon/lexicons.js.map +1 -1
  13. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +5 -0
  14. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  15. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  16. package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
  17. package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
  18. package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
  19. package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
  20. package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
  21. package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
  22. package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
  23. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
  24. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
  25. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
  26. package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
  27. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
  28. package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
  29. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
  30. package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
  31. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
  32. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
  33. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
  34. package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
  35. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
  36. package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
  37. package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
  38. package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
  39. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
  40. package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  41. package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
  42. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +1 -1
  43. package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
  44. package/package.json +4 -4
  45. package/src/api/proxied.ts +43 -0
  46. package/src/lexicon/index.ts +37 -0
  47. package/src/lexicon/lexicons.ts +341 -1
  48. package/src/lexicon/types/app/bsky/actor/defs.ts +5 -0
  49. package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
  50. package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
  51. package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
  52. package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
  53. package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
  54. package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
  55. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
  56. package/src/lexicon/types/tools/ozone/team/deleteMember.ts +1 -1
  57. package/tests/__snapshots__/get-record.test.ts.snap +2 -0
  58. package/tests/__snapshots__/get-repo.test.ts.snap +1 -0
  59. package/tests/__snapshots__/get-starter-pack.test.ts.snap +466 -0
  60. package/tests/__snapshots__/moderation-events.test.ts.snap +1 -0
  61. package/tests/__snapshots__/team.test.ts.snap +24 -0
  62. package/tests/get-starter-pack.test.ts +104 -0
  63. package/tests/server.test.ts +1 -1
@@ -158,4 +158,47 @@ export default function (server: Server, ctx: AppContext) {
158
158
  }
159
159
  },
160
160
  })
161
+
162
+ server.app.bsky.graph.getStarterPack({
163
+ auth: ctx.authVerifier.moderator,
164
+ handler: async (request) => {
165
+ const res = await ctx.appviewAgent.api.app.bsky.graph.getStarterPack(
166
+ request.params,
167
+ await ctx.appviewAuth(),
168
+ )
169
+ return {
170
+ encoding: 'application/json',
171
+ body: res.data,
172
+ }
173
+ },
174
+ })
175
+
176
+ server.app.bsky.graph.getStarterPacks({
177
+ auth: ctx.authVerifier.moderator,
178
+ handler: async (request) => {
179
+ const res = await ctx.appviewAgent.api.app.bsky.graph.getStarterPacks(
180
+ request.params,
181
+ await ctx.appviewAuth(),
182
+ )
183
+ return {
184
+ encoding: 'application/json',
185
+ body: res.data,
186
+ }
187
+ },
188
+ })
189
+
190
+ server.app.bsky.graph.getActorStarterPacks({
191
+ auth: ctx.authVerifier.moderator,
192
+ handler: async (request) => {
193
+ const res =
194
+ await ctx.appviewAgent.api.app.bsky.graph.getActorStarterPacks(
195
+ request.params,
196
+ await ctx.appviewAuth(),
197
+ )
198
+ return {
199
+ encoding: 'application/json',
200
+ body: res.data,
201
+ }
202
+ },
203
+ })
161
204
  }
@@ -107,6 +107,7 @@ import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggeste
107
107
  import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'
108
108
  import * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts'
109
109
  import * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions'
110
+ import * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks'
110
111
  import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks'
111
112
  import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'
112
113
  import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'
@@ -117,6 +118,8 @@ import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes'
117
118
  import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists'
118
119
  import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes'
119
120
  import * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships'
121
+ import * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack'
122
+ import * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks'
120
123
  import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor'
121
124
  import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor'
122
125
  import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList'
@@ -194,6 +197,7 @@ export const APP_BSKY_FEED = {
194
197
  export const APP_BSKY_GRAPH = {
195
198
  DefsModlist: 'app.bsky.graph.defs#modlist',
196
199
  DefsCuratelist: 'app.bsky.graph.defs#curatelist',
200
+ DefsReferencelist: 'app.bsky.graph.defs#referencelist',
197
201
  }
198
202
  export const TOOLS_OZONE_MODERATION = {
199
203
  DefsReviewOpen: 'tools.ozone.moderation.defs#reviewOpen',
@@ -1472,6 +1476,17 @@ export class AppBskyGraphNS {
1472
1476
  this._server = server
1473
1477
  }
1474
1478
 
1479
+ getActorStarterPacks<AV extends AuthVerifier>(
1480
+ cfg: ConfigOf<
1481
+ AV,
1482
+ AppBskyGraphGetActorStarterPacks.Handler<ExtractAuth<AV>>,
1483
+ AppBskyGraphGetActorStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
1484
+ >,
1485
+ ) {
1486
+ const nsid = 'app.bsky.graph.getActorStarterPacks' // @ts-ignore
1487
+ return this._server.xrpc.method(nsid, cfg)
1488
+ }
1489
+
1475
1490
  getBlocks<AV extends AuthVerifier>(
1476
1491
  cfg: ConfigOf<
1477
1492
  AV,
@@ -1582,6 +1597,28 @@ export class AppBskyGraphNS {
1582
1597
  return this._server.xrpc.method(nsid, cfg)
1583
1598
  }
1584
1599
 
1600
+ getStarterPack<AV extends AuthVerifier>(
1601
+ cfg: ConfigOf<
1602
+ AV,
1603
+ AppBskyGraphGetStarterPack.Handler<ExtractAuth<AV>>,
1604
+ AppBskyGraphGetStarterPack.HandlerReqCtx<ExtractAuth<AV>>
1605
+ >,
1606
+ ) {
1607
+ const nsid = 'app.bsky.graph.getStarterPack' // @ts-ignore
1608
+ return this._server.xrpc.method(nsid, cfg)
1609
+ }
1610
+
1611
+ getStarterPacks<AV extends AuthVerifier>(
1612
+ cfg: ConfigOf<
1613
+ AV,
1614
+ AppBskyGraphGetStarterPacks.Handler<ExtractAuth<AV>>,
1615
+ AppBskyGraphGetStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
1616
+ >,
1617
+ ) {
1618
+ const nsid = 'app.bsky.graph.getStarterPacks' // @ts-ignore
1619
+ return this._server.xrpc.method(nsid, cfg)
1620
+ }
1621
+
1585
1622
  getSuggestedFollowsByActor<AV extends AuthVerifier>(
1586
1623
  cfg: ConfigOf<
1587
1624
  AV,
@@ -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
  },
@@ -4573,6 +4592,14 @@ export const schemaDict = {
4573
4592
  'Self-label values, specific to the Bluesky application, on the overall account.',
4574
4593
  refs: ['lex:com.atproto.label.defs#selfLabels'],
4575
4594
  },
4595
+ joinedViaStarterPack: {
4596
+ type: 'ref',
4597
+ ref: 'lex:com.atproto.repo.strongRef',
4598
+ },
4599
+ createdAt: {
4600
+ type: 'string',
4601
+ format: 'datetime',
4602
+ },
4576
4603
  },
4577
4604
  },
4578
4605
  },
@@ -6792,6 +6819,10 @@ export const schemaDict = {
6792
6819
  type: 'string',
6793
6820
  format: 'uri',
6794
6821
  },
6822
+ listItemCount: {
6823
+ type: 'integer',
6824
+ minimum: 0,
6825
+ },
6795
6826
  labels: {
6796
6827
  type: 'array',
6797
6828
  items: {
@@ -6850,6 +6881,10 @@ export const schemaDict = {
6850
6881
  type: 'string',
6851
6882
  format: 'uri',
6852
6883
  },
6884
+ listItemCount: {
6885
+ type: 'integer',
6886
+ minimum: 0,
6887
+ },
6853
6888
  labels: {
6854
6889
  type: 'array',
6855
6890
  items: {
@@ -6881,11 +6916,116 @@ export const schemaDict = {
6881
6916
  },
6882
6917
  },
6883
6918
  },
6919
+ starterPackView: {
6920
+ type: 'object',
6921
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
6922
+ properties: {
6923
+ uri: {
6924
+ type: 'string',
6925
+ format: 'at-uri',
6926
+ },
6927
+ cid: {
6928
+ type: 'string',
6929
+ format: 'cid',
6930
+ },
6931
+ record: {
6932
+ type: 'unknown',
6933
+ },
6934
+ creator: {
6935
+ type: 'ref',
6936
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6937
+ },
6938
+ list: {
6939
+ type: 'ref',
6940
+ ref: 'lex:app.bsky.graph.defs#listViewBasic',
6941
+ },
6942
+ listItemsSample: {
6943
+ type: 'array',
6944
+ maxLength: 12,
6945
+ items: {
6946
+ type: 'ref',
6947
+ ref: 'lex:app.bsky.graph.defs#listItemView',
6948
+ },
6949
+ },
6950
+ feeds: {
6951
+ type: 'array',
6952
+ maxLength: 3,
6953
+ items: {
6954
+ type: 'ref',
6955
+ ref: 'lex:app.bsky.feed.defs#generatorView',
6956
+ },
6957
+ },
6958
+ joinedWeekCount: {
6959
+ type: 'integer',
6960
+ minimum: 0,
6961
+ },
6962
+ joinedAllTimeCount: {
6963
+ type: 'integer',
6964
+ minimum: 0,
6965
+ },
6966
+ labels: {
6967
+ type: 'array',
6968
+ items: {
6969
+ type: 'ref',
6970
+ ref: 'lex:com.atproto.label.defs#label',
6971
+ },
6972
+ },
6973
+ indexedAt: {
6974
+ type: 'string',
6975
+ format: 'datetime',
6976
+ },
6977
+ },
6978
+ },
6979
+ starterPackViewBasic: {
6980
+ type: 'object',
6981
+ required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
6982
+ properties: {
6983
+ uri: {
6984
+ type: 'string',
6985
+ format: 'at-uri',
6986
+ },
6987
+ cid: {
6988
+ type: 'string',
6989
+ format: 'cid',
6990
+ },
6991
+ record: {
6992
+ type: 'unknown',
6993
+ },
6994
+ creator: {
6995
+ type: 'ref',
6996
+ ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6997
+ },
6998
+ listItemCount: {
6999
+ type: 'integer',
7000
+ minimum: 0,
7001
+ },
7002
+ joinedWeekCount: {
7003
+ type: 'integer',
7004
+ minimum: 0,
7005
+ },
7006
+ joinedAllTimeCount: {
7007
+ type: 'integer',
7008
+ minimum: 0,
7009
+ },
7010
+ labels: {
7011
+ type: 'array',
7012
+ items: {
7013
+ type: 'ref',
7014
+ ref: 'lex:com.atproto.label.defs#label',
7015
+ },
7016
+ },
7017
+ indexedAt: {
7018
+ type: 'string',
7019
+ format: 'datetime',
7020
+ },
7021
+ },
7022
+ },
6884
7023
  listPurpose: {
6885
7024
  type: 'string',
6886
7025
  knownValues: [
6887
7026
  'app.bsky.graph.defs#modlist',
6888
7027
  'app.bsky.graph.defs#curatelist',
7028
+ 'app.bsky.graph.defs#referencelist',
6889
7029
  ],
6890
7030
  },
6891
7031
  modlist: {
@@ -6898,6 +7038,11 @@ export const schemaDict = {
6898
7038
  description:
6899
7039
  'A list of actors used for curation purposes such as list feeds or interaction gating.',
6900
7040
  },
7041
+ referencelist: {
7042
+ type: 'token',
7043
+ description:
7044
+ 'A list of actors used for only for reference purposes such as within a starter pack.',
7045
+ },
6901
7046
  listViewerState: {
6902
7047
  type: 'object',
6903
7048
  properties: {
@@ -6977,6 +7122,54 @@ export const schemaDict = {
6977
7122
  },
6978
7123
  },
6979
7124
  },
7125
+ AppBskyGraphGetActorStarterPacks: {
7126
+ lexicon: 1,
7127
+ id: 'app.bsky.graph.getActorStarterPacks',
7128
+ defs: {
7129
+ main: {
7130
+ type: 'query',
7131
+ description: 'Get a list of starter packs created by the actor.',
7132
+ parameters: {
7133
+ type: 'params',
7134
+ required: ['actor'],
7135
+ properties: {
7136
+ actor: {
7137
+ type: 'string',
7138
+ format: 'at-identifier',
7139
+ },
7140
+ limit: {
7141
+ type: 'integer',
7142
+ minimum: 1,
7143
+ maximum: 100,
7144
+ default: 50,
7145
+ },
7146
+ cursor: {
7147
+ type: 'string',
7148
+ },
7149
+ },
7150
+ },
7151
+ output: {
7152
+ encoding: 'application/json',
7153
+ schema: {
7154
+ type: 'object',
7155
+ required: ['starterPacks'],
7156
+ properties: {
7157
+ cursor: {
7158
+ type: 'string',
7159
+ },
7160
+ starterPacks: {
7161
+ type: 'array',
7162
+ items: {
7163
+ type: 'ref',
7164
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
7165
+ },
7166
+ },
7167
+ },
7168
+ },
7169
+ },
7170
+ },
7171
+ },
7172
+ },
6980
7173
  AppBskyGraphGetBlocks: {
6981
7174
  lexicon: 1,
6982
7175
  id: 'app.bsky.graph.getBlocks',
@@ -7478,6 +7671,80 @@ export const schemaDict = {
7478
7671
  },
7479
7672
  },
7480
7673
  },
7674
+ AppBskyGraphGetStarterPack: {
7675
+ lexicon: 1,
7676
+ id: 'app.bsky.graph.getStarterPack',
7677
+ defs: {
7678
+ main: {
7679
+ type: 'query',
7680
+ description: 'Gets a view of a starter pack.',
7681
+ parameters: {
7682
+ type: 'params',
7683
+ required: ['starterPack'],
7684
+ properties: {
7685
+ starterPack: {
7686
+ type: 'string',
7687
+ format: 'at-uri',
7688
+ description: 'Reference (AT-URI) of the starter pack record.',
7689
+ },
7690
+ },
7691
+ },
7692
+ output: {
7693
+ encoding: 'application/json',
7694
+ schema: {
7695
+ type: 'object',
7696
+ required: ['starterPack'],
7697
+ properties: {
7698
+ starterPack: {
7699
+ type: 'ref',
7700
+ ref: 'lex:app.bsky.graph.defs#starterPackView',
7701
+ },
7702
+ },
7703
+ },
7704
+ },
7705
+ },
7706
+ },
7707
+ },
7708
+ AppBskyGraphGetStarterPacks: {
7709
+ lexicon: 1,
7710
+ id: 'app.bsky.graph.getStarterPacks',
7711
+ defs: {
7712
+ main: {
7713
+ type: 'query',
7714
+ description: 'Get views for a list of starter packs.',
7715
+ parameters: {
7716
+ type: 'params',
7717
+ required: ['uris'],
7718
+ properties: {
7719
+ uris: {
7720
+ type: 'array',
7721
+ items: {
7722
+ type: 'string',
7723
+ format: 'at-uri',
7724
+ },
7725
+ maxLength: 25,
7726
+ },
7727
+ },
7728
+ },
7729
+ output: {
7730
+ encoding: 'application/json',
7731
+ schema: {
7732
+ type: 'object',
7733
+ required: ['starterPacks'],
7734
+ properties: {
7735
+ starterPacks: {
7736
+ type: 'array',
7737
+ items: {
7738
+ type: 'ref',
7739
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
7740
+ },
7741
+ },
7742
+ },
7743
+ },
7744
+ },
7745
+ },
7746
+ },
7747
+ },
7481
7748
  AppBskyGraphGetSuggestedFollowsByActor: {
7482
7749
  lexicon: 1,
7483
7750
  id: 'app.bsky.graph.getSuggestedFollowsByActor',
@@ -7702,6 +7969,70 @@ export const schemaDict = {
7702
7969
  },
7703
7970
  },
7704
7971
  },
7972
+ AppBskyGraphStarterpack: {
7973
+ lexicon: 1,
7974
+ id: 'app.bsky.graph.starterpack',
7975
+ defs: {
7976
+ main: {
7977
+ type: 'record',
7978
+ description:
7979
+ 'Record defining a starter pack of actors and feeds for new users.',
7980
+ key: 'tid',
7981
+ record: {
7982
+ type: 'object',
7983
+ required: ['name', 'list', 'createdAt'],
7984
+ properties: {
7985
+ name: {
7986
+ type: 'string',
7987
+ maxGraphemes: 50,
7988
+ maxLength: 500,
7989
+ minLength: 1,
7990
+ description: 'Display name for starter pack; can not be empty.',
7991
+ },
7992
+ description: {
7993
+ type: 'string',
7994
+ maxGraphemes: 300,
7995
+ maxLength: 3000,
7996
+ },
7997
+ descriptionFacets: {
7998
+ type: 'array',
7999
+ items: {
8000
+ type: 'ref',
8001
+ ref: 'lex:app.bsky.richtext.facet',
8002
+ },
8003
+ },
8004
+ list: {
8005
+ type: 'string',
8006
+ format: 'at-uri',
8007
+ description: 'Reference (AT-URI) to the list record.',
8008
+ },
8009
+ feeds: {
8010
+ type: 'array',
8011
+ maxLength: 3,
8012
+ items: {
8013
+ type: 'ref',
8014
+ ref: 'lex:app.bsky.graph.starterpack#feedItem',
8015
+ },
8016
+ },
8017
+ createdAt: {
8018
+ type: 'string',
8019
+ format: 'datetime',
8020
+ },
8021
+ },
8022
+ },
8023
+ },
8024
+ feedItem: {
8025
+ type: 'object',
8026
+ required: ['uri'],
8027
+ properties: {
8028
+ uri: {
8029
+ type: 'string',
8030
+ format: 'at-uri',
8031
+ },
8032
+ },
8033
+ },
8034
+ },
8035
+ },
7705
8036
  AppBskyGraphUnmuteActor: {
7706
8037
  lexicon: 1,
7707
8038
  id: 'app.bsky.graph.unmuteActor',
@@ -8072,7 +8403,7 @@ export const schemaDict = {
8072
8403
  reason: {
8073
8404
  type: 'string',
8074
8405
  description:
8075
- "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', and 'quote'.",
8406
+ "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'.",
8076
8407
  knownValues: [
8077
8408
  'like',
8078
8409
  'repost',
@@ -8080,6 +8411,7 @@ export const schemaDict = {
8080
8411
  'mention',
8081
8412
  'reply',
8082
8413
  'quote',
8414
+ 'starterpack-joined',
8083
8415
  ],
8084
8416
  },
8085
8417
  reasonSubject: {
@@ -11131,6 +11463,10 @@ export const schemaDict = {
11131
11463
  name: 'MemberNotFound',
11132
11464
  description: 'The member being deleted does not exist',
11133
11465
  },
11466
+ {
11467
+ name: 'CannotDeleteSelf',
11468
+ description: 'You can not delete yourself from the team',
11469
+ },
11134
11470
  ],
11135
11471
  },
11136
11472
  },
@@ -11358,6 +11694,7 @@ export const ids = {
11358
11694
  AppBskyGraphBlock: 'app.bsky.graph.block',
11359
11695
  AppBskyGraphDefs: 'app.bsky.graph.defs',
11360
11696
  AppBskyGraphFollow: 'app.bsky.graph.follow',
11697
+ AppBskyGraphGetActorStarterPacks: 'app.bsky.graph.getActorStarterPacks',
11361
11698
  AppBskyGraphGetBlocks: 'app.bsky.graph.getBlocks',
11362
11699
  AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',
11363
11700
  AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',
@@ -11368,6 +11705,8 @@ export const ids = {
11368
11705
  AppBskyGraphGetLists: 'app.bsky.graph.getLists',
11369
11706
  AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
11370
11707
  AppBskyGraphGetRelationships: 'app.bsky.graph.getRelationships',
11708
+ AppBskyGraphGetStarterPack: 'app.bsky.graph.getStarterPack',
11709
+ AppBskyGraphGetStarterPacks: 'app.bsky.graph.getStarterPacks',
11371
11710
  AppBskyGraphGetSuggestedFollowsByActor:
11372
11711
  'app.bsky.graph.getSuggestedFollowsByActor',
11373
11712
  AppBskyGraphList: 'app.bsky.graph.list',
@@ -11376,6 +11715,7 @@ export const ids = {
11376
11715
  AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
11377
11716
  AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
11378
11717
  AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
11718
+ AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
11379
11719
  AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
11380
11720
  AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',
11381
11721
  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
@@ -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