@atproto/ozone 0.1.163 → 0.1.165

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.d.ts +4 -0
  3. package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.d.ts.map +1 -0
  4. package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.js +24 -0
  5. package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.js.map +1 -0
  6. package/dist/db/migrations/index.d.ts +1 -0
  7. package/dist/db/migrations/index.d.ts.map +1 -1
  8. package/dist/db/migrations/index.js +2 -1
  9. package/dist/db/migrations/index.js.map +1 -1
  10. package/dist/db/pagination.d.ts +2 -2
  11. package/dist/lexicon/index.d.ts +4 -0
  12. package/dist/lexicon/index.d.ts.map +1 -1
  13. package/dist/lexicon/index.js +8 -0
  14. package/dist/lexicon/index.js.map +1 -1
  15. package/dist/lexicon/lexicons.d.ts +220 -6
  16. package/dist/lexicon/lexicons.d.ts.map +1 -1
  17. package/dist/lexicon/lexicons.js +112 -3
  18. package/dist/lexicon/lexicons.js.map +1 -1
  19. package/dist/lexicon/types/app/bsky/draft/defs.d.ts +1 -1
  20. package/dist/lexicon/types/app/bsky/draft/defs.d.ts.map +1 -1
  21. package/dist/lexicon/types/app/bsky/draft/defs.js.map +1 -1
  22. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts +1 -0
  23. package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
  24. package/dist/lexicon/types/app/bsky/feed/sendInteractions.js.map +1 -1
  25. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +3 -1
  26. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  27. package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  28. package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts +27 -0
  29. package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts.map +1 -0
  30. package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js +7 -0
  31. package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js.map +1 -0
  32. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts +26 -0
  33. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts.map +1 -0
  34. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.js +7 -0
  35. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.js.map +1 -0
  36. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +3 -1
  37. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
  38. package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
  39. package/package.json +9 -9
  40. package/src/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.ts +22 -0
  41. package/src/db/migrations/index.ts +1 -0
  42. package/src/lexicon/index.ts +26 -0
  43. package/src/lexicon/lexicons.ts +119 -3
  44. package/src/lexicon/types/app/bsky/draft/defs.ts +1 -1
  45. package/src/lexicon/types/app/bsky/feed/sendInteractions.ts +1 -0
  46. package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -1
  47. package/src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +45 -0
  48. package/src/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +44 -0
  49. package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +3 -1
  50. package/tests/moderation-events.test.ts +36 -0
  51. package/tsconfig.build.tsbuildinfo +1 -1
@@ -41,7 +41,7 @@ export declare function validateDraft<V>(v: V): ValidationResult<Draft & V>;
41
41
  /** One of the posts that compose a draft. */
