@atproto/api 0.18.20 → 0.19.0

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 (40) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +22 -28
  3. package/dist/client/index.d.ts +6 -0
  4. package/dist/client/index.d.ts.map +1 -1
  5. package/dist/client/index.js +14 -6
  6. package/dist/client/index.js.map +1 -1
  7. package/dist/client/lexicons.d.ts +244 -10
  8. package/dist/client/lexicons.d.ts.map +1 -1
  9. package/dist/client/lexicons.js +124 -5
  10. package/dist/client/lexicons.js.map +1 -1
  11. package/dist/client/types/app/bsky/draft/defs.d.ts +1 -1
  12. package/dist/client/types/app/bsky/draft/defs.d.ts.map +1 -1
  13. package/dist/client/types/app/bsky/draft/defs.js.map +1 -1
  14. package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +3 -1
  15. package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  16. package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  17. package/dist/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts +28 -0
  18. package/dist/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts.map +1 -0
  19. package/dist/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js +11 -0
  20. package/dist/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js.map +1 -0
  21. package/dist/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts +27 -0
  22. package/dist/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts.map +1 -0
  23. package/dist/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.js +11 -0
  24. package/dist/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.js.map +1 -0
  25. package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +3 -1
  26. package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
  27. package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
  28. package/dist/client/types/com/germnetwork/declaration.d.ts +7 -1
  29. package/dist/client/types/com/germnetwork/declaration.d.ts.map +1 -1
  30. package/dist/client/types/com/germnetwork/declaration.js.map +1 -1
  31. package/package.json +2 -2
  32. package/src/client/index.ts +28 -0
  33. package/src/client/lexicons.ts +136 -5
  34. package/src/client/types/app/bsky/draft/defs.ts +1 -1
  35. package/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -1
  36. package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +46 -0
  37. package/src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +45 -0
  38. package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +3 -1
  39. package/src/client/types/com/germnetwork/declaration.ts +7 -1
  40. 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/client/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,K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AC,CAAA;AACtE,CAAC;AAQD,MAAM,mBAAmB,GAAG,iBAAiB,CAAA;AAE7C,SAAgB,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAC7C,CAAC;AAED,SAAgB,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAsB,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAClE,CAAC;AASD,MAAM,mBAAmB,GAAG,iBAAiB,CAAA;AAE7C,SAAgB,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAC7C,CAAC;AAED,SAAgB,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAsB,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAClE,CAAC;AAOD,MAAM,sBAAsB,GAAG,oBAAoB,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/client/types/app/bsky/draft/defs.ts"],"names":[],"mappings":";;AA8BA,sCAEC;AAED,kDAEC;AA8BD,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AAE,mBAAmB,CAAC,CAAA;AAClE,CAAC;AAOD,MAAM,sBAAsB,GAAG,oBAAoB,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. 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"]}
@@ -11,8 +11,10 @@ export interface OutputSchema {
11
11
  suggestions: AppBskyActorDefs.ProfileView[];
12
12
  /** If true, response has fallen-back to generic results, and is not scoped using relativeToDid */
13
13
  isFallback: boolean;
14
- /** Snowflake for this recommendation, use when submitting recommendation events. */
14
+ /** DEPRECATED: use recIdStr instead. */
15
15
  recId?: number;
16
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
17
+ recIdStr?: string;
16
18
  }
