@atproto/ozone 0.2.1 → 0.2.3

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 +18 -0
  2. package/dist/api/chat/getConvos.d.ts +4 -0
  3. package/dist/api/chat/getConvos.d.ts.map +1 -0
  4. package/dist/api/chat/getConvos.js +18 -0
  5. package/dist/api/chat/getConvos.js.map +1 -0
  6. package/dist/api/chat/index.d.ts.map +1 -1
  7. package/dist/api/chat/index.js +2 -0
  8. package/dist/api/chat/index.js.map +1 -1
  9. package/dist/lexicon/lexicons.d.ts +306 -46
  10. package/dist/lexicon/lexicons.d.ts.map +1 -1
  11. package/dist/lexicon/lexicons.js +163 -16
  12. package/dist/lexicon/lexicons.js.map +1 -1
  13. package/dist/lexicon/types/app/bsky/draft/defs.d.ts +10 -0
  14. package/dist/lexicon/types/app/bsky/draft/defs.d.ts.map +1 -1
  15. package/dist/lexicon/types/app/bsky/draft/defs.js +7 -0
  16. package/dist/lexicon/types/app/bsky/draft/defs.js.map +1 -1
  17. package/dist/lexicon/types/app/bsky/embed/gallery.d.ts +45 -0
  18. package/dist/lexicon/types/app/bsky/embed/gallery.d.ts.map +1 -0
  19. package/dist/lexicon/types/app/bsky/embed/gallery.js +33 -0
  20. package/dist/lexicon/types/app/bsky/embed/gallery.js.map +1 -0
  21. package/dist/lexicon/types/app/bsky/embed/record.d.ts +2 -1
  22. package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
  23. package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
  24. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts +3 -2
  25. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.d.ts.map +1 -1
  26. package/dist/lexicon/types/app/bsky/embed/recordWithMedia.js.map +1 -1
  27. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +2 -1
  28. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  29. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  30. package/dist/lexicon/types/app/bsky/feed/post.d.ts +2 -1
  31. package/dist/lexicon/types/app/bsky/feed/post.d.ts.map +1 -1
  32. package/dist/lexicon/types/app/bsky/feed/post.js.map +1 -1
  33. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +2 -0
  34. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  35. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  36. package/dist/lexicon/types/chat/bsky/convo/unlockConvo.d.ts +1 -1
  37. package/dist/lexicon/types/chat/bsky/convo/unlockConvo.d.ts.map +1 -1
  38. package/dist/lexicon/types/chat/bsky/convo/unlockConvo.js.map +1 -1
  39. package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts +4 -1
  40. package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts.map +1 -1
  41. package/dist/lexicon/types/chat/bsky/embed/joinLink.js.map +1 -1
  42. package/dist/lexicon/types/chat/bsky/group/defs.d.ts +19 -2
  43. package/dist/lexicon/types/chat/bsky/group/defs.d.ts.map +1 -1
  44. package/dist/lexicon/types/chat/bsky/group/defs.js +14 -0
  45. package/dist/lexicon/types/chat/bsky/group/defs.js.map +1 -1
  46. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.d.ts +4 -1
  47. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.d.ts.map +1 -1
  48. package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.js.map +1 -1
  49. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts +1 -1
  50. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  51. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  52. package/dist/mod-service/subject.d.ts +5 -0
  53. package/dist/mod-service/subject.d.ts.map +1 -1
  54. package/dist/mod-service/subject.js +5 -0
  55. package/dist/mod-service/subject.js.map +1 -1
  56. package/package.json +3 -3
  57. package/src/api/chat/getConvos.ts +23 -0
  58. package/src/api/chat/index.ts +2 -0
  59. package/src/mod-service/subject.ts +5 -0
  60. package/tsconfig.build.json +2 -2
  61. package/tsconfig.build.tsbuildinfo +1 -1
  62. package/tsconfig.json +2 -2
  63. package/tsconfig.tests.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeModEvents.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAOjD,MAAM,MAAM,WAAW,GAAG;IACxB,kKAAkK;IAClK,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,YAAY,GACpB,MAAM,CAAC,sBAAsB,CAAC,GAC9B,MAAM,CAAC,qBAAqB,CAAC,GAC7B,MAAM,CAAC,yBAAyB,CAAC,GACjC,MAAM,CAAC,0BAA0B,CAAC,GAClC,MAAM,CAAC,yBAAyB,CAAC,GACjC,MAAM,CAAC,iCAAiC,CAAC,GACzC,MAAM,CAAC,iCAAiC,CAAC,GACzC,MAAM,CAAC,iBAAiB,CAAC,GACzB,MAAM,CAAC,wBAAwB,CAAC,GAChC,MAAM,CAAC,qBAAqB,CAAC,GAC7B,MAAM,CAAC,sBAAsB,CAAC,GAC9B;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AACrB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,cAAc,GAAG,iBAAiB,CAAC,CAAA;AACzE,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,YAAY,CAAA;AAEvD,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,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GACR,oBAAoB,GACpB,UAAU,GACV,mBAAmB,GACnB,oBAAoB,GACpB,4BAA4B,GAC5B,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CAClB;AAID,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0HAE9C;AAED,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+CAEpD;AAED,8CAA8C;AAC9C,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,gEAAgE,CAAA;IACxE,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2HAE/C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD"}