42
42
  export interface DraftPost {
43
43
  $type?: 'app.bsky.draft.defs#draftPost';
44
- /** The primary post content. */
44
+ /** The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts. */
45
45
  text: string;
46
46
  labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | {
47
47
  $type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/draft/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,mBAAmB,MAAM,qBAAqB,CAAA;AAC/D,OAAO,KAAK,KAAK,qBAAqB,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,mFAAmF;AACnF,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,iCAAiC,CAAA;IACzC,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,KAAK,CAAA;CACb;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C;AAED,kDAAkD;AAClD,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,2BAA2B,CAAA;IACnC,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oDAAoD;IACpD,KAAK,EAAE,SAAS,EAAE,CA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AoB,CAAA;AAEnD,SAAgB,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED,SAAgB,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAyB,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AACxE,CAAC;AAOD,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyFeedPostgate from '../feed/postgate.js'\nimport type * as AppBskyFeedThreadgate from '../feed/threadgate.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.draft.defs'\n\n/** A draft with an identifier, used to store drafts in private storage (stash). */\nexport interface DraftWithId {\n $type?: 'app.bsky.draft.defs#draftWithId'\n /** A TID to be used as a draft identifier. */\n id: string\n draft: Draft\n}\n\nconst hashDraftWithId = 'draftWithId'\n\nexport function isDraftWithId<V>(v: V) {\n return is$typed(v, id, hashDraftWithId)\n}\n\nexport function validateDraftWithId<V>(v: V) {\n return validate<DraftWithId & V>(v, id, hashDraftWithId)\n}\n\n/** A draft containing an array of draft posts. */\nexport interface Draft {\n $type?: 'app.bsky.draft.defs#draft'\n /** UUIDv4 identifier of the device that created this draft. */\n deviceId?: string\n /** The device and/or platform on which the draft was created. */\n deviceName?: string\n /** Array of draft posts that compose this draft. */\n posts: DraftPost[]\n /** Indicates human language of posts primary text content. */\n langs?: string[]\n /** Embedding rules for the postgates to be created when this draft is published. */\n postgateEmbeddingRules?: (\n | $Typed<AppBskyFeedPostgate.DisableRule>\n | { $type: string }\n )[]\n /** Allow-rules for the threadgate to be created when this draft is published. */\n threadgateAllow?: (\n | $Typed<AppBskyFeedThreadgate.MentionRule>\n | $Typed<AppBskyFeedThreadgate.FollowerRule>\n | $Typed<AppBskyFeedThreadgate.FollowingRule>\n | $Typed<AppBskyFeedThreadgate.ListRule>\n | { $type: string }\n )[]\n}\n\nconst hashDraft = 'draft'\n\nexport function isDraft<V>(v: V) {\n return is$typed(v, id, hashDraft)\n}\n\nexport function validateDraft<V>(v: V) {\n return validate<Draft & V>(v, id, hashDraft)\n}\n\n/** One of the posts that compose a draft. */\nexport interface DraftPost {\n $type?: 'app.bsky.draft.defs#draftPost'\n /** The primary post content. */\n text: string\n labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | { $type: string }\n embedImages?: DraftEmbedImage[]\n embedVideos?: DraftEmbedVideo[]\n embedExternals?: DraftEmbedExternal[]\n embedRecords?: DraftEmbedRecord[]\n}\n\nconst hashDraftPost = 'draftPost'\n\nexport function isDraftPost<V>(v: V) {\n return is$typed(v, id, hashDraftPost)\n}\n\nexport function validateDraftPost<V>(v: V) {\n return validate<DraftPost & V>(v, id, hashDraftPost)\n}\n\n/** View to present drafts data to users. */\nexport interface DraftView {\n $type?: 'app.bsky.draft.defs#draftView'\n /** A TID to be used as a draft identifier. */\n id: string\n draft: Draft\n /** The time the draft was created. */\n createdAt: string\n /** The time the draft was last updated. */\n updatedAt: string\n}\n\nconst hashDraftView = 'draftView'\n\nexport function isDraftView<V>(v: V) {\n return is$typed(v, id, hashDraftView)\n}\n\nexport function validateDraftView<V>(v: V) {\n return validate<DraftView & V>(v, id, hashDraftView)\n}\n\nexport interface DraftEmbedLocalRef {\n $type?: 'app.bsky.draft.defs#draftEmbedLocalRef'\n /** Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts. */\n path: string\n}\n\nconst hashDraftEmbedLocalRef = 'draftEmbedLocalRef'\n\nexport function isDraftEmbedLocalRef<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedLocalRef)\n}\n\nexport function validateDraftEmbedLocalRef<V>(v: V) {\n return validate<DraftEmbedLocalRef & V>(v, id, hashDraftEmbedLocalRef)\n}\n\nexport interface DraftEmbedCaption {\n $type?: 'app.bsky.draft.defs#draftEmbedCaption'\n lang: string\n content: string\n}\n\nconst hashDraftEmbedCaption = 'draftEmbedCaption'\n\nexport function isDraftEmbedCaption<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedCaption)\n}\n\nexport function validateDraftEmbedCaption<V>(v: V) {\n return validate<DraftEmbedCaption & V>(v, id, hashDraftEmbedCaption)\n}\n\nexport interface DraftEmbedImage {\n $type?: 'app.bsky.draft.defs#draftEmbedImage'\n localRef: DraftEmbedLocalRef\n alt?: string\n}\n\nconst hashDraftEmbedImage = 'draftEmbedImage'\n\nexport function isDraftEmbedImage<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedImage)\n}\n\nexport function validateDraftEmbedImage<V>(v: V) {\n return validate<DraftEmbedImage & V>(v, id, hashDraftEmbedImage)\n}\n\nexport interface DraftEmbedVideo {\n $type?: 'app.bsky.draft.defs#draftEmbedVideo'\n localRef: DraftEmbedLocalRef\n alt?: string\n captions?: DraftEmbedCaption[]\n}\n\nconst hashDraftEmbedVideo = 'draftEmbedVideo'\n\nexport function isDraftEmbedVideo<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedVideo)\n}\n\nexport function validateDraftEmbedVideo<V>(v: V) {\n return validate<DraftEmbedVideo & V>(v, id, hashDraftEmbedVideo)\n}\n\nexport interface DraftEmbedExternal {\n $type?: 'app.bsky.draft.defs#draftEmbedExternal'\n uri: string\n}\n\nconst hashDraftEmbedExternal = 'draftEmbedExternal'\n\nexport function isDraftEmbedExternal<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedExternal)\n}\n\nexport function validateDraftEmbedExternal<V>(v: V) {\n return validate<DraftEmbedExternal & V>(v, id, hashDraftEmbedExternal)\n}\n\nexport interface DraftEmbedRecord {\n $type?: 'app.bsky.draft.defs#draftEmbedRecord'\n record: ComAtprotoRepoStrongRef.Main\n}\n\nconst hashDraftEmbedRecord = 'draftEmbedRecord'\n\nexport function isDraftEmbedRecord<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedRecord)\n}\n\nexport function validateDraftEmbedRecord<V>(v: V) {\n return validate<DraftEmbedRecord & V>(v, id, hashDraftEmbedRecord)\n}\n"]}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/draft/defs.ts"],"names":[],"mappings":";;AA8BA,sCAEC;AAED,kDAEC;AA8BD,0BAEC;AAED,sCAEC;AAgBD,kCAEC;AAED,8CAEC;AAgBD,kCAEC;AAED,8CAEC;AAUD,oDAEC;AAED,gEAEC;AAUD,kDAEC;AAED,8DAEC;AAUD,8CAEC;AAED,0DAEC;AAWD,8CAEC;AAED,0DAEC;AASD,oDAEC;AAED,gEAEC;AASD,gDAEC;AAED,4DAEC;AA9MD,mDAA4D;AAC5D,2CAIyB;AAMzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qBAAqB,CAAA;AAUhC,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,SAAgB,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,SAAgB,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC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**\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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyFeedPostgate from '../feed/postgate.js'\nimport type * as AppBskyFeedThreadgate from '../feed/threadgate.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.draft.defs'\n\n/** A draft with an identifier, used to store drafts in private storage (stash). */\nexport interface DraftWithId {\n $type?: 'app.bsky.draft.defs#draftWithId'\n /** A TID to be used as a draft identifier. */\n id: string\n draft: Draft\n}\n\nconst hashDraftWithId = 'draftWithId'\n\nexport function isDraftWithId<V>(v: V) {\n return is$typed(v, id, hashDraftWithId)\n}\n\nexport function validateDraftWithId<V>(v: V) {\n return validate<DraftWithId & V>(v, id, hashDraftWithId)\n}\n\n/** A draft containing an array of draft posts. */\nexport interface Draft {\n $type?: 'app.bsky.draft.defs#draft'\n /** UUIDv4 identifier of the device that created this draft. */\n deviceId?: string\n /** The device and/or platform on which the draft was created. */\n deviceName?: string\n /** Array of draft posts that compose this draft. */\n posts: DraftPost[]\n /** Indicates human language of posts primary text content. */\n langs?: string[]\n /** Embedding rules for the postgates to be created when this draft is published. */\n postgateEmbeddingRules?: (\n | $Typed<AppBskyFeedPostgate.DisableRule>\n | { $type: string }\n )[]\n /** Allow-rules for the threadgate to be created when this draft is published. */\n threadgateAllow?: (\n | $Typed<AppBskyFeedThreadgate.MentionRule>\n | $Typed<AppBskyFeedThreadgate.FollowerRule>\n | $Typed<AppBskyFeedThreadgate.FollowingRule>\n | $Typed<AppBskyFeedThreadgate.ListRule>\n | { $type: string }\n )[]\n}\n\nconst hashDraft = 'draft'\n\nexport function isDraft<V>(v: V) {\n return is$typed(v, id, hashDraft)\n}\n\nexport function validateDraft<V>(v: V) {\n return validate<Draft & V>(v, id, hashDraft)\n}\n\n/** One of the posts that compose a draft. */\nexport interface DraftPost {\n $type?: 'app.bsky.draft.defs#draftPost'\n /** The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts. */\n text: string\n labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | { $type: string }\n embedImages?: DraftEmbedImage[]\n embedVideos?: DraftEmbedVideo[]\n embedExternals?: DraftEmbedExternal[]\n embedRecords?: DraftEmbedRecord[]\n}\n\nconst hashDraftPost = 'draftPost'\n\nexport function isDraftPost<V>(v: V) {\n return is$typed(v, id, hashDraftPost)\n}\n\nexport function validateDraftPost<V>(v: V) {\n return validate<DraftPost & V>(v, id, hashDraftPost)\n}\n\n/** View to present drafts data to users. */\nexport interface DraftView {\n $type?: 'app.bsky.draft.defs#draftView'\n /** A TID to be used as a draft identifier. */\n id: string\n draft: Draft\n /** The time the draft was created. */\n createdAt: string\n /** The time the draft was last updated. */\n updatedAt: string\n}\n\nconst hashDraftView = 'draftView'\n\nexport function isDraftView<V>(v: V) {\n return is$typed(v, id, hashDraftView)\n}\n\nexport function validateDraftView<V>(v: V) {\n return validate<DraftView & V>(v, id, hashDraftView)\n}\n\nexport interface DraftEmbedLocalRef {\n $type?: 'app.bsky.draft.defs#draftEmbedLocalRef'\n /** Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts. */\n path: string\n}\n\nconst hashDraftEmbedLocalRef = 'draftEmbedLocalRef'\n\nexport function isDraftEmbedLocalRef<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedLocalRef)\n}\n\nexport function validateDraftEmbedLocalRef<V>(v: V) {\n return validate<DraftEmbedLocalRef & V>(v, id, hashDraftEmbedLocalRef)\n}\n\nexport interface DraftEmbedCaption {\n $type?: 'app.bsky.draft.defs#draftEmbedCaption'\n lang: string\n content: string\n}\n\nconst hashDraftEmbedCaption = 'draftEmbedCaption'\n\nexport function isDraftEmbedCaption<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedCaption)\n}\n\nexport function validateDraftEmbedCaption<V>(v: V) {\n return validate<DraftEmbedCaption & V>(v, id, hashDraftEmbedCaption)\n}\n\nexport interface DraftEmbedImage {\n $type?: 'app.bsky.draft.defs#draftEmbedImage'\n localRef: DraftEmbedLocalRef\n alt?: string\n}\n\nconst hashDraftEmbedImage = 'draftEmbedImage'\n\nexport function isDraftEmbedImage<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedImage)\n}\n\nexport function validateDraftEmbedImage<V>(v: V) {\n return validate<DraftEmbedImage & V>(v, id, hashDraftEmbedImage)\n}\n\nexport interface DraftEmbedVideo {\n $type?: 'app.bsky.draft.defs#draftEmbedVideo'\n localRef: DraftEmbedLocalRef\n alt?: string\n captions?: DraftEmbedCaption[]\n}\n\nconst hashDraftEmbedVideo = 'draftEmbedVideo'\n\nexport function isDraftEmbedVideo<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedVideo)\n}\n\nexport function validateDraftEmbedVideo<V>(v: V) {\n return validate<DraftEmbedVideo & V>(v, id, hashDraftEmbedVideo)\n}\n\nexport interface DraftEmbedExternal {\n $type?: 'app.bsky.draft.defs#draftEmbedExternal'\n uri: string\n}\n\nconst hashDraftEmbedExternal = 'draftEmbedExternal'\n\nexport function isDraftEmbedExternal<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedExternal)\n}\n\nexport function validateDraftEmbedExternal<V>(v: V) {\n return validate<DraftEmbedExternal & V>(v, id, hashDraftEmbedExternal)\n}\n\nexport interface DraftEmbedRecord {\n $type?: 'app.bsky.draft.defs#draftEmbedRecord'\n record: ComAtprotoRepoStrongRef.Main\n}\n\nconst hashDraftEmbedRecord = 'draftEmbedRecord'\n\nexport function isDraftEmbedRecord<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedRecord)\n}\n\nexport function validateDraftEmbedRecord<V>(v: V) {\n return validate<DraftEmbedRecord & V>(v, id, hashDraftEmbedRecord)\n}\n"]}