17
19
  export interface CallOptions {
18
20
  signal?: AbortSignal;
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestedFollowsByActor.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,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,EAAE,OAAO,CAAA;IACnB,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
1
+ {"version":3,"file":"getSuggestedFollowsByActor.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,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,EAAE,OAAO,CAAA;IACnB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestedFollowsByActor.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":";;AA0CA,gCAEC;AAtCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA;AA0BtD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
1
+ {"version":3,"file":"getSuggestedFollowsByActor.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts"],"names":[],"mappings":";;AA4CA,gCAEC;AAxCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA;AA4BtD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap } from '@atproto/xrpc';
5
+ export type QueryParams = {
6
+ /** DID of the account making the request (not included for public/unauthenticated queries). */
7
+ viewer?: string;
8
+ /** Category of users to get suggestions for. */
9
+ category?: string;
10
+ limit?: number;
11
+ };
12
+ export type InputSchema = undefined;
13
+ export interface OutputSchema {
14
+ dids: string[];
15
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
16
+ recId?: string;
17
+ }
18
+ export interface CallOptions {
19
+ signal?: AbortSignal;
20
+ headers?: HeadersMap;
21
+ }
22
+ export interface Response {
23
+ success: boolean;
24
+ headers: HeadersMap;
25
+ data: OutputSchema;
26
+ }
27
+ export declare function toKnownErr(e: any): any;
28
+ //# sourceMappingURL=getOnboardingSuggestedUsersSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOnboardingSuggestedUsersSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,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,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKnownErr = toKnownErr;
4
+ const lexicons_1 = require("../../../../lexicons");
5
+ const util_1 = require("../../../../util");
6
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
7
+ const id = 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton';
8
+ function toKnownErr(e) {
9
+ return e;
10
+ }
11
+ //# sourceMappingURL=getOnboardingSuggestedUsersSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOnboardingSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;AA2CA,gCAEC;AAvCD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wDAAwD,CAAA;AA4BnE,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap } from '@atproto/xrpc';
5
+ import type * as AppBskyActorDefs from '../actor/defs.js';
6
+ export type QueryParams = {
7
+ /** Category of users to get suggestions for. */
8
+ category?: string;
9
+ limit?: number;
10
+ };
11
+ export type InputSchema = undefined;
12
+ export interface OutputSchema {
13
+ actors: AppBskyActorDefs.ProfileView[];
14
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
15
+ recId?: string;
16
+ }
17
+ export interface CallOptions {
18
+ signal?: AbortSignal;
19
+ headers?: HeadersMap;
20
+ }
21
+ export interface Response {
22
+ success: boolean;
23
+ headers: HeadersMap;
24
+ data: OutputSchema;
25
+ }
26
+ export declare function toKnownErr(e: any): any;
27
+ //# sourceMappingURL=getSuggestedOnboardingUsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedOnboardingUsers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,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,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKnownErr = toKnownErr;
4
+ const lexicons_1 = require("../../../../lexicons");
5
+ const util_1 = require("../../../../util");
6
+ const is$typed = util_1.is$typed, validate = lexicons_1.validate;
7
+ const id = 'app.bsky.unspecced.getSuggestedOnboardingUsers';
8
+ function toKnownErr(e) {
9
+ return e;
10
+ }
11
+ //# sourceMappingURL=getSuggestedOnboardingUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestedOnboardingUsers.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts"],"names":[],"mappings":";;AA0CA,gCAEC;AAtCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,gDAAgD,CAAA;AA0B3D,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
@@ -17,8 +17,10 @@ export interface OutputSchema {
17
17
  actors: AppBskyUnspeccedDefs.SkeletonSearchActor[];
18
18
  /** DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. */
19
19
  relativeToDid?: string;
20
- /** Snowflake for this recommendation, use when submitting recommendation events. */
20
+ /** DEPRECATED: use recIdStr instead. */
21
21
  recId?: number;
22
+ /** Snowflake for this recommendation, use when submitting recommendation events. */
23
+ recIdStr?: string;
22
24
  }
23
25
  export interface CallOptions {
24
26
  signal?: AbortSignal;
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestionsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,2IAA2I;IAC3I,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,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,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
1
+ {"version":3,"file":"getSuggestionsSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,2IAA2I;IAC3I,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,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,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getSuggestionsSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":";;AAgDA,gCAEC;AA5CD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA;AAgCtD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
1
+ {"version":3,"file":"getSuggestionsSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts"],"names":[],"mappings":";;AAkDA,gCAEC;AA9CD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,2CAA2C,CAAA;AAkCtD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
@@ -4,10 +4,14 @@
4
4
  import { type ValidationResult } from '@atproto/lexicon';
5
5
  export interface Main {
6
6
  $type: 'com.germnetwork.declaration';
7
+ /** Semver version number, without pre-release or build information, for the format of opaque content */
7
8
  version: string;
9
+ /** Opaque value, an ed25519 public key prefixed with a byte enum */
8
10
  currentKey: Uint8Array;
9
11
  messageMe?: MessageMe;
12
+ /** Opaque value, contains MLS KeyPackage(s), and other signature data, and is signed by the currentKey */
10
13
  keyPackage?: Uint8Array;
14
+ /** Array of opaque values to allow for key rolling */
11
15
  continuityProofs?: Uint8Array[];
12
16
  [k: string]: unknown;
13
17
  }
@@ -16,8 +20,10 @@ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
16
20
  export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
17
21
  export interface MessageMe {
18
22
  $type?: 'com.germnetwork.declaration#messageMe';
23
+ /** A URL to present to an account that does not have its own com.germnetwork.declaration record, must have an empty fragment component, where the app should fill in the fragment component with the DIDs of the two accounts who wish to message each other */
19
24
  messageMeUrl: string;
20
- showButtonTo: 'usersIFollow' | 'everyone' | (string & {});
25
+ /** The policy of who can message the account, this value is included in the keyPackage, but is duplicated here to allow applications to decide if they should show a 'Message on Germ' button to the viewer. */
26
+ showButtonTo: 'none' | 'usersIFollow' | 'everyone' | (string & {});
21
27
  }
22
28
  export declare function isMessageMe<V>(v: V): v is import("../../../util").$TypedObject<V, "com.germnetwork.declaration", "messageMe">;
23
29
  export declare function validateMessageMe<V>(v: V): ValidationResult<MessageMe & V>;
@@ -1 +1 @@
1
- {"version":3,"file":"declaration.d.ts","sourceRoot":"","sources":["../../../../../src/client/types/com/germnetwork/declaration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AASjE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6BAA6B,CAAA;IACpC,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAA;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,cAAc,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CAC1D;AAID,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4FAElC;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mCAExC"}
1
+ {"version":3,"file":"declaration.d.ts","sourceRoot":"","sources":["../../../../../src/client/types/com/germnetwork/declaration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AASjE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6BAA6B,CAAA;IACpC,wGAAwG;IACxG,OAAO,EAAE,MAAM,CAAA;IACf,oEAAoE;IACpE,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,0GAA0G;IAC1G,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAA;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAA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CAAA;AACtD,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 { type $Typed, is$typed as _is$typed, type OmitKey } from '../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'com.germnetwork.declaration'\n\nexport interface Main {\n $type: 'com.germnetwork.declaration'\n version: string\n currentKey: Uint8Array\n messageMe?: MessageMe\n keyPackage?: Uint8Array\n continuityProofs?: Uint8Array[]\n [k: string]: unknown\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain, true)\n}\n\nexport {\n type Main as Record,\n isMain as isRecord,\n validateMain as validateRecord,\n}\n\nexport interface MessageMe {\n $type?: 'com.germnetwork.declaration#messageMe'\n messageMeUrl: string\n showButtonTo: 'usersIFollow' | 'everyone' | (string & {})\n}\n\nconst hashMessageMe = 'messageMe'\n\nexport function isMessageMe<V>(v: V) {\n return is$typed(v, id, hashMessageMe)\n}\n\nexport function validateMessageMe<V>(v: V) {\n return validate<MessageMe & V>(v, id, hashMessageMe)\n}\n"]}
1
+ {"version":3,"file":"declaration.js","sourceRoot":"","sources":["../../../../../src/client/types/com/germnetwork/declaration.ts"],"names":[],"mappings":";;AA4BA,wBAEC;AAQW,0BAAQ;AANpB,oCAEC;AAKiB,sCAAc;AAahC,kCAEC;AAED,8CAEC;AArDD,gDAAyD;AACzD,wCAAgF;AAEhF,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA;AAgBxC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAA;AAClD,CAAC;AAgBD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,SAAgB,WAAW,CAAI,CAAI;IACjC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACvC,CAAC;AAED,SAAgB,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAgB,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACtD,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 { type $Typed, is$typed as _is$typed, type OmitKey } from '../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'com.germnetwork.declaration'\n\nexport interface Main {\n $type: 'com.germnetwork.declaration'\n /** Semver version number, without pre-release or build information, for the format of opaque content */\n version: string\n /** Opaque value, an ed25519 public key prefixed with a byte enum */\n currentKey: Uint8Array\n messageMe?: MessageMe\n /** Opaque value, contains MLS KeyPackage(s), and other signature data, and is signed by the currentKey */\n keyPackage?: Uint8Array\n /** Array of opaque values to allow for key rolling */\n continuityProofs?: Uint8Array[]\n [k: string]: unknown\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain, true)\n}\n\nexport {\n type Main as Record,\n isMain as isRecord,\n validateMain as validateRecord,\n}\n\nexport interface MessageMe {\n $type?: 'com.germnetwork.declaration#messageMe'\n /** A URL to present to an account that does not have its own com.germnetwork.declaration record, must have an empty fragment component, where the app should fill in the fragment component with the DIDs of the two accounts who wish to message each other */\n messageMeUrl: string\n /** The policy of who can message the account, this value is included in the keyPackage, but is duplicated here to allow applications to decide if they should show a 'Message on Germ' button to the viewer. */\n showButtonTo: 'none' | 'usersIFollow' | 'everyone' | (string & {})\n}\n\nconst hashMessageMe = 'messageMe'\n\nexport function isMessageMe<V>(v: V) {\n return is$typed(v, id, hashMessageMe)\n}\n\nexport function validateMessageMe<V>(v: V) {\n return validate<MessageMe & V>(v, id, hashMessageMe)\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.18.20",
3
+ "version": "0.19.0",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -21,7 +21,7 @@
21
21
  "multiformats": "^9.9.0",
22
22
  "tlds": "^1.234.0",
23
23
  "zod": "^3.23.8",
24
- "@atproto/common-web": "^0.4.15",
24
+ "@atproto/common-web": "^0.4.17",
25
25
  "@atproto/lexicon": "^0.6.1",
26
26
  "@atproto/syntax": "^0.4.3",
27
27
  "@atproto/xrpc": "^0.7.7"
@@ -124,11 +124,13 @@ import * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecce
124
124
  import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
125
125
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js'
126
126
  import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js'
127
+ import * as AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js'
127
128
  import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
128
129
  import * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'
129
130
  import * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
130
131
  import * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
131
132
  import * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
133
+ import * as AppBskyUnspeccedGetSuggestedOnboardingUsers from './types/app/bsky/unspecced/getSuggestedOnboardingUsers.js'
132
134
  import * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'
133
135
  import * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js'
134
136
  import * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js'
@@ -437,11 +439,13 @@ export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecce
437
439
  export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js'
438
440
  export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js'
439
441
  export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js'
442
+ export * as AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js'
440
443
  export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js'
441
444
  export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js'
442
445
  export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js'
443
446
  export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js'
444
447
  export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js'
448
+ export * as AppBskyUnspeccedGetSuggestedOnboardingUsers from './types/app/bsky/unspecced/getSuggestedOnboardingUsers.js'
445
449
  export * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js'
446
450
  export * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js'
447
451
  export * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js'
@@ -3221,6 +3225,18 @@ export class AppBskyUnspeccedNS {
3221
3225
  )
3222
3226
  }
3223
3227
 
3228
+ getOnboardingSuggestedUsersSkeleton(
3229
+ params?: AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.QueryParams,
3230
+ opts?: AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.CallOptions,
3231
+ ): Promise<AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.Response> {
3232
+ return this._client.call(
3233
+ 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton',
3234
+ params,
3235
+ undefined,
3236
+ opts,
3237
+ )
3238
+ }
3239
+
3224
3240
  getPopularFeedGenerators(
3225
3241
  params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams,
3226
3242
  opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions,
@@ -3281,6 +3297,18 @@ export class AppBskyUnspeccedNS {
3281
3297
  )
3282
3298
  }
3283
3299
 
3300
+ getSuggestedOnboardingUsers(
3301
+ params?: AppBskyUnspeccedGetSuggestedOnboardingUsers.QueryParams,
3302
+ opts?: AppBskyUnspeccedGetSuggestedOnboardingUsers.CallOptions,
3303
+ ): Promise<AppBskyUnspeccedGetSuggestedOnboardingUsers.Response> {
3304
+ return this._client.call(
3305
+ 'app.bsky.unspecced.getSuggestedOnboardingUsers',
3306
+ params,
3307
+ undefined,
3308
+ opts,
3309
+ )
3310
+ }
3311
+
3284
3312
  getSuggestedStarterPacks(
3285
3313
  params?: AppBskyUnspeccedGetSuggestedStarterPacks.QueryParams,
3286
3314
  opts?: AppBskyUnspeccedGetSuggestedStarterPacks.CallOptions,
@@ -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',
@@ -6242,6 +6243,10 @@ export const schemaDict = {
6242
6243
  },
6243
6244
  recId: {
6244
6245
  type: 'integer',
6246
+ description: 'DEPRECATED: use recIdStr instead.',
6247
+ },
6248
+ recIdStr: {
6249
+ type: 'string',
6245
6250
  description:
6246
6251
  'Snowflake for this recommendation, use when submitting recommendation events.',
6247
6252
  },
@@ -8055,6 +8060,59 @@ export const schemaDict = {
8055
8060
  },
8056
8061
  },
8057
8062
  },
8063
+ AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton: {
8064
+ lexicon: 1,
8065
+ id: 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton',
8066
+ defs: {
8067
+ main: {
8068
+ type: 'query',
8069
+ description:
8070
+ 'Get a skeleton of suggested users for onboarding. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedOnboardingUsers',
8071
+ parameters: {
8072
+ type: 'params',
8073
+ properties: {
8074
+ viewer: {
8075
+ type: 'string',
8076
+ format: 'did',
8077
+ description:
8078
+ 'DID of the account making the request (not included for public/unauthenticated queries).',
8079
+ },
8080
+ category: {
8081
+ type: 'string',
8082
+ description: 'Category of users to get suggestions for.',
8083
+ },
8084
+ limit: {
8085
+ type: 'integer',
8086
+ minimum: 1,
8087
+ maximum: 50,
8088
+ default: 25,
8089
+ },
8090
+ },
8091
+ },
8092
+ output: {
8093
+ encoding: 'application/json',
8094
+ schema: {
8095
+ type: 'object',
8096
+ required: ['dids'],
8097
+ properties: {
8098
+ dids: {
8099
+ type: 'array',
8100
+ items: {
8101
+ type: 'string',
8102
+ format: 'did',
8103
+ },
8104
+ },
8105
+ recId: {
8106
+ type: 'string',
8107
+ description:
8108
+ 'Snowflake for this recommendation, use when submitting recommendation events.',
8109
+ },
8110
+ },
8111
+ },
8112
+ },
8113
+ },
8114
+ },
8115
+ },
8058
8116
  AppBskyUnspeccedGetPopularFeedGenerators: {
8059
8117
  lexicon: 1,
8060
8118
  id: 'app.bsky.unspecced.getPopularFeedGenerators',
@@ -8343,6 +8401,52 @@ export const schemaDict = {
8343
8401
  },
8344
8402
  },
8345
8403
  },
8404
+ AppBskyUnspeccedGetSuggestedOnboardingUsers: {
8405
+ lexicon: 1,
8406
+ id: 'app.bsky.unspecced.getSuggestedOnboardingUsers',
8407
+ defs: {
8408
+ main: {
8409
+ type: 'query',
8410
+ description: 'Get a list of suggested users for onboarding',
8411
+ parameters: {
8412
+ type: 'params',
8413
+ properties: {
8414
+ category: {
8415
+ type: 'string',
8416
+ description: 'Category of users to get suggestions for.',
8417
+ },
8418
+ limit: {
8419
+ type: 'integer',
8420
+ minimum: 1,
8421
+ maximum: 50,
8422
+ default: 25,
8423
+ },
8424
+ },
8425
+ },
8426
+ output: {
8427
+ encoding: 'application/json',
8428
+ schema: {
8429
+ type: 'object',
8430
+ required: ['actors'],
8431
+ properties: {
8432
+ actors: {
8433
+ type: 'array',
8434
+ items: {
8435
+ type: 'ref',
8436
+ ref: 'lex:app.bsky.actor.defs#profileView',
8437
+ },
8438
+ },
8439
+ recId: {
8440
+ type: 'string',
8441
+ description:
8442
+ 'Snowflake for this recommendation, use when submitting recommendation events.',
8443
+ },
8444
+ },
8445
+ },
8446
+ },
8447
+ },
8448
+ },
8449
+ },
8346
8450
  AppBskyUnspeccedGetSuggestedStarterPacks: {
8347
8451
  lexicon: 1,
8348
8452
  id: 'app.bsky.unspecced.getSuggestedStarterPacks',
@@ -8581,6 +8685,10 @@ export const schemaDict = {
8581
8685
  },
8582
8686
  recId: {
8583
8687
  type: 'integer',
8688
+ description: 'DEPRECATED: use recIdStr instead.',
8689
+ },
8690
+ recIdStr: {
8691
+ type: 'string',
8584
8692
  description:
8585
8693
  'Snowflake for this recommendation, use when submitting recommendation events.',
8586
8694
  },
@@ -15346,7 +15454,7 @@ export const schemaDict = {
15346
15454
  defs: {
15347
15455
  main: {
15348
15456
  type: 'record',
15349
- description: 'A delegate messaging id',
15457
+ description: 'A declaration of a Germ Network account',
15350
15458
  key: 'literal:self',
15351
15459
  record: {
15352
15460
  type: 'object',
@@ -15354,22 +15462,33 @@ export const schemaDict = {
15354
15462
  properties: {
15355
15463
  version: {
15356
15464
  type: 'string',
15465
+ description:
15466
+ 'Semver version number, without pre-release or build information, for the format of opaque content',
15467
+ minLength: 5,
15468
+ maxLength: 14,
15357
15469
  },
15358
15470
  currentKey: {
15359
15471
  type: 'bytes',
15472
+ description:
15473
+ 'Opaque value, an ed25519 public key prefixed with a byte enum',
15360
15474
  },
15361
15475
  messageMe: {
15362
15476
  type: 'ref',
15477
+ description: 'Controls who can message this account',
15363
15478
  ref: 'lex:com.germnetwork.declaration#messageMe',
15364
15479
  },
15365
15480
  keyPackage: {
15366
15481
  type: 'bytes',
15482
+ description:
15483
+ 'Opaque value, contains MLS KeyPackage(s), and other signature data, and is signed by the currentKey',
15367
15484
  },
15368
15485
  continuityProofs: {
15369
15486
  type: 'array',
15487
+ description: 'Array of opaque values to allow for key rolling',
15370
15488
  items: {
15371
15489
  type: 'bytes',
15372
15490
  },
15491
+ maxLength: 1000,
15373
15492
  },
15374
15493
  },
15375
15494
  },
@@ -15380,11 +15499,19 @@ export const schemaDict = {
15380
15499
  properties: {
15381
15500
  messageMeUrl: {
15382
15501
  type: 'string',
15502
+ description:
15503
+ 'A URL to present to an account that does not have its own com.germnetwork.declaration record, must have an empty fragment component, where the app should fill in the fragment component with the DIDs of the two accounts who wish to message each other',
15383
15504
  format: 'uri',
15505
+ minLength: 1,
15506
+ maxLength: 2047,
15384
15507
  },
15385
15508
  showButtonTo: {
15386
15509
  type: 'string',
15387
- knownValues: ['usersIFollow', 'everyone'],
15510
+ knownValues: ['none', 'usersIFollow', 'everyone'],
15511
+ description:
15512
+ "The policy of who can message the account, this value is included in the keyPackage, but is duplicated here to allow applications to decide if they should show a 'Message on Germ' button to the viewer.",
15513
+ minLength: 1,
15514
+ maxLength: 100,
15388
15515
  },
15389
15516
  },
15390
15517
  },
@@ -20703,6 +20830,8 @@ export const ids = {
20703
20830
  'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
20704
20831
  AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton:
20705
20832
  'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton',
20833
+ AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton:
20834
+ 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton',
20706
20835
  AppBskyUnspeccedGetPopularFeedGenerators:
20707
20836
  'app.bsky.unspecced.getPopularFeedGenerators',
20708
20837
  AppBskyUnspeccedGetPostThreadOtherV2:
@@ -20711,6 +20840,8 @@ export const ids = {
20711
20840
  AppBskyUnspeccedGetSuggestedFeeds: 'app.bsky.unspecced.getSuggestedFeeds',
20712
20841
  AppBskyUnspeccedGetSuggestedFeedsSkeleton:
20713
20842
  'app.bsky.unspecced.getSuggestedFeedsSkeleton',
20843
+ AppBskyUnspeccedGetSuggestedOnboardingUsers:
20844
+ 'app.bsky.unspecced.getSuggestedOnboardingUsers',
20714
20845
  AppBskyUnspeccedGetSuggestedStarterPacks:
20715
20846
  'app.bsky.unspecced.getSuggestedStarterPacks',
20716
20847
  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[]