@atproto/pds 0.4.164 → 0.4.165

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 (26) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/lexicon/index.d.ts +4 -0
  3. package/dist/lexicon/index.d.ts.map +1 -1
  4. package/dist/lexicon/index.js +8 -0
  5. package/dist/lexicon/index.js.map +1 -1
  6. package/dist/lexicon/lexicons.d.ts +288 -0
  7. package/dist/lexicon/lexicons.d.ts.map +1 -1
  8. package/dist/lexicon/lexicons.js +146 -0
  9. package/dist/lexicon/lexicons.js.map +1 -1
  10. package/dist/lexicon/types/app/bsky/graph/getLists.d.ts +2 -0
  11. package/dist/lexicon/types/app/bsky/graph/getLists.d.ts.map +1 -1
  12. package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.d.ts +40 -0
  13. package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.d.ts.map +1 -0
  14. package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.js +16 -0
  15. package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.js.map +1 -0
  16. package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.d.ts +38 -0
  17. package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.d.ts.map +1 -0
  18. package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.js +16 -0
  19. package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.js.map +1 -0
  20. package/package.json +5 -5
  21. package/src/lexicon/index.ts +26 -0
  22. package/src/lexicon/lexicons.ts +153 -0
  23. package/src/lexicon/types/app/bsky/graph/getLists.ts +2 -0
  24. package/src/lexicon/types/app/bsky/graph/getListsWithMembership.ts +63 -0
  25. package/src/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.ts +65 -0
  26. package/tsconfig.build.tsbuildinfo +1 -1
@@ -8649,6 +8649,14 @@ exports.schemaDict = {
8649
8649
  cursor: {
8650
8650
  type: 'string',
8651
8651
  },
8652
+ purposes: {
8653
+ type: 'array',
8654
+ description: 'Optional filter by list purpose. If not specified, all supported types are returned.',
8655
+ items: {
8656
+ type: 'string',
8657
+ knownValues: ['modlist', 'curatelist'],
8658
+ },
8659
+ },
8652
8660
  },
8653
8661
  },
8654
8662
  output: {
@@ -8673,6 +8681,78 @@ exports.schemaDict = {
8673
8681
  },
8674
8682
  },
8675
8683
  },
8684
+ AppBskyGraphGetListsWithMembership: {
8685
+ lexicon: 1,
8686
+ id: 'app.bsky.graph.getListsWithMembership',
8687
+ defs: {
8688
+ main: {
8689
+ type: 'query',
8690
+ description: 'Enumerates the lists created by the session user, and includes membership information about `actor` in those lists. Only supports curation and moderation lists (no reference lists, used in starter packs). Requires auth.',
8691
+ parameters: {
8692
+ type: 'params',
8693
+ required: ['actor'],
8694
+ properties: {
8695
+ actor: {
8696
+ type: 'string',
8697
+ format: 'at-identifier',
8698
+ description: 'The account (actor) to check for membership.',
8699
+ },
8700
+ limit: {
8701
+ type: 'integer',
8702
+ minimum: 1,
8703
+ maximum: 100,
8704
+ default: 50,
8705
+ },
8706
+ cursor: {
8707
+ type: 'string',
8708
+ },
8709
+ purposes: {
8710
+ type: 'array',
8711
+ description: 'Optional filter by list purpose. If not specified, all supported types are returned.',
8712
+ items: {
8713
+ type: 'string',
8714
+ knownValues: ['modlist', 'curatelist'],
8715
+ },
8716
+ },
8717
+ },
8718
+ },
8719
+ output: {
8720
+ encoding: 'application/json',
8721
+ schema: {
8722
+ type: 'object',
8723
+ required: ['listsWithMembership'],
8724
+ properties: {
8725
+ cursor: {
8726
+ type: 'string',
8727
+ },
8728
+ listsWithMembership: {
8729
+ type: 'array',
8730
+ items: {
8731
+ type: 'ref',
8732
+ ref: 'lex:app.bsky.graph.getListsWithMembership#listWithMembership',
8733
+ },
8734
+ },
8735
+ },
8736
+ },
8737
+ },
8738
+ },
8739
+ listWithMembership: {
8740
+ description: 'A list and an optional list item indicating membership of a target user to that list.',
8741
+ type: 'object',
8742
+ required: ['list'],
8743
+ properties: {
8744
+ list: {
8745
+ type: 'ref',
8746
+ ref: 'lex:app.bsky.graph.defs#listView',
8747
+ },
8748
+ listItem: {
8749
+ type: 'ref',
8750
+ ref: 'lex:app.bsky.graph.defs#listItemView',
8751
+ },
8752
+ },
8753
+ },
8754
+ },
8755
+ },
8676
8756
  AppBskyGraphGetMutes: {
8677
8757
  lexicon: 1,
8678
8758
  id: 'app.bsky.graph.getMutes',
@@ -8849,6 +8929,70 @@ exports.schemaDict = {
8849
8929
  },
8850
8930
  },