@@ -1,6 +1,7 @@
1
1
  import type * as AppBskyFeedDefs from './defs.js';
2
2
  export type QueryParams = {};
3
3
  export interface InputSchema {
4
+ feed?: string;
4
5
  interactions: AppBskyFeedDefs.Interaction[];
5
6
  }
6
7
  export interface OutputSchema {
@@ -1 +1 @@
1
- {"version":3,"file":"sendInteractions.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,eAAe,CAAC,WAAW,EAAE,CAAA;CAC5C;AAED,MAAM,WAAW,YAAY;CAAG;AAEhC,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
1
+ {"version":3,"file":"sendInteractions.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,eAAe,CAAC,WAAW,EAAE,CAAA;CAC5C;AAED,MAAM,WAAW,YAAY;CAAG;AAEhC,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"sendInteractions.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gCAAgC,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.sendInteractions'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n interactions: AppBskyFeedDefs.Interaction[]\n}\n\nexport interface OutputSchema {}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
1
+ {"version":3,"file":"sendInteractions.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/sendInteractions.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gCAAgC,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.sendInteractions'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n feed?: string\n interactions: AppBskyFeedDefs.Interaction[]\n}\n\nexport interface OutputSchema {}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -7,8 +7,10 @@ export interface OutputSchema {
7
7
  suggestions: AppBskyActorDefs.ProfileView[];
8
8
  /** If true, response has fallen-back to generic results, and is not scoped using relativeToDid */
9
9
  isFallback?: boolean;
10
- /** Snowflake for this recommendation, use when submitting recommendation events. */
10
+ /** DEPRECATED: use recIdStr instead. */
11
11
  recId?: number;
12
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
13
+ recIdStr?: string;
12
14
  }
13
15
  export type HandlerInput = void;
14
16
  export interface HandlerSuccess {
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestedFollowsByActor.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IAC3C,kGAAkG;IAClG,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
1
+ {"version":3,"file":"getSuggestedFollowsByActor.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IAC3C,kGAAkG;IAClG,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestedFollowsByActor.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.graph.getSuggestedFollowsByActor'\n\nexport type QueryParams = {\n actor: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n suggestions: AppBskyActorDefs.ProfileView[]\n /** If true, response has fallen-back to generic results, and is not scoped using relativeToDid */\n isFallback?: boolean\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?: number\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
1
+ {"version":3,"file":"getSuggestedFollowsByActor.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.graph.getSuggestedFollowsByActor'\n\nexport type QueryParams = {\n actor: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n suggestions: AppBskyActorDefs.ProfileView[]\n /** If true, response has fallen-back to generic results, and is not scoped using relativeToDid */\n isFallback?: boolean\n /** DEPRECATED: use recIdStr instead. */\n recId?: number\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,27 @@
1
+ export type QueryParams = {
2
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
3
+ viewer?: string;
4
+ /** Category of users to get suggestions for. */
5
+ category?: string;
6
+ limit: number;
7
+ };
8
+ export type InputSchema = undefined;
9
+ export interface OutputSchema {
10
+ dids: string[];
11
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
12
+ recId?: string;
13
+ }
14
+ export type HandlerInput = void;
15
+ export interface HandlerSuccess {
16
+ encoding: 'application/json';
17
+ body: OutputSchema;
18
+ headers?: {
19
+ [key: string]: string;
20
+ };
21
+ }
22
+ export interface HandlerError {
23
+ status: number;
24
+ message?: string;
25
+ }
26
+ export type HandlerOutput = HandlerError | HandlerSuccess;
27
+ //# sourceMappingURL=getOnboardingSuggestedUsersSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOnboardingSuggestedUsersSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton';
7
+ //# sourceMappingURL=getOnboardingSuggestedUsersSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOnboardingSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wDAAwD,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n /** Category of users to get suggestions for. */\n category?: string\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -0,0 +1,26 @@
1
+ import type * as AppBskyActorDefs from '../actor/defs.js';
2
+ export type QueryParams = {
3
+ /** Category of users to get suggestions for. */
4
+ category?: string;
5
+ limit: number;
6
+ };
7
+ export type InputSchema = undefined;
8
+ export interface OutputSchema {
9
+ actors: AppBskyActorDefs.ProfileView[];
10
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
11
+ recId?: string;
12
+ }
13
+ export type HandlerInput = void;
14
+ export interface HandlerSuccess {
15
+ encoding: 'application/json';
16
+ body: OutputSchema;
17
+ headers?: {
18
+ [key: string]: string;
19
+ };
20
+ }
21
+ export interface HandlerError {
22
+ status: number;
23
+ message?: string;
24
+ }
25
+ export type HandlerOutput = HandlerError | HandlerSuccess;
26
+ //# sourceMappingURL=getSuggestedOnboardingUsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedOnboardingUsers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACtC,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const lexicons_1 = require("../../../../lexicons");
4
+ const util_1 = require("../../../../util");
5
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
6
+ const id = 'app.bsky.unspecced.getSuggestedOnboardingUsers';
7
+ //# sourceMappingURL=getSuggestedOnboardingUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedOnboardingUsers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gDAAgD,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedOnboardingUsers'\n\nexport type QueryParams = {\n /** Category of users to get suggestions for. */\n category?: string\n limit: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
@@ -13,8 +13,10 @@ export interface OutputSchema {
13
13
  actors: AppBskyUnspeccedDefs.SkeletonSearchActor[];
14
14
  /** DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. */
15
15
  relativeToDid?: string;
16
- /** Snowflake for this recommendation, use when submitting recommendation events. */
16
+ /** DEPRECATED: use recIdStr instead. */
17
17
  recId?: number;
18
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
19
+ recIdStr?: string;
18
20
  }
19
21
  export type HandlerInput = void;
20
22
  export interface HandlerSuccess {
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestionsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,2IAA2I;IAC3I,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mHAAmH;IACnH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,oBAAoB,CAAC,mBAAmB,EAAE,CAAA;IAClD,gIAAgI;IAChI,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
1
+ {"version":3,"file":"getSuggestionsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,2IAA2I;IAC3I,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mHAAmH;IACnH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,oBAAoB,CAAC,mBAAmB,EAAE,CAAA;IAClD,gIAAgI;IAChI,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestionsSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyUnspeccedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestionsSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */\n viewer?: string\n limit: number\n cursor?: string\n /** DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer. */\n relativeToDid?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n actors: AppBskyUnspeccedDefs.SkeletonSearchActor[]\n /** DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. */\n relativeToDid?: string\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?: number\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
1
+ {"version":3,"file":"getSuggestionsSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA","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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyUnspeccedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestionsSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */\n viewer?: string\n limit: number\n cursor?: string\n /** DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer. */\n relativeToDid?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n actors: AppBskyUnspeccedDefs.SkeletonSearchActor[]\n /** DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. */\n relativeToDid?: string\n /** DEPRECATED: use recIdStr instead. */\n recId?: number\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr?: string\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/ozone",
3
- "version": "0.1.163",
3
+ "version": "0.1.165",
4
4
  "license": "MIT",
5
5
  "description": "Backend service for moderating the Bluesky network.",
6
6
  "keywords": [
@@ -35,15 +35,15 @@
35
35
  "uint8arrays": "3.0.0",
36
36
  "undici": "^6.14.1",
37
37
  "ws": "^8.12.0",
38
- "@atproto/api": "^0.18.20",
39
- "@atproto/common": "^0.5.11",
38
+ "@atproto/api": "^0.19.1",
39
+ "@atproto/common": "^0.5.14",
40
40
  "@atproto/crypto": "^0.4.5",
41
- "@atproto/identity": "^0.4.11",
42
- "@atproto/lexicon": "^0.6.1",
43
- "@atproto/syntax": "^0.4.3",
41
+ "@atproto/identity": "^0.4.12",
42
+ "@atproto/lexicon": "^0.6.2",
43
+ "@atproto/syntax": "^0.5.0",
44
44
  "@atproto/ws-client": "^0.0.4",
45
45
  "@atproto/xrpc": "^0.7.7",
46
- "@atproto/xrpc-server": "^0.10.12"
46
+ "@atproto/xrpc-server": "^0.10.15"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@did-plc/server": "^0.0.1",
@@ -55,8 +55,8 @@
55
55
  "jest": "^28.1.2",
56
56
  "ts-node": "^10.8.2",
57
57
  "typescript": "^5.6.3",
58
- "@atproto/lex-cli": "^0.9.8",
59
- "@atproto/pds": "^0.4.208"
58
+ "@atproto/lex-cli": "^0.9.9",
59
+ "@atproto/pds": "^0.4.213"
60
60
  },
61
61
  "scripts": {
62
62
  "codegen": "lex gen-server --yes ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
@@ -0,0 +1,22 @@
1
+ import { Kysely } from 'kysely'
2
+
3
+ export async function up(db: Kysely<unknown>): Promise<void> {
4
+ // @NOTE: These queries should be run with the "CONCURRENTLY" option in
5
+ // production to avoid locking the table. This is not supported by Kysely.
6
+ await db.schema
7
+ .dropIndex('moderation_event_created_by_idx')
8
+ .ifExists()
9
+ .execute()
10
+ await db.schema
11
+ .createIndex('moderation_event_created_by_idx')
12
+ .on('moderation_event')
13
+ .columns(['createdBy', 'createdAt', 'id'])
14
+ .execute()
15
+ }
16
+
17
+ export async function down(db: Kysely<unknown>): Promise<void> {
18
+ await db.schema
19
+ .dropIndex('moderation_event_created_by_idx')
20
+ .ifExists()
21
+ .execute()
22
+ }
@@ -33,3 +33,4 @@ export * as _20250718T150931000Z from './20250718T150931000Z-update-appeal-reaso
33
33
  export * as _20250813T000000000Z from './20250813T000000000Z-mod-tool-batch-id-index'
34
34
  export * as _20250923T000000000Z from './20250923T000000000Z-scheduled-actions'
35
35
  export * as _20251008T120000000Z from './20251008T120000000Z-add-strike-system'
36
+ export * as _20260210T154806448Z from './20260210T154806448Z-mod-event-created-by-indexes'
@@ -91,11 +91,13 @@ import * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecce
91
91
  import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
92
92
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js'
93
93
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js'
94
+ import * as AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js'
94
95
  import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
95
96
  import * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'
96
97
  import * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
97
98
  import * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
98
99
  import * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
100
+ import * as AppBskyUnspeccedGetSuggestedOnboardingUsers from './types/app/bsky/unspecced/getSuggestedOnboardingUsers.js'
99
101
  import * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'
100
102
  import * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js'
101
103
  import * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js'
@@ -1505,6 +1507,18 @@ export class AppBskyUnspeccedNS {
1505
1507
  return this._server.xrpc.method(nsid, cfg)
1506
1508
  }
1507
1509
 
1510
+ getOnboardingSuggestedUsersSkeleton<A extends Auth = void>(
1511
+ cfg: MethodConfigOrHandler<
1512
+ A,
1513
+ AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.QueryParams,
1514
+ AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.HandlerInput,
1515
+ AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.HandlerOutput
1516
+ >,
1517
+ ) {
1518
+ const nsid = 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton' // @ts-ignore
1519
+ return this._server.xrpc.method(nsid, cfg)
1520
+ }
1521
+
1508
1522
  getPopularFeedGenerators<A extends Auth = void>(
1509
1523
  cfg: MethodConfigOrHandler<
1510
1524
  A,
@@ -1565,6 +1579,18 @@ export class AppBskyUnspeccedNS {
1565
1579
  return this._server.xrpc.method(nsid, cfg)
1566
1580
  }
1567
1581
 
1582
+ getSuggestedOnboardingUsers<A extends Auth = void>(
1583
+ cfg: MethodConfigOrHandler<
1584
+ A,
1585
+ AppBskyUnspeccedGetSuggestedOnboardingUsers.QueryParams,
1586
+ AppBskyUnspeccedGetSuggestedOnboardingUsers.HandlerInput,
1587
+ AppBskyUnspeccedGetSuggestedOnboardingUsers.HandlerOutput
1588
+ >,
1589
+ ) {
1590
+ const nsid = 'app.bsky.unspecced.getSuggestedOnboardingUsers' // @ts-ignore
1591
+ return this._server.xrpc.method(nsid, cfg)
1592
+ }
1593
+
1568
1594
  getSuggestedStarterPacks<A extends Auth = void>(
1569
1595
  cfg: MethodConfigOrHandler<
1570
1596
  A,
@@ -2392,9 +2392,10 @@ export const schemaDict = {
2392
2392
  properties: {
2393
2393
  text: {
2394
2394
  type: 'string',
2395
- maxLength: 3000,
2396
- maxGraphemes: 300,
2397
- description: 'The primary post content.',
2395
+ maxLength: 10000,
2396
+ maxGraphemes: 1000,
2397
+ description:
2398
+ 'The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts.',
2398
2399
  },
2399
2400
  labels: {
2400
2401
  type: 'union',
@@ -4946,6 +4947,10 @@ export const schemaDict = {
4946
4947
  type: 'object',
4947
4948
  required: ['interactions'],
4948
4949
  properties: {
4950
+ feed: {
4951
+ type: 'string',
4952
+ format: 'at-uri',
4953
+ },
4949
4954
  interactions: {
4950
4955
  type: 'array',
4951
4956
  items: {
@@ -6242,6 +6247,10 @@ export const schemaDict = {
6242
6247
  },
6243
6248
  recId: {
6244
6249
  type: 'integer',
6250
+ description: 'DEPRECATED: use recIdStr instead.',
6251
+ },
6252
+ recIdStr: {
6253
+ type: 'string',
6245
6254
  description:
6246
6255
  'Snowflake for this recommendation, use when submitting recommendation events.',
6247
6256
  },
@@ -8055,6 +8064,59 @@ export const schemaDict = {
8055
8064
  },
8056
8065
  },
8057
8066
  },
8067
+ AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton: {
8068
+ lexicon: 1,
8069
+ id: 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton',
8070
+ defs: {
8071
+ main: {
8072
+ type: 'query',
8073
+ description:
8074
+ 'Get a skeleton of suggested users for onboarding. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedOnboardingUsers',
8075
+ parameters: {
8076
+ type: 'params',
8077
+ properties: {
8078
+ viewer: {
8079
+ type: 'string',
8080
+ format: 'did',
8081
+ description:
8082
+ 'DID of the account making the request (not included for public/unauthenticated queries).',
8083
+ },
8084
+ category: {
8085
+ type: 'string',
8086
+ description: 'Category of users to get suggestions for.',
8087
+ },
8088
+ limit: {
8089
+ type: 'integer',
8090
+ minimum: 1,
8091
+ maximum: 50,
8092
+ default: 25,
8093
+ },
8094
+ },
8095
+ },
8096
+ output: {
8097
+ encoding: 'application/json',
8098
+ schema: {
8099
+ type: 'object',
8100
+ required: ['dids'],
8101
+ properties: {
8102
+ dids: {
8103
+ type: 'array',
8104
+ items: {
8105
+ type: 'string',
8106
+ format: 'did',
8107
+ },
8108
+ },
8109
+ recId: {
8110
+ type: 'string',
8111
+ description:
8112
+ 'Snowflake for this recommendation, use when submitting recommendation events.',
8113
+ },
8114
+ },
8115
+ },
8116
+ },
8117
+ },
8118
+ },
8119
+ },
8058
8120
  AppBskyUnspeccedGetPopularFeedGenerators: {
8059
8121
  lexicon: 1,
8060
8122
  id: 'app.bsky.unspecced.getPopularFeedGenerators',
@@ -8343,6 +8405,52 @@ export const schemaDict = {
8343
8405
  },
8344
8406
  },
8345
8407
  },
8408
+ AppBskyUnspeccedGetSuggestedOnboardingUsers: {
8409
+ lexicon: 1,
8410
+ id: 'app.bsky.unspecced.getSuggestedOnboardingUsers',
8411
+ defs: {
8412
+ main: {
8413
+ type: 'query',
8414
+ description: 'Get a list of suggested users for onboarding',
8415
+ parameters: {
8416
+ type: 'params',
8417
+ properties: {
8418
+ category: {
8419
+ type: 'string',
8420
+ description: 'Category of users to get suggestions for.',
8421
+ },
8422
+ limit: {
8423
+ type: 'integer',
8424
+ minimum: 1,
8425
+ maximum: 50,
8426
+ default: 25,
8427
+ },
8428
+ },
8429
+ },
8430
+ output: {
8431
+ encoding: 'application/json',
8432
+ schema: {
8433
+ type: 'object',
8434
+ required: ['actors'],
8435
+ properties: {
8436
+ actors: {
8437
+ type: 'array',
8438
+ items: {
8439
+ type: 'ref',
8440
+ ref: 'lex:app.bsky.actor.defs#profileView',
8441
+ },
8442
+ },
8443
+ recId: {
8444
+ type: 'string',
8445
+ description:
8446
+ 'Snowflake for this recommendation, use when submitting recommendation events.',
8447
+ },
8448
+ },
8449
+ },
8450
+ },
8451
+ },
8452
+ },
8453
+ },
8346
8454
  AppBskyUnspeccedGetSuggestedStarterPacks: {
8347
8455
  lexicon: 1,
8348
8456
  id: 'app.bsky.unspecced.getSuggestedStarterPacks',
@@ -8581,6 +8689,10 @@ export const schemaDict = {
8581
8689
  },
8582
8690
  recId: {
8583
8691
  type: 'integer',
8692
+ description: 'DEPRECATED: use recIdStr instead.',
8693
+ },
8694
+ recIdStr: {
8695
+ type: 'string',
8584
8696
  description:
8585
8697
  'Snowflake for this recommendation, use when submitting recommendation events.',
8586
8698
  },
@@ -20653,6 +20765,8 @@ export const ids = {
20653
20765
  'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
20654
20766
  AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton:
20655
20767
  'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton',
20768
+ AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton:
20769
+ 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton',
20656
20770
  AppBskyUnspeccedGetPopularFeedGenerators:
20657
20771
  'app.bsky.unspecced.getPopularFeedGenerators',
20658
20772
  AppBskyUnspeccedGetPostThreadOtherV2:
@@ -20661,6 +20775,8 @@ export const ids = {
20661
20775
  AppBskyUnspeccedGetSuggestedFeeds: 'app.bsky.unspecced.getSuggestedFeeds',
20662
20776
  AppBskyUnspeccedGetSuggestedFeedsSkeleton:
20663
20777
  'app.bsky.unspecced.getSuggestedFeedsSkeleton',
20778
+ AppBskyUnspeccedGetSuggestedOnboardingUsers:
20779
+ 'app.bsky.unspecced.getSuggestedOnboardingUsers',
20664
20780
  AppBskyUnspeccedGetSuggestedStarterPacks:
20665
20781
  'app.bsky.unspecced.getSuggestedStarterPacks',
20666
20782
  AppBskyUnspeccedGetSuggestedStarterPacksSkeleton:
@@ -75,7 +75,7 @@ export function validateDraft<V>(v: V) {
75
75
  /** One of the posts that compose a draft. */
76
76
  export interface DraftPost {
77
77
  $type?: 'app.bsky.draft.defs#draftPost'
78
- /** The primary post content. */
78
+ /** The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts. */
79
79
  text: string
80
80
  labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | { $type: string }
81
81
  embedImages?: DraftEmbedImage[]
@@ -18,6 +18,7 @@ const id = 'app.bsky.feed.sendInteractions'
18
18
  export type QueryParams = {}
19
19
 
20
20
  export interface InputSchema {
21
+ feed?: string
21
22
  interactions: AppBskyFeedDefs.Interaction[]
22
23
  }
23
24
 
@@ -24,8 +24,10 @@ export interface OutputSchema {
24
24
  suggestions: AppBskyActorDefs.ProfileView[]
25
25
  /** If true, response has fallen-back to generic results, and is not scoped using relativeToDid */
26
26
  isFallback?: boolean
27
- /** Snowflake for this recommendation, use when submitting recommendation events. */
27
+ /** DEPRECATED: use recIdStr instead. */
28
28
  recId?: number
29
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
30
+ recIdStr?: string
29
31
  }
30
32
 
31
33
  export type HandlerInput = void