1
+ {"version":3,"file":"subscribeModEvents.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAOjD,MAAM,MAAM,WAAW,GAAG;IACxB,kKAAkK;IAClK,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,YAAY,GACpB,MAAM,CAAC,sBAAsB,CAAC,GAC9B,MAAM,CAAC,qBAAqB,CAAC,GAC7B,MAAM,CAAC,yBAAyB,CAAC,GACjC,MAAM,CAAC,0BAA0B,CAAC,GAClC,MAAM,CAAC,yBAAyB,CAAC,GACjC,MAAM,CAAC,iCAAiC,CAAC,GACzC,MA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AA;IAClC,0EAA0E;IAC1E,UAAU,CAAC,EACP,cAAc,GACd,YAAY,GACZ,mBAAmB,GACnB,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,eAAe,GACf,kBAAkB,GAClB,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,oBAAoB;IACpB,UAAU,EACN,cAAc,GACd,QAAQ,GACR,oBAAoB,GACpB,UAAU,GACV,mBAAmB,GACnB,oBAAoB,GACpB,4BAA4B,GAC5B,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CAClB;AAID,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0HAE9C;AAED,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+CAEpD;AAED,8CAA8C;AAC9C,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,gEAAgE,CAAA;IACxE,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2HAE/C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD"}
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeModEvents.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QA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BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAA;AACtD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAI,CAAI;IACtD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,4BAA4B,CAC7B,CAAA;AACH,CAAC;AAkDD,MAAM,yBAAyB,GAAG,uBAAuB,CAAA;AAEzD,MAAM,UAAU,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AACnD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAA4B,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAAC,CAAA;AAC9E,CAAC;AAaD,MAAM,0BAA0B,GAAG,wBAAwB,CAAA;AAE3D,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AACpD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAI,CAAI;IACpD,OAAO,QAAQ,CAA6B,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AAChF,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport { ErrorFrame } from '@atproto/xrpc-server'\nimport { IncomingMessage } from 'node:http'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.moderation.subscribeModEvents'\n\nexport type QueryParams = {\n /** The last known event seq number to backfill from. Use '2222222222222' to backfill from the beginning. Don't specify a cursor to listen only for new events. */\n cursor?: string\n}\nexport type OutputSchema =\n | $Typed<EventConvoFirstMessage>\n | $Typed<EventGroupChatCreated>\n | $Typed<EventGroupChatMemberAdded>\n | $Typed<EventGroupChatMemberJoined>\n | $Typed<EventGroupChatJoinRequest>\n | $Typed<EventGroupChatJoinRequestApproved>\n | $Typed<EventGroupChatJoinRequestRejected>\n | $Typed<EventChatAccepted>\n | $Typed<EventGroupChatMemberLeft>\n | $Typed<EventGroupChatUpdated>\n | $Typed<EventRateLimitExceeded>\n | { $type: string }\nexport type HandlerError = ErrorFrame<'FutureCursor' | 'ConsumerTooSlow'>\nexport type HandlerOutput = HandlerError | OutputSchema\n\n/** Fired when the first message was sent on a convo. */\nexport interface EventConvoFirstMessage {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage'\n convoId: string\n createdAt: string\n messageId?: string\n /** The list of DIDs message recipients. Does not include the sender, which is in the `user` field */\n recipients: string[]\n rev: string\n /** The DID of the message author. */\n user: string\n}\n\nconst hashEventConvoFirstMessage = 'eventConvoFirstMessage'\n\nexport function isEventConvoFirstMessage<V>(v: V) {\n return is$typed(v, id, hashEventConvoFirstMessage)\n}\n\nexport function validateEventConvoFirstMessage<V>(v: V) {\n return validate<EventConvoFirstMessage & V>(v, id, hashEventConvoFirstMessage)\n}\n\n/** Fire when a group chat is created. */\nexport interface EventGroupChatCreated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** The name set at creation time. */\n groupName: string\n /** DIDs of everyone added at creation time. */\n initialMemberDids: string[]\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n}\n\nconst hashEventGroupChatCreated = 'eventGroupChatCreated'\n\nexport function isEventGroupChatCreated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatCreated)\n}\n\nexport function validateEventGroupChatCreated<V>(v: V) {\n return validate<EventGroupChatCreated & V>(v, id, hashEventGroupChatCreated)\n}\n\n/** Fired when a member is added to a group chat. Note that members are added in the 'request' state. */\nexport interface EventGroupChatMemberAdded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n /** The number of members who have not yet accepted the convo. */\n requestMembersCount: number\n rev: string\n /** The DID of the member who was added. */\n subjectDid: string\n /** Whether the added member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberAdded = 'eventGroupChatMemberAdded'\n\nexport function isEventGroupChatMemberAdded<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberAdded)\n}\n\nexport function validateEventGroupChatMemberAdded<V>(v: V) {\n return validate<EventGroupChatMemberAdded & V>(\n v,\n id,\n hashEventGroupChatMemberAdded,\n )\n}\n\n/** Fired when a member joins a group chat via an join link that does not require approval. */\nexport interface EventGroupChatMemberJoined {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined'\n /** The DID of the person joining. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to join. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the joining member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberJoined = 'eventGroupChatMemberJoined'\n\nexport function isEventGroupChatMemberJoined<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberJoined)\n}\n\nexport function validateEventGroupChatMemberJoined<V>(v: V) {\n return validate<EventGroupChatMemberJoined & V>(\n v,\n id,\n hashEventGroupChatMemberJoined,\n )\n}\n\n/** Fired when a user requests to join a group chat via an join link that requires approval. */\nexport interface EventGroupChatJoinRequest {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest'\n /** The DID of the person requesting to join. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to request joining. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the requesting member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatJoinRequest = 'eventGroupChatJoinRequest'\n\nexport function isEventGroupChatJoinRequest<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequest)\n}\n\nexport function validateEventGroupChatJoinRequest<V>(v: V) {\n return validate<EventGroupChatJoinRequest & V>(\n v,\n id,\n hashEventGroupChatJoinRequest,\n )\n}\n\n/** Fired when a join request is approved by the group owner. */\nexport interface EventGroupChatJoinRequestApproved {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved'\n /** The DID of the owner approving the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was approved. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestApproved =\n 'eventGroupChatJoinRequestApproved'\n\nexport function isEventGroupChatJoinRequestApproved<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestApproved)\n}\n\nexport function validateEventGroupChatJoinRequestApproved<V>(v: V) {\n return validate<EventGroupChatJoinRequestApproved & V>(\n v,\n id,\n hashEventGroupChatJoinRequestApproved,\n )\n}\n\n/** Fired when a join request is rejected by the group owner. */\nexport interface EventGroupChatJoinRequestRejected {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected'\n /** The DID of the owner rejecting the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was rejected. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestRejected =\n 'eventGroupChatJoinRequestRejected'\n\nexport function isEventGroupChatJoinRequestRejected<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestRejected)\n}\n\nexport function validateEventGroupChatJoinRequestRejected<V>(v: V) {\n return validate<EventGroupChatJoinRequestRejected & V>(\n v,\n id,\n hashEventGroupChatJoinRequestRejected,\n )\n}\n\n/** Fired when a user accepts a chat convo, either explicitly or by sending a message. */\nexport interface EventChatAccepted {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventChatAccepted'\n /** The DID of the person accepting the convo. */\n actorDid: string\n /** When the convo was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. Only present for group convos. */\n groupMemberCount?: number\n /** The name of the group chat. Only present for group convos. */\n groupName?: string\n /** How the convo was accepted. */\n method: 'explicit' | 'message' | (string & {})\n /** The DID of the group chat owner. Only present for group convos. */\n ownerDid?: string\n rev: string\n}\n\nconst hashEventChatAccepted = 'eventChatAccepted'\n\nexport function isEventChatAccepted<V>(v: V) {\n return is$typed(v, id, hashEventChatAccepted)\n}\n\nexport function validateEventChatAccepted<V>(v: V) {\n return validate<EventChatAccepted & V>(v, id, hashEventChatAccepted)\n}\n\n/** Fired when a member leaves or is removed from a group chat. */\nexport interface EventGroupChatMemberLeft {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft'\n /** The DID of the actor. For voluntary: the person leaving. For kicked: the owner. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** How the member left. */\n leaveMethod: 'voluntary' | 'kicked' | (string & {})\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member who left or was removed. */\n subjectDid: string\n}\n\nconst hashEventGroupChatMemberLeft = 'eventGroupChatMemberLeft'\n\nexport function isEventGroupChatMemberLeft<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberLeft)\n}\n\nexport function validateEventGroupChatMemberLeft<V>(v: V) {\n return validate<EventGroupChatMemberLeft & V>(\n v,\n id,\n hashEventGroupChatMemberLeft,\n )\n}\n\n/** Fired when a group chat's metadata or status changes. */\nexport interface EventGroupChatUpdated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated'\n /** The DID of the actor performing the action (the owner). */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** Current group name. */\n groupName: string\n /** The code of the join link. Only present when updateType is join-link-related. */\n joinLinkCode?: string\n /** Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related. */\n joinLinkFollowersOnly?: boolean\n /** Whether the join link requires owner approval to join. Only present when updateType is join-link-related. */\n joinLinkRequiresApproval?: boolean\n /** Why the group was locked. Only present when updateType is 'locked'. */\n lockReason?:\n | 'owner_action'\n | 'owner_left'\n | 'owner_deactivated'\n | 'owner_deleted'\n | 'owner_suspended'\n | 'owner_taken_down'\n | 'label_applied'\n | (string & {})\n /** The new group name. Only present when updateType is 'name_changed'. */\n newName?: string\n /** The previous group name. Only present when updateType is 'name_changed'. */\n oldName?: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** What changed. */\n updateType:\n | 'name_changed'\n | 'locked'\n | 'locked_permanently'\n | 'unlocked'\n | 'join_link_created'\n | 'join_link_disabled'\n | 'join_link_settings_changed'\n | (string & {})\n}\n\nconst hashEventGroupChatUpdated = 'eventGroupChatUpdated'\n\nexport function isEventGroupChatUpdated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatUpdated)\n}\n\nexport function validateEventGroupChatUpdated<V>(v: V) {\n return validate<EventGroupChatUpdated & V>(v, id, hashEventGroupChatUpdated)\n}\n\n/** Fired when a user exceeds a rate limit. */\nexport interface EventRateLimitExceeded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded'\n /** The DID of the user who hit the rate limit. */\n actorDid: string\n createdAt: string\n /** The NSID of the endpoint that was rate limited. */\n endpoint: string\n rev: string\n}\n\nconst hashEventRateLimitExceeded = 'eventRateLimitExceeded'\n\nexport function isEventRateLimitExceeded<V>(v: V) {\n return is$typed(v, id, hashEventRateLimitExceeded)\n}\n\nexport function validateEventRateLimitExceeded<V>(v: V) {\n return validate<EventRateLimitExceeded & V>(v, id, hashEventRateLimitExceeded)\n}\n"]}
1
+ {"version":3,"file":"subscribeModEvents.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/chat/bsky/moderation/subscribeModEvents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAI5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA;AAmCpD,MAAM,0BAA0B,GAAG,wBAAwB,CAAA;AAE3D,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AACpD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAI,CAAI;IACpD,OAAO,QAAQ,CAA6B,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AAChF,CAAC;AAsBD,MAAM,yBAAyB,GAAG,uBAAuB,CAAA;AAEzD,MAAM,UAAU,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,yBAAyB,CAA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CAAI;IAC9C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AACpD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAI,CAAI;IACpD,OAAO,QAAQ,CAA6B,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AAChF,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport { ErrorFrame } from '@atproto/xrpc-server'\nimport { IncomingMessage } from 'node:http'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'chat.bsky.moderation.subscribeModEvents'\n\nexport type QueryParams = {\n /** The last known event seq number to backfill from. Use '2222222222222' to backfill from the beginning. Don't specify a cursor to listen only for new events. */\n cursor?: string\n}\nexport type OutputSchema =\n | $Typed<EventConvoFirstMessage>\n | $Typed<EventGroupChatCreated>\n | $Typed<EventGroupChatMemberAdded>\n | $Typed<EventGroupChatMemberJoined>\n | $Typed<EventGroupChatJoinRequest>\n | $Typed<EventGroupChatJoinRequestApproved>\n | $Typed<EventGroupChatJoinRequestRejected>\n | $Typed<EventChatAccepted>\n | $Typed<EventGroupChatMemberLeft>\n | $Typed<EventGroupChatUpdated>\n | $Typed<EventRateLimitExceeded>\n | { $type: string }\nexport type HandlerError = ErrorFrame<'FutureCursor' | 'ConsumerTooSlow'>\nexport type HandlerOutput = HandlerError | OutputSchema\n\n/** Fired when the first message was sent on a convo. */\nexport interface EventConvoFirstMessage {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage'\n convoId: string\n createdAt: string\n messageId?: string\n /** The list of DIDs message recipients. Does not include the sender, which is in the `user` field */\n recipients: string[]\n rev: string\n /** The DID of the message author. */\n user: string\n}\n\nconst hashEventConvoFirstMessage = 'eventConvoFirstMessage'\n\nexport function isEventConvoFirstMessage<V>(v: V) {\n return is$typed(v, id, hashEventConvoFirstMessage)\n}\n\nexport function validateEventConvoFirstMessage<V>(v: V) {\n return validate<EventConvoFirstMessage & V>(v, id, hashEventConvoFirstMessage)\n}\n\n/** Fire when a group chat is created. */\nexport interface EventGroupChatCreated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** The name set at creation time. */\n groupName: string\n /** DIDs of everyone added at creation time. */\n initialMemberDids: string[]\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n}\n\nconst hashEventGroupChatCreated = 'eventGroupChatCreated'\n\nexport function isEventGroupChatCreated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatCreated)\n}\n\nexport function validateEventGroupChatCreated<V>(v: V) {\n return validate<EventGroupChatCreated & V>(v, id, hashEventGroupChatCreated)\n}\n\n/** Fired when a member is added to a group chat. Note that members are added in the 'request' state. */\nexport interface EventGroupChatMemberAdded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded'\n /** The DID of the actor performing the action. For this event, same as ownerDid. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n /** The number of members who have not yet accepted the convo. */\n requestMembersCount: number\n rev: string\n /** The DID of the member who was added. */\n subjectDid: string\n /** Whether the added member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberAdded = 'eventGroupChatMemberAdded'\n\nexport function isEventGroupChatMemberAdded<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberAdded)\n}\n\nexport function validateEventGroupChatMemberAdded<V>(v: V) {\n return validate<EventGroupChatMemberAdded & V>(\n v,\n id,\n hashEventGroupChatMemberAdded,\n )\n}\n\n/** Fired when a member joins a group chat via an join link that does not require approval. */\nexport interface EventGroupChatMemberJoined {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined'\n /** The DID of the person joining. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to join. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the joining member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatMemberJoined = 'eventGroupChatMemberJoined'\n\nexport function isEventGroupChatMemberJoined<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberJoined)\n}\n\nexport function validateEventGroupChatMemberJoined<V>(v: V) {\n return validate<EventGroupChatMemberJoined & V>(\n v,\n id,\n hashEventGroupChatMemberJoined,\n )\n}\n\n/** Fired when a user requests to join a group chat via an join link that requires approval. */\nexport interface EventGroupChatJoinRequest {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest'\n /** The DID of the person requesting to join. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The code of the join link used to request joining. */\n joinLinkCode: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** Whether the requesting member follows the group owner. */\n subjectFollowsOwner: boolean\n}\n\nconst hashEventGroupChatJoinRequest = 'eventGroupChatJoinRequest'\n\nexport function isEventGroupChatJoinRequest<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequest)\n}\n\nexport function validateEventGroupChatJoinRequest<V>(v: V) {\n return validate<EventGroupChatJoinRequest & V>(\n v,\n id,\n hashEventGroupChatJoinRequest,\n )\n}\n\n/** Fired when a join request is approved by the group owner. */\nexport interface EventGroupChatJoinRequestApproved {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved'\n /** The DID of the owner approving the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was approved. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestApproved =\n 'eventGroupChatJoinRequestApproved'\n\nexport function isEventGroupChatJoinRequestApproved<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestApproved)\n}\n\nexport function validateEventGroupChatJoinRequestApproved<V>(v: V) {\n return validate<EventGroupChatJoinRequestApproved & V>(\n v,\n id,\n hashEventGroupChatJoinRequestApproved,\n )\n}\n\n/** Fired when a join request is rejected by the group owner. */\nexport interface EventGroupChatJoinRequestRejected {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected'\n /** The DID of the owner rejecting the request. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member whose request was rejected. */\n subjectDid: string\n}\n\nconst hashEventGroupChatJoinRequestRejected =\n 'eventGroupChatJoinRequestRejected'\n\nexport function isEventGroupChatJoinRequestRejected<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatJoinRequestRejected)\n}\n\nexport function validateEventGroupChatJoinRequestRejected<V>(v: V) {\n return validate<EventGroupChatJoinRequestRejected & V>(\n v,\n id,\n hashEventGroupChatJoinRequestRejected,\n )\n}\n\n/** Fired when a user accepts a chat convo, either explicitly or by sending a message. */\nexport interface EventChatAccepted {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventChatAccepted'\n /** The DID of the person accepting the convo. */\n actorDid: string\n /** When the convo was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. Only present for group convos. */\n groupMemberCount?: number\n /** The name of the group chat. Only present for group convos. */\n groupName?: string\n /** How the convo was accepted. */\n method: 'explicit' | 'message' | (string & {})\n /** The DID of the group chat owner. Only present for group convos. */\n ownerDid?: string\n rev: string\n}\n\nconst hashEventChatAccepted = 'eventChatAccepted'\n\nexport function isEventChatAccepted<V>(v: V) {\n return is$typed(v, id, hashEventChatAccepted)\n}\n\nexport function validateEventChatAccepted<V>(v: V) {\n return validate<EventChatAccepted & V>(v, id, hashEventChatAccepted)\n}\n\n/** Fired when a member leaves or is removed from a group chat. */\nexport interface EventGroupChatMemberLeft {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft'\n /** The DID of the actor. For voluntary: the person leaving. For kicked: the owner. */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n groupName: string\n /** How the member left. */\n leaveMethod: 'voluntary' | 'kicked' | (string & {})\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** The DID of the member who left or was removed. */\n subjectDid: string\n}\n\nconst hashEventGroupChatMemberLeft = 'eventGroupChatMemberLeft'\n\nexport function isEventGroupChatMemberLeft<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatMemberLeft)\n}\n\nexport function validateEventGroupChatMemberLeft<V>(v: V) {\n return validate<EventGroupChatMemberLeft & V>(\n v,\n id,\n hashEventGroupChatMemberLeft,\n )\n}\n\n/** Fired when a group chat's metadata or status changes. */\nexport interface EventGroupChatUpdated {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated'\n /** The DID of the actor performing the action (the owner). */\n actorDid: string\n /** When the group was originally created. */\n convoCreatedAt: string\n convoId: string\n createdAt: string\n /** Current member count at the time of the event. */\n groupMemberCount: number\n /** Current group name. */\n groupName: string\n /** The code of the join link. Only present when updateType is join-link-related. */\n joinLinkCode?: string\n /** Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related. */\n joinLinkFollowersOnly?: boolean\n /** Whether the join link requires owner approval to join. Only present when updateType is join-link-related. */\n joinLinkRequiresApproval?: boolean\n /** Why the group was locked. Only present when updateType is 'locked'. */\n lockReason?:\n | 'owner_action'\n | 'owner_left'\n | 'owner_deactivated'\n | 'owner_deleted'\n | 'owner_suspended'\n | 'owner_taken_down'\n | 'label_applied'\n | 'convo_taken_down'\n | (string & {})\n /** The new group name. Only present when updateType is 'name_changed'. */\n newName?: string\n /** The previous group name. Only present when updateType is 'name_changed'. */\n oldName?: string\n /** The DID of the group chat owner. */\n ownerDid: string\n rev: string\n /** What changed. */\n updateType:\n | 'name_changed'\n | 'locked'\n | 'locked_permanently'\n | 'unlocked'\n | 'join_link_created'\n | 'join_link_disabled'\n | 'join_link_settings_changed'\n | (string & {})\n}\n\nconst hashEventGroupChatUpdated = 'eventGroupChatUpdated'\n\nexport function isEventGroupChatUpdated<V>(v: V) {\n return is$typed(v, id, hashEventGroupChatUpdated)\n}\n\nexport function validateEventGroupChatUpdated<V>(v: V) {\n return validate<EventGroupChatUpdated & V>(v, id, hashEventGroupChatUpdated)\n}\n\n/** Fired when a user exceeds a rate limit. */\nexport interface EventRateLimitExceeded {\n $type?: 'chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded'\n /** The DID of the user who hit the rate limit. */\n actorDid: string\n createdAt: string\n /** The NSID of the endpoint that was rate limited. */\n endpoint: string\n rev: string\n}\n\nconst hashEventRateLimitExceeded = 'eventRateLimitExceeded'\n\nexport function isEventRateLimitExceeded<V>(v: V) {\n return is$typed(v, id, hashEventRateLimitExceeded)\n}\n\nexport function validateEventRateLimitExceeded<V>(v: V) {\n return validate<EventRateLimitExceeded & V>(v, id, hashEventRateLimitExceeded)\n}\n"]}
@@ -10,6 +10,11 @@ type SubjectInput = ReportInput['subject'] | ActionInput['subject'];
10
10
  type StrongRef = ComAtprotoRepoStrongRef.Main;
11
11
  type MessageRef = ChatBskyConvoDefs.MessageRef;
12
12
  type ConvoRef = ChatBskyConvoDefs.ConvoRef;
13
+ /**
14
+ * Cast subject input into ModSubject.
15
+ * @description Represents the subject types that can appear in the moderation event stream.
16
+ * NOTE: Downstream services should be updated to handle new subject types including appview.
17
+ */
13
18
  export declare const subjectFromInput: (subject: SubjectInput, blobs?: string[]) => ModSubject;
14
19
  export declare const subjectFromEventRow: (row: ModerationEventRow) => ModSubject;
15
20
  export declare const subjectFromStatusRow: (row: ModerationSubjectStatusRow) => ModSubject;
@@ -1 +1 @@
1
- {"version":3,"file":"subject.d.ts","sourceRoot":"","sources":["../../src/mod-service/subject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC,OAAO,KAAK,iBAAiB,MAAM,0CAA0C,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAa,MAAM,4CAA4C,CAAA;AAC/E,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,yDAAyD,CAAA;AACpG,OAAO,KAAK,uBAAuB,MAAM,gDAAgD,CAAA;AACzF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,sDAAsD,CAAA;AACjG,OAAO,EAAE,MAAM,EAAe,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAA;AAE3E,KAAK,YAAY,GAAG,WAAW,CAAC,SAAS,CAAC,GAAG,WAAW,CAAC,SAAS,CAAC,CAAA;AAEnE,KAAK,SAAS,GAAG,uBAAuB,CAAC,IAAI,CAAA;AAG7C,KAAK,UAAU,GAAG,iBAAiB,CAAC,UAAU,CAAA;AAG9C,KAAK,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,CAAA;AAU1C,eAAO,MAAM,gBAAgB,GAC3B,SAAS,YAAY,EACrB,QAAQ,MAAM,EAAE,KACf,UAgCF,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,K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AM;IACX,OAAO,EAAE,MAAM;IAJxB,QAAQ,YAAY;IACpB,UAAU,YAAY;gBAEb,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM;IAExB,MAAM,IAAI,IAAI,IAAI,WAAW;IAG7B,QAAQ,IAAI,IAAI,IAAI,aAAa;IAGjC,SAAS,IAAI,IAAI,IAAI,cAAc;IAGnC,OAAO,IAAI,IAAI,IAAI,YAAY;IAG/B,IAAI;;;;;;;;;;;;IAYJ,GAAG,IAAI,MAAM,CAAC,QAAQ,CAAC;CAOxB"}
@@ -10,6 +10,11 @@ const isValidConvoRef = asPredicate(ChatBskyConvoDefs.validateConvoRef);
10
10
  const isMessageRefWithoutConvoId = (subject) => subject != null &&
11
11
  typeof subject === 'object' &&
12
12
  isValidMessageRef({ convoId: '', ...subject });
13
+ /**
14
+ * Cast subject input into ModSubject.
15
+ * @description Represents the subject types that can appear in the moderation event stream.
16
+ * NOTE: Downstream services should be updated to handle new subject types including appview.
17
+ */
13
18
  export const subjectFromInput = (subject, blobs) => {
14
19
  if (isRepoRef(subject)) {
15
20
  if (blobs && blobs.length > 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"subject.js","sourceRoot":"","sources":["../../src/mod-service/subject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,iBAAiB,MAAM,0CAA0C,CAAA;AAC7E,OAAO,EAAW,SAAS,EAAE,MAAM,4CAA4C,CAAA;AAE/E,OAAO,KAAK,uBAAuB,MAAM,gDAAgD,CAAA;AAEzF,OAAO,EAAU,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAMxD,MAAM,WAAW,GAAG,WAAW,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAA;AAGrE,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAA;AAG3E,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O;YACL,WAAW,EAAE,+BAAwC;YACrD,UAAU,EAAE,IAAI,CAAC,GAAG;YACpB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,IAAI;YACrB,gBAAgB,EAAE,IAAI;YACtB,cAAc,EAAE,IAAI,CAAC,OAAO;YAC5B,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,SAAS,EAAE;SAC7C,CAAA;IACH,CAAC;IACD,GAAG;QACD,OAAO;YACL,KAAK,EAAE,+BAA+B;YACtC,GAAG,EAAE,IAAI,CAAC,GAAG;YACb,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAA;IACH,CAAC;CACF","sourcesContent":["import { AtUri } from '@atproto/syntax'\nimport { InvalidRequestError } from '@atproto/xrpc-server'\nimport * as ChatBskyConvoDefs from '../lexicon/types/chat/bsky/convo/defs.js'\nimport { RepoRef, isRepoRef } from '../lexicon/types/com/atproto/admin/defs.js'\nimport { InputSchema as ReportInput } from '../lexicon/types/com/atproto/moderation/createReport.js'\nimport * as ComAtprotoRepoStrongRef from '../lexicon/types/com/atproto/repo/strongRef.js'\nimport { InputSchema as ActionInput } from '../lexicon/types/tools/ozone/moderation/emitEvent.js'\nimport { $Typed, asPredicate } from '../lexicon/util.js'\nimport { ModerationEventRow, ModerationSubjectStatusRow } from './types.js'\n\ntype SubjectInput = ReportInput['subject'] | ActionInput['subject']\n\ntype StrongRef = ComAtprotoRepoStrongRef.Main\nconst isStrongRef = asPredicate(ComAtprotoRepoStrongRef.validateMain)\n\ntype MessageRef = ChatBskyConvoDefs.MessageRef\nconst isValidMessageRef = asPredicate(ChatBskyConvoDefs.validateMessageRef)\n\ntype ConvoRef = ChatBskyConvoDefs.ConvoRef\nconst isValidConvoRef = asPredicate(ChatBskyConvoDefs.validateConvoRef)\n\nconst isMessageRefWithoutConvoId = (\n subject: unknown,\n): subject is $Typed<Omit<MessageRef, 'convoId'> & { convoId?: string }> =>\n subject != null &&\n typeof subject === 'object' &&\n isValidMessageRef({ convoId: '', ...subject })\n\nexport const subjectFromInput = (\n subject: SubjectInput,\n blobs?: string[],\n): ModSubject => {\n if (isRepoRef(subject)) {\n if (blobs && blobs.length > 0) {\n throw new InvalidRequestError('Blobs do not apply to repo subjects')\n }\n return new RepoSubject(subject.did)\n }\n if (isStrongRef(subject)) {\n return new RecordSubject(subject.uri, subject.cid, blobs)\n }\n // @NOTE #messageRef is not a report input for com.atproto.moderation.createReport.\n // we are taking advantage of the open union in order for bsky.chat to interoperate here.\n if (isValidMessageRef(subject)) {\n return new MessageSubject(subject.did, subject.convoId, subject.messageId)\n }\n // @NOTE #convoRef is a new type for reporting entire conversations.\n // Similar to messageRef, we take advantage of the open union to support this.\n if (isValidConvoRef(subject)) {\n return new ConvoSubject(subject.did, subject.convoId)\n }\n // @TODO we should start to require subject.convoId is a string in order to properly validate\n // the #messageRef. temporarily allowing it to be optional as a stopgap for rollout.\n // The next \"if\" can be removed once convoId is consistently provided.\n if (isMessageRefWithoutConvoId(subject)) {\n return new MessageSubject(\n subject.did,\n subject.convoId ?? '',\n subject.messageId,\n )\n }\n\n throw new InvalidRequestError('Invalid subject')\n}\n\nexport const subjectFromEventRow = (row: ModerationEventRow): ModSubject => {\n if (\n row.subjectType === 'com.atproto.repo.strongRef' &&\n row.subjectUri &&\n row.subjectCid\n ) {\n return new RecordSubject(\n row.subjectUri,\n row.subjectCid,\n row.subjectBlobCids ?? [],\n )\n } else if (\n row.subjectType === 'chat.bsky.convo.defs#messageRef' &&\n row.subjectMessageId\n ) {\n const convoId =\n typeof row.meta?.['convoId'] === 'string' ? row.meta['convoId'] : ''\n return new MessageSubject(row.subjectDid, convoId, row.subjectMessageId)\n } else if (\n row.subjectType === 'chat.bsky.convo.defs#convoRef' &&\n row.subjectConvoId\n ) {\n return new ConvoSubject(row.subjectDid, row.subjectConvoId)\n } else {\n return new RepoSubject(row.subjectDid)\n }\n}\n\nexport const subjectFromStatusRow = (\n row: ModerationSubjectStatusRow,\n): ModSubject => {\n if (row.recordPath && row.recordCid) {\n // Not too intuitive but the recordpath is basically <collection>/<rkey>\n // which is what the last 2 params of .make() arguments are\n const uri = AtUri.make(row.did, ...row.recordPath.split('/')).toString()\n return new RecordSubject(uri.toString(), row.recordCid, row.blobCids ?? [])\n } else if (row.convoId) {\n // Conversation subject - restore from subject status row\n return new ConvoSubject(row.did, row.convoId)\n } else {\n return new RepoSubject(row.did)\n }\n}\n\ntype SubjectInfo = {\n subjectType:\n | 'com.atproto.admin.defs#repoRef'\n | 'com.atproto.repo.strongRef'\n | 'chat.bsky.convo.defs#messageRef'\n | 'chat.bsky.convo.defs#convoRef'\n subjectDid: string\n subjectUri: string | null\n subjectCid: string | null\n subjectBlobCids: string[] | null\n subjectMessageId: string | null\n subjectConvoId: string | null\n meta: Record<string, string | undefined> | null\n}\n\nexport interface ModSubject {\n did: string\n recordPath: string | undefined\n convoId: string | undefined\n blobCids?: string[]\n isRepo(): this is RepoSubject\n isRecord(): this is RecordSubject\n isMessage(): this is MessageSubject\n isConvo(): this is ConvoSubject\n info(): SubjectInfo\n lex():\n | $Typed<RepoRef>\n | $Typed<StrongRef>\n | $Typed<MessageRef>\n | $Typed<ConvoRef>\n}\n\nexport class RepoSubject implements ModSubject {\n blobCids = undefined\n recordPath = undefined\n convoId = undefined\n constructor(public did: string) {}\n isRepo(): this is RepoSubject {\n return true\n }\n isRecord(): this is RecordSubject {\n return false\n }\n isMessage(): this is MessageSubject {\n return false\n }\n isConvo(): this is ConvoSubject {\n return false\n }\n info() {\n return {\n subjectType: 'com.atproto.admin.defs#repoRef' as const,\n subjectDid: this.did,\n subjectUri: null,\n subjectCid: null,\n subjectBlobCids: null,\n subjectMessageId: null,\n subjectConvoId: null,\n meta: null,\n }\n }\n lex(): $Typed<RepoRef> {\n return {\n $type: 'com.atproto.admin.defs#repoRef',\n did: this.did,\n }\n }\n}\n\nexport class RecordSubject implements ModSubject {\n parsedUri: AtUri\n did: string\n recordPath: string\n convoId = undefined\n constructor(\n public uri: string,\n public cid: string,\n public blobCids?: string[],\n ) {\n this.parsedUri = new AtUri(uri)\n this.did = this.parsedUri.hostname\n this.recordPath = `${this.parsedUri.collection}/${this.parsedUri.rkey}`\n }\n isRepo(): this is RepoSubject {\n return false\n }\n isRecord(): this is RecordSubject {\n return true\n }\n isMessage(): this is MessageSubject {\n return false\n }\n isConvo(): this is ConvoSubject {\n return false\n }\n info() {\n return {\n subjectType: 'com.atproto.repo.strongRef' as const,\n subjectDid: this.did,\n subjectUri: this.uri,\n subjectCid: this.cid,\n subjectBlobCids: this.blobCids ?? [],\n subjectMessageId: null,\n subjectConvoId: null,\n meta: null,\n }\n }\n lex(): $Typed<StrongRef> {\n return {\n $type: 'com.atproto.repo.strongRef',\n uri: this.uri,\n cid: this.cid,\n }\n }\n}\n\nexport class MessageSubject implements ModSubject {\n blobCids = undefined\n recordPath = undefined\n constructor(\n public did: string,\n public convoId: string,\n public messageId: string,\n ) {}\n isRepo(): this is RepoSubject {\n return false\n }\n isRecord(): this is RecordSubject {\n return false\n }\n isMessage(): this is MessageSubject {\n return true\n }\n isConvo(): this is ConvoSubject {\n return false\n }\n info() {\n return {\n subjectType: 'chat.bsky.convo.defs#messageRef' as const,\n subjectDid: this.did,\n subjectUri: null,\n subjectCid: null,\n subjectBlobCids: null,\n subjectMessageId: this.messageId,\n subjectConvoId: this.convoId,\n meta: { convoId: this.convoId || undefined },\n }\n }\n lex(): $Typed<MessageRef> {\n return {\n $type: 'chat.bsky.convo.defs#messageRef',\n did: this.did,\n convoId: this.convoId,\n messageId: this.messageId,\n }\n }\n}\n\nexport class ConvoSubject implements ModSubject {\n blobCids = undefined\n recordPath = undefined\n constructor(\n public did: string,\n public convoId: string,\n ) {}\n isRepo(): this is RepoSubject {\n return false\n }\n isRecord(): this is RecordSubject {\n return false\n }\n isMessage(): this is MessageSubject {\n return false\n }\n isConvo(): this is ConvoSubject {\n return true\n }\n info() {\n return {\n subjectType: 'chat.bsky.convo.defs#convoRef' as const,\n subjectDid: this.did,\n subjectUri: null,\n subjectCid: null,\n subjectBlobCids: null,\n subjectMessageId: null,\n subjectConvoId: this.convoId,\n meta: { convoId: this.convoId || undefined },\n }\n }\n lex(): $Typed<ConvoRef> {\n return {\n $type: 'chat.bsky.convo.defs#convoRef',\n did: this.did,\n convoId: this.convoId,\n }\n }\n}\n"]}
1
+ {"version":3,"file":"subject.js","sourceRoot":"","sources":["../../src/mod-service/subject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,iBAAiB,MAAM,0CAA0C,CAAA;AAC7E,OAAO,EAAW,SAAS,EAAE,MAAM,4CAA4C,CAAA;AAE/E,OAAO,KAAK,uBAAuB,MAAM,gDAAgD,CAAA;AAEzF,OAAO,EAAU,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAMxD,MAAM,WAAW,GAAG,WAAW,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAA;AAGrE,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAA;AAG3E,MAAM,eAAe,GAAG,WAAW,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAA;AAEvE,MAAM,0BAA0B,GAAG,CACjC,OAAgB,EACuD,EAAE,CACzE,OAAO,IAAI,IAAI;IACf,OAAO,OAAO,KAAK,QAAQ;IAC3B,iBAAiB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAA;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,OAAqB,EACrB,KAAgB,EACJ,EAAE;IACd,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;QACvB,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC9B,MAAM,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from '@atproto/syntax'\nimport { InvalidRequestError } from '@atproto/xrpc-server'\nimport * as ChatBskyConvoDefs from '../lexicon/types/chat/bsky/convo/defs.js'\nimport { RepoRef, isRepoRef } from '../lexicon/types/com/atproto/admin/defs.js'\nimport { InputSchema as ReportInput } from '../lexicon/types/com/atproto/moderation/createReport.js'\nimport * as ComAtprotoRepoStrongRef from '../lexicon/types/com/atproto/repo/strongRef.js'\nimport { InputSchema as ActionInput } from '../lexicon/types/tools/ozone/moderation/emitEvent.js'\nimport { $Typed, asPredicate } from '../lexicon/util.js'\nimport { ModerationEventRow, ModerationSubjectStatusRow } from './types.js'\n\ntype SubjectInput = ReportInput['subject'] | ActionInput['subject']\n\ntype StrongRef = ComAtprotoRepoStrongRef.Main\nconst isStrongRef = asPredicate(ComAtprotoRepoStrongRef.validateMain)\n\ntype MessageRef = ChatBskyConvoDefs.MessageRef\nconst isValidMessageRef = asPredicate(ChatBskyConvoDefs.validateMessageRef)\n\ntype ConvoRef = ChatBskyConvoDefs.ConvoRef\nconst isValidConvoRef = asPredicate(ChatBskyConvoDefs.validateConvoRef)\n\nconst isMessageRefWithoutConvoId = (\n subject: unknown,\n): subject is $Typed<Omit<MessageRef, 'convoId'> & { convoId?: string }> =>\n subject != null &&\n typeof subject === 'object' &&\n isValidMessageRef({ convoId: '', ...subject })\n\n/**\n * Cast subject input into ModSubject.\n * @description Represents the subject types that can appear in the moderation event stream.\n * NOTE: Downstream services should be updated to handle new subject types including appview.\n */\nexport const subjectFromInput = (\n subject: SubjectInput,\n blobs?: string[],\n): ModSubject => {\n if (isRepoRef(subject)) {\n if (blobs && blobs.length > 0) {\n throw new InvalidRequestError('Blobs do not apply to repo subjects')\n }\n return new RepoSubject(subject.did)\n }\n if (isStrongRef(subject)) {\n return new RecordSubject(subject.uri, subject.cid, blobs)\n }\n // @NOTE #messageRef is not a report input for com.atproto.moderation.createReport.\n // we are taking advantage of the open union in order for bsky.chat to interoperate here.\n if (isValidMessageRef(subject)) {\n return new MessageSubject(subject.did, subject.convoId, subject.messageId)\n }\n // @NOTE #convoRef is a new type for reporting entire conversations.\n // Similar to messageRef, we take advantage of the open union to support this.\n if (isValidConvoRef(subject)) {\n return new ConvoSubject(subject.did, subject.convoId)\n }\n // @TODO we should start to require subject.convoId is a string in order to properly validate\n // the #messageRef. temporarily allowing it to be optional as a stopgap for rollout.\n // The next \"if\" can be removed once convoId is consistently provided.\n if (isMessageRefWithoutConvoId(subject)) {\n return new MessageSubject(\n subject.did,\n subject.convoId ?? '',\n subject.messageId,\n )\n }\n\n throw new InvalidRequestError('Invalid subject')\n}\n\nexport const subjectFromEventRow = (row: ModerationEventRow): ModSubject => {\n if (\n row.subjectType === 'com.atproto.repo.strongRef' &&\n row.subjectUri &&\n row.subjectCid\n ) {\n return new RecordSubject(\n row.subjectUri,\n row.subjectCid,\n row.subjectBlobCids ?? [],\n )\n } else if (\n row.subjectType === 'chat.bsky.convo.defs#messageRef' &&\n row.subjectMessageId\n ) {\n const convoId =\n typeof row.meta?.['convoId'] === 'string' ? row.meta['convoId'] : ''\n return new MessageSubject(row.subjectDid, convoId, row.subjectMessageId)\n } else if (\n row.subjectType === 'chat.bsky.convo.defs#convoRef' &&\n row.subjectConvoId\n ) {\n return new ConvoSubject(row.subjectDid, row.subjectConvoId)\n } else {\n return new RepoSubject(row.subjectDid)\n }\n}\n\nexport const subjectFromStatusRow = (\n row: ModerationSubjectStatusRow,\n): ModSubject => {\n if (row.recordPath && row.recordCid) {\n // Not too intuitive but the recordpath is basically <collection>/<rkey>\n // which is what the last 2 params of .make() arguments are\n const uri = AtUri.make(row.did, ...row.recordPath.split('/')).toString()\n return new RecordSubject(uri.toString(), row.recordCid, row.blobCids ?? [])\n } else if (row.convoId) {\n // Conversation subject - restore from subject status row\n return new ConvoSubject(row.did, row.convoId)\n } else {\n return new RepoSubject(row.did)\n }\n}\n\ntype SubjectInfo = {\n subjectType:\n | 'com.atproto.admin.defs#repoRef'\n | 'com.atproto.repo.strongRef'\n | 'chat.bsky.convo.defs#messageRef'\n | 'chat.bsky.convo.defs#convoRef'\n subjectDid: string\n subjectUri: string | null\n subjectCid: string | null\n subjectBlobCids: string[] | null\n subjectMessageId: string | null\n subjectConvoId: string | null\n meta: Record<string, string | undefined> | null\n}\n\nexport interface ModSubject {\n did: string\n recordPath: string | undefined\n convoId: string | undefined\n blobCids?: string[]\n isRepo(): this is RepoSubject\n isRecord(): this is RecordSubject\n isMessage(): this is MessageSubject\n isConvo(): this is ConvoSubject\n info(): SubjectInfo\n lex():\n | $Typed<RepoRef>\n | $Typed<StrongRef>\n | $Typed<MessageRef>\n | $Typed<ConvoRef>\n}\n\nexport class RepoSubject implements ModSubject {\n blobCids = undefined\n recordPath = undefined\n convoId = undefined\n constructor(public did: string) {}\n isRepo(): this is RepoSubject {\n return true\n }\n isRecord(): this is RecordSubject {\n return false\n }\n isMessage(): this is MessageSubject {\n return false\n }\n isConvo(): this is ConvoSubject {\n return false\n }\n info() {\n return {\n subjectType: 'com.atproto.admin.defs#repoRef' as const,\n subjectDid: this.did,\n subjectUri: null,\n subjectCid: null,\n subjectBlobCids: null,\n subjectMessageId: null,\n subjectConvoId: null,\n meta: null,\n }\n }\n lex(): $Typed<RepoRef> {\n return {\n $type: 'com.atproto.admin.defs#repoRef',\n did: this.did,\n }\n }\n}\n\nexport class RecordSubject implements ModSubject {\n parsedUri: AtUri\n did: string\n recordPath: string\n convoId = undefined\n constructor(\n public uri: string,\n public cid: string,\n public blobCids?: string[],\n ) {\n this.parsedUri = new AtUri(uri)\n this.did = this.parsedUri.hostname\n this.recordPath = `${this.parsedUri.collection}/${this.parsedUri.rkey}`\n }\n isRepo(): this is RepoSubject {\n return false\n }\n isRecord(): this is RecordSubject {\n return true\n }\n isMessage(): this is MessageSubject {\n return false\n }\n isConvo(): this is ConvoSubject {\n return false\n }\n info() {\n return {\n subjectType: 'com.atproto.repo.strongRef' as const,\n subjectDid: this.did,\n subjectUri: this.uri,\n subjectCid: this.cid,\n subjectBlobCids: this.blobCids ?? [],\n subjectMessageId: null,\n subjectConvoId: null,\n meta: null,\n }\n }\n lex(): $Typed<StrongRef> {\n return {\n $type: 'com.atproto.repo.strongRef',\n uri: this.uri,\n cid: this.cid,\n }\n }\n}\n\nexport class MessageSubject implements ModSubject {\n blobCids = undefined\n recordPath = undefined\n constructor(\n public did: string,\n public convoId: string,\n public messageId: string,\n ) {}\n isRepo(): this is RepoSubject {\n return false\n }\n isRecord(): this is RecordSubject {\n return false\n }\n isMessage(): this is MessageSubject {\n return true\n }\n isConvo(): this is ConvoSubject {\n return false\n }\n info() {\n return {\n subjectType: 'chat.bsky.convo.defs#messageRef' as const,\n subjectDid: this.did,\n subjectUri: null,\n subjectCid: null,\n subjectBlobCids: null,\n subjectMessageId: this.messageId,\n subjectConvoId: this.convoId,\n meta: { convoId: this.convoId || undefined },\n }\n }\n lex(): $Typed<MessageRef> {\n return {\n $type: 'chat.bsky.convo.defs#messageRef',\n did: this.did,\n convoId: this.convoId,\n messageId: this.messageId,\n }\n }\n}\n\nexport class ConvoSubject implements ModSubject {\n blobCids = undefined\n recordPath = undefined\n constructor(\n public did: string,\n public convoId: string,\n ) {}\n isRepo(): this is RepoSubject {\n return false\n }\n isRecord(): this is RecordSubject {\n return false\n }\n isMessage(): this is MessageSubject {\n return false\n }\n isConvo(): this is ConvoSubject {\n return true\n }\n info() {\n return {\n subjectType: 'chat.bsky.convo.defs#convoRef' as const,\n subjectDid: this.did,\n subjectUri: null,\n subjectCid: null,\n subjectBlobCids: null,\n subjectMessageId: null,\n subjectConvoId: this.convoId,\n meta: { convoId: this.convoId || undefined },\n }\n }\n lex(): $Typed<ConvoRef> {\n return {\n $type: 'chat.bsky.convo.defs#convoRef',\n did: this.did,\n convoId: this.convoId,\n }\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/ozone",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "license": "MIT",
5
5
  "description": "Backend service for moderating the Bluesky network.",
6
6
  "keywords": [
@@ -33,11 +33,11 @@
33
33
  "uint8arrays": "^5.0.0",
34
34
  "undici": "^6.14.1",
35
35
  "ws": "^8.12.0",
36
+ "@atproto/api": "^0.20.12",
36
37
  "@atproto/common": "^0.6.1",
37
38
  "@atproto/crypto": "^0.5.0",
38
39
  "@atproto/identity": "^0.5.0",
39
40
  "@atproto/lexicon": "^0.7.1",
40
- "@atproto/api": "^0.20.8",
41
41
  "@atproto/syntax": "^0.6.1",
42
42
  "@atproto/ws-client": "^0.1.0",
43
43
  "@atproto/xrpc": "^0.8.0",
@@ -55,7 +55,7 @@
55
55
  "ts-node": "^10.8.2",
56
56
  "typescript": "^6.0.3",
57
57
  "@atproto/lex-cli": "^0.10.0",
58
- "@atproto/pds": "^0.5.1"
58
+ "@atproto/pds": "^0.5.2"
59
59
  },
60
60
  "type": "module",
61
61
  "exports": {
@@ -0,0 +1,23 @@
1
+ import { InvalidRequestError } from '@atproto/xrpc-server'
2
+ import { AppContext } from '../../context.js'
3
+ import { Server } from '../../lexicon/index.js'
4
+ import { ids } from '../../lexicon/lexicons.js'
5
+
6
+ export default function (server: Server, ctx: AppContext) {
7
+ server.chat.bsky.moderation.getConvos({
8
+ auth: ctx.authVerifier.modOrAdminToken,
9
+ handler: async ({ params }) => {
10
+ if (!ctx.chatAgent) {
11
+ throw new InvalidRequestError('No chat agent configured')
12
+ }
13
+ const res = await ctx.chatAgent.api.chat.bsky.moderation.getConvos(
14
+ params,
15
+ await ctx.chatAuth(ids.ChatBskyModerationGetConvos),
16
+ )
17
+ return {
18
+ encoding: 'application/json',
19
+ body: res.data,
20
+ }
21
+ },
22
+ })
23
+ }
@@ -3,12 +3,14 @@ import { Server } from '../../lexicon/index.js'
3
3
  import getActorMetadata from './getActorMetadata.js'
4
4
  import getConvo from './getConvo.js'
5
5
  import getConvoMembers from './getConvoMembers.js'
6
+ import getConvos from './getConvos.js'
6
7
  import getMessageContext from './getMessageContext.js'
7
8
 
8
9
  export default function (server: Server, ctx: AppContext) {
9
10
  getActorMetadata(server, ctx)
10
11
  getConvo(server, ctx)
11
12
  getConvoMembers(server, ctx)
13
+ getConvos(server, ctx)
12
14
  getMessageContext(server, ctx)
13
15
  return server
14
16
  }
@@ -26,6 +26,11 @@ const isMessageRefWithoutConvoId = (
26
26
  typeof subject === 'object' &&
27
27
  isValidMessageRef({ convoId: '', ...subject })
28
28
 
29
+ /**
30
+ * Cast subject input into ModSubject.
31
+ * @description Represents the subject types that can appear in the moderation event stream.
32
+ * NOTE: Downstream services should be updated to handle new subject types including appview.
33
+ */
29
34
  export const subjectFromInput = (
30
35
  subject: SubjectInput,
31
36
  blobs?: string[],
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "rootDir": "./src",
5
5
  "outDir": "./dist",
6
- "noUnusedLocals": false
6
+ "noUnusedLocals": false,
7
7
  },
8
- "include": ["./src"]
8
+ "include": ["./src"],
9
9
  }
@@ -1 +1 @@
1
- {"root":["./src/auth-verifier.ts","./src/background.ts","./src/context.ts","./src/error.ts","./src/image-invalidator.ts","./src/index.ts","./src/logger.ts","./src/util.ts","./src/api/health.ts","./src/api/index.ts","./src/api/proxied.ts","./src/api/util.ts","./src/api/well-known.ts","./src/api/chat/getActorMetadata.ts","./src/api/chat/getConvo.ts","./src/api/chat/getConvoMembers.ts","./src/api/chat/getMessageContext.ts","./src/api/chat/index.ts","./src/api/communication/createTemplate.ts","./src/api/communication/deleteTemplate.ts","./src/api/communication/listTemplates.ts","./src/api/communication/updateTemplate.ts","./src/api/label/fetchLabels.ts","./src/api/label/queryLabels.ts","./src/api/label/subscribeLabels.ts","./src/api/moderation/cancelScheduledActions.ts","./src/api/moderation/emitEvent.ts","./src/api/moderation/getAccountTimeline.ts","./src/api/moderation/getEvent.ts","./src/api/moderation/getRecord.ts","./src/api/moderation/getRecords.ts","./src/api/moderation/getRepo.ts","./src/api/moderation/getReporterStats.ts","./src/api/moderation/getRepos.ts","./src/api/moderation/getSubjects.ts","./src/api/moderation/listScheduledActions.ts","./src/api/moderation/queryEvents.ts","./src/api/moderation/queryStatuses.ts","./src/api/moderation/scheduleAction.ts","./src/api/moderation/searchRepos.ts","./src/api/moderation/util.ts","./src/api/queue/assignModerator.ts","./src/api/queue/createQueue.ts","./src/api/queue/deleteQueue.ts","./src/api/queue/getAssignments.ts","./src/api/queue/listQueues.ts","./src/api/queue/routeReports.ts","./src/api/queue/unassignModerator.ts","./src/api/queue/updateQueue.ts","./src/api/report/assignModerator.ts","./src/api/report/createActivity.ts","./src/api/report/createReport.ts","./src/api/report/getAssignments.ts","./src/api/report/getHistoricalStats.ts","./src/api/report/getLatestReport.ts","./src/api/report/getLiveStats.ts","./src/api/report/getReport.ts","./src/api/report/listActivities.ts","./src/api/report/queryReports.ts","./src/api/report/reassignQueue.ts","./src/api/report/refreshStats.ts","./src/api/report/unassignModerator.ts","./src/api/safelink/addRule.ts","./src/api/safelink/queryEvents.ts","./src/api/safelink/queryRules.ts","./src/api/safelink/removeRule.ts","./src/api/safelink/updateRule.ts","./src/api/server/getConfig.ts","./src/api/set/addValues.ts","./src/api/set/deleteSet.ts","./src/api/set/deleteValues.ts","./src/api/set/getValues.ts","./src/api/set/querySets.ts","./src/api/set/upsertSet.ts","./src/api/setting/listOptions.ts","./src/api/setting/removeOptions.ts","./src/api/setting/upsertOption.ts","./src/api/team/addMember.ts","./src/api/team/deleteMember.ts","./src/api/team/listMembers.ts","./src/api/team/updateMember.ts","./src/api/verification/grantVerifications.ts","./src/api/verification/listVerifications.ts","./src/api/verification/revokeVerifications.ts","./src/assignment/index.ts","./src/communication-service/template.ts","./src/communication-service/util.ts","./src/config/config.ts","./src/config/env.ts","./src/config/index.ts","./src/config/secrets.ts","./src/daemon/blob-diverter.ts","./src/daemon/context.ts","./src/daemon/event-pusher.ts","./src/daemon/event-reverser.ts","./src/daemon/index.ts","./src/daemon/job-cursor.ts","./src/daemon/materialized-view-refresher.ts","./src/daemon/queue-router.ts","./src/daemon/scheduled-action-processor.ts","./src/daemon/stats-computer.ts","./src/daemon/strike-expiry-processor.ts","./src/daemon/team-profile-synchronizer.ts","./src/daemon/verification-listener.ts","./src/db/index.ts","./src/db/pagination.ts","./src/db/types.ts","./src/db/migrations/20231219T205730722Z-init.ts","./src/db/migrations/20240116T085607200Z-communication-template.ts","./src/db/migrations/20240201T051104136Z-mod-event-blobs.ts","./src/db/migrations/20240208T213404429Z-add-tags-column-to-moderation-subject.ts","./src/db/migrations/20240228T003647759Z-add-label-sigs.ts","./src/db/migrations/20240408T192432676Z-mute-reporting.ts","./src/db/migrations/20240506T225055595Z-message-subject.ts","./src/db/migrations/20240521T211332580Z-member.ts","./src/db/migrations/20240814T003647759Z-event-created-at-index.ts","./src/db/migrations/20240903T205730722Z-add-template-lang.ts","./src/db/migrations/20240904T205730722Z-add-subject-did-index.ts","./src/db/migrations/20241001T205730722Z-subject-status-review-state-index.ts","./src/db/migrations/20241008T205730722Z-sets.ts","./src/db/migrations/20241018T205730722Z-setting.ts","./src/db/migrations/20241026T205730722Z-add-hosting-status-to-subject-status.ts","./src/db/migrations/20241220T144630860Z-stats-materialized-views.ts","./src/db/migrations/20250204T003647759Z-add-subject-priority-score.ts","./src/db/migrations/20250211T003647759Z-add-reporter-stats-index.ts","./src/db/migrations/20250211T132135150Z-moderation-event-message-partial-idx.ts","./src/db/migrations/20250221T132135150Z-member-details.ts","./src/db/migrations/20250404T201720309Z-subject-status-sort-idxs.ts","./src/db/migrations/20250415T201720309Z-verification.ts","./src/db/migrations/20250417T201720309Z-firehose-cursor.ts","./src/db/migrations/20250609T110704000Z-safelink.ts","./src/db/migrations/20250618T180246000Z-add-mod-tool-to-moderation-event.ts","./src/db/migrations/20250701T000000000Z-add-age-assurance-state.ts","./src/db/migrations/20250715T000000000Z-add-mod-event-external-id.ts","./src/db/migrations/20250718T150931000Z-update-appeal-reason-stats.ts","./src/db/migrations/20250813T000000000Z-mod-tool-batch-id-index.ts","./src/db/migrations/20250923T000000000Z-scheduled-actions.ts","./src/db/migrations/20251008T120000000Z-add-strike-system.ts","./src/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.ts","./src/db/migrations/20260219T164523000Z-create-report-table.ts","./src/db/migrations/20260219T165302248Z-moderator-assignment.ts","./src/db/migrations/20260225T000000000Z-add-report-queue-table.ts","./src/db/migrations/20260313T000000000Z-add-report-activity-table.ts","./src/db/migrations/20260318T152058935Z-add-report-stat.ts","./src/db/migrations/20260428T000000000Z-add-expiring-tag-table.ts","./src/db/migrations/20260513T202941104Z-add-subject-convo-id.ts","./src/db/migrations/index.ts","./src/db/migrations/provider.ts","./src/db/schema/account_events_stats.ts","./src/db/schema/account_record_events_stats.ts","./src/db/schema/account_record_status_stats.ts","./src/db/schema/account_strike.ts","./src/db/schema/blob_push_event.ts","./src/db/schema/communication_template.ts","./src/db/schema/expiring_tag.ts","./src/db/schema/firehose_cursor.ts","./src/db/schema/index.ts","./src/db/schema/job_cursor.ts","./src/db/schema/label.ts","./src/db/schema/member.ts","./src/db/schema/moderation_event.ts","./src/db/schema/moderation_subject_status.ts","./src/db/schema/moderator_assignment.ts","./src/db/schema/ozone_set.ts","./src/db/schema/record_events_stats.ts","./src/db/schema/record_push_event.ts","./src/db/schema/repo_push_event.ts","./src/db/schema/report.ts","./src/db/schema/report_activity.ts","./src/db/schema/report_queue.ts","./src/db/schema/report_stat.ts","./src/db/schema/safelink.ts","./src/db/schema/scheduled-action.ts","./src/db/schema/setting.ts","./src/db/schema/signing_key.ts","./src/db/schema/verification.ts","./src/jetstream/service.ts","./src/lexicon/index.ts","./src/lexicon/lexicons.ts","./src/lexicon/util.ts","./src/lexicon/types/app/bsky/actor/defs.ts","./src/lexicon/types/app/bsky/actor/getPreferences.ts","./src/lexicon/types/app/bsky/actor/getProfile.ts","./src/lexicon/types/app/bsky/actor/getProfiles.ts","./src/lexicon/types/app/bsky/actor/getSuggestions.ts","./src/lexicon/types/app/bsky/actor/profile.ts","./src/lexicon/types/app/bsky/actor/putPreferences.ts","./src/lexicon/types/app/bsky/actor/searchActors.ts","./src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts","./src/lexicon/types/app/bsky/actor/status.ts","./src/lexicon/types/app/bsky/ageassurance/begin.ts","./src/lexicon/types/app/bsky/ageassurance/defs.ts","./src/lexicon/types/app/bsky/ageassurance/getConfig.ts","./src/lexicon/types/app/bsky/ageassurance/getState.ts","./src/lexicon/types/app/bsky/bookmark/createBookmark.ts","./src/lexicon/types/app/bsky/bookmark/defs.ts","./src/lexicon/types/app/bsky/bookmark/deleteBookmark.ts","./src/lexicon/types/app/bsky/bookmark/getBookmarks.ts","./src/lexicon/types/app/bsky/contact/defs.ts","./src/lexicon/types/app/bsky/contact/dismissMatch.ts","./src/lexicon/types/app/bsky/contact/getMatches.ts","./src/lexicon/types/app/bsky/contact/getSyncStatus.ts","./src/lexicon/types/app/bsky/contact/importContacts.ts","./src/lexicon/types/app/bsky/contact/removeData.ts","./src/lexicon/types/app/bsky/contact/sendNotification.ts","./src/lexicon/types/app/bsky/contact/startPhoneVerification.ts","./src/lexicon/types/app/bsky/contact/verifyPhone.ts","./src/lexicon/types/app/bsky/draft/createDraft.ts","./src/lexicon/types/app/bsky/draft/defs.ts","./src/lexicon/types/app/bsky/draft/deleteDraft.ts","./src/lexicon/types/app/bsky/draft/getDrafts.ts","./src/lexicon/types/app/bsky/draft/updateDraft.ts","./src/lexicon/types/app/bsky/embed/defs.ts","./src/lexicon/types/app/bsky/embed/external.ts","./src/lexicon/types/app/bsky/embed/getEmbedExternalView.ts","./src/lexicon/types/app/bsky/embed/images.ts","./src/lexicon/types/app/bsky/embed/record.ts","./src/lexicon/types/app/bsky/embed/recordWithMedia.ts","./src/lexicon/types/app/bsky/embed/video.ts","./src/lexicon/types/app/bsky/feed/defs.ts","./src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts","./src/lexicon/types/app/bsky/feed/generator.ts","./src/lexicon/types/app/bsky/feed/getActorFeeds.ts","./src/lexicon/types/app/bsky/feed/getActorLikes.ts","./src/lexicon/types/app/bsky/feed/getAuthorFeed.ts","./src/lexicon/types/app/bsky/feed/getFeed.ts","./src/lexicon/types/app/bsky/feed/getFeedGenerator.ts","./src/lexicon/types/app/bsky/feed/getFeedGenerators.ts","./src/lexicon/types/app/bsky/feed/getFeedSkeleton.ts","./src/lexicon/types/app/bsky/feed/getLikes.ts","./src/lexicon/types/app/bsky/feed/getListFeed.ts","./src/lexicon/types/app/bsky/feed/getPostThread.ts","./src/lexicon/types/app/bsky/feed/getPosts.ts","./src/lexicon/types/app/bsky/feed/getQuotes.ts","./src/lexicon/types/app/bsky/feed/getRepostedBy.ts","./src/lexicon/types/app/bsky/feed/getSuggestedFeeds.ts","./src/lexicon/types/app/bsky/feed/getTimeline.ts","./src/lexicon/types/app/bsky/feed/like.ts","./src/lexicon/types/app/bsky/feed/post.ts","./src/lexicon/types/app/bsky/feed/postgate.ts","./src/lexicon/types/app/bsky/feed/repost.ts","./src/lexicon/types/app/bsky/feed/searchPosts.ts","./src/lexicon/types/app/bsky/feed/sendInteractions.ts","./src/lexicon/types/app/bsky/feed/threadgate.ts","./src/lexicon/types/app/bsky/graph/block.ts","./src/lexicon/types/app/bsky/graph/defs.ts","./src/lexicon/types/app/bsky/graph/follow.ts","./src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts","./src/lexicon/types/app/bsky/graph/getBlocks.ts","./src/lexicon/types/app/bsky/graph/getFollowers.ts","./src/lexicon/types/app/bsky/graph/getFollows.ts","./src/lexicon/types/app/bsky/graph/getKnownFollowers.ts","./src/lexicon/types/app/bsky/graph/getList.ts","./src/lexicon/types/app/bsky/graph/getListBlocks.ts","./src/lexicon/types/app/bsky/graph/getListMutes.ts","./src/lexicon/types/app/bsky/graph/getLists.ts","./src/lexicon/types/app/bsky/graph/getListsWithMembership.ts","./src/lexicon/types/app/bsky/graph/getMutes.ts","./src/lexicon/types/app/bsky/graph/getRelationships.ts","./src/lexicon/types/app/bsky/graph/getStarterPack.ts","./src/lexicon/types/app/bsky/graph/getStarterPacks.ts","./src/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.ts","./src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts","./src/lexicon/types/app/bsky/graph/list.ts","./src/lexicon/types/app/bsky/graph/listblock.ts","./src/lexicon/types/app/bsky/graph/listitem.ts","./src/lexicon/types/app/bsky/graph/muteActor.ts","./src/lexicon/types/app/bsky/graph/muteActorList.ts","./src/lexicon/types/app/bsky/graph/muteThread.ts","./src/lexicon/types/app/bsky/graph/searchStarterPacks.ts","./src/lexicon/types/app/bsky/graph/starterpack.ts","./src/lexicon/types/app/bsky/graph/unmuteActor.ts","./src/lexicon/types/app/bsky/graph/unmuteActorList.ts","./src/lexicon/types/app/bsky/graph/unmuteThread.ts","./src/lexicon/types/app/bsky/graph/verification.ts","./src/lexicon/types/app/bsky/labeler/defs.ts","./src/lexicon/types/app/bsky/labeler/getServices.ts","./src/lexicon/types/app/bsky/labeler/service.ts","./src/lexicon/types/app/bsky/notification/declaration.ts","./src/lexicon/types/app/bsky/notification/defs.ts","./src/lexicon/types/app/bsky/notification/getPreferences.ts","./src/lexicon/types/app/bsky/notification/getUnreadCount.ts","./src/lexicon/types/app/bsky/notification/listActivitySubscriptions.ts","./src/lexicon/types/app/bsky/notification/listNotifications.ts","./src/lexicon/types/app/bsky/notification/putActivitySubscription.ts","./src/lexicon/types/app/bsky/notification/putPreferences.ts","./src/lexicon/types/app/bsky/notification/putPreferencesV2.ts","./src/lexicon/types/app/bsky/notification/registerPush.ts","./src/lexicon/types/app/bsky/notification/unregisterPush.ts","./src/lexicon/types/app/bsky/notification/updateSeen.ts","./src/lexicon/types/app/bsky/richtext/facet.ts","./src/lexicon/types/app/bsky/unspecced/defs.ts","./src/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.ts","./src/lexicon/types/app/bsky/unspecced/getConfig.ts","./src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts","./src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.ts","./src/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.ts","./src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedFeeds.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsers.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.ts","./src/lexicon/types/app/bsky/unspecced/getTrendingTopics.ts","./src/lexicon/types/app/bsky/unspecced/getTrends.ts","./src/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/initAgeAssurance.ts","./src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts","./src/lexicon/types/app/bsky/video/defs.ts","./src/lexicon/types/app/bsky/video/getJobStatus.ts","./src/lexicon/types/app/bsky/video/getUploadLimits.ts","./src/lexicon/types/app/bsky/video/uploadVideo.ts","./src/lexicon/types/chat/bsky/actor/declaration.ts","./src/lexicon/types/chat/bsky/actor/defs.ts","./src/lexicon/types/chat/bsky/actor/deleteAccount.ts","./src/lexicon/types/chat/bsky/actor/exportAccountData.ts","./src/lexicon/types/chat/bsky/actor/getStatus.ts","./src/lexicon/types/chat/bsky/convo/acceptConvo.ts","./src/lexicon/types/chat/bsky/convo/addReaction.ts","./src/lexicon/types/chat/bsky/convo/defs.ts","./src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts","./src/lexicon/types/chat/bsky/convo/getConvo.ts","./src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts","./src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts","./src/lexicon/types/chat/bsky/convo/getConvoMembers.ts","./src/lexicon/types/chat/bsky/convo/getLog.ts","./src/lexicon/types/chat/bsky/convo/getMessages.ts","./src/lexicon/types/chat/bsky/convo/leaveConvo.ts","./src/lexicon/types/chat/bsky/convo/listConvoRequests.ts","./src/lexicon/types/chat/bsky/convo/listConvos.ts","./src/lexicon/types/chat/bsky/convo/lockConvo.ts","./src/lexicon/types/chat/bsky/convo/muteConvo.ts","./src/lexicon/types/chat/bsky/convo/removeReaction.ts","./src/lexicon/types/chat/bsky/convo/sendMessage.ts","./src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts","./src/lexicon/types/chat/bsky/convo/unlockConvo.ts","./src/lexicon/types/chat/bsky/convo/unmuteConvo.ts","./src/lexicon/types/chat/bsky/convo/updateAllRead.ts","./src/lexicon/types/chat/bsky/convo/updateRead.ts","./src/lexicon/types/chat/bsky/embed/joinLink.ts","./src/lexicon/types/chat/bsky/group/addMembers.ts","./src/lexicon/types/chat/bsky/group/approveJoinRequest.ts","./src/lexicon/types/chat/bsky/group/createGroup.ts","./src/lexicon/types/chat/bsky/group/createJoinLink.ts","./src/lexicon/types/chat/bsky/group/defs.ts","./src/lexicon/types/chat/bsky/group/disableJoinLink.ts","./src/lexicon/types/chat/bsky/group/editGroup.ts","./src/lexicon/types/chat/bsky/group/editJoinLink.ts","./src/lexicon/types/chat/bsky/group/enableJoinLink.ts","./src/lexicon/types/chat/bsky/group/getJoinLinkPreviews.ts","./src/lexicon/types/chat/bsky/group/listJoinRequests.ts","./src/lexicon/types/chat/bsky/group/listMutualGroups.ts","./src/lexicon/types/chat/bsky/group/rejectJoinRequest.ts","./src/lexicon/types/chat/bsky/group/removeMembers.ts","./src/lexicon/types/chat/bsky/group/requestJoin.ts","./src/lexicon/types/chat/bsky/group/updateJoinRequestsRead.ts","./src/lexicon/types/chat/bsky/group/withdrawJoinRequest.ts","./src/lexicon/types/chat/bsky/moderation/defs.ts","./src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts","./src/lexicon/types/chat/bsky/moderation/getConvo.ts","./src/lexicon/types/chat/bsky/moderation/getConvoMembers.ts","./src/lexicon/types/chat/bsky/moderation/getConvos.ts","./src/lexicon/types/chat/bsky/moderation/getMessageContext.ts","./src/lexicon/types/chat/bsky/moderation/subscribeModEvents.ts","./src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts","./src/lexicon/types/com/atproto/admin/defs.ts","./src/lexicon/types/com/atproto/admin/deleteAccount.ts","./src/lexicon/types/com/atproto/admin/disableAccountInvites.ts","./src/lexicon/types/com/atproto/admin/disableInviteCodes.ts","./src/lexicon/types/com/atproto/admin/enableAccountInvites.ts","./src/lexicon/types/com/atproto/admin/getAccountInfo.ts","./src/lexicon/types/com/atproto/admin/getAccountInfos.ts","./src/lexicon/types/com/atproto/admin/getInviteCodes.ts","./src/lexicon/types/com/atproto/admin/getSubjectStatus.ts","./src/lexicon/types/com/atproto/admin/searchAccounts.ts","./src/lexicon/types/com/atproto/admin/sendEmail.ts","./src/lexicon/types/com/atproto/admin/updateAccountEmail.ts","./src/lexicon/types/com/atproto/admin/updateAccountHandle.ts","./src/lexicon/types/com/atproto/admin/updateAccountPassword.ts","./src/lexicon/types/com/atproto/admin/updateAccountSigningKey.ts","./src/lexicon/types/com/atproto/admin/updateSubjectStatus.ts","./src/lexicon/types/com/atproto/identity/defs.ts","./src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts","./src/lexicon/types/com/atproto/identity/refreshIdentity.ts","./src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts","./src/lexicon/types/com/atproto/identity/resolveDid.ts","./src/lexicon/types/com/atproto/identity/resolveHandle.ts","./src/lexicon/types/com/atproto/identity/resolveIdentity.ts","./src/lexicon/types/com/atproto/identity/signPlcOperation.ts","./src/lexicon/types/com/atproto/identity/submitPlcOperation.ts","./src/lexicon/types/com/atproto/identity/updateHandle.ts","./src/lexicon/types/com/atproto/label/defs.ts","./src/lexicon/types/com/atproto/label/queryLabels.ts","./src/lexicon/types/com/atproto/label/subscribeLabels.ts","./src/lexicon/types/com/atproto/lexicon/resolveLexicon.ts","./src/lexicon/types/com/atproto/lexicon/schema.ts","./src/lexicon/types/com/atproto/moderation/createReport.ts","./src/lexicon/types/com/atproto/moderation/defs.ts","./src/lexicon/types/com/atproto/repo/applyWrites.ts","./src/lexicon/types/com/atproto/repo/createRecord.ts","./src/lexicon/types/com/atproto/repo/defs.ts","./src/lexicon/types/com/atproto/repo/deleteRecord.ts","./src/lexicon/types/com/atproto/repo/describeRepo.ts","./src/lexicon/types/com/atproto/repo/getRecord.ts","./src/lexicon/types/com/atproto/repo/importRepo.ts","./src/lexicon/types/com/atproto/repo/listMissingBlobs.ts","./src/lexicon/types/com/atproto/repo/listRecords.ts","./src/lexicon/types/com/atproto/repo/putRecord.ts","./src/lexicon/types/com/atproto/repo/strongRef.ts","./src/lexicon/types/com/atproto/repo/uploadBlob.ts","./src/lexicon/types/com/atproto/server/activateAccount.ts","./src/lexicon/types/com/atproto/server/checkAccountStatus.ts","./src/lexicon/types/com/atproto/server/confirmEmail.ts","./src/lexicon/types/com/atproto/server/createAccount.ts","./src/lexicon/types/com/atproto/server/createAppPassword.ts","./src/lexicon/types/com/atproto/server/createInviteCode.ts","./src/lexicon/types/com/atproto/server/createInviteCodes.ts","./src/lexicon/types/com/atproto/server/createSession.ts","./src/lexicon/types/com/atproto/server/deactivateAccount.ts","./src/lexicon/types/com/atproto/server/defs.ts","./src/lexicon/types/com/atproto/server/deleteAccount.ts","./src/lexicon/types/com/atproto/server/deleteSession.ts","./src/lexicon/types/com/atproto/server/describeServer.ts","./src/lexicon/types/com/atproto/server/getAccountInviteCodes.ts","./src/lexicon/types/com/atproto/server/getServiceAuth.ts","./src/lexicon/types/com/atproto/server/getSession.ts","./src/lexicon/types/com/atproto/server/listAppPasswords.ts","./src/lexicon/types/com/atproto/server/refreshSession.ts","./src/lexicon/types/com/atproto/server/requestAccountDelete.ts","./src/lexicon/types/com/atproto/server/requestEmailConfirmation.ts","./src/lexicon/types/com/atproto/server/requestEmailUpdate.ts","./src/lexicon/types/com/atproto/server/requestPasswordReset.ts","./src/lexicon/types/com/atproto/server/reserveSigningKey.ts","./src/lexicon/types/com/atproto/server/resetPassword.ts","./src/lexicon/types/com/atproto/server/revokeAppPassword.ts","./src/lexicon/types/com/atproto/server/updateEmail.ts","./src/lexicon/types/com/atproto/sync/defs.ts","./src/lexicon/types/com/atproto/sync/getBlob.ts","./src/lexicon/types/com/atproto/sync/getBlocks.ts","./src/lexicon/types/com/atproto/sync/getCheckout.ts","./src/lexicon/types/com/atproto/sync/getHead.ts","./src/lexicon/types/com/atproto/sync/getHostStatus.ts","./src/lexicon/types/com/atproto/sync/getLatestCommit.ts","./src/lexicon/types/com/atproto/sync/getRecord.ts","./src/lexicon/types/com/atproto/sync/getRepo.ts","./src/lexicon/types/com/atproto/sync/getRepoStatus.ts","./src/lexicon/types/com/atproto/sync/listBlobs.ts","./src/lexicon/types/com/atproto/sync/listHosts.ts","./src/lexicon/types/com/atproto/sync/listRepos.ts","./src/lexicon/types/com/atproto/sync/listReposByCollection.ts","./src/lexicon/types/com/atproto/sync/notifyOfUpdate.ts","./src/lexicon/types/com/atproto/sync/requestCrawl.ts","./src/lexicon/types/com/atproto/sync/subscribeRepos.ts","./src/lexicon/types/com/atproto/temp/addReservedHandle.ts","./src/lexicon/types/com/atproto/temp/checkHandleAvailability.ts","./src/lexicon/types/com/atproto/temp/checkSignupQueue.ts","./src/lexicon/types/com/atproto/temp/dereferenceScope.ts","./src/lexicon/types/com/atproto/temp/fetchLabels.ts","./src/lexicon/types/com/atproto/temp/requestPhoneVerification.ts","./src/lexicon/types/com/atproto/temp/revokeAccountCredentials.ts","./src/lexicon/types/tools/ozone/communication/createTemplate.ts","./src/lexicon/types/tools/ozone/communication/defs.ts","./src/lexicon/types/tools/ozone/communication/deleteTemplate.ts","./src/lexicon/types/tools/ozone/communication/listTemplates.ts","./src/lexicon/types/tools/ozone/communication/updateTemplate.ts","./src/lexicon/types/tools/ozone/hosting/getAccountHistory.ts","./src/lexicon/types/tools/ozone/moderation/cancelScheduledActions.ts","./src/lexicon/types/tools/ozone/moderation/defs.ts","./src/lexicon/types/tools/ozone/moderation/emitEvent.ts","./src/lexicon/types/tools/ozone/moderation/getAccountTimeline.ts","./src/lexicon/types/tools/ozone/moderation/getEvent.ts","./src/lexicon/types/tools/ozone/moderation/getRecord.ts","./src/lexicon/types/tools/ozone/moderation/getRecords.ts","./src/lexicon/types/tools/ozone/moderation/getRepo.ts","./src/lexicon/types/tools/ozone/moderation/getReporterStats.ts","./src/lexicon/types/tools/ozone/moderation/getRepos.ts","./src/lexicon/types/tools/ozone/moderation/getSubjects.ts","./src/lexicon/types/tools/ozone/moderation/listScheduledActions.ts","./src/lexicon/types/tools/ozone/moderation/queryEvents.ts","./src/lexicon/types/tools/ozone/moderation/queryStatuses.ts","./src/lexicon/types/tools/ozone/moderation/scheduleAction.ts","./src/lexicon/types/tools/ozone/moderation/searchRepos.ts","./src/lexicon/types/tools/ozone/queue/assignModerator.ts","./src/lexicon/types/tools/ozone/queue/createQueue.ts","./src/lexicon/types/tools/ozone/queue/defs.ts","./src/lexicon/types/tools/ozone/queue/deleteQueue.ts","./src/lexicon/types/tools/ozone/queue/getAssignments.ts","./src/lexicon/types/tools/ozone/queue/listQueues.ts","./src/lexicon/types/tools/ozone/queue/routeReports.ts","./src/lexicon/types/tools/ozone/queue/unassignModerator.ts","./src/lexicon/types/tools/ozone/queue/updateQueue.ts","./src/lexicon/types/tools/ozone/report/assignModerator.ts","./src/lexicon/types/tools/ozone/report/createActivity.ts","./src/lexicon/types/tools/ozone/report/defs.ts","./src/lexicon/types/tools/ozone/report/getAssignments.ts","./src/lexicon/types/tools/ozone/report/getHistoricalStats.ts","./src/lexicon/types/tools/ozone/report/getLatestReport.ts","./src/lexicon/types/tools/ozone/report/getLiveStats.ts","./src/lexicon/types/tools/ozone/report/getReport.ts","./src/lexicon/types/tools/ozone/report/listActivities.ts","./src/lexicon/types/tools/ozone/report/queryReports.ts","./src/lexicon/types/tools/ozone/report/reassignQueue.ts","./src/lexicon/types/tools/ozone/report/refreshStats.ts","./src/lexicon/types/tools/ozone/report/unassignModerator.ts","./src/lexicon/types/tools/ozone/safelink/addRule.ts","./src/lexicon/types/tools/ozone/safelink/defs.ts","./src/lexicon/types/tools/ozone/safelink/queryEvents.ts","./src/lexicon/types/tools/ozone/safelink/queryRules.ts","./src/lexicon/types/tools/ozone/safelink/removeRule.ts","./src/lexicon/types/tools/ozone/safelink/updateRule.ts","./src/lexicon/types/tools/ozone/server/getConfig.ts","./src/lexicon/types/tools/ozone/set/addValues.ts","./src/lexicon/types/tools/ozone/set/defs.ts","./src/lexicon/types/tools/ozone/set/deleteSet.ts","./src/lexicon/types/tools/ozone/set/deleteValues.ts","./src/lexicon/types/tools/ozone/set/getValues.ts","./src/lexicon/types/tools/ozone/set/querySets.ts","./src/lexicon/types/tools/ozone/set/upsertSet.ts","./src/lexicon/types/tools/ozone/setting/defs.ts","./src/lexicon/types/tools/ozone/setting/listOptions.ts","./src/lexicon/types/tools/ozone/setting/removeOptions.ts","./src/lexicon/types/tools/ozone/setting/upsertOption.ts","./src/lexicon/types/tools/ozone/signature/defs.ts","./src/lexicon/types/tools/ozone/signature/findCorrelation.ts","./src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts","./src/lexicon/types/tools/ozone/signature/searchAccounts.ts","./src/lexicon/types/tools/ozone/team/addMember.ts","./src/lexicon/types/tools/ozone/team/defs.ts","./src/lexicon/types/tools/ozone/team/deleteMember.ts","./src/lexicon/types/tools/ozone/team/listMembers.ts","./src/lexicon/types/tools/ozone/team/updateMember.ts","./src/lexicon/types/tools/ozone/verification/defs.ts","./src/lexicon/types/tools/ozone/verification/grantVerifications.ts","./src/lexicon/types/tools/ozone/verification/listVerifications.ts","./src/lexicon/types/tools/ozone/verification/revokeVerifications.ts","./src/mod-service/expiring-tags.ts","./src/mod-service/index.ts","./src/mod-service/profile.ts","./src/mod-service/report.ts","./src/mod-service/status.ts","./src/mod-service/strike.ts","./src/mod-service/subject.ts","./src/mod-service/types.ts","./src/mod-service/util.ts","./src/mod-service/views.ts","./src/queue/service.ts","./src/report/activity.ts","./src/report/handle-report-update.ts","./src/report/reassign.ts","./src/report/stats.ts","./src/report/views.ts","./src/safelink/service.ts","./src/scheduled-action/service.ts","./src/scheduled-action/types.ts","./src/sequencer/index.ts","./src/sequencer/outbox.ts","./src/sequencer/sequencer.ts","./src/set/service.ts","./src/setting/constants.ts","./src/setting/service.ts","./src/setting/types.ts","./src/setting/validators.ts","./src/tag-service/content-tagger.ts","./src/tag-service/embed-tagger.ts","./src/tag-service/index.ts","./src/tag-service/language-data.ts","./src/tag-service/language-tagger.ts","./src/tag-service/util.ts","./src/team/index.ts","./src/verification/issuer.ts","./src/verification/service.ts","./src/verification/util.ts"],"version":"6.0.3"}
1
+ {"root":["./src/auth-verifier.ts","./src/background.ts","./src/context.ts","./src/error.ts","./src/image-invalidator.ts","./src/index.ts","./src/logger.ts","./src/util.ts","./src/api/health.ts","./src/api/index.ts","./src/api/proxied.ts","./src/api/util.ts","./src/api/well-known.ts","./src/api/chat/getActorMetadata.ts","./src/api/chat/getConvo.ts","./src/api/chat/getConvoMembers.ts","./src/api/chat/getConvos.ts","./src/api/chat/getMessageContext.ts","./src/api/chat/index.ts","./src/api/communication/createTemplate.ts","./src/api/communication/deleteTemplate.ts","./src/api/communication/listTemplates.ts","./src/api/communication/updateTemplate.ts","./src/api/label/fetchLabels.ts","./src/api/label/queryLabels.ts","./src/api/label/subscribeLabels.ts","./src/api/moderation/cancelScheduledActions.ts","./src/api/moderation/emitEvent.ts","./src/api/moderation/getAccountTimeline.ts","./src/api/moderation/getEvent.ts","./src/api/moderation/getRecord.ts","./src/api/moderation/getRecords.ts","./src/api/moderation/getRepo.ts","./src/api/moderation/getReporterStats.ts","./src/api/moderation/getRepos.ts","./src/api/moderation/getSubjects.ts","./src/api/moderation/listScheduledActions.ts","./src/api/moderation/queryEvents.ts","./src/api/moderation/queryStatuses.ts","./src/api/moderation/scheduleAction.ts","./src/api/moderation/searchRepos.ts","./src/api/moderation/util.ts","./src/api/queue/assignModerator.ts","./src/api/queue/createQueue.ts","./src/api/queue/deleteQueue.ts","./src/api/queue/getAssignments.ts","./src/api/queue/listQueues.ts","./src/api/queue/routeReports.ts","./src/api/queue/unassignModerator.ts","./src/api/queue/updateQueue.ts","./src/api/report/assignModerator.ts","./src/api/report/createActivity.ts","./src/api/report/createReport.ts","./src/api/report/getAssignments.ts","./src/api/report/getHistoricalStats.ts","./src/api/report/getLatestReport.ts","./src/api/report/getLiveStats.ts","./src/api/report/getReport.ts","./src/api/report/listActivities.ts","./src/api/report/queryReports.ts","./src/api/report/reassignQueue.ts","./src/api/report/refreshStats.ts","./src/api/report/unassignModerator.ts","./src/api/safelink/addRule.ts","./src/api/safelink/queryEvents.ts","./src/api/safelink/queryRules.ts","./src/api/safelink/removeRule.ts","./src/api/safelink/updateRule.ts","./src/api/server/getConfig.ts","./src/api/set/addValues.ts","./src/api/set/deleteSet.ts","./src/api/set/deleteValues.ts","./src/api/set/getValues.ts","./src/api/set/querySets.ts","./src/api/set/upsertSet.ts","./src/api/setting/listOptions.ts","./src/api/setting/removeOptions.ts","./src/api/setting/upsertOption.ts","./src/api/team/addMember.ts","./src/api/team/deleteMember.ts","./src/api/team/listMembers.ts","./src/api/team/updateMember.ts","./src/api/verification/grantVerifications.ts","./src/api/verification/listVerifications.ts","./src/api/verification/revokeVerifications.ts","./src/assignment/index.ts","./src/communication-service/template.ts","./src/communication-service/util.ts","./src/config/config.ts","./src/config/env.ts","./src/config/index.ts","./src/config/secrets.ts","./src/daemon/blob-diverter.ts","./src/daemon/context.ts","./src/daemon/event-pusher.ts","./src/daemon/event-reverser.ts","./src/daemon/index.ts","./src/daemon/job-cursor.ts","./src/daemon/materialized-view-refresher.ts","./src/daemon/queue-router.ts","./src/daemon/scheduled-action-processor.ts","./src/daemon/stats-computer.ts","./src/daemon/strike-expiry-processor.ts","./src/daemon/team-profile-synchronizer.ts","./src/daemon/verification-listener.ts","./src/db/index.ts","./src/db/pagination.ts","./src/db/types.ts","./src/db/migrations/20231219T205730722Z-init.ts","./src/db/migrations/20240116T085607200Z-communication-template.ts","./src/db/migrations/20240201T051104136Z-mod-event-blobs.ts","./src/db/migrations/20240208T213404429Z-add-tags-column-to-moderation-subject.ts","./src/db/migrations/20240228T003647759Z-add-label-sigs.ts","./src/db/migrations/20240408T192432676Z-mute-reporting.ts","./src/db/migrations/20240506T225055595Z-message-subject.ts","./src/db/migrations/20240521T211332580Z-member.ts","./src/db/migrations/20240814T003647759Z-event-created-at-index.ts","./src/db/migrations/20240903T205730722Z-add-template-lang.ts","./src/db/migrations/20240904T205730722Z-add-subject-did-index.ts","./src/db/migrations/20241001T205730722Z-subject-status-review-state-index.ts","./src/db/migrations/20241008T205730722Z-sets.ts","./src/db/migrations/20241018T205730722Z-setting.ts","./src/db/migrations/20241026T205730722Z-add-hosting-status-to-subject-status.ts","./src/db/migrations/20241220T144630860Z-stats-materialized-views.ts","./src/db/migrations/20250204T003647759Z-add-subject-priority-score.ts","./src/db/migrations/20250211T003647759Z-add-reporter-stats-index.ts","./src/db/migrations/20250211T132135150Z-moderation-event-message-partial-idx.ts","./src/db/migrations/20250221T132135150Z-member-details.ts","./src/db/migrations/20250404T201720309Z-subject-status-sort-idxs.ts","./src/db/migrations/20250415T201720309Z-verification.ts","./src/db/migrations/20250417T201720309Z-firehose-cursor.ts","./src/db/migrations/20250609T110704000Z-safelink.ts","./src/db/migrations/20250618T180246000Z-add-mod-tool-to-moderation-event.ts","./src/db/migrations/20250701T000000000Z-add-age-assurance-state.ts","./src/db/migrations/20250715T000000000Z-add-mod-event-external-id.ts","./src/db/migrations/20250718T150931000Z-update-appeal-reason-stats.ts","./src/db/migrations/20250813T000000000Z-mod-tool-batch-id-index.ts","./src/db/migrations/20250923T000000000Z-scheduled-actions.ts","./src/db/migrations/20251008T120000000Z-add-strike-system.ts","./src/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.ts","./src/db/migrations/20260219T164523000Z-create-report-table.ts","./src/db/migrations/20260219T165302248Z-moderator-assignment.ts","./src/db/migrations/20260225T000000000Z-add-report-queue-table.ts","./src/db/migrations/20260313T000000000Z-add-report-activity-table.ts","./src/db/migrations/20260318T152058935Z-add-report-stat.ts","./src/db/migrations/20260428T000000000Z-add-expiring-tag-table.ts","./src/db/migrations/20260513T202941104Z-add-subject-convo-id.ts","./src/db/migrations/index.ts","./src/db/migrations/provider.ts","./src/db/schema/account_events_stats.ts","./src/db/schema/account_record_events_stats.ts","./src/db/schema/account_record_status_stats.ts","./src/db/schema/account_strike.ts","./src/db/schema/blob_push_event.ts","./src/db/schema/communication_template.ts","./src/db/schema/expiring_tag.ts","./src/db/schema/firehose_cursor.ts","./src/db/schema/index.ts","./src/db/schema/job_cursor.ts","./src/db/schema/label.ts","./src/db/schema/member.ts","./src/db/schema/moderation_event.ts","./src/db/schema/moderation_subject_status.ts","./src/db/schema/moderator_assignment.ts","./src/db/schema/ozone_set.ts","./src/db/schema/record_events_stats.ts","./src/db/schema/record_push_event.ts","./src/db/schema/repo_push_event.ts","./src/db/schema/report.ts","./src/db/schema/report_activity.ts","./src/db/schema/report_queue.ts","./src/db/schema/report_stat.ts","./src/db/schema/safelink.ts","./src/db/schema/scheduled-action.ts","./src/db/schema/setting.ts","./src/db/schema/signing_key.ts","./src/db/schema/verification.ts","./src/jetstream/service.ts","./src/lexicon/index.ts","./src/lexicon/lexicons.ts","./src/lexicon/util.ts","./src/lexicon/types/app/bsky/actor/defs.ts","./src/lexicon/types/app/bsky/actor/getPreferences.ts","./src/lexicon/types/app/bsky/actor/getProfile.ts","./src/lexicon/types/app/bsky/actor/getProfiles.ts","./src/lexicon/types/app/bsky/actor/getSuggestions.ts","./src/lexicon/types/app/bsky/actor/profile.ts","./src/lexicon/types/app/bsky/actor/putPreferences.ts","./src/lexicon/types/app/bsky/actor/searchActors.ts","./src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts","./src/lexicon/types/app/bsky/actor/status.ts","./src/lexicon/types/app/bsky/ageassurance/begin.ts","./src/lexicon/types/app/bsky/ageassurance/defs.ts","./src/lexicon/types/app/bsky/ageassurance/getConfig.ts","./src/lexicon/types/app/bsky/ageassurance/getState.ts","./src/lexicon/types/app/bsky/bookmark/createBookmark.ts","./src/lexicon/types/app/bsky/bookmark/defs.ts","./src/lexicon/types/app/bsky/bookmark/deleteBookmark.ts","./src/lexicon/types/app/bsky/bookmark/getBookmarks.ts","./src/lexicon/types/app/bsky/contact/defs.ts","./src/lexicon/types/app/bsky/contact/dismissMatch.ts","./src/lexicon/types/app/bsky/contact/getMatches.ts","./src/lexicon/types/app/bsky/contact/getSyncStatus.ts","./src/lexicon/types/app/bsky/contact/importContacts.ts","./src/lexicon/types/app/bsky/contact/removeData.ts","./src/lexicon/types/app/bsky/contact/sendNotification.ts","./src/lexicon/types/app/bsky/contact/startPhoneVerification.ts","./src/lexicon/types/app/bsky/contact/verifyPhone.ts","./src/lexicon/types/app/bsky/draft/createDraft.ts","./src/lexicon/types/app/bsky/draft/defs.ts","./src/lexicon/types/app/bsky/draft/deleteDraft.ts","./src/lexicon/types/app/bsky/draft/getDrafts.ts","./src/lexicon/types/app/bsky/draft/updateDraft.ts","./src/lexicon/types/app/bsky/embed/defs.ts","./src/lexicon/types/app/bsky/embed/external.ts","./src/lexicon/types/app/bsky/embed/gallery.ts","./src/lexicon/types/app/bsky/embed/getEmbedExternalView.ts","./src/lexicon/types/app/bsky/embed/images.ts","./src/lexicon/types/app/bsky/embed/record.ts","./src/lexicon/types/app/bsky/embed/recordWithMedia.ts","./src/lexicon/types/app/bsky/embed/video.ts","./src/lexicon/types/app/bsky/feed/defs.ts","./src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts","./src/lexicon/types/app/bsky/feed/generator.ts","./src/lexicon/types/app/bsky/feed/getActorFeeds.ts","./src/lexicon/types/app/bsky/feed/getActorLikes.ts","./src/lexicon/types/app/bsky/feed/getAuthorFeed.ts","./src/lexicon/types/app/bsky/feed/getFeed.ts","./src/lexicon/types/app/bsky/feed/getFeedGenerator.ts","./src/lexicon/types/app/bsky/feed/getFeedGenerators.ts","./src/lexicon/types/app/bsky/feed/getFeedSkeleton.ts","./src/lexicon/types/app/bsky/feed/getLikes.ts","./src/lexicon/types/app/bsky/feed/getListFeed.ts","./src/lexicon/types/app/bsky/feed/getPostThread.ts","./src/lexicon/types/app/bsky/feed/getPosts.ts","./src/lexicon/types/app/bsky/feed/getQuotes.ts","./src/lexicon/types/app/bsky/feed/getRepostedBy.ts","./src/lexicon/types/app/bsky/feed/getSuggestedFeeds.ts","./src/lexicon/types/app/bsky/feed/getTimeline.ts","./src/lexicon/types/app/bsky/feed/like.ts","./src/lexicon/types/app/bsky/feed/post.ts","./src/lexicon/types/app/bsky/feed/postgate.ts","./src/lexicon/types/app/bsky/feed/repost.ts","./src/lexicon/types/app/bsky/feed/searchPosts.ts","./src/lexicon/types/app/bsky/feed/sendInteractions.ts","./src/lexicon/types/app/bsky/feed/threadgate.ts","./src/lexicon/types/app/bsky/graph/block.ts","./src/lexicon/types/app/bsky/graph/defs.ts","./src/lexicon/types/app/bsky/graph/follow.ts","./src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts","./src/lexicon/types/app/bsky/graph/getBlocks.ts","./src/lexicon/types/app/bsky/graph/getFollowers.ts","./src/lexicon/types/app/bsky/graph/getFollows.ts","./src/lexicon/types/app/bsky/graph/getKnownFollowers.ts","./src/lexicon/types/app/bsky/graph/getList.ts","./src/lexicon/types/app/bsky/graph/getListBlocks.ts","./src/lexicon/types/app/bsky/graph/getListMutes.ts","./src/lexicon/types/app/bsky/graph/getLists.ts","./src/lexicon/types/app/bsky/graph/getListsWithMembership.ts","./src/lexicon/types/app/bsky/graph/getMutes.ts","./src/lexicon/types/app/bsky/graph/getRelationships.ts","./src/lexicon/types/app/bsky/graph/getStarterPack.ts","./src/lexicon/types/app/bsky/graph/getStarterPacks.ts","./src/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.ts","./src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts","./src/lexicon/types/app/bsky/graph/list.ts","./src/lexicon/types/app/bsky/graph/listblock.ts","./src/lexicon/types/app/bsky/graph/listitem.ts","./src/lexicon/types/app/bsky/graph/muteActor.ts","./src/lexicon/types/app/bsky/graph/muteActorList.ts","./src/lexicon/types/app/bsky/graph/muteThread.ts","./src/lexicon/types/app/bsky/graph/searchStarterPacks.ts","./src/lexicon/types/app/bsky/graph/starterpack.ts","./src/lexicon/types/app/bsky/graph/unmuteActor.ts","./src/lexicon/types/app/bsky/graph/unmuteActorList.ts","./src/lexicon/types/app/bsky/graph/unmuteThread.ts","./src/lexicon/types/app/bsky/graph/verification.ts","./src/lexicon/types/app/bsky/labeler/defs.ts","./src/lexicon/types/app/bsky/labeler/getServices.ts","./src/lexicon/types/app/bsky/labeler/service.ts","./src/lexicon/types/app/bsky/notification/declaration.ts","./src/lexicon/types/app/bsky/notification/defs.ts","./src/lexicon/types/app/bsky/notification/getPreferences.ts","./src/lexicon/types/app/bsky/notification/getUnreadCount.ts","./src/lexicon/types/app/bsky/notification/listActivitySubscriptions.ts","./src/lexicon/types/app/bsky/notification/listNotifications.ts","./src/lexicon/types/app/bsky/notification/putActivitySubscription.ts","./src/lexicon/types/app/bsky/notification/putPreferences.ts","./src/lexicon/types/app/bsky/notification/putPreferencesV2.ts","./src/lexicon/types/app/bsky/notification/registerPush.ts","./src/lexicon/types/app/bsky/notification/unregisterPush.ts","./src/lexicon/types/app/bsky/notification/updateSeen.ts","./src/lexicon/types/app/bsky/richtext/facet.ts","./src/lexicon/types/app/bsky/unspecced/defs.ts","./src/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.ts","./src/lexicon/types/app/bsky/unspecced/getConfig.ts","./src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts","./src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.ts","./src/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.ts","./src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedFeeds.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsers.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.ts","./src/lexicon/types/app/bsky/unspecced/getTrendingTopics.ts","./src/lexicon/types/app/bsky/unspecced/getTrends.ts","./src/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/initAgeAssurance.ts","./src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts","./src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts","./src/lexicon/types/app/bsky/video/defs.ts","./src/lexicon/types/app/bsky/video/getJobStatus.ts","./src/lexicon/types/app/bsky/video/getUploadLimits.ts","./src/lexicon/types/app/bsky/video/uploadVideo.ts","./src/lexicon/types/chat/bsky/actor/declaration.ts","./src/lexicon/types/chat/bsky/actor/defs.ts","./src/lexicon/types/chat/bsky/actor/deleteAccount.ts","./src/lexicon/types/chat/bsky/actor/exportAccountData.ts","./src/lexicon/types/chat/bsky/actor/getStatus.ts","./src/lexicon/types/chat/bsky/convo/acceptConvo.ts","./src/lexicon/types/chat/bsky/convo/addReaction.ts","./src/lexicon/types/chat/bsky/convo/defs.ts","./src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts","./src/lexicon/types/chat/bsky/convo/getConvo.ts","./src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts","./src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts","./src/lexicon/types/chat/bsky/convo/getConvoMembers.ts","./src/lexicon/types/chat/bsky/convo/getLog.ts","./src/lexicon/types/chat/bsky/convo/getMessages.ts","./src/lexicon/types/chat/bsky/convo/leaveConvo.ts","./src/lexicon/types/chat/bsky/convo/listConvoRequests.ts","./src/lexicon/types/chat/bsky/convo/listConvos.ts","./src/lexicon/types/chat/bsky/convo/lockConvo.ts","./src/lexicon/types/chat/bsky/convo/muteConvo.ts","./src/lexicon/types/chat/bsky/convo/removeReaction.ts","./src/lexicon/types/chat/bsky/convo/sendMessage.ts","./src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts","./src/lexicon/types/chat/bsky/convo/unlockConvo.ts","./src/lexicon/types/chat/bsky/convo/unmuteConvo.ts","./src/lexicon/types/chat/bsky/convo/updateAllRead.ts","./src/lexicon/types/chat/bsky/convo/updateRead.ts","./src/lexicon/types/chat/bsky/embed/joinLink.ts","./src/lexicon/types/chat/bsky/group/addMembers.ts","./src/lexicon/types/chat/bsky/group/approveJoinRequest.ts","./src/lexicon/types/chat/bsky/group/createGroup.ts","./src/lexicon/types/chat/bsky/group/createJoinLink.ts","./src/lexicon/types/chat/bsky/group/defs.ts","./src/lexicon/types/chat/bsky/group/disableJoinLink.ts","./src/lexicon/types/chat/bsky/group/editGroup.ts","./src/lexicon/types/chat/bsky/group/editJoinLink.ts","./src/lexicon/types/chat/bsky/group/enableJoinLink.ts","./src/lexicon/types/chat/bsky/group/getJoinLinkPreviews.ts","./src/lexicon/types/chat/bsky/group/listJoinRequests.ts","./src/lexicon/types/chat/bsky/group/listMutualGroups.ts","./src/lexicon/types/chat/bsky/group/rejectJoinRequest.ts","./src/lexicon/types/chat/bsky/group/removeMembers.ts","./src/lexicon/types/chat/bsky/group/requestJoin.ts","./src/lexicon/types/chat/bsky/group/updateJoinRequestsRead.ts","./src/lexicon/types/chat/bsky/group/withdrawJoinRequest.ts","./src/lexicon/types/chat/bsky/moderation/defs.ts","./src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts","./src/lexicon/types/chat/bsky/moderation/getConvo.ts","./src/lexicon/types/chat/bsky/moderation/getConvoMembers.ts","./src/lexicon/types/chat/bsky/moderation/getConvos.ts","./src/lexicon/types/chat/bsky/moderation/getMessageContext.ts","./src/lexicon/types/chat/bsky/moderation/subscribeModEvents.ts","./src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts","./src/lexicon/types/com/atproto/admin/defs.ts","./src/lexicon/types/com/atproto/admin/deleteAccount.ts","./src/lexicon/types/com/atproto/admin/disableAccountInvites.ts","./src/lexicon/types/com/atproto/admin/disableInviteCodes.ts","./src/lexicon/types/com/atproto/admin/enableAccountInvites.ts","./src/lexicon/types/com/atproto/admin/getAccountInfo.ts","./src/lexicon/types/com/atproto/admin/getAccountInfos.ts","./src/lexicon/types/com/atproto/admin/getInviteCodes.ts","./src/lexicon/types/com/atproto/admin/getSubjectStatus.ts","./src/lexicon/types/com/atproto/admin/searchAccounts.ts","./src/lexicon/types/com/atproto/admin/sendEmail.ts","./src/lexicon/types/com/atproto/admin/updateAccountEmail.ts","./src/lexicon/types/com/atproto/admin/updateAccountHandle.ts","./src/lexicon/types/com/atproto/admin/updateAccountPassword.ts","./src/lexicon/types/com/atproto/admin/updateAccountSigningKey.ts","./src/lexicon/types/com/atproto/admin/updateSubjectStatus.ts","./src/lexicon/types/com/atproto/identity/defs.ts","./src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts","./src/lexicon/types/com/atproto/identity/refreshIdentity.ts","./src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts","./src/lexicon/types/com/atproto/identity/resolveDid.ts","./src/lexicon/types/com/atproto/identity/resolveHandle.ts","./src/lexicon/types/com/atproto/identity/resolveIdentity.ts","./src/lexicon/types/com/atproto/identity/signPlcOperation.ts","./src/lexicon/types/com/atproto/identity/submitPlcOperation.ts","./src/lexicon/types/com/atproto/identity/updateHandle.ts","./src/lexicon/types/com/atproto/label/defs.ts","./src/lexicon/types/com/atproto/label/queryLabels.ts","./src/lexicon/types/com/atproto/label/subscribeLabels.ts","./src/lexicon/types/com/atproto/lexicon/resolveLexicon.ts","./src/lexicon/types/com/atproto/lexicon/schema.ts","./src/lexicon/types/com/atproto/moderation/createReport.ts","./src/lexicon/types/com/atproto/moderation/defs.ts","./src/lexicon/types/com/atproto/repo/applyWrites.ts","./src/lexicon/types/com/atproto/repo/createRecord.ts","./src/lexicon/types/com/atproto/repo/defs.ts","./src/lexicon/types/com/atproto/repo/deleteRecord.ts","./src/lexicon/types/com/atproto/repo/describeRepo.ts","./src/lexicon/types/com/atproto/repo/getRecord.ts","./src/lexicon/types/com/atproto/repo/importRepo.ts","./src/lexicon/types/com/atproto/repo/listMissingBlobs.ts","./src/lexicon/types/com/atproto/repo/listRecords.ts","./src/lexicon/types/com/atproto/repo/putRecord.ts","./src/lexicon/types/com/atproto/repo/strongRef.ts","./src/lexicon/types/com/atproto/repo/uploadBlob.ts","./src/lexicon/types/com/atproto/server/activateAccount.ts","./src/lexicon/types/com/atproto/server/checkAccountStatus.ts","./src/lexicon/types/com/atproto/server/confirmEmail.ts","./src/lexicon/types/com/atproto/server/createAccount.ts","./src/lexicon/types/com/atproto/server/createAppPassword.ts","./src/lexicon/types/com/atproto/server/createInviteCode.ts","./src/lexicon/types/com/atproto/server/createInviteCodes.ts","./src/lexicon/types/com/atproto/server/createSession.ts","./src/lexicon/types/com/atproto/server/deactivateAccount.ts","./src/lexicon/types/com/atproto/server/defs.ts","./src/lexicon/types/com/atproto/server/deleteAccount.ts","./src/lexicon/types/com/atproto/server/deleteSession.ts","./src/lexicon/types/com/atproto/server/describeServer.ts","./src/lexicon/types/com/atproto/server/getAccountInviteCodes.ts","./src/lexicon/types/com/atproto/server/getServiceAuth.ts","./src/lexicon/types/com/atproto/server/getSession.ts","./src/lexicon/types/com/atproto/server/listAppPasswords.ts","./src/lexicon/types/com/atproto/server/refreshSession.ts","./src/lexicon/types/com/atproto/server/requestAccountDelete.ts","./src/lexicon/types/com/atproto/server/requestEmailConfirmation.ts","./src/lexicon/types/com/atproto/server/requestEmailUpdate.ts","./src/lexicon/types/com/atproto/server/requestPasswordReset.ts","./src/lexicon/types/com/atproto/server/reserveSigningKey.ts","./src/lexicon/types/com/atproto/server/resetPassword.ts","./src/lexicon/types/com/atproto/server/revokeAppPassword.ts","./src/lexicon/types/com/atproto/server/updateEmail.ts","./src/lexicon/types/com/atproto/sync/defs.ts","./src/lexicon/types/com/atproto/sync/getBlob.ts","./src/lexicon/types/com/atproto/sync/getBlocks.ts","./src/lexicon/types/com/atproto/sync/getCheckout.ts","./src/lexicon/types/com/atproto/sync/getHead.ts","./src/lexicon/types/com/atproto/sync/getHostStatus.ts","./src/lexicon/types/com/atproto/sync/getLatestCommit.ts","./src/lexicon/types/com/atproto/sync/getRecord.ts","./src/lexicon/types/com/atproto/sync/getRepo.ts","./src/lexicon/types/com/atproto/sync/getRepoStatus.ts","./src/lexicon/types/com/atproto/sync/listBlobs.ts","./src/lexicon/types/com/atproto/sync/listHosts.ts","./src/lexicon/types/com/atproto/sync/listRepos.ts","./src/lexicon/types/com/atproto/sync/listReposByCollection.ts","./src/lexicon/types/com/atproto/sync/notifyOfUpdate.ts","./src/lexicon/types/com/atproto/sync/requestCrawl.ts","./src/lexicon/types/com/atproto/sync/subscribeRepos.ts","./src/lexicon/types/com/atproto/temp/addReservedHandle.ts","./src/lexicon/types/com/atproto/temp/checkHandleAvailability.ts","./src/lexicon/types/com/atproto/temp/checkSignupQueue.ts","./src/lexicon/types/com/atproto/temp/dereferenceScope.ts","./src/lexicon/types/com/atproto/temp/fetchLabels.ts","./src/lexicon/types/com/atproto/temp/requestPhoneVerification.ts","./src/lexicon/types/com/atproto/temp/revokeAccountCredentials.ts","./src/lexicon/types/tools/ozone/communication/createTemplate.ts","./src/lexicon/types/tools/ozone/communication/defs.ts","./src/lexicon/types/tools/ozone/communication/deleteTemplate.ts","./src/lexicon/types/tools/ozone/communication/listTemplates.ts","./src/lexicon/types/tools/ozone/communication/updateTemplate.ts","./src/lexicon/types/tools/ozone/hosting/getAccountHistory.ts","./src/lexicon/types/tools/ozone/moderation/cancelScheduledActions.ts","./src/lexicon/types/tools/ozone/moderation/defs.ts","./src/lexicon/types/tools/ozone/moderation/emitEvent.ts","./src/lexicon/types/tools/ozone/moderation/getAccountTimeline.ts","./src/lexicon/types/tools/ozone/moderation/getEvent.ts","./src/lexicon/types/tools/ozone/moderation/getRecord.ts","./src/lexicon/types/tools/ozone/moderation/getRecords.ts","./src/lexicon/types/tools/ozone/moderation/getRepo.ts","./src/lexicon/types/tools/ozone/moderation/getReporterStats.ts","./src/lexicon/types/tools/ozone/moderation/getRepos.ts","./src/lexicon/types/tools/ozone/moderation/getSubjects.ts","./src/lexicon/types/tools/ozone/moderation/listScheduledActions.ts","./src/lexicon/types/tools/ozone/moderation/queryEvents.ts","./src/lexicon/types/tools/ozone/moderation/queryStatuses.ts","./src/lexicon/types/tools/ozone/moderation/scheduleAction.ts","./src/lexicon/types/tools/ozone/moderation/searchRepos.ts","./src/lexicon/types/tools/ozone/queue/assignModerator.ts","./src/lexicon/types/tools/ozone/queue/createQueue.ts","./src/lexicon/types/tools/ozone/queue/defs.ts","./src/lexicon/types/tools/ozone/queue/deleteQueue.ts","./src/lexicon/types/tools/ozone/queue/getAssignments.ts","./src/lexicon/types/tools/ozone/queue/listQueues.ts","./src/lexicon/types/tools/ozone/queue/routeReports.ts","./src/lexicon/types/tools/ozone/queue/unassignModerator.ts","./src/lexicon/types/tools/ozone/queue/updateQueue.ts","./src/lexicon/types/tools/ozone/report/assignModerator.ts","./src/lexicon/types/tools/ozone/report/createActivity.ts","./src/lexicon/types/tools/ozone/report/defs.ts","./src/lexicon/types/tools/ozone/report/getAssignments.ts","./src/lexicon/types/tools/ozone/report/getHistoricalStats.ts","./src/lexicon/types/tools/ozone/report/getLatestReport.ts","./src/lexicon/types/tools/ozone/report/getLiveStats.ts","./src/lexicon/types/tools/ozone/report/getReport.ts","./src/lexicon/types/tools/ozone/report/listActivities.ts","./src/lexicon/types/tools/ozone/report/queryReports.ts","./src/lexicon/types/tools/ozone/report/reassignQueue.ts","./src/lexicon/types/tools/ozone/report/refreshStats.ts","./src/lexicon/types/tools/ozone/report/unassignModerator.ts","./src/lexicon/types/tools/ozone/safelink/addRule.ts","./src/lexicon/types/tools/ozone/safelink/defs.ts","./src/lexicon/types/tools/ozone/safelink/queryEvents.ts","./src/lexicon/types/tools/ozone/safelink/queryRules.ts","./src/lexicon/types/tools/ozone/safelink/removeRule.ts","./src/lexicon/types/tools/ozone/safelink/updateRule.ts","./src/lexicon/types/tools/ozone/server/getConfig.ts","./src/lexicon/types/tools/ozone/set/addValues.ts","./src/lexicon/types/tools/ozone/set/defs.ts","./src/lexicon/types/tools/ozone/set/deleteSet.ts","./src/lexicon/types/tools/ozone/set/deleteValues.ts","./src/lexicon/types/tools/ozone/set/getValues.ts","./src/lexicon/types/tools/ozone/set/querySets.ts","./src/lexicon/types/tools/ozone/set/upsertSet.ts","./src/lexicon/types/tools/ozone/setting/defs.ts","./src/lexicon/types/tools/ozone/setting/listOptions.ts","./src/lexicon/types/tools/ozone/setting/removeOptions.ts","./src/lexicon/types/tools/ozone/setting/upsertOption.ts","./src/lexicon/types/tools/ozone/signature/defs.ts","./src/lexicon/types/tools/ozone/signature/findCorrelation.ts","./src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts","./src/lexicon/types/tools/ozone/signature/searchAccounts.ts","./src/lexicon/types/tools/ozone/team/addMember.ts","./src/lexicon/types/tools/ozone/team/defs.ts","./src/lexicon/types/tools/ozone/team/deleteMember.ts","./src/lexicon/types/tools/ozone/team/listMembers.ts","./src/lexicon/types/tools/ozone/team/updateMember.ts","./src/lexicon/types/tools/ozone/verification/defs.ts","./src/lexicon/types/tools/ozone/verification/grantVerifications.ts","./src/lexicon/types/tools/ozone/verification/listVerifications.ts","./src/lexicon/types/tools/ozone/verification/revokeVerifications.ts","./src/mod-service/expiring-tags.ts","./src/mod-service/index.ts","./src/mod-service/profile.ts","./src/mod-service/report.ts","./src/mod-service/status.ts","./src/mod-service/strike.ts","./src/mod-service/subject.ts","./src/mod-service/types.ts","./src/mod-service/util.ts","./src/mod-service/views.ts","./src/queue/service.ts","./src/report/activity.ts","./src/report/handle-report-update.ts","./src/report/reassign.ts","./src/report/stats.ts","./src/report/views.ts","./src/safelink/service.ts","./src/scheduled-action/service.ts","./src/scheduled-action/types.ts","./src/sequencer/index.ts","./src/sequencer/outbox.ts","./src/sequencer/sequencer.ts","./src/set/service.ts","./src/setting/constants.ts","./src/setting/service.ts","./src/setting/types.ts","./src/setting/validators.ts","./src/tag-service/content-tagger.ts","./src/tag-service/embed-tagger.ts","./src/tag-service/index.ts","./src/tag-service/language-data.ts","./src/tag-service/language-tagger.ts","./src/tag-service/util.ts","./src/team/index.ts","./src/verification/issuer.ts","./src/verification/service.ts","./src/verification/util.ts"],"version":"6.0.3"}
package/tsconfig.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "include": [],
3
3
  "references": [
4
4
  { "path": "./tsconfig.build.json" },
5
- { "path": "./tsconfig.tests.json" }
6
- ]
5
+ { "path": "./tsconfig.tests.json" },
6
+ ],
7
7
  }
@@ -2,7 +2,7 @@
2
2
  "extends": "../../tsconfig/tests.json",
3
3
  "compilerOptions": {
4
4
  "rootDir": ".",
5
- "noUnusedLocals": false
5
+ "noUnusedLocals": false,
6
6
  },
7
- "include": ["./tests"]
7
+ "include": ["./tests"],
8
8
  }