8851
8931
  },
8932
+ AppBskyGraphGetStarterPacksWithMembership: {
8933
+ lexicon: 1,
8934
+ id: 'app.bsky.graph.getStarterPacksWithMembership',
8935
+ defs: {
8936
+ main: {
8937
+ type: 'query',
8938
+ description: 'Enumerates the starter packs created by the session user, and includes membership information about `actor` in those starter packs. Requires auth.',
8939
+ parameters: {
8940
+ type: 'params',
8941
+ required: ['actor'],
8942
+ properties: {
8943
+ actor: {
8944
+ type: 'string',
8945
+ format: 'at-identifier',
8946
+ description: 'The account (actor) to check for membership.',
8947
+ },
8948
+ limit: {
8949
+ type: 'integer',
8950
+ minimum: 1,
8951
+ maximum: 100,
8952
+ default: 50,
8953
+ },
8954
+ cursor: {
8955
+ type: 'string',
8956
+ },
8957
+ },
8958
+ },
8959
+ output: {
8960
+ encoding: 'application/json',
8961
+ schema: {
8962
+ type: 'object',
8963
+ required: ['starterPacksWithMembership'],
8964
+ properties: {
8965
+ cursor: {
8966
+ type: 'string',
8967
+ },
8968
+ starterPacksWithMembership: {
8969
+ type: 'array',
8970
+ items: {
8971
+ type: 'ref',
8972
+ ref: 'lex:app.bsky.graph.getStarterPacksWithMembership#starterPackWithMembership',
8973
+ },
8974
+ },
8975
+ },
8976
+ },
8977
+ },
8978
+ },
8979
+ starterPackWithMembership: {
8980
+ description: 'A starter pack and an optional list item indicating membership of a target user to that starter pack.',
8981
+ type: 'object',
8982
+ required: ['starterPack'],
8983
+ properties: {
8984
+ starterPack: {
8985
+ type: 'ref',
8986
+ ref: 'lex:app.bsky.graph.defs#starterPackView',
8987
+ },
8988
+ listItem: {
8989
+ type: 'ref',
8990
+ ref: 'lex:app.bsky.graph.defs#listItemView',
8991
+ },
8992
+ },
8993
+ },
8994
+ },
8995
+ },
8852
8996
  AppBskyGraphGetSuggestedFollowsByActor: {
8853
8997
  lexicon: 1,
8854
8998
  id: 'app.bsky.graph.getSuggestedFollowsByActor',
@@ -17341,10 +17485,12 @@ exports.ids = {
17341
17485
  AppBskyGraphGetListBlocks: 'app.bsky.graph.getListBlocks',
17342
17486
  AppBskyGraphGetListMutes: 'app.bsky.graph.getListMutes',
17343
17487
  AppBskyGraphGetLists: 'app.bsky.graph.getLists',
17488
+ AppBskyGraphGetListsWithMembership: 'app.bsky.graph.getListsWithMembership',
17344
17489
  AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
17345
17490
  AppBskyGraphGetRelationships: 'app.bsky.graph.getRelationships',
17346
17491
  AppBskyGraphGetStarterPack: 'app.bsky.graph.getStarterPack',
17347
17492
  AppBskyGraphGetStarterPacks: 'app.bsky.graph.getStarterPacks',
17493
+ AppBskyGraphGetStarterPacksWithMembership: 'app.bsky.graph.getStarterPacksWithMembership',
17348
17494
  AppBskyGraphGetSuggestedFollowsByActor: 'app.bsky.graph.getSuggestedFollowsByActor',
17349
17495
  AppBskyGraphList: 'app.bsky.graph.list',
17350
17496
  AppBskyGraphListblock: 'app.bsky.graph.listblock',